Detection circuit, touchpad control system, circuit board and electronic device

By introducing sampling and voltage detection modules into the touchpad system, the current and voltage information of the linear motor can be obtained in real time, solving the problem that integrated chips cannot obtain real-time vibration status, achieving high-precision vibration control and tactile feedback effects, and reducing the impact of linear motor aging.

CN122195281APending Publication Date: 2026-06-12GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Filing Date
2024-12-12
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In existing technologies, integrated chips can only acquire the overcurrent state of linear motors, but cannot acquire the real-time vibration state, resulting in low control accuracy.

Method used

By designing a detection circuit, including a sampling module, a current detection module, and a voltage detection module, the current and voltage information of the linear motor are collected in real time. Based on this information, the control circuit adjusts the output power of the linear motor to achieve precise control of the vibration state.

Benefits of technology

It enables real-time and accurate detection and control of the vibration state of linear motors, improves control accuracy, avoids misjudgment, enhances touch feedback, reduces the problem of weak vibration due to linear motor aging, and lowers replacement costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122195281A_ABST
    Figure CN122195281A_ABST
Patent Text Reader

Abstract

The application provides a detection circuit, a touchpad control system, a circuit board and an electronic device. The detection circuit comprises a sampling module, a current detection module and a voltage detection module. The current detection module collects a first electric signal of a linear motor and sends the first electric signal to a control circuit, so that the control circuit adjusts the output power of the linear motor based on the first electric signal. The voltage detection module is used for acquiring a second electric signal of the linear motor and sending the second electric signal to the control circuit, so that the control circuit determines the voltage information of the linear motor based on the second electric signal and adjusts the output power of the linear motor. The detection circuit can collect the current and voltage information of the linear motor in real time, so as to obtain the vibration state of the linear motor in real time. The collection and detection accuracy is high, and the control circuit can control and adjust the linear motor based on the vibration state, so as to avoid the problem of misjudgment of the control circuit caused by low detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of touch technology, and more specifically, to a detection circuit, a touchpad control system, a circuit board, and an electronic device. Background Technology

[0002] In some electronic devices, touchpads are usually configured as interactive input devices to interact with users. These touchpads are usually full-area touchpads, so that when users press the touchpad, it can produce the effect of mechanical buttons.

[0003] Currently, touchpads typically use linear motors as vibrators to generate tactile feedback, and are usually equipped with integrated chips to drive and control the linear motors. However, the integrated chips in related technologies can usually only obtain the overcurrent state of the linear motor, but cannot obtain the real-time vibration state of the linear motor, resulting in low control accuracy of the integrated chips. Summary of the Invention

[0004] To address the aforementioned issues, this application provides a detection circuit, a touchpad control system, a circuit board, and an electronic device, aiming to solve the problem that integrated chips in related technologies can only obtain the overcurrent state of a linear motor but cannot obtain the vibration state of the linear motor, resulting in low control accuracy of the integrated chip.

[0005] In a first aspect, this application provides a detection circuit, including a sampling module, a current detection module, and a voltage detection module; one end of the sampling module is connected to one end of a linear motor; a first end of the current detection module is connected to one end of the sampling module and one end of the linear motor, a second end of the current detection module is connected to the other end of the sampling module, and a third end of the current detection module is connected to a control circuit. The current detection module is used to acquire a first electrical signal from the linear motor and send the first electrical signal to the control circuit so that the control circuit adjusts the output power of the linear motor based on the first electrical signal; a first end of the voltage detection module is connected to one end of the linear motor, a second end of the voltage detection module is connected to the other end of the linear motor, and a third end of the voltage detection module is connected to the control circuit. The voltage detection module is used to acquire a second electrical signal from the linear motor and send the second electrical signal to the control circuit so that the control circuit determines the voltage information of the linear motor based on the second electrical signal and adjusts the output power of the linear motor.

[0006] Based on the detection circuit of this application embodiment, the first electrical signal of the linear motor can be accurately sampled through the sampling module and the current detection module to achieve accurate detection of current information. Similarly, the second electrical signal of the linear motor can be accurately sampled through the voltage detection module to achieve accurate detection of voltage information. This allows the control circuit to determine the current voltage and current information of the linear motor based on the first and second electrical signals, thereby acquiring the vibration state of the linear motor in real time. Furthermore, the control circuit used in conjunction with this detection circuit can adjust the output power of the linear motor accordingly based on the detection results, thereby regulating the vibration state of the linear motor and ensuring the tactile feedback effect of the linear motor. Thus, the detection circuit provided by this application can acquire the current and voltage information of the linear motor in real time to know the vibration state of the linear motor with high detection accuracy. Simultaneously, it enables the control circuit to control and adjust the linear motor based on the vibration state with high adjustment and control accuracy, avoiding the problem of misjudgment by the control circuit due to low detection accuracy.

[0007] In one possible implementation, the current detection module includes a first voltage divider unit, a first coupling unit, and a first level-up unit; the first end of the first voltage divider unit is connected to one end of the sampling module and one end of the linear motor, the second end of the first voltage divider unit is connected to the other end of the sampling module, and the third end of the first voltage divider unit is grounded; the first coupling unit is connected to the fourth end of the first voltage divider unit; the first end of the first level-up unit is connected to the other end of the first coupling unit, the second end of the first level-up unit is connected to the control circuit, and the third end of the first level-up unit is grounded.

[0008] In this implementation, the first voltage divider unit divides the voltage across the sampling module to avoid damage to the current detection module due to excessive voltage. The voltage after voltage division by the first voltage divider unit is coupled to the first level-raising unit through the first coupling unit. The first level-raising unit ensures that the signal input to the control circuit is a signal greater than zero, making the first electrical signal connected to the control circuit a valid signal, thereby ensuring the sampling reliability of the current detection module and the reliability of the provided first electrical signal.

[0009] In one possible implementation, the first voltage divider unit includes a first resistor, a second resistor, a third resistor, and a fourth resistor; one end of the first resistor is connected to one end of the sampling module; one end of the second resistor is connected to the other end of the first resistor and the first coupling unit, and the other end of the second resistor is connected to the ground terminal; one end of the third resistor is connected to the other end of the sampling module; one end of the fourth resistor is connected to the other end of the third resistor and the first coupling unit, and the other end of the fourth resistor is connected to the ground terminal.

[0010] In one possible implementation, the first coupling unit includes a first capacitor and a second capacitor; the first plate of the first capacitor is connected to the other end of the first resistor and one end of the second resistor, and the second plate of the first capacitor is connected to the first level-up unit; the first plate of the second capacitor is connected to the other end of the third resistor and one end of the fourth resistor, and the second plate of the second capacitor is connected to the first level-up unit.

[0011] In one possible implementation, the first level-raising unit includes a fifth resistor, a sixth resistor, a seventh resistor, and an eighth resistor; one end of the fifth resistor is connected to a DC voltage, one end of the sixth resistor is connected to the other end of the fifth resistor, the second plate of the first capacitor, and the control circuit, and the other end of the sixth resistor is connected to a ground terminal; one end of the seventh resistor is connected to a DC voltage, one end of the eighth resistor is connected to the other end of the seventh resistor, the second plate of the second capacitor, and the control circuit, and the other end of the eighth resistor is connected to a ground terminal.

[0012] In this implementation, the fifth, sixth, seventh, and eighth resistors will raise the signal input to the control circuit to a signal greater than zero, so that the first electrical signal connected to the control circuit is a valid signal.

