Triangular wave generation circuit, motor driver circuit, positioning device and hard disk device using the same
The triangular wave generation circuit synchronizes with a clock signal using control pulses and capacitors to generate a synchronized triangular wave, addressing inefficiencies in existing circuits and enabling precise pulse width modulation.
Patent Information
- Application Number
- JP2023023641
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing triangular wave generation circuits lack synchronization with a clock signal, leading to inefficiencies in generating precise analog triangular waves for pulse width modulation.
A triangular wave generation circuit that synchronizes with a clock signal by using a pulse generator to produce control pulses of different frequencies, alternating capacitors, and a charge/discharge circuit to generate a triangular wave signal based on voltage changes at the output node.
The circuit efficiently generates a synchronized triangular wave signal with consistent voltage levels at the beginning of each period, enabling precise pulse width modulation.
Smart Images

Figure 2024117507000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a triangular wave generating circuit synchronized with a clock signal. [Background technology]
[0002] An analog triangular wave signal is used to generate a pulse width modulation (PWM) signal, which is typically generated by charging and discharging a capacitor with a constant current. Summary of the Invention [Problem to be solved by the invention]
[0003] The present disclosure has been made in this context, and it is an exemplary purpose of an embodiment thereof to provide a triangular wave generating circuit synchronized with a clock signal. [Means for solving the problem]
[0004] A triangular wave generating circuit according to an embodiment of the present disclosure includes a pulse generator that generates a first control pulse having a first frequency and a second control pulse having a second frequency that is half the first frequency in synchronization with a clock signal, a first capacitor having one end grounded, a second capacitor having one end grounded, a charging / discharging circuit that can switch between a state in which a charging current is sourced through an output node and a state in which a discharging current is sinked in synchronization with the first control pulse, and a switching circuit that alternates between (i) a first state in which an output node of the charging / discharging circuit is connected to the first capacitor and a reference voltage is applied to the second capacitor and (ii) a second state in which an output node of the charging / discharging circuit is connected to the second capacitor and a reference voltage is applied to the first capacitor in synchronization with the second control pulse. The triangular wave generating circuit can output a triangular wave signal based on a voltage generated at the output node of the charging / discharging circuit.
[0005] Any combination of the above components, or mutual substitution of components or expressions between methods, devices, systems, etc., are also effective as aspects of the present invention or the present disclosure. Furthermore, the description in this section (Means for Solving the Problems) does not explain all essential features of the present invention, and therefore, subcombinations of the described features may also constitute the present invention. Effect of the Invention
[0006] According to an aspect of the present disclosure, a triangular wave signal can be generated. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a circuit diagram of a triangular wave generating circuit according to an embodiment. [Diagram 2] FIG. 2 is an equivalent circuit diagram of the triangular wave generating circuit of FIG. 1 in a state φ11. [Diagram 3] FIG. 3 is an equivalent circuit diagram of the triangular wave generating circuit of FIG. 1 in a state φ12. [Figure 4] FIG. 4 is an equivalent circuit diagram of the triangular wave generating circuit of FIG. 1 in a state φ21. [Diagram 5] FIG. 5 is an equivalent circuit diagram of the triangular wave generating circuit of FIG. 1 in a state φ22. [Figure 6] FIG. 6 is an operational waveform diagram of the triangular wave generating circuit of FIG. [Figure 7] FIG. 7 is a circuit diagram of a triangular wave generating circuit according to an embodiment. [Figure 8] FIG. 8 is a circuit diagram of the positioning device. [Figure 9] FIG. 9 is a diagram showing input / output characteristics of the motor driver circuit of FIG. [Figure 10] FIG. 10 is a block diagram of a positioning device according to a modified example. [Figure 11] FIG. 11 is an operation waveform diagram of the motor driver circuit of FIG. [Figure 12] FIG. 12 is a diagram showing a hard disk drive equipped with a motor driver circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] (Overview of the embodiment) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified overview of some concepts of one or more embodiments for a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. This summary is not intended to be an exhaustive overview of all possible embodiments, nor is it intended to identify key elements of all embodiments or to delineate the scope of some or all aspects. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed in this specification.
[0009] A triangular wave generating circuit according to one embodiment includes a pulse generator that generates a first control pulse having a first frequency and a second control pulse having a second frequency that is half the first frequency in synchronization with a clock signal, a first capacitor having one end grounded, a second capacitor having one end grounded, a charge / discharge circuit that can switch between a state in which a charge current is sourced through an output node and a state in which a discharge current is sinked in synchronization with the first control pulse, and a switching circuit that alternates between (i) a first state in which an output node of the charge / discharge circuit is connected to the first capacitor and a reference voltage is applied to the second capacitor and (ii) a second state in which an output node of the charge / discharge circuit is connected to the second capacitor and a reference voltage is applied to the first capacitor in synchronization with the second control pulse. The triangular wave generating circuit can output a triangular wave signal based on a voltage generated at the output node of the charge / discharge circuit.
[0010] According to this configuration, a triangular wave signal can be generated by alternately switching between the two capacitors for each period of the triangular wave signal in synchronization with a clock signal.
[0011] In one embodiment, the switching circuit may include a first switch connected between the first capacitor and the output node of the charging / discharging circuit and switching in response to the second control pulse, a second switch connected between the second capacitor and the output node of the charging / discharging circuit and switching in response to an inverted signal of the second control pulse, a third switch having one end receiving a reference voltage and the other end connected to the first capacitor and switching in response to an inverted signal of the second control pulse, and a fourth switch having one end receiving the reference voltage, the other end connected to the second capacitor, and switching in response to the second control pulse.
[0012] In one embodiment, the charge / discharge circuit may be configured to allow the charge current and the discharge current to be trimmed.
[0013] In one embodiment, the charge / discharge circuit may include a reference current source that generates a reference current, a first current mirror circuit that folds the reference current and outputs a first current and a second current, a second current mirror circuit that folds the first current and outputs a third current, a third current mirror circuit that folds the third current and outputs a source current, and a fourth current mirror circuit that folds the second current and outputs a sink current.
[0014] In one embodiment, the first current mirror circuit may fold back the reference current and output a fourth current. The charge / discharge circuit may further include a differential pair that receives the fourth current as a tail current, one transistor of the differential pair may be connected to an input node of the second current mirror circuit, and the other transistor of the differential pair may be connected to an input node of the fourth current mirror circuit.
[0015] A motor driver circuit according to one embodiment may include a first output terminal to be connected to a first end of a motor to be driven via a current sense resistor, a second output terminal to be connected to a second end of the motor, an error detector that generates an analog error signal based on an error between a current feedback signal and a reference signal based on a voltage drop across the current sense resistor, a feedback controller that generates a voltage command signal based on the analog error signal, any of the above-mentioned triangular wave generating circuits that generate a first triangular wave signal and a second triangular wave signal that are in phase with each other, a first PWM comparator that compares the voltage command signal with the first triangular wave signal and outputs a first PWM (Pulse Width Modulation) signal, a second PWM comparator that compares the voltage command signal with the second triangular wave signal and outputs a second PWM signal, a first driver that generates a first output voltage at the first output terminal in accordance with the first PWM signal, and a second driver that generates a second output voltage at the second output terminal in accordance with the second PWM signal.
[0016] In one embodiment, the feedback controller includes an A / D converter that converts an analog error signal into a digital error signal, a compensator that generates a digital voltage command responsive to the digital error signal, and a D / A converter that converts the digital voltage command into a voltage command signal.
[0017] In one embodiment, the triangular wave generating circuit may be provided with a clock signal that is based on the system clock provided to the compensator.
[0018] In one embodiment, the motor may be a linear motor, which may be a voice coil motor.
[0019] In one embodiment, the motor driver circuit may be monolithically integrated on a single semiconductor substrate. "Monolithic integration" includes cases where all of the circuit components are formed on a semiconductor substrate, and cases where the main components of the circuit are integrated, and some resistors and capacitors for adjusting the circuit constants may be provided outside the semiconductor substrate. By integrating the circuit on a single chip, the circuit area can be reduced and the characteristics of the circuit elements can be kept uniform.
[0020] A positioning device according to one embodiment includes a linear motor and any of the above-described motor driver circuits that drive the linear motor.
[0021] A hard disk drive according to one embodiment includes the above-mentioned positioning device.
[0022] (Embodiment) Hereinafter, preferred embodiments will be described with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing will be given the same reference numerals, and duplicated descriptions will be omitted as appropriate. In addition, the embodiments are illustrative and do not limit the disclosure and invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the disclosure and invention.
[0023] In this specification, "a state in which component A is connected to component B" includes a case in which component A and component B are directly physically connected to each other, and a case in which component A and component B are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the function or effect achieved by their combination.
[0024] Similarly, "a state in which component C is provided between components A and B" includes not only the case in which components A and C, or components B and C, are directly connected to each other, but also the case in which they are indirectly connected to each other via other components that do not substantially affect the electrical connection between them or that do not impair the functions or effects achieved by their combination.
[0025] In addition, the vertical and horizontal axes of the waveform diagrams and time charts shown in this specification have been appropriately enlarged or reduced to facilitate understanding, and each waveform shown has been simplified to facilitate understanding.
[0026] 1 is a circuit diagram of a triangular wave generating circuit 500 according to an embodiment. The triangular wave generating circuit 500 includes a pulse generator 510, a charge / discharge circuit 520, a switching circuit 530, a first capacitor C11, and a second capacitor C12.
[0027] The pulse generator 510 generates a first control pulse S0 and a second control pulse S1 in synchronization with the clock signal CLK. The first control pulse S0 has a first frequency f1, and the second control pulse S1 has a second frequency f2 that is half the first frequency f1. The first frequency f1 is a frequency f1 of the clock signal CLK. CLK It may be equal to, an integer multiple of, or a multiple of an integer.
[0028] The first capacitor C11 has one end grounded. Similarly, the second capacitor C12 has one end grounded. The first capacitor C11 and the second capacitor C12 have the same capacitance, C0.
[0029] The charge / discharge circuit 520 has an output node 522. The charge / discharge circuit 520 outputs a charging current I via the output node 522 in synchronization with the first control pulse S0. CHG The source state SRC and the discharge current I DIS The charging current I CHG and the discharge current I DIS The amount of current is equal.
[0030] A first node 1 of the switching circuit 530 is connected to an output node 522 of the charging / discharging circuit 520. A second node 2 of the switching circuit 530 is connected to a reference voltage source 540 and supplies a reference voltage V REFA third node 3 of the switching circuit 530 is connected to the first capacitor C11, and a fourth node 4 is connected to the second capacitor C12. A fifth node 5 receives the second control pulse S1.
[0031] The switching circuit 530 is configured to be switchable between a first state φ1 and a second state φ2 in synchronization with the second control pulse S1. When the second control pulse S1 is at a first level, the switching circuit 530 is in the first state φ1, and (i) connects the output node 522 of the charge / discharge circuit 520 to the first capacitor C11 and applies the reference voltage V to the second capacitor C12. REF When the second control pulse S1 is at the second level, the switching circuit 530 is in the second state φ2, and (ii) connects the output node of the charging / discharging circuit 520 to the second capacitor C12 and applies the reference voltage V REF is applied.
[0032] In the first state φ1, the first node 1 and the third node 3 of the charging / discharging circuit 520 are electrically connected, and the second node 2 and the fourth node 4 of the charging / discharging circuit 520 are electrically connected. In the second state φ2, the first node 1 and the fourth node 4 of the charging / discharging circuit 520 are electrically connected, and the second node 2 and the third node 3 of the charging / discharging circuit 520 are electrically connected.
[0033] The triangular wave generating circuit 500 generates a triangular wave signal V based on the voltage generated at the output node 522 of the charging / discharging circuit 520. TRI It is possible to output
[0034] The above is the configuration of the triangular wave generating circuit 500. Next, the operation of the triangular wave generating circuit 500 will be described.
[0035] The triangular wave generating circuit 500 repeats four states φ11, φ12, φ21, and φ22 in sequence according to the combination of the two control pulses S0 and S1. φ11: S0=H, S1=H φ12: S0=L, S1=H φ21: S0=H, S1=L φ22: S0=L, S1=L
[0036] 2 is an equivalent circuit diagram of the triangular wave generating circuit 500 in FIG. 1 in state φ11. In state φ11, the switching circuit 530 is in the first state φ1, and the charge / discharge circuit 520 is in a current source state SRC (charging state). The charging current I CHG is supplied to the first capacitor C11 via the switching circuit 530. As a result, the voltage V C11 The second capacitor C12 is supplied with a reference voltage V REF Therefore, the voltage V of the second capacitor C12 C12 is the reference voltage V REF In state φ11, the triangular wave signal V TRI is the voltage V of the first capacitor C11 C11 is responding.
[0037] 3 is an equivalent circuit diagram of the triangular wave generating circuit 500 in FIG. 1 in state φ12. Even in state φ12, the switching circuit 530 continues to be in the first state φ1, but the charging / discharging circuit 520 is in a current sink state SNK (discharging state). The discharge current I DIS is drawn from the first capacitor C11 via the switching circuit 530. As a result, the voltage V C11 The voltage V of the second capacitor C12 decreases at a constant rate over time. C12 is the reference voltage V REF In state φ12, the triangular wave signal V TRI is the voltage V of the first capacitor C11 C11 is responding.
[0038] 4 is an equivalent circuit diagram of the triangular wave generating circuit 500 in FIG. 1 in state φ21. In state φ21, the switching circuit 530 is in the second state φ2, and the charge / discharge circuit 520 is in a current source state SRC (charging state). The charging current I CHG is supplied to the second capacitor C12 via the switching circuit 530. As a result, the voltage V C12The first capacitor C11 is supplied with a reference voltage V REF Therefore, the voltage V of the first capacitor C11 C11 is the reference voltage V REF In state φ21, the triangular wave signal V TRI is the voltage V of the second capacitor C12 C12 is responding.
[0039] 5 is an equivalent circuit diagram of the triangular wave generating circuit 500 in the state φ22 of FIG. 1. Even in the state φ22, the switching circuit 530 continues to be in the second state φ2, but the charging / discharging circuit 520 is in the current sink state SNK (discharging state). DIS is drawn from the second capacitor C12 via the switching circuit 530. As a result, the voltage V C12 The voltage V of the first capacitor C11 decreases at a constant rate over time. C11 is the reference voltage V REF In state φ22, the triangular wave signal V TRI is the voltage V of the second capacitor C12 C12 is responding.
[0040] FIG. 6 is an operational waveform diagram of the triangular wave generating circuit 500 of FIG.
[0041] The above is the operation of the triangular wave generating circuit 500. According to this triangular wave generating circuit 500, the triangular wave signal V TRI By alternately switching the first capacitor C11 and the second capacitor C12 every one period of the clock signal CLK, a triangular wave signal V synchronized with the external clock signal CLK is generated. TRI can be generated.
[0042] The triangular wave signal VTRI generated by the triangular wave generating circuit 500 has a voltage level at the beginning of each period that is equal to or greater than the reference voltage V REF is guaranteed to match.
[0043] The present invention encompasses various devices and methods that can be understood as the block diagram or circuit diagram of Figure 1 or that are derived from the above description, and is not limited to a specific configuration. Below, more specific configuration examples and examples will be described not to narrow the scope of the present invention, but to aid in understanding and clarify the essence and operation of the invention.
[0044] 7 is a circuit diagram of a triangular wave generating circuit 500A according to one embodiment. The charge / discharge circuit 520 includes a reference current source 524, a first current mirror circuit CM1 to a fourth current mirror circuit CM4, and a switch 526.
[0045] The reference current source 524 generates a reference current I REF The first current mirror circuit CM1 generates a reference current I REF The second current mirror circuit CM2 mirrors the first current I1 and outputs a first current I1 and a second current I2. The third current mirror circuit CM3 mirrors the third current I3 and outputs a source current I SRC The fourth current mirror circuit CM4 mirrors the second current I2 and outputs a sink current I SNK Output.
[0046] The mirror ratio of the current mirror circuits CM1 to CM4 is the sink current I SNK The amount of current is the source current I SRC It is designed to have twice the current of I SRC If =I0, then I SNK =2I0.
[0047] Switch 526 sinks current I SNK The switch 526 is provided on the path of the charging current I CHG =I SRC =I0 is supplied to the switching circuit 530. When the switch 526 is in the on state, the discharge current I DIS =I SNK -I SRC =I0 is sunk from the switching circuit 530.
[0048] The charging / discharging circuit 520 supplies a charging current I CHG and the discharge current I DIS is configured to be finely adjustable, and for this purpose, a differential pair 528 is provided. The first current mirror circuit CM1 outputs a reference current I REF The differential pair 528 receives the fourth current I4 as a tail current. One transistor M11 of the differential pair 528 is connected to the input node of the second current mirror circuit CM2, and the other transistor M12 of the differential pair 528 is connected to the input node of the fourth current mirror circuit CM4. An adjustment voltage V ADJ is applied to the gate of transistor M12, and the reference voltage V REF0 is applied.
[0049] V ADJ =V REF0 When I DIS =I CHG The relationship is established, and the triangular wave signal V TRI The slope of the rise slope and the slope of the fall slope of V become equal. ADJ >V REF0 In the range of V ADJ The higher the I CHG Since the triangular wave signal V TRI The rise slope of I becomes gentler, while DIS As the triangular wave signal V TRI The fall slope of V becomes steeper. ADJ <V REF0 In the range of V ADJ The lower the I CHG Since the triangular wave signal V TRI The rise slope of I becomes steeper, while DIS becomes smaller, so the triangular signal V TRI The fall slope becomes gentler.
[0050] The switching circuit 530 includes a first switch SW11 to a fourth switch SW14. The first switch SW11 is connected between the first capacitor C11 and an output node 522 of the charging / discharging circuit 520, and switches in response to a second control pulse S1. The second switch SW12 is connected between the second capacitor C12 and an output node 522 of the charging / discharging circuit 520, and switches in response to an inverted signal / S1 of the second control pulse S1.
[0051] The third switch SW13 has a reference voltage V REF The third switch SW13 switches in response to an inverted signal / S1 of the second control pulse S1. The fourth switch SW14 has one end connected to a reference voltage V REF and the other end is connected to the second capacitor C12. The fourth switch SW14 switches in response to the second control pulse S1.
[0052] The first amplifier AMP1 is a non-inverting amplifier that outputs the triangular wave signal V TRI The second amplifier AMP2 is an inverting amplifier and amplifies the triangular wave signal V TRI and outputs the second triangular wave signal TRIB.
[0053] The triangular wave generating circuit 500A can generate two triangular wave signals TRIA and TRIB that are in opposite phases.
[0054] Next, the use of the triangular wave generating circuit 500 will be described.
[0055] The triangular wave generating circuit 500 can be used in a pulse width modulator.
[0056] 8 is a circuit diagram of a positioning device 100H. The positioning device 100 includes a linear motor 102, a host controller 104, a motor driver circuit 200H, and a current sense resistor (hereinafter also simply referred to as a sense resistor) Rs.
[0057] The upper controller 104 comprehensively controls the positioning device 100. The upper controller 104 generates position control data POS indicating a target position of the linear motor 102, and transmits the position control data POS to the motor driver circuit 200. The upper controller 104 is composed of, for example, a microcontroller, a field programmable gate array (FPGA), and an application specific integrated circuit (ASIC).
[0058] The motor driver circuit 200 receives the position control data POS and outputs a driving current I DRV The linear motor 102 is, for example, a voice coil motor, and the movable element of the linear motor 102 is driven by a driving current I DRV The displacement is determined by an amount corresponding to .
[0059] Next, the configuration of the motor driver circuit 200H will be described. The motor driver circuit 200H includes a current command generating unit 210, a feedback controller 220H, a pulse width modulator 240, a current detection circuit 250, a first driver 260, and a second driver 270, and is a functional IC (Integrated Circuit) integrated on a single semiconductor substrate.
[0060] The motor driver circuit 200H includes a first output terminal (A-phase output) AOUT, a second output terminal (B-phase output) BOUT, and a current detection terminal ISNS. One end of the linear motor 102 is connected to the AOUT terminal via a sense resistor Rs. The other end of the linear motor 102 is connected to the BOUT terminal. The ISNS terminal is connected to one end of the linear motor 102.
[0061] The current command generator 210 generates a driving current I DRV Analog command signal V indicating the target value DACFor example, the current command generating unit 210 includes an interface circuit 212, a logic circuit 214, and a D / A converter 216. The interface circuit 212 is connected to the upper controller 104 and receives various control data including the position control data POS. The interface circuit 212 generates, for example, I 2 The interface circuit 212 may be an Inter IC (IC) interface or a Serial Peripheral Interface (SPI). For example, the control data from the interface circuit 212 includes a code indicating a target position of the mover of the linear motor 102. The logic circuit 214 outputs a control code based on the received code to the D / A converter 216. The control code may be the same as the code received from the upper controller 104, or may be a different code obtained by performing an operation on the received code. The D / A converter 216 converts the control code generated by the logic circuit 214 into an analog command signal V DAC Convert to.
[0062] The configuration of the current command generating unit 210 is not limited to this, and an analog command signal V DAC The configuration may be such that the
[0063] The current detection circuit 250 is connected to the AOUT terminal and the ISNS terminal, and detects the drive current I DRV The current feedback signal V FB For example, the current feedback signal V FB is expressed by the following equation (1). CMREF is an arbitrary constant. V FB = k × I DRV +V CMREF …(1)
[0064] The feedback controller 220H is a servo controller and outputs a current feedback signal V FB is the reference signal, and V is the analog command signal. DAC The voltage command signal VCTRL The feedback controller 220H performs arithmetic processing using the clock signal CLK.
[0065] The feedback controller 220H includes an error detection amplifier 230, an A / D converter 222, a digital compensator 224, and a D / A converter 226. The error detection amplifier 230 receives the current feedback signal V FB and analog command signal V DAC The drive current I DRV and its target quantity I REF Analog error signal V indicating the error between ERR is an error detector that generates V ERR =(I REF -I DRV )×g g is a finite gain.
[0066] The A / D converter 222 outputs an analog error signal V ERR The digital error signal D ERR Convert the analog error signal V ERR is the drive current I DRV and a signal indicating the error between the target amount and the actual amount.
[0067] The digital compensator 224 converts the digital error signal D ERR Based on this, the digital control amount D CTRL The digital compensator 224 includes a PI (proportional integral) compensator and a PID (proportional integral derivative) compensator. The PI compensator generates a digital error signal D ERR Proportional gain K P and the digital error signal D ERR The integral value of integral gain K I and add them together to get the digital control amount D CTRL Generate.
[0068] The PID compensator uses a digital error signal D ERR Proportional gain K P and the digital error signal D ERR The integral value of integral gain KI and the digital error signal D ERR The differential value of D and add them together to get the digital control amount D CTRL The PI compensator and the PID compensator are also called PI controllers and PID controllers. The PI compensator and the PID compensator can be selected according to the characteristics of the controlled object.
[0069] The D / A converter 226 outputs the digital control variable D CTRL Analog control signal V CTRL Convert the analog control signal V CTRL is a command value for the voltage to be applied across the linear motor 102, and is also called a voltage command signal.
[0070] The pulse width modulator 240 generates a voltage command signal V CTRL The duty cycle of the PWMA signal is determined by the voltage command signal V CTRL The duty cycle of the PWM signal is positively correlated with the voltage command signal V CTRL It may have a negative correlation with
[0071] The pulse width modulator 240 includes PWM comparators 242 and 244, and a triangular wave generating circuit 246. The triangular wave generating circuit 246 is configured using the architecture of the above-mentioned triangular wave generating circuit 500, and generates triangular wave signals TRIA and TRIB that are in opposite phases and synchronized with the clock signal CLK.
[0072] The PWM comparator 242 receives the voltage command signal V CTRL The PWM comparator 244 compares the voltage command signal V CTRL It compares this with the triangular wave signal TRIB and generates the PWM pulse PWMB.
[0073] The first driver 260 outputs a pulsed driving voltage V OUTAis generated at the AOUT terminal and supplied to one end of the linear motor 102 via the sense resistor Rs. The second driver 270 generates a pulsed driving voltage V OUTB is generated at the BOUT terminal and supplied to the other end of the linear motor 102.
[0074] The above is the configuration of the positioning device 100H.
[0075] 9 is a diagram showing the input / output characteristics of the motor driver circuit 200H of FIG. 8. The feedback signal V FB and analog command signal V DAC Feedback is applied so that the error approaches that of the input signal. Therefore, when the feedback is stable, equation (2) holds true. V FB = k × I DRV +V CMREF =V DAC …(2) In the steady state where equation (2) holds, the drive current I DRV is the target level I REF is stabilized to. I REF =(V DAC -V CMREF ) / k …(3)
[0076] The above is the operation of the motor driver circuit 200. The motor driver circuit 200 does not require an analog phase compensation circuit, making it easier to design than an analog system.
[0077] FIG. 10 is a block diagram of a positioning device 100I according to a modified example.
[0078] The motor driver circuit 200I further includes a mask generating circuit 280.
[0079] The mask generating circuit 280 detects the state of the AOUT terminal, i.e., the first output voltage V OUTABased on this, the mask signal MSKB is generated and supplied to the sample-and-hold circuit 300 of the feedback controller 220. Specifically, the mask generating circuit 280 generates the mask signal MSKB based on the output voltage V OUTA The mask signal MSKB is asserted using the start of the transition as a trigger, and the mask signal MSKB is negated after the transition is completed. In this embodiment, the mask signal MSKB is asserted low and negated high.
[0080] The feedback controller 220I includes a sample and hold circuit 300 in addition to the feedback controller 220H.
[0081] The sample-and-hold circuit 300 is a track-and-hold circuit, and during the period when the mask signal MSKB is negated, the analog error signal V ERR When the mask signal MSKB is asserted, the sample-and-hold circuit 300 outputs the analog error signal V ERR During the assertion of the mask signal MSKB, the sampled analog error signal V ERR This allows the feedback controller 220 to hold the output voltage V OUTA The analog error signal V generated during the non-transition period of ERR Based on the voltage command signal V CTRL In other words, during the period when the mask signal MSKB is asserted, that is, the output voltage V OUTA The analog error signal V during the transition ERR is not used for feedback control.
[0082] 11 is an operation waveform diagram of the motor driver circuit 200I of FIG. CTRL is compared with the triangular wave signals TRIA and TRIB to generate the PWMA and PWMB signals.
[0083] The first driver 260 generates a pulsed A-phase driving voltage V OUTAThe delay of the first driver 260 generates the A-phase drive voltage V OUTA The second driver 270 generates a pulsed B-phase driving voltage V OUTB The delay of the second driver 270 generates the B-phase drive voltage V OUTB is delayed relative to the PWMB signal.
[0084] The mask signal MSKB is generated by the mask generating circuit 280. The mask signal MSKB is generated by the A-phase drive voltage V OUT It is asserted (high) during the transition period of A phase drive voltage V OUT is negated (low) while is stable.
[0085] The sample-and-hold circuit 300 operates in the track mode while the mask signal MSK is negated. Therefore, while the mask signal MSK is negated, the A / D converter 222 generates the analog error signal V based on the timing signal (sample-and-hold signal) S / H, which is an internal signal. ERR The digital error signal D ERR Convert to.
[0086] In the waveform diagram of Fig. 11, the S / H signal is synchronized with the triangular wave signals TRIA and TRIB. Specifically, the S / H signal is retimed (forced synchronized) with the peak and bottom timings of the triangular wave signals TRIA and TRIB, that is, with the timing of the clock signal CLK.
[0087] At the bottom of FIG. 11, the digital error signal D ERR The digital compensator 224 converts the captured digital error signal D ERR Based on this, the digital control amount D CTRL This digital control amount D CTRL is converted by the D / A converter 226 into an analog voltage command signal V CTRL is converted to
[0088] Black filled digital error signal DERR is the analog error signal V held by the sample and hold circuit 300 at the same voltage level. ERR are essentially equivalent.
[0089] The above is the operation of the motor driver circuit 200. As described above, the inventors have determined that the voltage (A-phase drive voltage) V OUTA We realized that the current detection accuracy decreases during the transition of the A-phase drive voltage V OUTA By masking the current sensing during the transition of
[0090] (Application) 12 is a diagram showing a hard disk drive 900 equipped with a motor driver circuit 200. The hard disk drive 900 is equipped with a platter 902, a swing arm 904, a head 906, a spindle motor 910, a seek motor 912, and a motor driver circuit 920. The motor driver circuit 920 drives the spindle motor 910 and the seek motor 912.
[0091] The seek motor 912 is a voice coil motor. The motor driver circuit 200 (or 200A) according to the embodiment is built into a motor driver circuit 920, and drives the seek motor 912. The seek motor 912 positions the head 906 via the swing arm 904.
[0092] In the present disclosure, the configuration and type of the linear motor to be driven are not particularly limited. For example, the present disclosure can be applied to driving a voice coil motor of a spring return type or other linear actuator. Alternatively, the motor to be driven may be a spindle motor.
[0093] The application of the positioning device 100 is not limited to hard disk drives, and it can also be used as a positioning mechanism for a camera lens, etc.
[0094] (Additional Note) The present specification discloses the following techniques:
[0095] (Item 1) a pulse generator for generating a first control pulse having a first frequency and a second control pulse having a second frequency that is half the first frequency in synchronization with a clock signal; a first capacitor having one end grounded; a second capacitor, one end of which is grounded; a charge / discharge circuit that is switchable between a state in which a charge current is sourced through an output node and a state in which a discharge current is sinked in synchronization with the first control pulse; a switching circuit that alternately repeats, in synchronization with the second control pulse, (i) a first state in which the output node of the charging / discharging circuit is connected to a first capacitor and a reference voltage is applied to the second capacitor, and (ii) a second state in which the output node of the charging / discharging circuit is connected to the second capacitor and the reference voltage is applied to the first capacitor; a triangular wave generating circuit capable of outputting a triangular wave signal based on a voltage generated at the output node of the charge / discharge circuit.
[0096] (Item 2) The switching circuit includes: a first switch connected between the first capacitor and the output node of the charge / discharge circuit and switched in response to the second control pulse; a second switch connected between the second capacitor and the output node of the charge / discharge circuit and switched in response to an inverted signal of the second control pulse; a third switch, one end of which receives the reference voltage and the other end of which is connected to the first capacitor, and which switches in response to the inverted signal of the second control pulse; a fourth switch, one end of which receives the reference voltage and the other end of which is connected to the second capacitor, and which switches in response to the second control pulse; 2. The triangular wave generating circuit of item 1, comprising:
[0097] (Item 3) 2. The triangular wave generating circuit according to claim 1, wherein the charge / discharge circuit is configured to be capable of trimming the charge current and the discharge current.
[0098] (Item 4) The charge / discharge circuit includes: A reference current source that generates a reference current; a first current mirror circuit that mirrors the reference current and outputs a first current and a second current; a second current mirror circuit that mirrors the first current and outputs a third current; a third current mirror circuit that mirrors the third current and outputs a source current; a fourth current mirror circuit that mirrors the second current and outputs a sink current; 4. The triangular wave generating circuit according to any one of items 1 to 3, comprising:
[0099] (Item 5) the first current mirror circuit mirrors the reference current and outputs a fourth current; The charge / discharge circuit includes: 5. The triangular wave generating circuit according to item 4, further comprising a differential pair that receives the fourth current as a tail current, one transistor of the differential pair being connected to an input node of the second current mirror circuit, and the other transistor of the differential pair being connected to an input node of the fourth current mirror circuit.
[0100] (Item 6) a first output terminal to be connected to a first end of a motor to be driven via a current sense resistor; a second output terminal to be connected to a second end of the motor; an error detector for generating an analog error signal based on an error between a current feedback signal, the current feedback signal being based on a voltage drop across the current sense resistor, and a reference signal; a feedback controller that generates a voltage command signal based on the analog error signal; A triangular wave generating circuit according to any one of items 1 to 5, comprising: a triangular wave generating circuit that outputs a first triangular wave signal and a second triangular wave signal that are in opposite phase to each other; a first PWM comparator that compares the voltage command signal with the first triangular wave signal and outputs a first PWM (Pulse Width Modulation) signal; a second PWM comparator that compares the voltage command signal with the second triangular wave signal and outputs a second PWM signal; a first driver that generates a first output voltage at the first output terminal in response to the first PWM signal; a second driver that generates a second output voltage at the second output terminal in response to the second PWM signal; A motor driver circuit comprising:
[0101] (Item 7) The feedback controller: an A / D converter for converting the analog error signal into a digital error signal; a compensator that generates a digital voltage command in response to the digital error signal; a D / A converter for converting the digital voltage command into the voltage command signal; 7. The motor driver circuit of item 6, comprising:
[0102] (Item 8) 8. The motor driver circuit according to item 7, wherein the triangular wave generating circuit is supplied with the clock signal based on a system clock supplied to the compensator.
[0103] (Item 9) 9. The motor driver circuit of any one of items 6 to 8, wherein the motor is a linear motor.
[0104] (Item 10) 10. The motor driver circuit of claim 9, wherein the linear motor is a voice coil motor.
[0105] (Item 11) 9. The motor driver circuit according to any one of items 6 to 8, which is monolithically integrated on a single semiconductor substrate.
[0106] (Item 12) A linear motor; A motor driver circuit according to any one of items 6 to 8 for driving the linear motor; A positioning device comprising:
[0107] (Item 13) A hard disk drive comprising the positioning device according to item 12. [Explanation of symbols]
[0108] 100 Positioning device 102 Linear motor 104 Upper controller 200 Motor driver circuit 210 Current command generation section 212 Interface Circuit 214 Logic Circuits 216 D / A Converter 220 Feedback Controller 222 A / D Converter 224 Digital Compensator 226 D / A Converter 230 Error Detection Amplifier 240 Pulse Width Modulator 250 Current Detection Circuit 260 1st Driver 270 2nd Driver 280 Mask Generator 300 Sample and hold circuit 500 Triangle wave generator circuit 510 Pulse Generator S0 First control pulse S1 Second control pulse C11 First capacitor C12 Second capacitor 520 Charge / discharge circuit 522 Output Nodes 524 Reference current source 526 Switch 528 Differential Pair CM1 First current mirror circuit CM2 Second current mirror circuit CM3 3rd current mirror circuit CM4 4th current mirror circuit SW11 1st switch SW12 Second switch SW13 3rd switch SW14 4th switch 530 Switching Circuit TRIA 1st triangular wave signal TRIB 2nd triangular wave signal
Claims
1. a pulse generator synchronous with a clock signal to generate a first control pulse having a first frequency and a second control pulse having a second frequency that is one-half the first frequency; a first capacitor having one end grounded; a second capacitor, one end of which is grounded; a charge / discharge circuit capable of switching between a state in which a charge current is sourced and a state in which a discharge current is sinked via an output node in synchronization with the first control pulse; a switching circuit that alternately repeats, in synchronization with the second control pulse, (i) a first state in which the output node of the charging / discharging circuit is connected to a first capacitor and a reference voltage is applied to the second capacitor, and (ii) a second state in which the output node of the charging / discharging circuit is connected to the second capacitor and the reference voltage is applied to the first capacitor; a triangular wave generating circuit capable of outputting a triangular wave signal based on a voltage generated at the output node of the charge / discharge circuit.
2. The switching circuit includes: a first switch connected between the first capacitor and the output node of the charge / discharge circuit and switched in response to the second control pulse; a second switch connected between the second capacitor and the output node of the charge / discharge circuit and switched in response to an inverted signal of the second control pulse; a third switch, one end of which receives the reference voltage and the other end of which is connected to the first capacitor, and which switches in response to the inverted signal of the second control pulse; a fourth switch, one end of which receives the reference voltage and the other end of which is connected to the second capacitor, and which switches in response to the second control pulse; 2. The triangular wave generating circuit of claim 1, comprising:
3. 2. The triangular wave generating circuit according to claim 1, wherein said charge / discharge circuit is configured so as to be capable of trimming said charge current and said discharge current.
4. The charge / discharge circuit includes: A reference current source that generates a reference current; a first current mirror circuit that mirrors the reference current and outputs a first current and a second current; a second current mirror circuit that mirrors the first current and outputs a third current; a third current mirror circuit that mirrors the third current and outputs a source current; a fourth current mirror circuit that mirrors the second current and outputs a sink current; 4. The triangular wave generating circuit according to claim 1, further comprising:
5. the first current mirror circuit mirrors the reference current and outputs a fourth current; The charge / discharge circuit includes:
5. The triangular wave generating circuit according to claim 4, further comprising a differential pair that receives the fourth current as a tail current, one transistor of the differential pair being connected to an input node of the second current mirror circuit, and the other transistor of the differential pair being connected to an input node of the fourth current mirror circuit.
6. a first output terminal to be connected to a first end of a motor to be driven via a current sense resistor; a second output terminal to be connected to a second end of the motor; an error detector for generating an analog error signal based on an error between a current feedback signal, the current feedback signal being based on a voltage drop across the current sense resistor, and a reference signal; a feedback controller that generates a voltage command signal based on the analog error signal; 4. A triangular wave generating circuit according to claim 1, comprising: a triangular wave generating circuit that outputs a first triangular wave signal and a second triangular wave signal that are in opposite phase to each other; a first PWM comparator that compares the voltage command signal with the first triangular wave signal and outputs a first PWM (Pulse Width Modulation) signal; a second PWM comparator that compares the voltage command signal with the second triangular wave signal and outputs a second PWM signal; a first driver that generates a first output voltage at the first output terminal in response to the first PWM signal; a second driver that generates a second output voltage at the second output terminal in response to the second PWM signal; A motor driver circuit comprising:
7. The feedback controller: an A / D converter for converting the analog error signal into a digital error signal; a compensator that generates a digital voltage command in response to the digital error signal; a D / A converter for converting the digital voltage command into the voltage command signal; 7. The motor driver circuit of claim 6, comprising:
8. 8. The motor driver circuit according to claim 7, wherein the triangular wave generating circuit is supplied with the clock signal based on a system clock supplied to the compensator.
9. 7. The motor driver circuit of claim 6, wherein the motor is a linear motor.
10. The motor driver circuit of claim 9 , wherein the linear motor is a voice coil motor.
11. The motor driver circuit according to claim 6 , which is monolithically integrated on a single semiconductor substrate.
12. A linear motor; A motor driver circuit according to claim 6 for driving the linear motor; A positioning device comprising:
13. A hard disk drive comprising the positioning device according to claim 12.
