Engine control and methods for controlling an engine
The motor controller optimizes power dissipation in stepper motors by dynamically switching between operational modes based on detected voltages and EMF, addressing heat and cost issues in existing control methods.
Patent Information
- Application Number
- DE102016109786
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-05-27
- Filing Date
- 2016-05-27
- Publication Date
- 2024-11-28
- Estimated Expiration
- 2036-05-27
AI Technical Summary
Existing motor control methods for stepper motors face challenges in efficiently managing power dissipation and freewheeling pulses, leading to heat generation and increased manufacturing costs due to parasitic transistor effects and complex control of current flow.
A motor controller with an H-bridge circuit, voltage and zero-crossing detectors, and a controller that switches between charging, high-dissipation, low-dissipation, and de-energized modes based on detected voltages and back EMF zero crossings to optimize current flow and reduce power loss.
The solution effectively manages power dissipation by minimizing energy loss through controlled switching modes, reducing heat generation, and maintaining motor performance without increasing substrate size or cost.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Description Background of the invention 1. Field of the invention
[0001] The present invention relates to a motor control system and a method for controlling a stepper motor. 2. Description of the state of the art
[0002] A method for controlling an inductive load is disclosed in JP H10-80 194 A which combines a regenerative electric current and a flowing electric current such that a switching current flowing in an inductive load is suitable.
[0003] Paragraph 0023 of JP H10-80194A describes that "an H-bridge circuit is configured to allow a current to flow in an inductive load in opposite directions, i.e., in a forward and a reverse direction, with four semiconductor switching elements and freewheeling diodes connected anti-parallel to the semiconductor switching elements, such that when a current-supply operation is carried out to supply a current from a current source to the inductive load, two of the semiconductor switching elements assume a conducting state so that current flows through the inductive load in a desired direction, and thereby the current flowing into the inductive load is increased by such a current-supply operation, resulting in the energy accumulated in the inductive load being released to control the current flowing in the inductive load when the current is greater than or equal to a predetermined reference current value."
[0004] Paragraph 0024 describes that “control can then be carried out by two types of operations: One is carried out by one of the semiconductor circuit elements assuming the conducting state, so that the semiconductor circuit element in the conducting state forms a closed current path with a freewheeling diode for the energy collected in the inductive load, causing a current flow through the closed current path in the inductive load; and the other is carried out by interrupting all four semiconductor circuit elements to cause current to flow in the two freewheeling diodes due to the energy collected in the inductive load, thereby consuming current.”
[0005] The first process, which causes current to flow in the closed current path, is called communication control.
[0006] Furthermore, paragraph 0026 of JP H10-80194A describes how "a predetermined frequency of a control cycle is set and a current supply operation is initiated by the initiation of the control cycle, such that when a current flowing in the inductive load is greater than or equal to a predetermined value during a current supply operation, the current supply operation is terminated and the energy accumulated in the inductive load is released. Assuming that a predetermined period after the initiation of the control cycle is defined as a current regeneration period, and that a period from the end of the current regeneration period to the end of the control cycle is defined as a current period, a current regeneration process is carried out within the current regeneration period after the current supply operation is terminated, and the communication control is carried out within the current period."
[0007] A motor is rotated by driving a multitude of drive coils in opposite directions (bipolar) and energizing a different phase. If switching elements located on opposite sides of the coils—namely, on a motor supply voltage side (upper bridge branch) and a ground side (lower bridge branch)—are simultaneously switched off while the motor is rotating, a high voltage of a freewheeling pulse (kickback) is induced by the energy accumulated in the coils.
[0008] The coil current is maximized at the point of phase change. When the freewheeling pulse is induced, the coil current discharges to ground due to a parasitic transistor effect caused by the complementary MOS (CMOS) manufacturing process of an application-specific integrated circuit (ASIC), resulting in power dissipation. This heat generation by the ASIC limits its operation at high temperatures.
[0009] During the period in which the freewheeling pulse is induced, the switching elements on the upper side of the bridge are temporarily switched on, instead of all switching elements being switched off. This causes the current discharged to ground to flow through the switching elements on the upper side and thus back to a power supply source of the motor. In this way, it is possible to reduce power loss.
[0010] However, since the period during which the freewheel pulse is induced varies depending on the motor's control voltage, drive load, and rotational speed, it is difficult to precisely control the flow time in relation to motor operation. Therefore, a situation can arise where the timing for communication control is not optimal, resulting in undesirable power loss.
[0011] For example, if the communication control time is shorter than the period during which the freewheeling pulse is induced, current flowing in the switching elements will flow back through a freewheeling diode connected in parallel, causing power loss. Conversely, if the communication control time is shorter than the period during which the freewheeling pulse is induced, an inductive load will be short-circuited to act as a brake against the motor's rotation, making it even more difficult to control the motor's speed and impossible to measure back EMF to detect step loss after the motor speed has been set.
[0012] Furthermore, it is possible to reduce the heat generation effect by attaching a heat sink to an ASIC and increasing the size of the substrate and the amount of copper. However, this method is problematic because it increases the size of the substrate or package, as well as the manufacturing costs.
[0013] An externally mounted diode is added to each motor output, allowing the coil current to flow back to the motor power source without being affected by the parasitic transistor effect, thus reducing power loss. However, this method is also problematic because it increases the substrate size and manufacturing costs due to the larger mounting point and surface area.
[0014] US 2015 / 0028790 A1 discloses a method for controlling the winding current of stepper motors, which generates an adapted blanking period proportional to a currently selected current control setpoint. Further prior art is known from US 2004 / 0232874 A1 and DE 69717754 T2. Summary of the invention
[0015] One of the objects of the present invention is to provide a motor control and a method for controlling a stepper motor which are designed to reduce power loss by returning a current discharged to a ground terminal to a current source.
[0016] The invention is defined in the claims.
[0017] According to an illustrative embodiment of the present invention, a motor control system is provided comprising: an H-bridge circuit with switching elements, freewheeling diodes, and half-bridges connected to motor coils arranged in the motor; a voltage detector that detects a differential voltage between the motor coils; a zero-crossing detector that detects a zero crossing of the back EMF of each of the motor coils; and a control unit that operates the H-bridge circuit in one of the following modes: a charging mode, a high-dissipation mode, a low-dissipation mode, and a currentless mode, by activating the switching elements of the H-bridge based on the differential voltage detected by the voltage detector. In the charging mode, the H-bridge circuit increases the motor current flowing in the respective motor coils.In high-dissipation mode, the H-bridge circuit operates with high energy dissipation, inducing a freewheeling pulse in each of the motor coils. In low-dissipation mode, the H-bridge circuit operates with low energy dissipation, lower than in high-dissipation mode. The H-bridge circuit is operated in such a way that the zero-crossing detector can detect the zero crossing of the back EMF of each of the motor coils after the freewheeling pulse of each motor coil has decayed.The controller is further operated to perform a process comprising: controlling the H-bridge circuit to switch to charging mode; controlling the H-bridge circuit to switch to high-dissipation mode when the zero-crossing detector detects that the back EMF of the motor coil connected to a phase of the H-bridge circuit just upstream of the H-bridge circuit passes through zero; controlling the H-bridge circuit to switch to low-dissipation mode after a predetermined time has elapsed; and controlling the H-bridge circuit to switch to no-current mode when the voltage detector detects that the differential voltage between the motor coils connected to the H-bridge circuit is lower than a predetermined voltage.
[0018] According to a further illustrative embodiment of the present invention, a method for controlling a motor with a motor controller is provided, comprising: an H-bridge circuit having switching elements, freewheeling diodes and half-bridges, wherein the half-bridges are connected to motor coils provided in the motor; a voltage detector that detects a differential voltage between the motor coils; a zero-crossing detector that detects a zero crossing of a back EMF of each of the motor coils; and a controller that is operated to control the H-bridge circuit to be operated in one of operating modes comprising a charging mode, a high-dissipation mode, a low-dissipation mode and a no-current mode, by activating the switching elements of the H-bridge circuit based on the differential voltage detected by the voltage detector.In charging mode, the H-bridge circuit increases the motor current flowing in the respective motor coils. In high-dissipation mode, the H-bridge circuit operates with high energy dissipation, inducing a freewheeling pulse in each motor coil. In low-dissipation mode, the H-bridge circuit operates with low energy dissipation, which is lower than in high-dissipation mode. The H-bridge circuit is operated such that the zero-crossing detector can detect the zero crossing of the back EMF of each motor coil after the freewheeling pulse of each motor coil has decayed.The method includes: controlling the H-bridge circuit to switch to charging mode; controlling the H-bridge circuit to switch to high-dissipation mode when the zero-crossing detector detects that the back EMF of the motor coils connected to a phase of the H-bridge circuit just before the H-bridge circuit is experiencing a zero crossing; controlling the H-bridge circuit to switch to low-dissipation mode after a predetermined time has elapsed; and controlling the H-bridge circuit to switch to no-current mode when the voltage detector detects that the differential voltage between the motor coils connected to the H-bridge circuit is lower than a predetermined voltage. Brief description of the drawings
[0019] The accompanying drawings show: Fig. 1. A complete block diagram illustrating an engine control system according to a first embodiment and a comparative example; Fig. 2 a detailed block diagram illustrating a motor control system according to the first embodiment and the comparative example; the Fig. 3A to 3D explanatory views illustrating the operating modes of an H-bridge circuit according to the first embodiment; Fig. 4 an explanatory view illustrating a low-dissipation mode of an H-bridge circuit 20 according to one variant; Fig. 5 a wave diagram illustrating current sequences of an X-phase and a Y-phase of the H-bridge circuit; Fig. 6 a wave diagram illustrating a voltage and current of each part of the X-phase of the H-bridge circuit; Fig. 7 a flowchart illustrating the processing of a first quadrant of the X-phase of the device for controlling the motor control according to the first embodiment; Fig. 8 a flowchart illustrating the processing of a second quadrant of the X-phase of the device for controlling the motor control according to the first embodiment; the Fig. 9A to 9C explanatory views illustrating the operating modes of an H-bridge circuit according to a comparative example; Fig. 10 a wave diagram illustrating current sequences of an X-phase and a Y-phase of the H-bridge circuit according to the comparison example; Fig. 11 a flowchart illustrating the processing of a first quadrant of the X-phase of a motor control according to the comparative example; Fig. 12 a flowchart illustrating the processing of a second quadrant of the X-phase of the device for controlling the motor's actuation according to the comparative example; and Fig. 13 A detailed view illustrating a coil, a switching element and a peripheral part of a motor control according to a second embodiment. Detailed description
[0020] The following is a detailed description of embodiments of the present invention with reference to the accompanying drawings.
[0021] Fig. Figure 1 shows an entire block diagram of an engine control system according to a first embodiment of the present invention.
[0022] In Fig. Figure 1 is a motor 120, a bipolar two-phase stepper motor, comprising a rotor 126 with a permanent magnet mounted for free rotation, and stators mounted at four positions around the circumference of the rotor 126. These stators consist of stators 122XP and 122XN, each with an X-phase, and stators 122YP and 122YN, each with a Y-phase. Coils are wound around the corresponding stators. The coils wound around stators 122YB and 122YN are connected in series, so the two coils together are referred to as "coil 124Y". Similarly, the coils wound around stators 122XP and 122XN are also connected in series, so the two coils together are referred to as "coil 124X".
[0023] A host device 130 outputs a speed command signal to instruct the motor 120 to run at a specific speed. A motor controller 100 controls the drive of the motor 120 in response to the speed command signal. H-bridge circuits 20X and 20Y are integrated into the motor controller 100 to apply a voltage VMX of the X-phase and a voltage VMY of the Y-phase to the coils 124X and 124Y, respectively.
[0024] One end of coil 124X of the X-phase is terminal Mout0, while the other end is terminal Mout1. The voltage VMX of the X-phase is the difference between the voltage at terminal Mout1 and the voltage at terminal Mout0. In a coil current IMX of the X-phase, the direction from terminal Mout0 to terminal Mout1 is set as positive.
[0025] Furthermore, one end of coil 124Y of the Y-phase is terminal Mout2, while the other end is terminal Mout3. The voltage VMY of the Y-phase is the difference between the voltage at terminal Mout3 and the voltage at terminal Mout2. In a coil current IMY of the Y-phase, the direction from terminal Mout2 to terminal Mout3 is set as a positive direction.
[0026] Fig. Figure 2 is a detailed block diagram illustrating the motor control according to the first embodiment.
[0027] The motor control unit 100 is described in detail using the following: Fig. 2 described. Fig. Figure 1 shows two systems of coils 124X and 124Y and two systems of H-bridge circuits 20X and 20Y, while Fig. Figure 2 shows a system of coil 124 and a system of H-bridge circuit 20.
[0028] A central processing unit (CPU) 101, built into the motor controller 100, controls each part via a bus 106, based on a control program stored in a read-only memory (ROM) 103. Random access memory (RAM) 102 serves as the working memory of the CPU 101. A clock 104 measures the time elapsed since a reset time, controlled by the CPU 101. An I / O port 105 transmits signals between the host device 130, located at the top position in Fig. 1 is arranged, and other external devices on or off. A bridge controller 107 controls each part of the bridge control circuit 110 based on an instruction from the CPU 101.
[0029] The bridge control circuit 110 is configured as an integral integrated circuit. A PWM signal generator 113, provided in the bridge control circuit, is controlled by the bridge controller 107, generates a PWM signal, and then supplies this signal to the H-bridge circuit 20. The H-bridge circuit 20 contains switching elements 2, 4, 6, and 8, which consist of FETs (field-effect transistors). The PWM signal is an on / off signal that is applied to the switching elements 2, 4, 6, and 8 as a gate voltage. In the diagram, the lower terminal of each of the switching elements 2, 4, 6, and 8 becomes a source terminal, while their upper terminal becomes a drain terminal.
[0030] Switching elements 2 and 4 are connected in series, and a DC power source 140 and a ground 142 are connected to the series circuit, so that a predetermined supply voltage MVdd is applied to it. Similarly, switching elements 6 and 8 are also connected in series, so that the supply voltage MVdd is applied to the series circuit. Diodes 12, 14, 16, and 18 are reverse current diodes and are connected in parallel with switching elements 2, 4, 6, and 8.
[0031] A voltage VMout0 from a connection point between switching elements 2 and 4 is applied to one end of coil 124X of motor 120. Furthermore, a voltage VMout1 from a connection point between switching elements 6 and 8 is applied to the other end of coil 124. In this way, a motor voltage VM (= voltage VMout0 - VMout1), which is equal to the difference between voltage VMout0 and voltage VMout1, is applied to coil 124. The motor voltage VM is actually the voltage VMX of the X-phase and the voltage VMY the voltage of the Y-phase, which are in Fig. Figure 1 shows the following. Furthermore, a voltage VMout2 is applied to the coil 124Y of the Y-phase and a voltage VMout3 is applied to the other end of the coil 124Y of the Y-phase.
[0032] Furthermore, the voltages VMout0 and VMout1 are also supplied to an A / D converter 117 and to a back EMF detector 118. In the first embodiment, the A / D converter 117 is used as a voltage detector to detect a differential voltage of the motor coils. The back EMF detector 118 is a zero-crossing detector. When the motor voltage VM is the back EMF, namely during a period when no voltage is applied from the H-bridge circuit 20, the voltage direction reverses (zero crossing), and a flag ZC is output. The A / D converter 117 measures the back EMF Vbemf of the coil 124 based on the voltages VMout0 and VMout1. The back EMF Vbemf is used to detect a step loss.
[0033] The Fig. Figures 9A to 9C are explanatory views that illustrate an operating mode of the H-bridge circuit 20 according to a comparative example.
[0034] Fig. 9A is a view showing the operation of the H-bridge circuit 20 during a period in which a current is applied.
[0035] When motor current is applied to coil 124, two diagonally opposite switching elements are turned on. In the example shown, switching elements 4 and 6 are on, while switching elements 2 and 8 are off. In this state, the motor current flows through switching element 6, coil 124, and switching element 4 in a direction indicated by a thick line. This operating period is called a "current-energizing period," and this operating mode is called a "charging mode."
[0036] However, even when the gate voltage of one of the switching elements is switched off, a related switching element remains temporarily in the on state due to its parasitic capacitance. Therefore, when diagonally opposite switching elements 4 and 6 are switched from the on state to the off state, and simultaneously the other diagonally opposite switching elements 2 and 8 are switched from the off state to the on state, the series-connected switching elements 2 and 4 are temporarily on, causing a current breakdown. This creates a short circuit between the DC power source 140 and ground 142, destroying switching elements 2 and 4. The same applies to switching elements 6 and 8. To circumvent this problem, the H-bridge circuit 20 is switched from "charging mode" to a "high-dissipation mode". Fig. 9B offset.
[0037] Therefore, if switching elements 4 and 6 are off, while switching elements 2 and 8 are off, operation in the charging mode of Fig. 9A into high-dissipation mode of Fig. 9B transmitted. A period in which the H-bridge circuit 20 is operated in high-dissipation mode is referred to as the "high-dissipation period".
[0038] Fig. Figure 9B is a view showing the operation of the H-bridge circuit 20 during the high-dissipation period.
[0039] In high-dissipation mode, the H-bridge circuit 20 switches off all switching elements 2, 4, 6, and 8. At this time, current flows through diode 18, coil 124, and diode 12 in a direction indicated by a thick line due to energy stored in coil 124. That is, the energy accumulated in coil 124 causes current to flow in a closed circuit formed by the high-side diode 12, which is oriented in the direction of the motor current (indicated by a thick line), and the low-side diode 18, which is oriented in the opposite direction to the motor current (indicated by a thick line). This high-dissipation mode results in power dissipation in response to a forward voltage drop Vf across diodes 12 and 18.When the H-bridge circuit 20 is formed by a CMOS process, the current leaks to ground 142 due to the parasitic transistor effect in high-dissipation mode, generating heat and consequently increasing energy dissipation.
[0040] If the coil 124 receives enough energy from the high-dissipation mode of Fig. When 9B is released, no current flows, which is why the mode enters a "powerless mode" of Fig. 9C is switched.
[0041] Fig. 9C is a view illustrating the operation of the H-bridge circuit 20 during a power-off period.
[0042] In the de-energized mode, the H-bridge circuit 20 switches off all switching elements 2, 4, 6, and 8. At this time, the energy accumulated in coil 124 is released. In this de-energized mode, the back EMF appears in coil 124. The bridge control circuit 110 switches to the next quadrant by detecting the zero crossing of the back EMF of motor 120 during the de-energized period.
[0043] Fig. Figure 10 is a wave diagram illustrating current sequences of the X-phase and the Y-phase of the H-bridge circuit 20.
[0044] The wave representation of Fig. Figure 10 shows the voltages VMout0 and VMout1 of the X-phase, the operating mode of the X-phase, the voltages VMout2 and VMout3 of the Y-phase, the operating mode of the Y-phase, the voltage VMX and the coil current IMX of the X-phase, and the voltage VMY and the coil current IMY of the Y-phase.
[0045] The motor controller 100 of the comparison example drives the motor 120 in phase excitation in response to the motor control voltage and the load. The motor 120 rotates by creating an electrical angle with four phases (quadrants). When the X-phase is the current-energizing period (see Fig. 9A) in any quadrant, the Y-phase takes over the free period (see Fig. 9C) after the high-dissipation period (see Fig. 9B).
[0046] When the motor control voltage is high or the load is low, the motor speed 120 increases, and the maximum current of the coil 124 decreases. When the motor drive load is low, the reverse pulse duration is shortened. Back EMF is generated during the no-current period of each phase. This back EMF is high when the motor speed is high and becomes 0 [V] at standstill, so it can be used to detect step loss.
[0047] In Fig. Quadrant 10 represents the first quadrant, a period from time t111 to time t121. During this first quadrant, the H-bridge circuit 20X of the X-phase operates in charging mode. At this time, the upper bridge-side switching element 6 of a branch at terminal Mout0 of the H-bridge circuit 20X and its lower bridge-side switching element 4 of a branch at terminal Mout1 are switched to the on state. In this way, terminal Mout0 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout1 conducts current to ground 142, thus becoming 0 V. The voltage VMX of the X-phase becomes (- MVdd), so that the coil current IMX of the X-phase flows in one direction from terminal Mout0 to terminal Mout1, and simultaneously, an absolute value of the current is gradually increased.
[0048] In the first quadrant, all switching elements of the H-bridge circuit 20Y of the Y-phase are switched off, and the H-bridge circuit is operated in high-dissipation mode from time t111 until time t112, and is operated in no-current mode after time t112. Fig. 10. The high dissipation mode is simply referred to as [K].
[0049] The voltage VMY of the Y-phase becomes less than or equal to (-MVdd - 2Vf) due to the freewheeling pulse immediately after time t111 and is simultaneously clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMY is suddenly raised shortly before time t112 to pass through zero and is then gradually decreased after reaching a predetermined voltage, passing through zero again at time t121. The coil current IMY of the Y-phase flows in one direction from terminal Mout3 to terminal Mout2 immediately after time t111, but the absolute value of the current is gradually reduced to 0 mA shortly before time t112 and is then held at 0 mA until time t121 is reached.
[0050] The second quadrant is a period from time t121 to time t131. In this second quadrant, all switching elements 2, 4, 6 and 8 of the H-bridge circuit 20X of the X-phase are in the off state and the H-bridge circuit is operated in high-dissipation mode from time t121 to time t122 and is operated in de-energized mode after time t122.
[0051] The voltage VMX of the X-phase becomes greater than or equal to (+MVdd + 2Vf) due to the freewheeling pulse immediately after time t121 and is simultaneously clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMX is abruptly reduced shortly before time t122 to pass through a zero crossing and, after being reduced to a predetermined voltage, is gradually increased to pass through another zero crossing at time t131. The coil current IMX of the X-phase flows in one direction from terminal Mout0 to terminal Mout1 immediately after time t121, but the absolute value of the current is gradually reduced to 0 mA shortly before time t122 and is then held at 0 mA until time t131 is reached.
[0052] In the second quadrant, the H-bridge circuit 20Y of the Y-phase is operated in charging mode. At this time, the upper bridge-side switching element of one branch at terminal Mout2 of the H-bridge circuit 20Y and its lower bridge-side switching element of one branch at terminal Mout3 are switched on. In this way, terminal Mout2 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout3 conducts current to ground 142 and is therefore at 0 V.
[0053] The voltage VMY of the Y-phase applies a voltage (- MVdd) so that the coil current IMY of the Y-phase flows in one direction from terminal Mout2 to terminal Mout3, and at the same time an absolute value of the current is gradually increased.
[0054] The third quadrant is the period from time t131 to time t141. In this third quadrant, the H-bridge circuit 20X of the X-phase is operating in charging mode. At this time, the upper-bridge-side switching element 2 of the branch at terminal Mout1 of the H-bridge circuit 20X and its lower-bridge-side switching element 8 of the branch at terminal Mout0 are switched on. In this way, terminal Mout1 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout0 conducts current to ground 142, so that the applied voltage becomes 0 [V]. The voltage VMX of the X-phase becomes (+ MVdd), so that the coil current IMX of the X-phase flows in one direction from terminal Mout1 to terminal Mout0, and simultaneously an absolute value of the current is gradually increased.
[0055] In this third quadrant, all switching elements of the H-bridge circuit 20Y of the Y-phase are switched off, and the H-bridge circuit is operated in high-dissipation mode from time t131 to time t132 and in currentless mode after time t132.
[0056] The voltage VMY of the Y-phase becomes greater than or equal to (+MVdd + 2Vf) due to the freewheeling pulse immediately after time t131 and is simultaneously clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMY is abruptly reduced to zero shortly before time t132 and, after reducing to a predetermined voltage, is gradually increased to zero again at time t141. The coil current IMY of the Y-phase flows in one direction from terminal Mout2 to terminal Mout3 immediately after time t131, but the absolute value of the current is gradually reduced to 0 mA shortly before time t132 and is then held at 0 mA until time t141.
[0057] The fourth quadrant is a period from time t141 to time t151. In this fourth quadrant, all switching elements 2, 4, 6 and 8 of the H-bridge circuit 20X of the X-phase are switched off, and the H-bridge circuit is operated in high-dissipation mode from time t141 to time t142 and in de-energized mode after time t142.
[0058] The voltage VMX of the X-phase becomes less than or equal to (-MVdd - 2Vf) due to the freewheeling pulse immediately after time t141 and is simultaneously clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMX is suddenly increased shortly before time t142 to pass through a zero crossing and, after increasing to a predetermined voltage, is gradually decreased to pass through another zero crossing at time t151. The coil current IMX of the X-phase flows in one direction from terminal Mout1 to terminal Mout0 immediately after time t141, but the absolute value of the current is gradually reduced to 0 mA shortly before time t142 and is then held at 0 mA until time t151 is reached.
[0059] In the fourth quadrant, the H-bridge circuit 20Y of the Y-phase is operated in charging mode. At this time, the upper bridge-side switching element of one branch at terminal Mout3 of the H-bridge circuit 20Y and its lower bridge-side switching element of one branch at terminal Mout2 are switched on. In this way, terminal Mout3 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout2 conducts current to ground 142 to become 0 [V].
[0060] The voltage VMY of the Y-phase applies a voltage (+ MVdd) so that the coil current IMY of the Y-phase flows in one direction from terminal Mout3 to terminal Mout2, and at the same time an absolute value of the current is gradually increased.
[0061] Motor 120 rotates while waveforms repeat from the first quadrant to the fourth quadrant. Furthermore, the X-phase operating mode of the first quadrant after time t151 is the charging mode and is displayed in Fig. 10 simply labelled "C".
[0062] A power loss P on The current supply period can be calculated from the following equation (1). Pon=Irms2×(RdsH+RdsL) where: P on a power loss during the current supply period; I rms an effective value of a coil current; R dsH a resistance exists between the drain and source of the upper bridge-side switching element when the upper bridge-side switching element is turned on; and R dsL A resistance exists between the drain and source of the low-side switching element when the lower-bridge side switching element is turned on.
[0063] A power loss Poff1 The high-dissipation period can be calculated from the following equation (2) if no current returns to the DC source 140 and all the current leaks to ground 142 due to the parasitic transistor effect. Poff1=((Ipeak2×Vf)+(lpeak2×(MVdd+Vf)))×Dfly where: P off1 a power loss during the high-dissipation period; I peak the maximum coil current is; V f a voltage drop in the forward direction of the diode; and D fly a ratio of the high-dissipation period for each quadrant.
[0064] No power loss occurs during the period when the current is off, as current rarely flows in coil 124. The power loss P at an electrical angle of the two-phase stepper motor can be calculated from the following equation (3). P=(Pon+Poff1)×4 where: P is the power loss for each electrical angle of the stepper motor.
[0065] As expressed in equations (1) to (3), the supply voltage MVdd, the coil current and the ratio of the high-dissipation period have a strong effect on the power dissipation P. Therefore, a large power dissipation occurs under the parasitic transistor effect.
[0066] Fig. Figure 11 is a flowchart illustrating the processing of the first quadrant of the X-phase of a motor controller according to the comparative example. The symbols in octagons shown in the flowchart represent the state of the H-bridge circuits 20X and 20Y.
[0067] The X-phase starts the first quadrant from the current-energizing period. A bridge control circuit 110 switches on the upper bridge-side switching element 6 of the branch at terminal Mout0 and the lower bridge-side switching element 4 in the H-bridge circuit 20X of the X-phase (step S30). In this way, the H-bridge circuit 20X of the X-phase applies current in the first quadrant. At this time, a difference between the voltage VMout0 and the voltage VMout1 is created relative to the supply voltage MVdd (step S31). Current flows from terminal Mout0 to terminal Mout1, causing the motor 120 to rotate and the absolute value of the coil current IMX to gradually increase.
[0068] Here, the back EMF of the Y-phase voltage VMY experiences a zero crossing (Yes in step S32). The upper bridge-side switching element 6 of the branch at terminal Mout0 of the X-phase and its lower bridge-side switching element 4 of the branch at terminal Mout1 are switched off (step S33), switching the X-phase into the high-dissipation period. This makes the voltage VMout0 equal to the voltage VMout1 (step S34), thus completing the first quadrant.
[0069] In the first quadrant, the H-bridge circuit 20Y of the Y-phase assumes a voltage waveform in which the reverse voltage and the back EMF cancel each other out. In an initial stage of the first quadrant, the back EMF is generated by the rotation of the motor. However, because all switching elements are simultaneously switched off in a final stage of a preceding fourth quadrant, the reverse voltage is induced by coils 104 and 20Y in a direction opposite to the previous current flow, and then a switch to the high-dissipation period occurs. Due to this reverse voltage, the voltage VMout2 becomes greater than or equal to the sum of the supply voltage MVdd and a forward voltage drop Vf of the diode, and the voltage VMout3 becomes less than or equal to the forward voltage drop Vf of the diode.
[0070] In this way, a current path is formed to cause current to flow from ground 142 through coil 124Y back to the DC power source 140, thus reducing the absolute value of the coil current IMY at high speed until it reaches 0 [mA] and the reverse voltage is lifted. Lifting the reverse voltage switches the H-bridge circuit 20Y of the Y-phase into the no-current position. Therefore, back EMF appears between terminal Mout2 and terminal Mout3 due to the motor's rotation. When the back EMF of the voltage VMY of the Y-phase crosses zero, step S32 is executed, and the first quadrant is completed.
[0071] Fig. Figure 12 is a flowchart illustrating the processing of a second quadrant of the X-phase of the device for controlling the motor's actuation according to the comparative example.
[0072] In the second quadrant, the H-bridge circuit 20X of the X-phase assumes a voltage waveform in which the reverse voltage and the back EMF cancel each other out. In the initial stage of the second quadrant, the back EMF is generated by the rotation of the motor. However, because all switching elements are simultaneously switched off in the final stage of the preceding fourth quadrant, the reverse voltage is induced by the coil 124Y in a direction opposite to that of the preceding current, and then a switch to the high-dissipation period takes place.
[0073] In the initial stage of the second quadrant, the H-bridge circuit 20X of the X-phase has the voltages VMout0 and VMout1, which are equal to each other (step S40). Subsequently, the energy accumulated in the coil 124X is released, and then the reverse voltage Mout0 is induced (step S41).
[0074] The reverse voltage of the X-phase causes the voltage VMout0 to be greater than or equal to the sum of the supply voltage MVdd and the forward voltage drop Vf of diode 12, and the voltage VMout1 to be less than or equal to the forward voltage drop Vf of diode 18. This creates a current path that causes current to flow from ground 142 through diode 18, inductor 124X, and diode 12 back to the DC power source 140, thus reducing the absolute value of the inductor current IMX to 0 mA at high speed. The H-bridge circuit 20X of the X-phase switches to the no-current position because the voltage VMX crosses zero again due to the cancellation of the reverse voltage (Yes in step S42).
[0075] During the power-off period, the back EMF between terminal Mout1 and terminal Mout0 appears due to the motor's rotation. The back EMF VMX of the X-phase passes through a zero crossing (yes in step S44), thus completing the second quadrant.
[0076] In the second quadrant, the H-bridge circuit 20Y of the Y-phase performs a process that corresponds to the operating mode of the X-phase of Fig. 11 corresponds to this. That is, the H-bridge circuit 20Y of the Y-phase switches on the upper bridge-side switching element of the branch at terminal Mout2 and the lower bridge-side switching element of the branch at terminal Mout3 (corresponds to step S30 of Fig. 11) and applies current. A difference between the voltage VMout2 and the voltage VMout3 is converted to the voltage MVdd (corresponds to step S31 of Fig. 11) At this time, current flows from terminal Mout2 to terminal Mout3, so that the motor rotates 120 and the absolute value of the coil current IMY gradually increases.
[0077] If the back EMF VMX of the X-phase experiences a zero crossing (corresponds to Yes in step S30 of Fig. 11), the upper bridge-side switching element of the branch at terminal Mout2 of the Y-phase and its lower bridge-side switching element of the branch at terminal Mout3 are switched off (corresponds to step S33 of Fig. 11) and the Y-phase is switched to the high-dissipation period. This makes the voltage VMout2 equal to the voltage VMout3 (corresponds to step S34 of Fig. 11), so that the second quadrant is completed.
[0078] The Fig. 3A and Fig. 3D are explanatory views that illustrate an operating mode of the H-bridge circuit 20 according to the first embodiment.
[0079] Fig. Figure 3A illustrates the operation of the H-bridge circuit 20 during the current-energizing period, which is the same as that of the H-bridge circuit 20 from Fig. 9A. The H-bridge circuit 20 is operated in the same way as the comparison example in charging mode and, after the current-energizing period, enters the high-dissipation period of Fig. 3B switched.
[0080] Fig. Figure 3B illustrates the operation of the H-bridge circuit 20 during the high-dissipation period, which is the same as the high-dissipation mode of the H-bridge circuit 20 from Fig. 9B. The H-bridge circuit 20 of the comparative example maintains the high-dissipation mode during the generation of the feedback voltage. However, the H-bridge circuit 20 of the first embodiment is configured such that after a predetermined time has elapsed, the switching element 2 is switched from an off state to an on state, and consequently the H-bridge circuit enters a low-dissipation mode. Fig. 3C is switched.
[0081] Fig. Figure 3C illustrates the operation of the H-bridge circuit 20 during a return period.
[0082] The energy accumulated in coil 124 causes current to flow through diode 18, coil 124, and switching element 2 in the direction indicated by the thick line. This means that the energy accumulated in coil 124 causes current to flow in a closed circuit through the upper bridge-side diode 2, which is oriented in the direction of the motor current (indicated by the thick line) and is in the conducting state, and the lower bridge-side diode 18, which is oriented in the opposite direction to the motor current flow direction to the upper bridge-side diode 2 (indicated by the thick line) and is in the conducting state. During the reverse cycle of Fig. In 3C, power dissipation occurs solely through the voltage drop Vf in the forward direction of diode 18. Accordingly, this period is also referred to as a "low-dissipation mode" because the power dissipation during this period is lower than during the high-dissipation mode. Even when the H-bridge circuit 20 of the first embodiment is configured by the CMOS manufacturing process, there is no instance of current leakage to ground 142 to generate heat through the parasitic transistor effect, thus further preventing energy dissipation.
[0083] If the coil 124 has enough energy from the state of Fig. When 3C is released, no current flows, thus switching to the state of Fig. 3D is performed. This operating period is referred to as a "power-off period", and this operating mode is referred to as a "power-off mode".
[0084] Fig. 3D is a view showing the operation of the H-bridge circuit 20 during the power-off period, which is the same as that of the H-bridge circuit 20 from Fig. 9C. During this power-off period, the H-bridge circuit 20 switches to a power-on period of Fig. 3A, when the zero crossing of the back EMF of motor 120 is detected.
[0085] Fig. Figure 4 is an exemplary view illustrating a low-dissipation mode of an H-bridge circuit 20 according to one variant.
[0086] According to the first variant, in low-dissipation mode, Fig. 4. A switch from high-dissipation mode for a predetermined period of time. Fig. 3B to the low-dissipation mode of Fig. 3C performed. In the low-dissipation mode of the variant, which is in Fig. As shown in Figure 4, switching element 8 and switching element 2 are switched from the off state to the on state. At this time, energy accumulated in coil 124 causes current to flow through switching element 8, coil 124, and switching element 2 in the direction shown by the thick line. During the reverse cycle of this variant, the power loss is lower compared to the low-dissipation mode. Fig. 3C is reduced even further. Even when the H-bridge circuit 20 of the variant is configured by the CMOS manufacturing process, there is no case in which the current leaks to ground 142 through the parasitic transistor effect to generate heat, so it is possible to prevent energy dissipation even better. Furthermore, in the second variant, the low-dissipation mode of Fig. 4 into low-dissipation mode of Fig. 3C was changed and switched. This means that in the second variant, the switch from the high-dissipation mode of Fig. 3B into low-dissipation mode of Fig. 4 is carried out.
[0087] Fig. Figure 5 shows a wave diagram illustrating current sequences of an X-phase and a Y-phase of the H-bridge circuit 20.
[0088] The waveform display of Fig. Figure 5 illustrates the X-phase voltages VMout0 and VMout1, the X-phase operating mode, the Y-phase voltages VMout2 and VMout3, the Y-phase operating mode, the X-phase voltage VMX and the coil current IMX, and the Y-phase voltage VMY and the coil current IMY, as shown in Fig. 10. Furthermore, the X-phase voltages VMout0 and VMout1 and the Y-phase voltages VMout2 and VMout3 show schematic waveforms, and the X-phase voltage VMX and the coil current IMX and the Y-phase voltage VMY and the coil current IMY are shown in the waveform of an oscilloscope.
[0089] The motor controller 100 of the first embodiment drives the motor 120 in a phase excitation in response to the motor driver voltage and load, as in the comparative example. The motor 120 rotates by setting an electrical angle with four phases (quadrants). If the X-phase is in the current-energized period (see Fig. 3A) in any quadrant, the Y phase passes through the high-dissipation period (see Fig. 3B), which then becomes the return period (see Fig. 3C) and transitions into the power outage period (see Fig. 3D).
[0090] When the motor control voltage is high or the load is low, the speed of motor 120 increases, and the maximum current of coil 124 decreases. When the motor drive load is low, the reverse pulse time is shortened. The back EMF is generated during the no-current period of each phase. The back EMF is high when the motor speed is high and becomes 0 [V] during standstill, so it can be used to detect stepper motor loss.
[0091] In Fig. Quadrant 5 is the first quadrant, a period from time t11 to time t21. In this first quadrant, the H-bridge circuit 20X of the X-phase is operated in charging mode. At this time, the upper bridge-side switching element 6 of the branch at terminal Mout0 of the H-bridge circuit 20X and its lower bridge-side switching element 4 of the branch at terminal Mout1 are switched to the on state. In this way, terminal Mout0 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout1 conducts current to ground 142 to become 0 [V]. The voltage VMX of the X-phase becomes (-MVdd), so that the coil current IMX of the X-phase flows in one direction from terminal Mout0 to terminal Mout1, and simultaneously an absolute value of the current is gradually increased.
[0092] In the first quadrant, all switching elements of the H-bridge circuit 20Y of the Y-phase are switched off for a short period after time t11 and operated in high-dissipation mode, and then in low-dissipation mode until time t12 is reached. Subsequently, after time t12, the H-bridge circuit operates in de-energized mode. Fig. In section 5, the high dissipation mode is omitted and the low dissipation mode is simply labelled "T".
[0093] During the flyback period, the H-bridge circuit 20Y coordinates the generation of the flyback pulse with the bridge control circuit 110, switches on the upper-bridge switching element of the branch at terminal Mout2, where the freewheeling pulse is induced, and causes the current generated by this pulse to flow in the DC power source 140. Furthermore, the bridge control circuit 110 periodically detects a flyback voltage between terminal Mout2 and terminal Mout3 using the A / D converter 117. If the flyback voltage becomes less than the sum of the supply voltage MVdd and the forward voltage drop Vf of the diode, the upper-bridge switching element of the branch at terminal Mout2 is switched off. This A / D converter 117 is used to detect step loss and to measure the differential voltage of the coil 124.Depending on the operating conditions, such as the supply voltage MVdd or the load applied to the motor 120, such a control method can optimally deal with the power loss.
[0094] The voltage VMY of the Y-phase becomes less than or equal to (-MVdd - 2Vf) due to the freewheeling pulse immediately after time t11, is simultaneously clamped by the diode, and is then switched to low-dissipation mode to become less than or equal to (-MVdd - Vf) and is simultaneously clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMY is suddenly raised to zero shortly before time t12 and is then gradually reduced after reaching a predetermined voltage, again crossing zero at time t21. The coil current IMY of the Y-phase flows in one direction from terminal Mout3 to terminal Mout2 immediately after time t11, but the absolute value of the current is gradually reduced to 0 mA shortly before time t12 and is then held at 0 mA until time t21.
[0095] If the switching off of the switching element is delayed after the rewind period has completed, voltages on opposite sides of the coil are balanced by the supply voltage MVdd supplied to the motor 120, allowing the voltage waveform to be dispersed. The current I is reduced to a large extent compared to a peak of the rewind pulse, but the supply voltage MVdd supplied to the motor 120 is applied in a direction opposite to the motor drive direction to act as a brake against the motor's rotation. This can be achieved by shortening the sampling cycle of the A / D converter 117.
[0096] The second quadrant covers the period from time t21 to time t31. During this second quadrant, all switching elements 2, 4, 6, and 8 in the H-bridge circuit 20X of the X-phase are switched off. For a short period after time t21, the H-bridge circuit operates in high-dissipation mode, and then in low-dissipation mode until time t22. After time t22, the H-bridge circuit operates in de-energized mode.
[0097] The voltage VMX of the X-phase is increased to or greater than (+MVdd + 2Vf) immediately after time t21 by the freewheeling pulse, while simultaneously clamped by the diode. It then enters low-dissipation mode, increasing to or greater than (+MVdd + Vf), while still clamped by the diode, thus maintaining the voltage value for a predetermined period. The voltage VMX is abruptly reduced to zero shortly before time t22 and then gradually increased again after reducing to a predetermined voltage, again reaching zero at time t31. The coil current IMX of the X-phase flows in one direction from terminal Mout0 to terminal Mout1 immediately after time t21, but the absolute value of the current is gradually reduced to 0 mA shortly before time t22 and then held at 0 mA until time t31.
[0098] In the second quadrant, the H-bridge circuit 20Y of the Y-phase is operated in charging mode. At this time, the upper bridge-side switching element of the branch at terminal Mout2 of the H-bridge circuit 20Y and its lower bridge-side switching element of the branch at terminal Mout3 are switched to the on state. In this way, terminal Mout2 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout3 conducts current to ground 142 to become 0 [V].
[0099] The voltage VMY of the Y phase then becomes the voltage (- MVdd), so that the coil current IMY of the Y phase flows in one direction from terminal Mout2 to terminal Mout3, and at the same time an absolute value of the current is gradually increased.
[0100] The third quadrant is the period from time t31 to time t41. In this third quadrant, the H-bridge circuit 20X of the X-phase is operated in charging mode. At this time, the upper bridge-side switching element 2 of the branch at terminal Mout1 of the H-bridge circuit 20X and its lower bridge-side switching element 8 of the branch at terminal Mout0 are switched on. In this way, terminal Mout1 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout0 conducts current to ground 142, so that the applied voltage becomes 0 [V]. The voltage VMX of the X-phase becomes (+ MVdd), so that the coil current IMX of the X-phase flows in one direction from terminal Mout1 to terminal Mout0, and simultaneously an absolute value of the current is gradually increased.
[0101] In this third quadrant, all switching elements of the H-bridge circuit 20Y of the Y-phase are switched off, and the H-bridge circuit operates in high-dissipation mode for a short period after time t31, and then in low-dissipation mode until time t32 is reached. Subsequently, after time t32, the H-bridge circuit operates in de-energized mode.
[0102] The voltage VMY of the Y-phase is increased to or greater than (+MVdd + 2Vf) by the freewheeling pulse immediately after time t131. Simultaneously, it is clamped by the diode and then switched to low-dissipation mode to become greater than or equal to (+MVdd + Vf). It is then clamped by the diode so that this voltage value is maintained for a predetermined period. Shortly before time t32, the voltage VMY is abruptly decreased to pass through zero and, after reaching a predetermined voltage, is gradually increased to pass through zero again at time t41. The coil current IMY of the Y-phase flows in one direction from terminal Mout2 to terminal Mout3 immediately after time t31, but the absolute value of the current is gradually decreased to 0 mA shortly before time t32 and then held at 0 mA until time t41.
[0103] The fourth quadrant is a period from time t41 to time t51. In this fourth quadrant, all switching elements 2, 4, 6 and 8 of the H-bridge circuit 20X of the X-phase are switched off, and the H-bridge circuit is operated in high-dissipation mode for a short period after time t41 and is then operated in low-dissipation mode until time t42 is reached, so that the H-bridge circuit is operated in de-energized mode after time t42.
[0104] The voltage VMX of the X-phase is reduced to less than or equal to (-MVdd - 2Vf) by the freewheeling pulse immediately after time t41. Simultaneously, it is clamped by the diode and then switched to low-dissipation mode to become greater than or equal to (+MVdd + Vf), while simultaneously being clamped by the diode so that this voltage value is maintained for a predetermined period. The voltage VMX is abruptly increased shortly before time t42 to pass through zero and is gradually decreased after reaching a predetermined voltage, passing through zero again at time t51. The coil current IMX of the X-phase flows in one direction from terminal Mout1 to terminal Mout0 immediately after time t41, but the absolute value of the current is gradually reduced to 0 mA shortly before time t42 and is then held at 0 mA until time t51.
[0105] In the fourth quadrant, the H-bridge circuit 20Y of the Y-phase is operated in charging mode. At this time, the upper bridge-side switching element of the branch at terminal Mout3 of the H-bridge circuit 20Y and its lower bridge-side switching element of the branch at terminal Mout2 are switched on. In this way, terminal Mout3 conducts current to the DC power source 140 to apply the supply voltage MVdd, and terminal Mout2 conducts current to ground 142 to become 0 [V].
[0106] The voltage VMY of the Y-phase becomes the voltage (+ MVdd), so that the coil current IMY of the Y-phase flows in one direction from terminal Mout3 to terminal Mout2, and at the same time an absolute value of the current is gradually increased.
[0107] As the motor rotates 120 times, the waveforms repeat from the first quadrant to the fourth quadrant.
[0108] In the first embodiment, for example when the X-phase is in the energized period, the Y-phase is switched to the high-dissipation period, the discharge period, and the de-energized period. The power loss is reduced by switching to the discharge period.
[0109] It is assumed that in the high-dissipation mode of the first embodiment, current does not return to the DC power source 140, but that all current leaks to ground 142 due to the parasitic transistor effect. In this case, the power dissipation P off2 represented by the following equation (4). Poff2=((lpeak2×Vf)+(lpeak2×(MVdd+Vf)))×Ddead where: P off2 a power loss during the high-dissipation period; I peak the maximum coil current is; V f a voltage drop in the forward direction of the diode; and D deada time ratio of the high-dissipation period for each quadrant.
[0110] Since the power loss P off3 The power loss during the return period through the switching element is represented by the following equation (5). Poff3=((lpeak2×Vf)+Ipeak2×RdsH)×Dfly where: P off3 a power loss during the return period; I peak the maximum coil current is; V f a voltage drop in the forward direction of the diode; R dsH a resistance exists between the drain and source of the high-side switching element when the upper-bridge-side switching element is turned on; and D fly a ratio of the high-dissipation period for each quadrant.
[0111] The power loss P of an electrical angle of the two-phase stepper motor is represented by the following equation (6). P=(Pon+Poff2+Poff3)×4 where: P is the power loss for each electrical angle of the stepper motor.
[0112] As expressed in equation (5), the power dissipation is not affected by the supply voltage MVdd and the parasitic transistor effect, since the current passes through the switching element via the upper bridge face during the "flip-through period". Therefore, it is possible to reduce the power dissipation.
[0113] Fig. Figure 6 is a waveform representation illustrating a voltage and current of each part of the X-phase of the H-bridge circuit 20.
[0114] The waveform display of Fig. Figure 6 shows the X-phase voltage VMX and the coil current IMX and the X-phase voltage VMout0 and VMout1 in the waveform of an oscilloscope.
[0115] In the first quadrant, the upper bridge side switching element 6 of the branch at terminal Mout0 of the H-bridge circuit 20X and its lower bridge side switching element 4 of the branch at terminal Mout1 are set to the on state.
[0116] The voltage VMX of the X-phase is (- MVdd), so that the X-phase coil current IMX flows in the direction from terminal Mout0 to terminal Mout1, and at the same time the absolute value of the current is gradually increased.
[0117] Since terminal Mout0 conducts current to the DC power source 140, the voltage VMout0 becomes (+MVdd). Since terminal Mout1 conducts current to ground 142, the voltage VMout1 becomes 0 [V].
[0118] In the second quadrant, all switching elements 2, 4, 6 and 8 of the H-bridge circuit 20X are in the off state.
[0119] The voltage VMX of the X-phase is raised to or greater than (+MVdd + 2Vf) immediately after time t21 by the freewheeling pulse, while simultaneously clamping it through the diode. It is then switched to low-dissipation mode to rise to or greater than (+MVdd + Vf), while simultaneously clamping it through the diode, so that this voltage value is maintained for a predetermined period. The voltage VMX is abruptly reduced to pass through zero shortly before time t22 and, after reducing to a predetermined voltage, is gradually increased to pass through zero again at time t31. The coil current IMX of the X-phase flows in a (positive) direction from terminal Mout0 to terminal Mout1 immediately after time t21, but the absolute value of the current is gradually reduced to 0 mA shortly before time t22 and is then held at 0 mA until time t31.
[0120] The voltage VMout0 of the terminal Mout0 is (- Vf) from time t21 to time t22 and is gradually increased to a predetermined value and then reduced by the back EMF of the motor 120 after time t22, so that the voltage becomes 0 [V] again at time t31.
[0121] The voltage VMout1 at terminal Mout1 becomes greater than or equal to the supply voltage MVdd immediately after time t21 due to the freewheeling pulse. This causes the voltage to equalize with the supply voltage MVdd after a predetermined time has elapsed. At time t22, the voltage VMout1 is suddenly reduced to 0 V and is then held at 0 V until time t31.
[0122] In the third quadrant, the upper bridge side switching element 2 of the branch at terminal Mout1 of the H-bridge circuit 20X and its lower bridge side switching element 8 of the branch at terminal Mout0 are switched to the on state.
[0123] The voltage VMX of the X-phase is increased (+ MVdd), so that the X-phase coil current IMX flows in the direction from terminal Mout1 to terminal Mout0, and at the same time the absolute value of the current is gradually increased.
[0124] Since terminal Mout0 conducts current to ground 142, the voltage VMout0 then becomes 0 [V]. Since terminal Mout1 conducts current to the DC power source 140, the voltage VMout1 (+ MVdd)
[0125] In the fourth quadrant, all switching elements 2, 4, 6 and 8 of the H-bridge circuit 20X are in the off state.
[0126] The voltage VMX of the X-phase is reduced to less than or equal to (-MVdd - 2Vf) immediately after time t41 by the freewheeling pulse, while simultaneously clamped by the diode. It then enters low-dissipation mode, becoming less than or equal to (-MVdd - Vf), while simultaneously clamped by the diode, so that this voltage value is maintained for a predetermined period. The voltage VMX is abruptly increased shortly before time t42 to pass through zero and, after increasing to a predetermined voltage, is gradually decreased to pass through zero again at time t51. The coil current IMX of the X-phase flows in a (negative) direction from terminal Mout1 to terminal Mout0 immediately after time t41, but the absolute value of the current is gradually reduced to 0 mA shortly before time t42 and is then held at 0 mA until time t51.
[0127] The voltage VMout0 at terminal Mout0 becomes greater than or equal to the supply voltage MVdd immediately after time t41 due to the freewheeling pulse. This causes the voltage to equalize with the supply voltage MVdd after a predetermined time has elapsed. At time t42, the voltage VMout0 is suddenly reduced to 0 V and remains at 0 V until time t51.
[0128] The voltage VMout1 of terminal Mout1 is (- Vf) from time t41 to time t42 and is gradually increased to a predetermined value and then, after time t42, is reduced by the back EMF of motor 120, so that the voltage becomes 0 [V] again at time t51.
[0129] Fig. Figure 7 is a flowchart illustrating the processing of the first quadrant of the X-phase of the device for controlling the motor drive according to the first embodiment. It is identical to the flowchart of the comparative example in Figure 7. Fig. 11, but differs in its Y-phase operating mode.
[0130] The X-phase starts the first quadrant of the current-energizing period. The bridge control circuit 110 switches on the upper bridge-side switching element 6 of the branch at terminal Mout0 and the lower bridge-side switching element 4 of the branch at terminal Mout1 in the H-bridge circuit 20X of the X-phase (step S10). In this way, the H-bridge circuit 20X of the X-phase applies current in the first quadrant. At this time, a difference between the voltage VMout0 and the voltage VMout1 is established relative to the supply voltage MVdd (step S11). Current flows from terminal Mout0 to terminal Mout1, causing the motor 120 to rotate and the absolute value of the coil current IMX to gradually increase.
[0131] When the back EMF VMY of the Y-phase crosses zero (yes in step S12), the upper bridge-side switching element 6 of the branch at terminal Mout0 of the X-phase and its lower bridge-side switching element 4 of the branch at terminal Mout1 are switched off (step S13), switching the X-phase into the high-dissipation period. This causes the voltage VMout0 to equalize with the voltage VMout1 (step S14), thus completing the first quadrant.
[0132] In the first quadrant, the H-bridge circuit 20Y of the Y-phase assumes a voltage waveform in which the reverse voltage and the back EMF cancel each other out. In an initial stage of the first quadrant, the back EMF is generated by the rotation of the motor. However, because all switching elements are simultaneously switched off in the last stage of a preceding fourth quadrant, the reverse voltage is induced through the coil 124Y in a direction opposite to that of the preceding current, and then a switch to the high-dissipation period occurs. Due to this reverse voltage, the voltage VMout2 becomes greater than or equal to the supply voltage MVdd, and the voltage VMout3 becomes less than or equal to the forward voltage drop Vf of the diode. In this way, a DC path is formed, causing current to flow from ground 142 through the coil 124Y to the DC power source 140.
[0133] After a predetermined period, the H-bridge circuit 20Y switches the upper-bridge switching element in the direction of the coil current IMY to the low-dissipation mode, which is the conduction state. The current path is formed to cause current to flow from ground 142 through the coil 124Y to the DC power source 140, thus reducing the absolute value of the coil current IMY until it reaches 0 mA, and the reverse voltage is removed. The Y-phase H-bridge circuit 20Y switches to the no-current period by removing the reverse voltage. This causes the back EMF between terminal Mout2 and terminal Mout3 to appear due to the rotation of the motor. When the Y-phase back EMF VMY crosses zero, step S12 is executed, and the first quadrant is completed.
[0134] Fig. Figure 8 is a flowchart illustrating the processing of the second quadrant of the X-phase of the device for controlling the drive of the motor according to the first embodiment.
[0135] In the second quadrant, the H-bridge circuit 20X of the X-phase assumes a voltage waveform in which the reverse voltage and the back EMF cancel each other out. In an initial stage of the second quadrant, the back EMF is generated by the rotation of the motor. However, because all switching elements 2, 4, 6, and 8 are simultaneously switched off in a final stage of the preceding first quadrant, the reverse voltage is induced in a direction opposite to that of the preceding current, whereupon a switch to the high-dissipation period is performed.
[0136] In the initial stage of the second quadrant, the H-bridge circuit 20X of the X-phase has the voltages VMout0 and VMout1, which are equal to each other (step S20). Subsequently, energy accumulated in the coil 124X is released and the return voltage is induced at terminal Mout0 (step S21).
[0137] When a predetermined time has elapsed, the X-phase reverse voltage causes the voltage VMout0 to be greater than or equal to the supply voltage MVdd, and causes the voltage VMout1 to be less than or equal to the forward voltage drop Vf of diode 18 (step S22). In this way, the current path is formed through which current flows from ground 142 through diode 18, inductor 124X, and diode 12 back to the DC power source 140.
[0138] The bridge control circuit 110 switches on the upper bridge-side switching element 2 of the branch at terminal Mout1 (step S23) and switches to the retrace period. During the retrace period, the current path is formed to cause current to flow from ground 142 through diode 18, inductor 124X, and switching element 2 back to the DC power source 140, and the inductor current IMX is reduced at high speed until it reaches 0 mA. This is called the low-dissipation mode and has a lower dissipation than the high-dissipation mode.
[0139] During the retrace period, the bridge control circuit 110 periodically receives the X-phase voltage VMX from the A / D converter 117. If the voltage VMX is less than the sum of the supply voltage MVdd and the voltage drop Vf in the forward direction of the diode 18 ("Yes" in step S24), the bridge control circuit 110 switches off the upper bridge-side switching element 2 of the terminal Mout1 (step S25) and the switchover to the currentless period is carried out.
[0140] During the power-off period, the bridge control circuit 110 initially attempts to detect the zero crossing of the reverse voltage induced in the voltage VMX in the BEMF detector 118 (step S26). If the reverse voltage crosses zero (“Yes” in step S26), the reverse voltage is canceled and the back EMF is generated between terminal Mout0 and terminal Mout1 (step S27). The bridge control circuit 110 then attempts to detect the zero crossing of the back EMF appearing in the voltage VMX through the BEMF detector 118 (step S28). If the back EMF crosses zero (Yes in step S28), the second quadrant is closed.
[0141] The bridge control circuit 110 switches on the upper bridge-side switching element 2 of terminal Mout1 (step S23), so that it operates in low-dissipation mode, whose dissipation is lower than in high-dissipation mode. Therefore, it is possible to reduce power loss.
[0142] Furthermore, if the voltage VMX is less than the sum of the supply voltage MVdd and the forward voltage drop Vf across diode 18, the bridge control circuit 110 switches off the upper bridge-side switching element 2 of terminal Mout1 and terminates the low-dissipation mode. Therefore, nothing affects the measurement of the back EMF and the detection of a step loss after the freewheeling pulse has ended, and the motor 120 is not braked.
[0143] In the second quadrant, the Y-phase of the H-bridge circuit 20Y performs a process of the X-phase operating mode of Fig. 7 off. This means that the H-bridge circuit 20Y of the Y-phase switches on the upper bridge-side switching element of the branch at terminal Mout2 and the lower bridge-side switching element of the branch at terminal Mout3 (corresponds to step S10 of Fig. 7) and applies current. A difference between the voltage VMout2 and the voltage VMout3 is converted to the voltage MVdd (corresponds to step S11 of Fig. 7) At this time, the current flows from terminal Mout2 to terminal Mout3, so that the motor rotates 120 and the absolute value of the coil current IMY gradually increases.
[0144] If the back EMF VMX of the X-phase experiences a zero crossing (corresponds to "Yes" in step S12 of Fig. 7), the upper bridge-side switching element of the branch at terminal Mout2 of the Y-phase and its lower bridge-side switching element of the branch at terminal Mout3 are switched off (corresponds to step S13 of Fig. 7), and the Y-phase is switched to the high-dissipation period. The voltage VMout2 of the Y-phase temporarily becomes equal to the voltage VMout3 (corresponds to step S14 of Fig. 7), so that the second quadrant is complete.
[0145] In the first embodiment, this can be done without increasing costs, since the A / D converter 117 is useful for detecting a step loss to detect the end of the rewind. Even if the supply voltage MVdd, the load torque or the speed is changed, no power loss or braking occurs.
[0146] According to the first embodiment, it is possible to detect the time of termination of the reverse pulse and to switch off the switching element during this time. Therefore, nothing interferes with the measurement of the back EMF and the detection of a step loss after the freewheel pulse has ended. Furthermore, since the motor 120 is not braked, nothing affects the motor's performance at maximum speed.
[0147] Next, for example, the use of the present invention will be described for the case in which a motor winding is connected in a star connection in a brushless motor. Fig. Figure 13 is a detailed view illustrating a coil, a switching element and a peripheral part of a motor control according to a second embodiment.
[0148] Switching elements 202 and 204 form a series circuit SA1. Similarly, switching elements 206 and 208 form a series circuit SA2, and switching elements 210 and 212 form a series circuit SA3.
[0149] A DC power source 140 and a ground connection 142 are connected to the series circuits SA1 to SA3 to apply a predetermined supply voltage MVdd. Diodes 252, 254, 256, 258, 260, and 262 are reverse current diodes and are connected in parallel with the switching elements 202, 204, 206, 208, 210, and 212, respectively. A PWM signal generator 313 corresponds to the PWM signal generator 113 of the first embodiment and is designed to be connected to a bridge controller (not shown). The PWM signal generator 313 is based on the control of the bridge controller (not shown) and generates a switching signal that is supplied to the switching elements of the series circuits SA1 to SA3. This switching signal is an on / off signal applied as a gate voltage to each switching element.In the drawings, the lower terminal of each of the switching elements 202, 204, 206, 208, 210, and 212 becomes a source terminal, while its upper terminal becomes a drain terminal. Voltages VMoutU, VMoutV, and VMoutW are supplied to an analog-to-digital converter (ADC) 317 and a back-EMF detector (not shown). The ADC 317 of the second embodiment is used as a voltage detector to detect a differential voltage of the motor coil, as in the first embodiment.
[0150] The voltage VMoutU at a connection point of switching elements 202 and 204, the voltage VMoutV at a connection point of switching elements 206 and 208, and the voltage VMoutW at a connection point of switching elements 210 and 212 are applied to one end of the coils UB, VB, and WB of the motor 320, respectively. The other ends of the coils UB, VB, and WB are connected to each other in a star configuration.
[0151] In the case where the voltages VMoutU and VMoutV are applied via the series circuits SA1 and SA2, a motor voltage VMuv (= voltage VMoutU - VMoutV), which is the difference between the voltages VMoutU and VMoutV, is applied to the series-connected coils UB and VB. Here, the corresponding series circuits SA1 and SA2, together with the series-connected coils UB and VB, form half-bridge circuits, and these half-bridge circuits form an H-bridge circuit.
[0152] In the case where the voltages VMoutV and VMoutW are applied via the series circuits SA2 and SA3, a motor voltage VMvw (= voltage VMoutV - VMoutW), which is the difference between the voltages VMoutV and VMoutW, is applied to the coils VB and WB, which are connected in series. Similarly, the corresponding series circuits SA2 and SA3 and the coils VB and WB, which are connected in series with them, form half-bridge circuits. These half-bridge circuits form an H-bridge circuit.
[0153] Similarly, when voltages VMoutW and VMoutU are applied via the series circuits SA3 and SA1, a motor voltage VMwu (= voltage VMoutW - VMoutU), which is the difference between the voltages VMoutW and VMoutU, is applied to the coils WB and UB, which are connected in series. Furthermore, the corresponding series circuits SA3 and SA1 and the coils WB and UB connected in series with them form half-bridge circuits. These half-bridge circuits form an H-bridge circuit.
[0154] In the case of the star configuration, the sequence in which voltages are applied to the coils is selectively changed, with the H-bridge circuit being formed by two half-bridge circuits comprising any of the series circuits SA1 to SA3, depending on the combination of coils to which the voltage is to be applied. As in the first embodiment, drive control can be implemented on any H-bridge circuit, with the H-bridge circuit being formed by combining the half-bridge circuits. Therefore, it is possible to achieve the same effect as in the first embodiment.
[0155] In the preceding first embodiment, the configuration of the two groups of circuits and coils is identical. However, the H-bridge circuit formed as such can also be understood as a type of H-bridge circuit created by combining the half-bridge circuits.
[0156] The present invention is not limited to the embodiments mentioned above, but can be modified without departing from its spirit. For example, the following modifications a) to h) are possible. a) The present invention is not limited to a two-phase stepper motor, but can use a motor with any number of phases, for example a three-phase stepper motor. Furthermore, a brushless motor whose motor winding is connected in a delta configuration can also be used. b) The switching element is not limited to a MOSFET, but can be any type of semiconductor switching element. c) At least some of the relevant components of the engine control system can be implemented not only as hardware but also as software. d) At least part of the motor control can be an integrated circuit (IC). e) The circuit block configuration of the in the Fig. 1 and Fig. The motor control unit shown in section 2 is a specific example and is not limited to this. f) The one in the Fig. 7 and Fig. The control flow shown in step 8 is merely an example and is not limited to these steps; for example, other steps can be inserted between the steps. g) The transition from the high-dissipation mode to the low-dissipation mode is not limited to the elapsed time, but can be carried out by means of the zero crossing of the return voltage. h) During the switchover from the high-dissipation period, in which all switching elements are switched off, to the return period, in which the high-side switching elements are switched on, as in the variant of Fig. 4, a period can be provided to turn on the high-side switching elements of one branch and the low-side switching elements of the other branch.
[0157] As described in the embodiments, according to the present invention a motor control and a method for controlling a motor are provided which have the capability to allow the current discharged to ground to return to the power source, thereby making it possible to reduce power loss.
Claims
[1] Engine control (100), comprising: an H-bridge circuit (20, 20X, 20Y) comprising switching elements (2, 4, 6, 8), freewheeling diodes and half bridges connected to motor coils provided in the motor (120, 320); a voltage detector (117) that detects a differential voltage between the motor coils; a zero-crossing detector that detects a zero-crossing of a back EMF of each of the motor coils; and a controller which operates the H-bridge circuit (20, 20X, 20Y) in such a way that it is operated in one of various operating modes, wherein the operating modes include a charging mode, a high-dissipation mode, a low-dissipation mode and a power-off mode, and wherein the operating mode is set on the basis of the differential voltage detected by the voltage detector (117) by activating the switching elements (2, 4, 6, 8) of the H-bridge circuit (20, 20X, 20Y), wherein the H-bridge circuit (20, 20X, 20Y) increases a motor current flowing in the respective motor coils in the charging mode, wherein in the high-dissipation mode the H-bridge circuit (20, 20X, 20Y) operates with a high energy dissipation and a freewheeling pulse is induced in each of the motor coils, wherein in the low dissipation mode the H-bridge circuit (20, 20X, 20Y) operates with a low energy dissipation which is lower than in the high dissipation mode, wherein the H-bridge circuit (20, 20X, 20Y) is operated such that the zero-crossing detector is enabled to detect the zero crossing of the back EMF of each of the motor coils after the freewheeling pulse of each of the motor coils has decreased, wherein the controller is operated to perform a process comprising: Controlling the H-bridge circuit (20, 20X, 20Y) to switch to charging mode; Controlling the H-bridge circuit (20, 20X, 20Y) to switch to the high-dissipation mode when the zero-crossing detector detects that the back EMF of the motor coil connected to a phase of the H-bridge circuit (20, 20X, 20Y) just before the H-bridge circuit (20, 20X, 20Y) experiences a zero crossing; controlling the H-bridge circuit (20, 20X, 20Y) to switch to the low dissipation mode after a predetermined time has elapsed; and Controlling the H-bridge circuit (20, 20X, 20Y) to switch to the currentless mode when the voltage detector (117) detects that the differential voltage between the motor coils connected to the H-bridge circuit (20, 20X, 20Y) is lower than a predetermined voltage. [2] Motor controller (100) according to claim 1, wherein in the low dissipation mode, the controller sets one of the switching elements (2, 4, 6, 8) of the H-bridge circuit (20, 20X, 20Y), which are arranged on an upper bridge side and thus on the bridge side in the direction of which the current flows, into a conductive state, so that a current flow is caused in a closed circuit due to the energy accumulated in the motor coil, wherein the closed circuit is formed by an associated switching element and a freewheeling diode, wherein the switching element (2, 4, 6, 8) is arranged on the upper bridge side and is in a conductive state and wherein the freewheeling diode is arranged on a lower bridge side, wherein the lower bridge side is arranged on the side of the bridge circuit (20, 20X, 20Y) which is arranged opposite to the flow direction of the motor current. [3] Motor controller (100) according to claim 1 or 2, wherein in the high dissipation mode, the controller sets all switching elements (2, 4, 6, 8) of the H-bridge circuit (20, 20X, 20Y) into a non-conductive state and causes current to flow in a closed circuit due to the energy accumulated in the motor coil, wherein the closed circuit is formed by a freewheeling diode of the upper bridge side and a freewheeling diode of the lower bridge side, wherein the upper bridge side is arranged on the side of the bridge circuit in the direction of which the current flows and wherein the lower bridge side is arranged on the side of the bridge circuit (20, 20X, 20Y) which is arranged opposite to the flow direction of the motor current. [4] The motor controller (100) according to any one of claims 1 to 3, wherein the switching elements (2, 4, 6, 8) and the freewheeling diodes included in the H-bridge circuit (20, 20X, 20Y) are CMOS elements. [5] The engine controller (100) according to any one of claims 1 to 4, wherein the voltage detector (117) comprises an A / D converter. [6] Method for controlling an engine (120, 320) with an engine controller (100), comprising: an H-bridge circuit (20, 20X, 20Y) comprising switching elements (2, 4, 6, 8), freewheeling diodes and half bridges connected to motor coils provided in the motor (120, 320); a voltage detector (117) that detects a differential voltage between the motor coils; a zero-crossing detector that detects a zero-crossing of a back EMF of each of the motor coils; and a controller which operates the H-bridge circuit (20, 20X, 20Y) in such a way that it is operated in one of various operating modes, wherein the operating modes include a charging mode, a high-dissipation mode, a low-dissipation mode and a power-off mode, and wherein the operating mode is set on the basis of the differential voltage detected by the voltage detector (117) by activating the switching elements (2, 4, 6, 8) of the H-bridge circuit (20, 20X, 20Y), wherein the H-bridge circuit (20, 20X, 20Y) increases a motor current flowing in the respective motor coils in the charging mode, wherein in the high-dissipation mode the H-bridge circuit (20, 20X, 20Y) operates with a high energy dissipation and a freewheeling pulse is induced in each of the motor coils, wherein in the low dissipation mode the H-bridge circuit (20, 20X, 20Y) operates with a low energy dissipation which is lower than in the high dissipation mode, wherein the H-bridge circuit (20, 20X, 20Y) is operated to enable the zero-crossing detector to detect the zero crossing of the back EMF of each of the motor coils after the freewheeling pulse of each of the motor coils has decreased, the method comprising: Controlling the H-bridge circuit (20, 20X, 20Y) to switch to charging mode; Controlling the H-bridge circuit (20, 20X, 20Y) to switch to the high-dissipation mode when the zero-crossing detector detects that the back EMF of the motor coil connected to a phase of the H-bridge circuit (20, 20X, 20Y) just before the H-bridge circuit (20, 20X, 20Y) passes through a zero crossing; controlling the H-bridge circuit (20, 20X, 20Y) to switch to the low dissipation mode after a predetermined time has elapsed; and Controlling the H-bridge circuit (20, 20X, 20Y) to switch to the currentless mode when the voltage detector (117) detects that the differential voltage between the motor coils connected to the H-bridge circuit (20, 20X, 20Y) is lower than a predetermined voltage.
Citation Information
Patent Citations
synchronous drive method for inductive load and synchronous control device for H-bridge circuit
DE69717754T2
Method of synchronously driving inductive load and synchronous control equipment of h bridge circuit
JP1998080194A
Stepping motor drive device and method
US20040232874A1
Current regulation blanking time apparatus and methods
US20150028790A1
JP0000H1080194A