[0013] In one possible implementation, the voltage detection module includes a second voltage divider unit, a second coupling unit, and a second level-raising unit; the first terminal of the second voltage divider unit is connected to one end of the linear motor, the second terminal of the second voltage divider unit is connected to the other end of the linear motor, and the third terminal of the second voltage divider unit is grounded; the second coupling unit is connected to the fourth terminal of the second voltage divider unit; the first terminal of the second level-raising unit is connected to the other end of the second coupling unit, the second terminal of the second level-raising unit is connected to the control circuit, and the third terminal of the second level-raising unit is grounded.

[0014] In this implementation, the second voltage divider unit divides the voltage across the linear motor to prevent damage to the voltage detection module caused by excessive voltage. The voltage after voltage division by the second voltage divider unit is coupled to the second level-raising unit through the second coupling unit. The second level-raising unit ensures that the signal input to the control circuit is a signal greater than zero, making the second electrical signal input to the control circuit a valid signal, thereby ensuring the sampling reliability of the voltage detection module and the reliability of the provided second electrical signal.

[0015] Secondly, this application provides a touchpad control system, including a detection circuit and a control circuit as described in any of the optional embodiments of the first aspect; the control circuit receives a first electrical signal and a second electrical signal from the detection circuit, and determines the current information and voltage information of the linear motor based on the first electrical signal and the second electrical signal; the control circuit is used to calculate the resonance peak of the touchpad based on the current information and the voltage information, and adjust the output power of the linear motor based on the resonance peak of the touchpad.

[0016] The touchpad control system based on this application embodiment features a detection circuit capable of real-time acquisition of the linear motor's current and voltage information to obtain its vibration state. This results in high sampling and detection accuracy. Furthermore, the control circuit calculates the touchpad's resonance peak based on the detection results and adjusts the linear motor's output power accordingly, thereby regulating the linear motor's vibration state. Closed-loop adjustment ensures the touchpad's current resonance peak aligns with the target resonance peak, guaranteeing the linear motor's touch feedback effect. Secondly, this application adjusts the linear motor's output power based on the real-time calculated touchpad resonance peak, avoiding the distortion and error inherent in adjusting output power solely based on the linear motor's resonant frequency. This improves the accuracy and reliability of the linear motor's output power adjustment. Moreover, by adjusting the linear motor's output power through the control circuit, the vibration amplitude of an aging linear motor can be increased to achieve the target touch feedback effect, eliminating the need for frequent replacement of the linear motor and reducing manufacturing costs.

[0017] In one possible implementation, the touchpad control system further includes a drive circuit, which is connected to a control circuit and a linear motor. The control circuit is used to control the drive circuit to drive the linear motor to rotate forward or backward. The control circuit is also used to adjust the drive power of the drive circuit based on the resonance peak of the touchpad to adjust the output power of the linear motor.

[0018] In this implementation, the control circuit can control the power of the linear motor in both forward and reverse rotation through the drive circuit, resulting in high control precision.

[0019] Thirdly, this application provides a circuit board including the touchpad control system described in any alternative manner of the second aspect.

[0020] Fourthly, this application provides an electronic device, including a linear motor and the circuit board described in the third aspect, wherein the circuit board is electrically connected to the linear motor. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of the module structure of an electronic device provided in an embodiment of this application;

[0022] Figure 2 This is a schematic diagram of the module structure of another electronic device provided in an embodiment of this application;

[0023] Figure 3 This is a schematic diagram of the circuit structure of a control circuit provided in an embodiment of this application;

[0024] Figure 4 This is a schematic diagram of the module structure of a touchpad control system provided in an embodiment of this application;

[0025] Figure 5 This is a schematic diagram of the module structure of another touchpad control system provided in an embodiment of this application;

[0026] Figure 6 This is a schematic diagram of the circuit structure of a touchpad control system provided in an embodiment of this application;

[0027] Figure 7 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0028] Figure 8 This is a schematic diagram of the circuit structure of another touchpad control system provided in an embodiment of this application;

[0029] Figure 9 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0030] Figure 10 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0031] Figure 11 This is a schematic diagram of the circuit structure of another touchpad control system provided in the embodiments of this application;

[0032] Figure 12 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0033] Figure 13 This is a schematic diagram of the circuit structure of another touchpad control system provided in the embodiments of this application;

[0034] Figure 14 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0035] Figure 15 This is a schematic diagram of the circuit structure of another touchpad control system provided in the embodiments of this application;

[0036] Figure 16 This is a schematic diagram of the circuit structure of another touchpad control system provided in the embodiments of this application;

[0037] Figure 17 This is a schematic diagram of the circuit structure of a driver chip provided in an embodiment of this application;

[0038] Figure 18 This is a schematic diagram of the module structure of another touchpad control system provided in the embodiments of this application;

[0039] Figure 19 This is a schematic diagram of the circuit structure of a power management circuit provided in an embodiment of this application.

[0040] Figure label:

[0041] 1. Linear motor; 2. Circuit board; 21. Touchpad control system; 211. Control circuit; 212. Detection circuit; 2121. Sampling module; 2122. Current detection module; 21221. First voltage divider unit; 21222. First coupling unit; 21223. First level rise unit; 21224. Second filtering unit; 2123. Voltage detection module; 21231. Second voltage divider unit; 21232. Second coupling unit; 21233. Second level rise unit; 21234. Third filtering unit; 213. Drive circuit; 2131. Spike suppression module; 2132. Full-bridge circuit; 214. Power management circuit; 2141. First filtering unit;

[0042] U1, Driver chip; U2, Buck chip; GND, Ground terminal; VCC, Power supply voltage; D1, First switching transistor; D2, Second switching transistor; D3, Third switching transistor; D4, Fourth switching transistor; R, Resistor; R0, Pull-up resistor; R1, First resistor; R2, Second resistor; R3, Third resistor; R4, Fourth resistor; R5, Fifth resistor; R6, Sixth resistor; R7, Seventh resistor; R8, Eighth resistor; R9, Ninth resistor; R10, Tenth resistor; R11, Eleventh resistor; R12, Twelfth resistor; R13, Thirteenth resistor; R14, Fourteenth resistor; R15, Fifteenth resistor; R16, Sixteenth resistor. Resistors; R17, the seventeenth resistor; R18, the eighteenth resistor; R19, the nineteenth resistor; R20, the twentieth resistor; R21, the twenty-first resistor; R22, the twenty-second resistor; C, capacitors; C1, the first capacitor; C2, the second capacitor; C3, the third capacitor; C4, the fourth capacitor; C5, the fifth capacitor; C6, the sixth capacitor; C7, the seventh capacitor; C8, the eighth capacitor; C9, the ninth capacitor; C10, the tenth capacitor; C11, the eleventh capacitor; C12, the twelfth capacitor; C13, the thirteenth capacitor; C14, the fourteenth capacitor; C15, the fifteenth capacitor; L, ferrite beads; L1, the first ferrite bead; L2, the second ferrite bead. Detailed Implementation

[0043] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, and circuits have been omitted so as not to obscure the description of this application with unnecessary detail.

[0044] In some electronic devices, such as laptops, tablets, 2-in-1 laptops / detachable tablets, all-in-one computers, professional graphics input devices, and smart displays, touchpads are typically used as interactive input devices for user interaction. To improve the user experience, touchpads in electronic devices are usually full-area touchpads, so that pressing the touchpad produces the same effect as pressing a mechanical button.

