Linear motor driving circuit and circuit board
By using a combination of enable signals and audio signals in the linear motor drive circuit to control the motor state, the IIC bus control logic is simplified, the problems of circuit complexity and high cost in the existing technology are solved, and a lower-cost circuit design is achieved.
Patent Information
- Application Number
- CN202420188168.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-01-26
AI Technical Summary
Existing linear motor drive circuits use a lot of IIC bus control logic, resulting in circuit complexity and high cost.
A linear motor drive circuit is designed, which uses the level combination of the enable signal and audio signal to control the working state of the motor, including an amplification module and a protection module. The amplification module controls the vibration and stop of the motor through the enable signal and audio signal, and protects the motor. The module is used for current limiting protection, replacing the IIC bus control method, saving data lines and simplifying the control logic.
By simplifying the enable signal control logic, data lines are saved, circuit complexity is reduced, and the price of the amplifier NS4150C is reduced to about 0.45 yuan, significantly reducing circuit costs.
Smart Images

Figure CN221862715U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic technology, and in particular to a linear motor drive circuit and a circuit board. Background Art
[0002] Existing motor drive circuits, especially for linear motors, have circuit structures such as Figure 1 As shown. After power-on, the application processor AP transmits IIC (Inter-Integrated Circuit) bus commands through the SCL and SDA pins to control the tactile driver (model DRV2605L) to switch to analog input mode. The IN / TRIG pin of the tactile driver receives the audio signal transmitted by the application processor AP and drives it to control the linear motor M to make corresponding vibrations. Since IIC is required to issue commands to switch to the corresponding mode, there must be an IIC bus connection in hardware, and commands are issued through the IIC bus in software. The control logic of the IIC bus is relatively large; and the price of a single tactile driver is about 7 yuan, resulting in a high circuit cost. Utility Model Content
[0003] In view of the above technical problems, the embodiments of the present invention provide a linear motor drive circuit and a circuit board to solve the problem that the existing motor drive uses an IIC bus which results in more control logic.
[0004] The embodiment of the utility model provides a linear motor driving circuit connected to the motor, which includes an amplification module and a protection module, wherein the amplification module is connected to the protection module and the motor;
[0005] The amplification module controls the working state of the motor according to the level combination of the input enable signal and the audio signal, and controls the motor to stop rotating when the enable signal is at a low level; the protection module is used to perform current limiting protection on the amplification module and the motor.
[0006] Optionally, in the linear motor driving circuit, the amplification module includes an amplifier, a first resistor, a second resistor, a first capacitor and a second capacitor;
[0007] The CTRL pin of the amplifier inputs an enable signal, the INP pin of the amplifier is connected to one end of the second capacitor through the second resistor, and the other end of the second capacitor is grounded, the INN pin of the amplifier is connected to one end of the first resistor and one end of the first capacitor, the other end of the first resistor inputs an audio signal, and the other end of the first capacitor is grounded, the VDD pin of the amplifier is connected to the power supply end, the VOP pin of the amplifier is connected to the 1st pin of the motor, the GND pin of the amplifier is grounded, the VCC pin of the amplifier is connected to the protection module, and the VON pin of the amplifier is connected to the 2nd pin of the motor.
[0008] Optionally, in the linear motor drive circuit, the amplification module also includes a third capacitor and a third resistor, one end of the third capacitor is connected to the INN pin of the amplifier through the third resistor, and the other end of the third capacitor is connected to one end of the first resistor and one end of the first capacitor.
[0009] Optionally, in the linear motor driving circuit, the amplification module further includes a fourth capacitor, one end of the fourth capacitor is connected to the BYPASS pin of the amplifier U, and the other end of the fourth capacitor is grounded.
[0010] Optionally, in the linear motor drive circuit, the protection module includes a fourth resistor and a fifth capacitor, one end of the fourth resistor is connected to one end of the fifth capacitor and the VCC pin of the amplifier, the other end of the fourth resistor is connected to the power supply end, and the other end of the fifth capacitor is grounded.
[0011] Optionally, in the linear motor drive circuit, the protection module further includes a sixth capacitor, and the sixth capacitor is connected in parallel with the fifth capacitor.
[0012] The second aspect of the embodiment of the utility model provides a circuit board, including an application controller for outputting an audio signal, connected to a motor, wherein the circuit board is also provided with the linear motor drive circuit, and the linear motor drive circuit is connected to the application controller and the motor;
[0013] The application controller also outputs an enable signal, and the linear motor driving circuit controls the working state of the motor according to the enable signal and the audio signal.
[0014] In the technical solution provided by the embodiment of the utility model, the linear motor driving circuit is connected to the motor, including an amplification module and a protection module, the amplification module is connected to the protection module and the motor; the amplification module controls the working state of the motor according to the level combination of the input enable signal and the audio signal, and controls the motor to stop rotating when the enable signal is at a low level; the protection module is used to perform current limiting protection on the amplification module and the motor. By replacing the existing IIC bus control method with an enable signal, a data line can be saved, and the high and low levels of the enable signal are less and simpler than the control logic of the IIC bus command method, which solves the problem that the existing motor drive uses the IIC bus, resulting in more control logic. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The circuit diagram of the conventional motor drive circuit is shown in FIG.
[0016] Figure 2 Detailed description of the invention FIG. 1 is a circuit diagram of a linear motor driving circuit in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. The embodiments in the utility model and all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0018] See also Figure 2 The circuit board provided by the embodiment of the utility model can be applied to all devices that need to drive motors. The circuit board is provided with an existing application controller U2 and an improved linear motor drive circuit of the embodiment; the linear motor drive circuit connects the application controller U2 and a motor M (preferably a vibration motor, but other motors are also applicable). The application controller U2 uses one of its GPIO pins to output high and low level enable signals while retaining the output audio signal. The linear motor drive circuit controls the working state of the motor according to the enable signal and the audio signal.
[0019] It should be understood that there are other circuits on the circuit board, such as a power supply circuit that provides a power supply voltage VCC; the application controller U2 is a prior art and has multiple pins, and only the ANALOG pin of the output audio signal AUDIO related to this embodiment and the GPIO pin of the output enable signal EN are shown here, and other pins are not limited.
[0020] The linear motor driving circuit includes an amplifying module 10 and a protecting module 20, wherein the amplifying module 10 is connected to the protecting module 20 and the motor M. The amplifying module 10 controls the working state of the motor according to the level combination of the enabling signal EN and the audio signal AUDIO, i.e., switches between standby, vibration, and stop vibration, and controls the motor to stop vibration immediately when the enabling signal EN is at a low level; the protecting module 20 is used to perform current limiting protection on the amplifying module 10 and the motor.
[0021] In this embodiment, the amplification module 10 includes an amplifier U2, a first resistor R1, a second resistor R2, a first capacitor C1 and a second capacitor C2; the CTRL pin of the amplifier U2 inputs an enable signal EN (connected to the GPIO pin of the application controller U2), the INP pin of the amplifier U2 is connected to one end of the second capacitor C2 through the second resistor R2, and the other end of the second capacitor C2 is grounded, the INN pin of the amplifier U2 is connected to one end of the first resistor R1 and one end of the first capacitor C1, the other end of the first resistor R1 inputs an audio signal AUDIO (connected to the ANALOG pin of the application controller U2), the other end of the first capacitor C1 is grounded, the VDD pin of the amplifier U2 is connected to the power supply end (input power supply voltage VCC), the VOP pin of the amplifier U2 is connected to the first pin (positive pole) of the motor M, the GND pin of the amplifier U2 is grounded, the VCC pin of the amplifier U2 is connected to the protection module 20, and the VON pin of the amplifier U2 is connected to the second pin (negative pole) of the motor M.
[0022] The amplifier U2 is a class D audio power amplifier, preferably NS4150C, which has full bandwidth EMI suppression capability and can minimize the impact on other components; built-in overheat protection and undervoltage protection functions to avoid damage in abnormal situations. The first resistor R1 and the first capacitor C1 form a low-pass filter circuit for filtering out the high-frequency part of the input audio signal AUDIO. The second resistor R2 and the second capacitor C2 form a filter circuit for the audio negative input.
[0023] The application controller U2 outputs an enable signal EN corresponding to high and low levels to control the working state of the amplifier U2. For example, when the enable signal EN is at a low level, the amplifier U2 does not work, and the motor M is in a standby state or a stopped state; when the enable signal EN is at a high level, the amplifier U2 works, amplifies the input audio signal AUDIO and outputs it, driving the motor M to perform corresponding vibrations.
[0024] Preferably, the amplification module 10 further includes a third capacitor C3 and a third resistor R3, one end of the third capacitor C3 is connected to the INN pin of the amplifier U2 through the third resistor R3, and the other end of the third capacitor C3 is connected to one end of the first resistor R1 and one end of the first capacitor C1. The third capacitor C3 and the third resistor R3 are used to further filter the input audio signal to reduce noise.
[0025] Preferably, the amplification module 10 further includes a fourth capacitor C4, one end of which is connected to the BYPASS pin of the amplifier U2, and the other end of which is grounded. The fourth capacitor C4 is a bypass capacitor for the common mode voltage inside the amplifier U2.
[0026] The protection module 20 includes a fourth resistor R4 and a fifth capacitor C5, one end of the fourth resistor R4 is connected to one end of the fifth capacitor C5 and the VCC pin of the amplifier U2, the other end of the fourth resistor is connected to the power supply end (providing the power supply voltage VCC), and the other end of the fifth capacitor C5 is grounded.
[0027] The fourth resistor R4 is a current limiting resistor to prevent the amplifier from outputting too much current and burning the motor. The fifth capacitor C5 is a filter capacitor for the power supply voltage VCC.
[0028] Preferably, the protection module 20 further includes a sixth capacitor C6, which is connected in parallel with the fifth capacitor. The sixth capacitor C6 is added to increase the filtering effect of the power supply voltage, making the operation of the amplifier and the motor more stable.
[0029] Please continue reading Figure 2 , the working principle of the linear motor driving circuit is:
[0030] Normal state: the enable signal EN is at a low level. Regardless of whether there is an audio signal AUDIO at this time, the amplifier U2 does not work and the linear motor is in standby mode.
[0031] Vibration control: When the enable signal EN is at a high level and there is a high-level audio signal AUDIO input, the amplifier U2 works, and the input audio signal AUDIO is low-pass filtered by R1 and C1 to filter out the high-frequency signal, and then output to the INN pin of the amplifier U2 through C3 and R3. After the audio signal AUDIO is power-amplified by the amplifier U1, it is powered from the VOP pin and the VON pin. The positive and negative poles of the linear motor form a current loop and start to vibrate.
[0032] Stop rotation control: When the enable signal EN is at a low level and there is no audio signal AUDIO output, the amplifier U2 stops working, and the linear motor stops vibrating immediately without power supply. There is a sense of pause and impact in the usage scenario.
[0033] In summary, the linear motor drive circuit and circuit board provided by the utility model control whether the amplifier is working by an enable signal, thereby replacing the existing IIC bus control method, which can save a data line, and the high and low levels of the enable signal are less and simpler than the control logic of the IIC bus command method; the NS4150C amplifier is used to replace the existing tactile driver. The price of the amplifier is about 0.45 yuan, which is much cheaper than the tactile driver, greatly saving costs.
[0034] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A linear motor drive circuit, connected to a motor, characterized in that: It includes an amplification module and a protection module, wherein the amplification module is connected to the protection module and the motor; The amplification module controls the working state of the motor according to the level combination of the input enable signal and the audio signal, and controls the motor to stop rotating when the enable signal is at a low level; the protection module is used to perform current limiting protection on the amplification module and the motor.
2. The linear motor driving circuit according to claim 1, characterized in that: The amplification module includes an amplifier, a first resistor, a second resistor, a first capacitor and a second capacitor; The CTRL pin of the amplifier inputs an enable signal, the INP pin of the amplifier is connected to one end of the second capacitor through the second resistor, and the other end of the second capacitor is grounded, the INN pin of the amplifier is connected to one end of the first resistor and one end of the first capacitor, the other end of the first resistor inputs an audio signal, and the other end of the first capacitor is grounded, the VDD pin of the amplifier is connected to the power supply end, the VOP pin of the amplifier is connected to the 1st pin of the motor, the GND pin of the amplifier is grounded, the VCC pin of the amplifier is connected to the protection module, and the VON pin of the amplifier is connected to the 2nd pin of the motor.
3. The linear motor driving circuit according to claim 2, characterized in that: The amplification module also includes a third capacitor and a third resistor, one end of the third capacitor is connected to the INN pin of the amplifier through the third resistor, and the other end of the third capacitor is connected to one end of the first resistor and one end of the first capacitor.
4. The linear motor driving circuit according to claim 2, characterized in that: The amplification module further includes a fourth capacitor, one end of which is connected to the BYPASS pin of the amplifier U, and the other end of which is grounded.
5. The linear motor driving circuit according to claim 2, characterized in that: The protection module includes a fourth resistor and a fifth capacitor, one end of the fourth resistor is connected to one end of the fifth capacitor and the VCC pin of the amplifier, the other end of the fourth resistor is connected to the power supply end, and the other end of the fifth capacitor is grounded.
6. The linear motor driving circuit according to claim 5, characterized in that: The protection module further includes a sixth capacitor, which is connected in parallel with the fifth capacitor.
7. A circuit board, comprising an application controller for outputting an audio signal, connected to a motor, characterized in that: The circuit board is also provided with a linear motor drive circuit as described in any one of claims 1 to 6, wherein the linear motor drive circuit is connected to the application controller and the motor; The application controller also outputs an enable signal, and the linear motor driving circuit controls the working state of the motor according to the enable signal and the audio signal.