[0045] Currently, touchpads typically use linear motors or piezoelectric ceramics as vibrators to generate tactile feedback. Taking linear motors as an example, to avoid excessive voltage, related technologies usually incorporate an integrated chip to sample the linear motor's output voltage and feed it back to the microcontroller unit (MCU) of the electronic device. The MCU can determine the overcurrent state of the linear motor based on the sampled output voltage and provide overvoltage protection when an overvoltage problem occurs. However, the integrated chip in these technologies can only obtain the overcurrent state of the linear motor, not its real-time vibration state. This means the MCU can only control and adjust the linear motor based on the output voltage sampled by the integrated chip, which may lead to misjudgments and result in low control accuracy for both the integrated chip and the MCU.

[0046] To address this, this application provides a detection circuit, a touchpad control system, a circuit board, and an electronic device. The detection circuit can acquire the current and voltage information of the linear motor in real time to obtain the vibration state of the linear motor in real time. The acquisition and detection accuracy is high, and at the same time, the control circuit can control and adjust the linear motor based on the vibration state to avoid the problem of misjudgment caused by low detection accuracy.

[0047] The detection circuit, touchpad control system, circuit board, and electronic equipment provided in this application are described below with reference to the accompanying drawings.

[0048] This application provides an electronic device, such as... Figure 1As shown, the electronic device is equipped with a linear motor 1 and a touchpad (not shown). When the user presses the touchpad, the linear motor 1 provides vibration to provide corresponding tactile feedback, thereby enabling the electronic device to interact with the user and meet different user needs. The electronic device in this application can also be a laptop, tablet, 2-in-1 laptop / detachable tablet, all-in-one computer, professional graphics input device, smart display, and other electronic devices that require touch functionality. This application does not impose specific limitations on these.

[0049] To achieve precise control of the linear motor 1 so that it can provide haptic feedback, in one example, such as Figure 1 As shown, the electronic device also includes a circuit board 2, on which a touch panel control system 21 for controlling and driving the linear motor 1 is provided. The touch panel control system 21 is electrically connected to the linear motor 1 and can achieve precise control of the linear motor 1.

[0050] It is worth noting that electronic devices typically also include a motherboard. The touchpad control system 21 works in conjunction with the motherboard to provide timely tactile feedback, thereby enabling interface interaction. The motherboard integrates various electronic components and connectors to enable the electronic device to perform corresponding functions. The circuit board 2 in this application can also reuse the motherboard; that is, the touchpad control system 21 can be directly integrated onto the motherboard, or a separate circuit board 2 can be set up to integrate the touchpad control system 21 and then electrically connected to the motherboard. The specific configuration can be determined according to actual needs, and this application does not impose specific limitations on this.

[0051] In one example, such as Figure 2As shown, the touchpad control system 21 may include a control circuit 211 and a detection circuit 212. The detection circuit 212 is connected to the linear motor 1 and is used to acquire a first electrical signal and a second electrical signal from the linear motor 1. The control circuit 21 is connected to the detection circuit 212. The control circuit 211 receives the first electrical signal and the second electrical signal from the detection circuit 212 and determines the current information and voltage information of the linear motor 1 based on the first electrical signal and the second electrical signal. The control circuit 211 can adjust the output power of the linear motor 1 according to the current information and the voltage information. For example, the control circuit 211 of this application can calculate the resonance peak of the touchpad according to the current information and the voltage information and adjust the output power of the linear motor 1 based on the resonance peak of the touchpad. In this example, the control circuit 211 has a preset target resonance peak for the touch panel. The detection circuit 212 detects the first and second electrical signals of the linear motor 1 in real time and sends them to the control circuit 211. The control circuit 211 can determine the voltage and current information of the linear motor 1 based on the first and second electrical signals, calculate the current resonance peak of the touch panel, and compare the resonance peak with the preset target resonance peak to accurately determine the real-time vibration state of the linear motor 1. This allows the control circuit to determine whether the vibration amplitude of the linear motor 1 meets expectations and adjust the output power of the linear motor 1 accordingly based on the comparison result.

[0052] For example, when the control circuit 211 calculates that the current resonance peak of the touchpad matches the preset target resonance peak, it means that the linear motor 1 is still in good condition. That is, under fixed waveform drive, the resonance peaks of the touchpad corresponding to the first and second electrical signals sampled by the detection circuit 212 are close to the target resonance peak. As long as they are within the error range, it is determined that the linear motor 1 is in good condition and there is no performance degradation problem. At this time, the vibration amplitude of the linear motor 1 meets the expected effect, and the control circuit 211 does not need to adjust the output power of the linear motor 1. When the control circuit 211 calculates that the current resonance peak of the touchpad does not match the preset target resonance peak, it indicates that the linear motor 1 may be aging or that its performance has degraded after prolonged use. In this case, the vibration amplitude of the linear motor 1 does not meet the expected effect. In order to make the current resonance peak of the touchpad consistent with the target resonance peak and thus ensure the touch feedback effect of the linear motor 1, the control circuit 211 will adjust the output power of the linear motor 1 accordingly based on the currently calculated resonance peak. For example, it can increase the output power of the linear motor 1 to increase the vibration amplitude of the linear motor 1, so that the current vibration waveform of the linear motor 1 can be consistent with the target vibration waveform, thereby improving the touch feedback effect of the linear motor 1 and avoiding the problem of weak vibration caused by the aging of the linear motor 1, thus ensuring the user experience.

[0053] The detection circuit 212 in the touchpad control system 21 provided in this application can accurately sample the first and second electrical signals of the linear motor 1, enabling the control circuit 211 to determine the current voltage and current information of the linear motor 1 based on the first and second electrical signals. This allows the control circuit 211 to know the vibration state of the linear motor 1 in real time. The control circuit 211 can also adjust the output power of the linear motor 1 accordingly based on the detection results, thereby adjusting the current vibration state of the linear motor 1 to ensure the touch feedback effect of the linear motor. Thus, the detection circuit 212 in the touchpad control system 21 provided in this application can collect the current and voltage information of the linear motor 1 in real time to obtain the vibration state of the linear motor 1. The sampling and detection accuracy is high, and the control circuit 211 can control and adjust the linear motor 1 based on the vibration state with high adjustment and control accuracy, avoiding the problem of misjudgment by the control circuit 211 due to low detection accuracy.

[0054] When the control circuit 211 can calculate the resonance peak of the touchpad based on current and voltage information, and adjust the output power of the linear motor 1 accordingly based on the current resonance peak of the touchpad to adjust the vibration state of the linear motor 1, the closed-loop adjustment can make the current resonance peak of the touchpad consistent with the target resonance peak, thereby ensuring the touch feedback effect of the linear motor 1. The sampling, detection, adjustment, and control accuracy are high, avoiding the problem of misjudgment caused by low detection accuracy. Secondly, adjusting the output power of the linear motor 1 based on the resonance peak of the touchpad calculated in real time avoids the distortion and error problems that exist when adjusting the output power solely based on the resonant frequency of the linear motor 1. This improves the adjustment accuracy and reliability of the output power of the linear motor 1. Furthermore, by adjusting the output power of the linear motor 1 accordingly through the control circuit 211, the vibration amplitude of the aging linear motor 1 can be increased to achieve the target touch feedback effect without the need for frequent replacement of the linear motor 1 itself, thus reducing manufacturing costs.

[0055] Optionally, the control circuit 211 can be a microcontroller unit (MCU). MCUs have high integration, small size, high reliability, and low power consumption. For example, Figure 3 As shown, the control circuit 211 can employ a 32-pin MCU, which integrates an operational amplifier. The detection circuit 212 works in conjunction with the operational amplifier within the MCU to enable the control circuit 211 to detect and compare the first and second electrical signals. This eliminates the need for an external operational amplifier, saving manufacturing costs and reducing the area occupied by the touchpad control system 21 on the circuit board 2. Furthermore, when the control circuit 211 employs... Figure 3 The MCU shown has an algorithm configured within it. When the MCU detects a mismatch between the current vibration waveform of linear motor 1 and a preset target vibration waveform, it indicates that the vibration waveform of linear motor 1 has been distorted. The algorithm within the MCU can accurately calculate the distorted frequency bands in the current vibration waveform and adjust the waveform of these distorted frequency bands accordingly. This ensures that the vibration waveform output by linear motor 1 matches the preset target vibration waveform, guaranteeing the touch feedback effect of linear motor 1 and thus ensuring a good touch experience for the user. This algorithm is a standard algorithm configured in the MCU, and will not be elaborated further in this application.

[0056] In this example, the capacitors C and resistors R configured in each pin of the MCU are the conventional configurations of MCUs in related technologies, and this application will not provide specific details on them. The MCU realizes the connection and signal transmission with the detection circuit 212 and other circuits through the corresponding pins. The specific circuit structure of the detection circuit 212 and other circuits will be described in detail, but will not be elaborated here.

[0057] In one example, such as Figure 4 As shown, the detection circuit 212 may include a sampling module 2121 and a current detection module 2122. One end of the sampling module 2121 is connected to one end of the linear motor 1. The first end of the current detection module 2122 is connected to one end of the sampling module 2121 and one end of the linear motor 1. The second end of the current detection module 2122 is connected to the other end of the sampling module 2121. The third end of the current detection module 2122 is connected to the control circuit 211. The current detection module 2122 is used to acquire a first electrical signal of the linear motor 1 and send the first electrical signal to the control circuit 211. The control circuit 211 is used to determine the current information of the linear motor 1 based on the first electrical signal.

[0058] In this example, the current detection module 2122 obtains a first electrical signal by collecting the voltage across the sampling module 2121 and sends it to the control circuit 211. The amplifier inside the control circuit 211 differentially amplifies the first electrical signal to obtain the current information of the linear motor 1, i.e., the actual current of the linear motor 1. The control circuit 211 can calculate the resonance peak of the touchpad based on this current information to know the real-time vibration state of the linear motor 1, thereby determining whether the vibration amplitude of the linear motor 1 meets expectations. The control circuit 211 can accurately detect the real-time current information of the linear motor 1 through the sampling module 2121 and the current detection module 2122 to achieve real-time detection of the vibration amplitude of the linear motor 1. In this example, the control circuit 211 can also adjust the output power of the linear motor 1 accordingly based on the calculation results, thereby adjusting the vibration amplitude of the linear motor 1 so that the current information of the linear motor 1 is consistent with the target current, thereby improving the touch feedback effect of the linear motor 1 and avoiding the problem of weak vibration caused by the aging of the linear motor 1, thus ensuring the user experience.

[0059] Optionally, the sampling module 2121 can be a sampling resistor, with one end connected to one end of the linear motor 1. The current detection module 2122 obtains a first electrical signal by acquiring the voltage across the sampling resistor and sends it to the control circuit 211. The amplifier inside the control circuit 211 differentially amplifies the first electrical signal to obtain the true voltage value across the sampling resistor. This value is then divided by the resistance and gain of the sampling resistor to obtain the current information of the linear motor 1, i.e., the true current of the linear motor 1. This current information is compared with the target current, i.e., the current waveform corresponding to the current information is compared with the current waveform corresponding to the target current. Based on the comparison result, the output power of the linear motor 1 is adjusted accordingly. By sampling and feeding back the voltage across the linear motor 1 using a sampling resistor, the structure is simple, the cost is low, and the sampling reliability is high.

[0060] The voltage across the sampling module 2121 is relatively high. To avoid damage to the current detection module 2122 due to excessive voltage, in one example, such as... Figure 5 As shown, the current detection module 2122 includes a first voltage divider unit 21221, a first coupling unit 21222, and a first level-raising unit 21223. The first end of the first voltage divider unit 21221 is connected to one end of the sampling module 2121 and one end of the linear motor 1. The second end of the first voltage divider unit 21221 is connected to the other end of the sampling module 2121. The third end of the first voltage divider unit 21221 is grounded (i.e., as shown in the diagram). Figure 5(As shown, connected to the ground terminal GND), the first coupling unit 21222 is connected to the fourth terminal of the first voltage divider unit 21221, the first terminal of the first level raising unit 21223 is connected to the other terminal of the first coupling unit 21222, the second terminal of the first level raising unit 21223 is connected to the control circuit 211, and the third terminal of the first level raising unit 21223 is grounded.

[0061] In this example, the first voltage divider unit 21221 divides the voltage across the sampling module 2121 to avoid damage to the current detection module 2122 due to excessive voltage. The voltage after voltage division by the first voltage divider unit 21221 is coupled to the first level-up unit 21223 through the first coupling unit 21222. The first level-up unit 21223 ensures that the signal input to the control circuit 211 is a signal greater than zero, making the first electrical signal connected to the control circuit 211 a valid signal, thereby ensuring the sampling reliability of the current detection module 2122 and the reliability of the first electrical signal connected to the control circuit 211.

[0062] Optional, such as Figure 6 As shown, the first voltage divider unit 21221 may include a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. One end of the first resistor R1 is connected to one end of the sampling module 2121, and the other end of the first resistor R1 is connected to one end of the second resistor R2 and the first coupling unit 21222. The other end of the second resistor R2 is connected to the ground terminal GND. One end of the third resistor R3 is connected to the other end of the sampling module 2121, and the other end of the third resistor R3 is connected to one end of the fourth resistor R4 and the first coupling unit 21222. The other end of the fourth resistor R4 is connected to the ground terminal GND. In this example, the first resistor R1 and the second resistor R2 will perform voltage division on one end of the sampling module 2121, and the third resistor R3 and the fourth resistor R4 will perform voltage division on the other end of the sampling module 2121.

[0063] Optional, such as Figure 6 As shown, the first coupling unit 21222 may include a first capacitor C1 and a second capacitor C2. The first plate of the first capacitor C1 is connected to the other end of the first resistor R1 and one end of the second resistor R2. The second plate of the first capacitor C1 is connected to the first level-up unit 21223. The first plate of the second capacitor C2 is connected to the other end of the third resistor R3 and one end of the fourth resistor R4. The second plate of the second capacitor C2 is also connected to the first level-up unit 21223. In this example, the first capacitor C1 and the second capacitor C2 can couple the signal after voltage division by the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 to the first level-up unit 21223.

[0064] Optional, such as Figure 6 As shown, the first level-raising unit 21223 may include a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8. One end of the fifth resistor R5 and the seventh resistor R7 are respectively connected to a DC voltage. The other end of the fifth resistor R5 is connected to the second plate of the first capacitor C1, one end of the sixth resistor R6, and the control circuit 211. The other end of the sixth resistor R6 is connected to the ground terminal GND. The other end of the seventh resistor R7 is connected to the second plate of the second capacitor C2, one end of the eighth resistor R8, and the control circuit 211. The other end of the eighth resistor R8 is connected to the ground terminal GND. In this example, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7, and the eighth resistor R8 will raise the signal input to the control circuit 211 to a signal greater than zero, so that the first electrical signal input to the control circuit 211 is a valid signal.

[0065] In this example, the other end of the fifth resistor R5 and one end of the sixth resistor R6 are connected to the pins of the control circuit 211 (i.e., as shown in the image). Figure 3 Pin 4 ("V_DETA2+") is connected, and the other end of the seventh resistor R7 and one end of the eighth resistor R8 are connected to the pins of the control circuit 211 (i.e., as shown). Figure 3 The third pin, “V_DETA2-”, is connected as shown.

[0066] To further improve the reliability of the signals input to the control circuit 211, in one example, such as Figure 7 As shown, the current detection module 2122 also includes a second filtering unit 21224. One end of the second filtering unit 21224 is connected to the second end of the first level-raising unit 21223, and the other end of the second filtering unit 21224 is connected to the control circuit 211. The second filtering unit 21224 can filter the signal output by the first level-raising unit 21223 and then output it to the control circuit 211 to improve the reliability of the signal input to the control circuit 211, thereby improving the detection reliability of the control circuit 211.

[0067] Optional, such as Figure 8As shown, the second filter unit 21224 includes a ninth resistor R9, a third capacitor C3, a tenth resistor R10, and a fourth capacitor C4. One end of the ninth resistor R9 is connected to one end of the fifth resistor R5 and one end of the sixth resistor R6. The other end of the ninth resistor R9 is connected to the first plate of the third capacitor C3 and the fourth pin of the control circuit 211. The second plate of the third capacitor C3 is connected to the ground terminal GND. One end of the tenth resistor R10 is connected to one end of the seventh resistor R7 and one end of the eighth resistor R8. The other end of the tenth resistor R10 is connected to the first plate of the fourth capacitor C4 and the third pin of the control circuit 211. The second plate of the fourth capacitor C4 is connected to the ground terminal GND.

[0068] In one example, such as Figure 9 As shown, the detection circuit 212 also includes a voltage detection module 2123. The first end of the voltage detection module 2123 is connected to one end of the linear motor 1, the second end of the voltage detection module 2123 is connected to the other end of the linear motor 1, and the third end of the voltage detection module 2123 is connected to the control circuit 211. The voltage detection module 2123 is used to acquire the second electrical signal of the linear motor 1 and send the second electrical signal to the control circuit 211. The control circuit 211 is used to determine the voltage information of the linear motor 1 based on the second electrical signal.

[0069] In this example, the voltage detection module 2123 acquires the voltage across the linear motor 1 to obtain a second electrical signal, which is then sent to the control circuit 211. The amplifier inside the control circuit 211 differentially amplifies the second electrical signal and, through a certain conversion relationship, obtains the voltage information of the linear motor 1, i.e., the true voltage of the linear motor 1. Based on this voltage information, the control circuit 211 can calculate the resonance peak of the touchpad to determine the real-time vibration state of the linear motor 1, thereby judging whether the vibration amplitude of the linear motor 1 meets expectations. The control circuit 211 can accurately detect the real-time voltage information of the linear motor 1 through the voltage detection module 2123, achieving real-time detection of the vibration amplitude of the linear motor 1. The control circuit 211 can also adjust the output power of the linear motor 1 accordingly based on the results, thereby adjusting the vibration amplitude of the linear motor 1 so that the voltage information of the linear motor 1 is consistent with the target voltage, thus improving the touch feedback effect of the linear motor 1, avoiding the problem of weak vibration due to aging of the linear motor 1, and ensuring the user experience.

[0070] The voltage across linear motor 1 is relatively high. To prevent damage to the voltage detection module 2123 due to excessive voltage, in one example, such as... Figure 10As shown, the voltage detection module 2123 includes a second voltage divider unit 21231, a second coupling unit 21232, and a second level-raising unit 21233. The first end of the second voltage divider unit 21231 is connected to one end of the linear motor 1, the second end of the second voltage divider unit 21231 is connected to the other end of the linear motor 1, and the third end of the second voltage divider unit 21231 is grounded (i.e., as shown). Figure 10 (As shown, connected to the ground terminal GND), the second coupling unit 21232 is connected to the fourth terminal of the second voltage divider unit 21231, the first terminal of the second level-raising unit 21233 is connected to the other terminal of the second coupling unit 21232, the second terminal of the second level-raising unit 21233 is connected to the control circuit 211, and the third terminal of the second level-raising unit 21233 is grounded (i.e., as shown, connected to the ground terminal GND). Figure 10 (As shown, it is connected to the ground terminal GND).

[0071] In this example, the second voltage divider unit 21231 divides the voltage across the linear motor 1 to prevent the voltage detection module 2123 from being damaged due to excessive voltage. The voltage after voltage division by the second voltage divider unit 21231 is coupled to the second level-raising unit 21233 through the second coupling unit 21232. The second level-raising unit 21233 ensures that the signal input to the control circuit 211 is a signal greater than zero, making the second electrical signal connected to the control circuit 211 a valid signal, thereby ensuring the sampling reliability of the voltage detection module 2123 and the reliability of the second electrical signal connected to the control circuit 211.

[0072] Optional, such as Figure 11 As shown, the second voltage divider unit 21231 may include an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, and a fourteenth resistor R14. One end of the eleventh resistor R11 is connected to one end of the linear motor 1, and the other end of the eleventh resistor R11 is connected to one end of the twelfth resistor R12 and the second coupling unit 21232. The other end of the twelfth resistor R12 is connected to the ground terminal GND. One end of the thirteenth resistor R13 is connected to the other end of the linear motor 1, and the other end of the thirteenth resistor R13 is connected to one end of the fourteenth resistor R14 and the second coupling unit 21232. The other end of the fourteenth resistor R14 is connected to the ground terminal GND. In this example, the eleventh resistor R11 and the twelfth resistor R12 will perform voltage division on one end of the linear motor 1, and the thirteenth resistor R13 and the fourteenth resistor R14 will perform voltage division on the other end of the linear motor 1.

[0073] Optional, such as Figure 11As shown, the second coupling unit 21232 may include a fifth capacitor C5 and a sixth capacitor C6. The first plate of the fifth capacitor C5 is connected to the other end of the eleventh resistor R11 and one end of the twelfth resistor R12, and the second plate of the fifth capacitor C5 is connected to the second level-raising unit 21233. The first plate of the sixth capacitor C6 is connected to the other end of the thirteenth resistor R13 and one end of the fourteenth resistor R14, and the second plate of the sixth capacitor C6 is connected to the second level-raising unit 21233. In this example, the fifth capacitor C5 and the sixth capacitor C6 can couple the signal after voltage division by the eleventh resistor R11, the twelfth resistor R12, the thirteenth resistor R13, and the fourteenth resistor R14 to the second level-raising unit 21233.

[0074] Optional, such as Figure 11 As shown, the second level-raising unit 21233 may include a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, and an eighteenth resistor R18. One end of the fifteenth resistor R15 is connected to the second plate of the fifth capacitor C5, one end of the sixteenth resistor R16, and the control circuit 211. The other end of the sixteenth resistor R16 is connected to the ground terminal GND. One end of the seventeenth resistor R17 is connected to the second plate of the sixth capacitor C6, one end of the eighteenth resistor R18, and the control circuit 211. The other end of the eighteenth resistor R18 is connected to the ground terminal GND. In this example, the fifteenth resistor R15, the sixteenth resistor R16, the seventeenth resistor R17, and the eighteenth resistor R18 will raise the signal input to the control circuit 211 to a signal greater than zero, so that the second electrical signal input to the control circuit 211 is a valid signal.

[0075] In this example, one end of the fifteenth resistor R15 is connected to the pin of the control circuit 211 (i.e., as shown in the example). Figure 3 Pin 16 ("V_DETA2+") is connected as shown, and one end of resistor R17 is connected to a pin of control circuit 211 (i.e., as shown). Figure 3 The 18th pin (“V_DETA2-”) shown is connected.

[0076] To further improve the reliability of the signals input to the control circuit 211, in one example, such as Figure 12 As shown, the voltage detection module 2123 also includes a third filtering unit 21234. One end of the third filtering unit 21234 is connected to the second end of the second level-raising unit 21233, and the other end of the third filtering unit 21234 is connected to the control circuit 211. The third filtering unit 21234 can filter the signal output by the second level-raising unit 21233 and then output it to the control circuit 211 to improve the reliability of the signal input to the control circuit 211, thereby improving the detection reliability of the control circuit 211.

[0077] Optional, such as Figure 13 As shown, the third filter unit 21234 includes a nineteenth resistor R19, a seventh capacitor C7, a twentieth resistor R20, and an eighth capacitor C8. One end of the nineteenth resistor R19 is connected to one end of the fifteenth resistor R15 and one end of the sixteenth resistor R16. The other end of the nineteenth resistor R19 is connected to the first plate of the seventh capacitor C7 and the 16th pin of the control circuit 211. The second plate of the seventh capacitor C7 is connected to the ground terminal GND. One end of the twentieth resistor R20 is connected to one end of the seventeenth resistor R17 and one end of the eighteenth resistor R18. The other end of the twentieth resistor R20 is connected to the first plate of the eighth capacitor C8 and the 18th pin of the control circuit 211. The second plate of the eighth capacitor C8 is connected to the ground terminal GND.

[0078] In summary, the detection circuit 212 provided in this application can accurately sample the first electrical signal of the linear motor 1 through the sampling module 2121 and the current detection module 2122 to achieve accurate detection of current information. Similarly, the voltage detection module 2123 can accurately sample the second electrical signal of the linear motor 1 to achieve accurate detection of voltage information. The control circuit 211 can determine the current voltage and current information of the linear motor 1 based on the first and second electrical signals, thereby acquiring the vibration state of the linear motor in real time. The control circuit 211 can also adjust the output power of the linear motor 1 based on the detection results, thereby adjusting the vibration state of the linear motor 1. Through closed-loop adjustment, the current resonance peak of the touchpad can be made consistent with the target resonance peak, thus ensuring the touch feedback effect of the linear motor 1. Therefore, the detection circuit 212 provided in this application can acquire the current vibration state of the linear motor 1 in real time, and the control circuit 211 can control and adjust the linear motor 1 based on the vibration state. The sampling, detection, adjustment, and control accuracy are high, avoiding the problem of misjudgment caused by low detection accuracy.

[0079] In one example, such as Figure 14 As shown, the touchpad control system 21 also includes a drive circuit 213, which is connected to the control circuit 211 and the linear motor 1. The control circuit 211 is used to control the drive circuit 213 to drive the linear motor 1 to rotate forward or backward. The control circuit 211 is also used to adjust the drive power of the drive circuit 213 according to the current information and the voltage information. That is, the control circuit 211 is also used to adjust the drive power of the drive circuit 213 based on the resonance peak of the touchpad to adjust the output power of the linear motor 1.

[0080] In this example, when an external force is input, the control circuit 211 generates a control signal and sends it to the drive circuit 213. The drive circuit 213 can then drive the linear motor 1 to rotate forward or reverse accordingly based on this control signal, enabling the linear motor 1 to provide tactile feedback. Thus, the control circuit 211 in this application can control the power of the linear motor 1's forward and reverse rotation through the drive circuit 213, achieving high control precision. It is worth noting that the external force input here refers to the pressure applied by the user when pressing the electronic device. The control circuit 211 only sends a control signal to the drive circuit 213 when there is an external force input; when there is no external force input, the control circuit 211 does not send a control signal to the drive circuit 213, and in this case, the linear motor 1 and the drive circuit 213 do not operate.

[0081] In one example, such as Figure 15 As shown, the driving circuit 213 provided in this application may include a driving chip U1, which is connected to the control circuit 211. The control circuit 211 controls the driving chip U1 to drive the linear motor 1 to rotate forward or reverse accordingly, thereby enabling the linear motor 1 to provide tactile feedback. Specifically, the driving chip U1 is configured with multiple pins, wherein the first pin of the driving chip U1 (e.g., ...) Figure 15 The “VO1” shown is connected to one end of the linear motor 1, and the second pin of the driver chip U1 (as shown) is connected to the second pin of the linear motor 1. Figure 15 The “VO2” shown is connected to the other end of the linear motor 1, and the third pin of the drive chip U1 (as shown) Figure 15 (as shown in "PWM1") and the fourth pin (as shown in the image) Figure 15 The "PWM2" pin shown is connected to the control circuit 211, and the fifth pin of the driver chip U1 (as shown) is connected to the control circuit 211. Figure 15 The "GND" pin shown is connected to the ground terminal GND. The driver chip U1 also has two power supply pins; for example, the sixth pin of the driver chip U1 (as shown) Figure 15 The output voltage HV is connected to the "VDD" pin shown, which drives the seventh pin of chip U1 (as shown in the image). Figure 15 The “VCC” shown is connected to a 3.3V voltage, meaning that the driver chip U1 has two power supplies. One is a low voltage of 3.3V, which uses the same voltage as the control circuit 211 (i.e., MCU), so that the driver chip U1 can directly use the voltage of the control circuit 211. In this case, the driver chip U1 can respond normally to the high and low levels of the control circuit 211 without the need for an additional power conversion chip, thus reducing manufacturing costs. The other is a high voltage, which is used to power the linear motor 1.

[0082] Among them, the eighth pin of the driver chip U1 (such as Figure 15The "nSLEEP" pin shown is the sleep mode control pin. It's worth noting that when the eighth pin of driver chip U1 is pulled low (i.e., receives a low-level signal), driver chip U1 enters a low-power sleep mode. In this mode, most functions of driver chip U1 are disabled to reduce power consumption. When the eighth pin of driver chip U1 is pulled high (i.e., receives a high-level signal), driver chip U1 wakes up from sleep mode and resumes normal operation to drive the linear motor 1 to rotate. Furthermore, driver chip U1 has high applicability and versatility; many types and models of chips with eight pins are similar to driver chip U1. When replacing a linear motor 1 with a higher-power one, only the type and model of driver chip U1 need to be changed. The replaced driver chip U1 is then connected and packaged with the existing components on circuit board 2 to achieve the functions described above. There is no need to modify circuit board 2 to match the high-power linear motor 1, saving development time. Moreover, driver chip U1 is a common chip, resulting in lower manufacturing costs compared to dedicated integrated chips in related technologies.

[0083] In this example, such as Figure 15 As shown, the drive circuit 213 may further include a ninth capacitor C9, a tenth capacitor C10, a twenty-first resistor R21, and a twenty-second resistor R22. The first plate of the ninth capacitor C9 is connected to the ground terminal GND, and the second plate of the ninth capacitor C9 is connected to the sixth pin of the drive chip U1. The ninth capacitor C9 is a voltage filter capacitor for the linear motor 1 to filter out power supply ripple interference and improve the reliability of the power supply to the linear motor 1. The first plate of the tenth capacitor C10 is connected to the ground terminal GND, and the second plate of the tenth capacitor C10 is connected to the seventh pin of the drive chip U1. The tenth capacitor C10 is a voltage filter capacitor for the drive chip U1 to filter out power supply ripple interference and improve the reliability of the power supply to the drive chip U1. One end of the twenty-first resistor R21 is connected to the third pin of the driver chip U1, and one end of the twenty-second resistor R22 is connected to the fourth pin of the driver chip U1. The other ends of the twenty-first resistor R21 and the twenty-second resistor R22 are connected to the control circuit 211. The twenty-first resistor R21 and the twenty-second resistor R22 are current-limiting resistors to suppress the current under high-speed communication and avoid signal overshoot, thereby protecting the driver chip U1 from damage and ensuring the reliability of the driver chip U1.

[0084] When the linear motor 1 starts, stops, or switches states, transient voltage spikes are generated due to mechanical inertia and inductive effects. These voltage spikes may exceed the rated voltage of the linear motor 1 and the driver chip U1, causing damage to the linear motor 1 and the driver chip U1, thereby affecting the normal operation of the touchpad control system 21. Furthermore, the linear motor 1 generates high-frequency noise during operation (especially during start-up and stop). This noise propagates through the power line and other wires, interfering with the driver chip U1 and other electronic devices. Therefore, in one example, such as... Figure 16 As shown, the driving circuit 213 provided in this application may further include a spike suppression module 2131. The first terminal of the spike suppression module 2131 is connected to the first pin of the driving chip U1, the second terminal of the spike suppression module 2131 is connected to the second pin of the driving chip U1, the third terminal of the spike suppression module 2131 is connected to one end of the linear motor 1, the fourth terminal of the spike suppression module 2131 is connected to the other end of the linear motor 1, and the fifth terminal of the spike suppression module 2131 is grounded. The spike suppression module 2131 can eliminate transient spike voltages in the linear motor 1 and reduce electromagnetic interference (EMI) problems, thereby ensuring the reliability of the linear motor 1 and the driving chip U1, and thus ensuring the overall reliability of the touchpad control system 21.

[0085] Optional, such as Figure 15 As shown, the spike suppression module 2131 includes a first ferrite bead L1, a second ferrite bead L2, an eleventh capacitor C1, and a twelfth capacitor C12. One end of the first ferrite bead L1 is connected to the first pin of the driver chip U1, and the other end of the first ferrite bead L1 is connected to one end of the linear motor 1 and the first plate of the eleventh capacitor C1. One end of the second ferrite bead L2 is connected to the second pin of the driver chip U1, and the other end of the second ferrite bead L2 is connected to the other end of the linear motor 1 and the first plate of the twelfth capacitor C12. The second plates of the eleventh capacitor C1 and the twelfth capacitor C12 are connected to the ground terminal GND. The filter formed by the ferrite bead L1 and the capacitor C1 can not only effectively absorb spike voltages but also filter out high-frequency noise. The first ferrite bead L1 and the second ferrite bead L2 have low impedance to low-frequency signals but high impedance to high-frequency signals, thus blocking high-frequency noise. The eleventh capacitor C1 and the twelfth capacitor C12 provide a low-impedance path to bypass high-frequency noise to the ground terminal GND. The spike suppression module 2131 can also use other devices or circuits that can achieve the above functions, and this application does not impose specific restrictions on this.

[0086] In the above example, the control circuit 211 is used to control the driver chip U1 to drive the linear motor 1 to rotate forward or reverse. It is worth noting that "forward" and "reverse" refer to different directions of motion of the linear motor 1. When the user performs a specific operation (such as pressing a screen button on an electronic device), the control circuit 211 generates a corresponding control signal. The driver chip U1 can quickly change the rotation direction of the linear motor 1 according to a preset mode based on the control signal to generate different vibration modes to simulate the feeling of a button being pressed. The driver chip U1 can also control the vibration effect of the linear motor 1 so that the linear motor 1 can achieve different tactile feedback effects, thereby improving the user experience.

[0087] In one example, such as Figure 17 As shown, the driver chip U1 is internally configured with a full-bridge circuit 2132, which consists of a first switching transistor D1, a second switching transistor D2, a third switching transistor D3, and a fourth switching transistor D4, as follows. Figure 17 As shown, the driver chip U1 also includes a gate driver and PWM logic. These are standard configurations in the driver chip U1 and will not be described further in this application. In this example,

[0088] When linear motor 1 needs to be controlled to rotate forward, control circuit 211 outputs a corresponding control signal to driver chip U1. At this time, the second switch D2 and the fourth switch D4 in the full-bridge circuit 2132 are turned off, the first switch D1 remains on, and the third switch D3 is turned on at a high frequency with the control signal, thereby modulating the target signal of linear motor 1 to enable linear motor 1 to move forward. When linear motor 1 needs to be controlled to rotate in reverse, control circuit 211 outputs a corresponding control signal to driver chip U1. At this time, the first switch D1 and the third switch D3 in the full-bridge circuit 2132 are turned off, the second switch D2 remains on, and the fourth switch D4 is turned on at a high frequency with the control signal, thereby modulating the target signal of linear motor 1 to enable linear motor 1 to move in reverse. In this way, this application can drive linear motor 1 to rotate forward or in reverse using the corresponding control signal, with high control precision.

[0089] Here, it can be understood that by adjusting the duty cycle of the control signal, the conduction frequency of the third switch D3 or the fourth switch D4 can be adjusted, thereby correspondingly adjusting the driving power of the drive circuit 212. That is, by adjusting the duty cycle of the control signal, the output power of the linear motor 1 can be adjusted. When the duty cycle of the control signal is higher, the output power of the linear motor 1 is higher, and the touch feedback effect is stronger; when the duty cycle of the control signal is lower, the output power of the linear motor 1 is lower, and the touch feedback effect is weaker. The duty cycle of the control signal can be adjusted according to actual needs. For example, if power consumption is to be reduced, the duty cycle can be set lower; if a stronger touch feedback effect is to be achieved, the duty cycle can be set higher. This application does not impose specific limitations in this regard.

[0090] Optionally, the driver chip U1 can also be configured with a half-bridge circuit that can achieve the above functions. This application does not impose specific restrictions on this.

[0091] In one example, such as Figure 18 As shown, the touchpad control system 21 also includes a power management circuit 214. One end of the power management circuit 214 is connected to the power supply voltage VCC, and the other end of the power management circuit 214 is connected to the control circuit 211. The power management circuit 214 is used to output a power supply voltage to the control circuit 211 based on the power supply voltage VCC to ensure the operational stability of the control circuit 211.

[0092] For example, such as Figure 19 As shown, the power management circuit 214 includes a buck chip U2, a pull-up resistor R0, and a first filter unit 2141. The first pin of the buck chip U2 (as shown) Figure 19 As shown, "VIN" is connected to the power supply voltage VCC. One end of the pull-up resistor R0 is connected to the power supply voltage VCC, and the other end of the pull-up resistor R0 is connected to the second pin of the buck chip U2 (as shown). Figure 19 The first terminal of the first filter unit 2141 is connected to the third pin of the step-down chip U2 (as shown in "CE"). Figure 19 The "VOUT" pin is connected to the fourth pin of the step-down chip U2 (as shown in the diagram). Figure 19 The "VSS" terminal is connected to the ground terminal GND. The second terminal of the first filter unit 2141 is connected to the control circuit 211. The third terminal of the first filter unit 2141 is grounded (i.e., as shown in the diagram). Figure 19 (As shown, it is connected to the ground terminal GND). It is worth noting that the power supply voltage VCC is provided by the power supply module in the electronic device, and this power supply voltage is also used to output to the drive circuit 213 so that the drive circuit 213 can work normally.

[0093] In this example, the power supply voltage VCC is input to the first pin of the buck chip U2, and the second pin of the buck chip U2 is connected to the power supply voltage VCC via a pull-up resistor R0. The buck chip U2 will only output a supply voltage, such as 3.3V, when the power supply voltage VCC is greater than the startup voltage of the buck chip U2, in order to ensure the reliability of the supply voltage provided by the buck chip U2. This supply voltage is filtered by the first filter unit 2141 and then output to the control circuit 211 to improve the reliability of the supply voltage output to the control circuit 211, thereby ensuring the operational reliability of the control circuit 211.

[0094] Here, it can be understood that the second pin of the buck converter U2 is used to control the operating state of the buck converter U2. That is, when the second pin of the buck converter U2 is connected to a high level, the buck converter U2 is enabled, starts to work normally, and outputs a stable voltage. When the second pin of the buck converter U2 is connected to a low level, the buck converter U2 is disabled, stops outputting power supply voltage to the control circuit 211, and the buck converter U2 enters a low-power mode. In this way, by controlling the second pin of the buck converter U2, power consumption management of the buck converter U2 can be achieved, so that it can be turned off when not needed, thereby saving power.

[0095] Optional, such as Figure 19 As shown, the first filter unit 2141 may include a thirteenth capacitor C13 and a fourteenth capacitor C14. The first plate of the thirteenth capacitor C13 is connected to the third pin of the step-down chip U2, the control circuit 211, and the first plate of the fourteenth capacitor C14. The second plates of the thirteenth capacitor C13 and the fourteenth capacitor C14 are connected to the ground terminal GND.

[0096] Optional, such as Figure 19 As shown, the power management circuit 214 may also include a fifteenth capacitor C15. The first plate of the fifteenth capacitor C15 is connected to the first pin of the buck chip U2, and the second plate of the fifteenth capacitor C15 is connected to the ground terminal GND. The fifteenth capacitor C15 can filter the power supply voltage VCC and output it to the buck chip U2.

[0097] In summary, the detection circuit 212 in the touchpad control system 21 provided in this application can accurately sample the first and second electrical signals of the linear motor 1, enabling the control circuit 211 to determine the current voltage and current information of the linear motor 1 based on the first and second electrical signals. This allows for real-time monitoring of the vibration state of the linear motor 1. Furthermore, the control circuit 211 can adjust the output power of the linear motor 1 based on the detection results, thereby regulating the current vibration state of the linear motor 1. Closed-loop adjustment ensures that the current resonance peak of the touchpad matches the target resonance peak, guaranteeing the touch feedback effect of the linear motor. Thus, the touchpad control system 21 provided in this application can acquire the vibration state of the linear motor 1 in real-time based on the first and second electrical signals, and control and adjust the linear motor 1 based on the vibration state. The detection, adjustment, and control accuracy are high, avoiding the problem of misjudgment caused by low detection accuracy. Secondly, by adjusting the output power of the linear motor 1 through the control circuit 211, the vibration amplitude of the aging linear motor 1 can be increased to achieve the target touch feedback effect, eliminating the need for frequent replacement of the linear motor 1 and reducing manufacturing costs.

[0098] This application embodiment also provides a circuit board 2, including the touch panel control system 21 described in any of the above optional embodiments. The circuit board 2 includes the touch panel control system 21 and thus has all the beneficial effects of the touch panel control system 21 in any of the above embodiments, which will not be repeated here.

[0099] This application also provides an electronic device including the circuit board 2 described in any of the above optional embodiments. The electronic device includes the circuit board 2 and thus has all the beneficial effects of the circuit board 2 in any of the above embodiments, which will not be repeated here.

[0100] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0101] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0102] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0103] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0104] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A detection circuit applied to a touchpad control system, the touchpad control system comprising a control circuit, characterized in that, The detection circuit includes: A sampling module, one end of which is connected to one end of a linear motor; A current detection module is provided, wherein a first terminal of the current detection module is connected to one end of the sampling module and one end of the linear motor, a second terminal of the current detection module is connected to the other end of the sampling module, and a third terminal of the current detection module is connected to the control circuit. The current detection module is used to acquire a first electrical signal from the linear motor and send the first electrical signal to the control circuit, so that the control circuit determines the current information of the linear motor based on the first electrical signal and adjusts the output power of the linear motor; and... A voltage detection module is provided, wherein a first terminal of the voltage detection module is connected to one end of the linear motor, a second terminal of the voltage detection module is connected to the other end of the linear motor, and a third terminal of the voltage detection module is connected to the control circuit. The voltage detection module is used to acquire a second electrical signal from the linear motor and send the second electrical signal to the control circuit, so that the control circuit determines the voltage information of the linear motor based on the second electrical signal and adjusts the output power of the linear motor.

2. The detection circuit according to claim 1, characterized in that, The current detection module includes: The first voltage divider unit has a first end connected to one end of the sampling module and one end of the linear motor, a second end connected to the other end of the sampling module, and a third end grounded. A first coupling unit, wherein the first coupling unit is connected to the fourth terminal of the first voltage divider unit; and, The first level-raising unit has a first end connected to the other end of the first coupling unit, a second end connected to the control circuit, and a third end grounded.

3. The detection circuit according to claim 2, characterized in that, The first voltage divider unit includes: A first resistor, one end of which is connected to one end of the sampling module; The second resistor has one end connected to the other end of the first resistor and the first coupling unit, and the other end of the second resistor is connected to the ground terminal. A third resistor, one end of which is connected to the other end of the sampling module; and A fourth resistor, one end of which is connected to the other end of the third resistor and the first coupling unit, and the other end of which is connected to the ground terminal.

4. The detection circuit according to claim 3, characterized in that, The first coupling unit includes: A first capacitor, wherein the first plate of the first capacitor is connected to the other end of the first resistor and one end of the second resistor, and the second plate of the first capacitor is connected to the first level-up unit; and... The second capacitor has its first plate connected to the other end of the third resistor and one end of the fourth resistor, and its second plate connected to the first level-up unit.

5. The detection circuit according to claim 4, characterized in that, The first level-up unit includes: The fifth resistor, one end of which is connected to a DC voltage; The sixth resistor has one end connected to the other end of the fifth resistor, the second plate of the first capacitor, and the control circuit, and the other end connected to the ground terminal. A seventh resistor, one end of which is connected to the DC voltage; and, The eighth resistor has one end connected to the other end of the seventh resistor, the second plate of the second capacitor, and the control circuit, and the other end connected to the ground terminal.

6. The detection circuit according to any one of claims 1-5, characterized in that, The voltage detection module includes: The second voltage divider unit has a first end connected to one end of the linear motor, a second end connected to the other end of the linear motor, and a third end grounded. The second coupling unit is connected to the fourth terminal of the second voltage divider unit; and, The second level rise unit has a first end connected to the other end of the second coupling unit, a second end connected to the control circuit, and a third end grounded.

7. A touchpad control system, characterized in that, The touchpad control system includes: The detection circuit as described in any one of claims 1-6; and, A control circuit is connected to the detection circuit and the linear motor. The control circuit receives a first electrical signal and a second electrical signal from the detection circuit, and determines the current information and voltage information of the linear motor based on the first electrical signal and the second electrical signal. The control circuit is used to calculate the resonance peak of the touch panel based on the current information and the voltage information, and adjust the output power of the linear motor based on the resonance peak of the touch panel.

8. The touchpad control system according to claim 7, characterized in that, The touchpad control system also includes: A drive circuit is provided, which is connected to the control circuit and the linear motor. The control circuit is used to control the drive circuit to drive the linear motor to rotate forward or in reverse. The control circuit is also used to adjust the drive power of the drive circuit based on the resonance peak of the touch panel, so as to adjust the output power of the linear motor.

9. A circuit board, characterized in that, Including the touchpad control system as described in any one of claims 7-8.

10. An electronic device, characterized in that, include: Linear motor; as well as, The circuit board as described in claim 9 is electrically connected to the linear motor.