Digital drive motor position anomaly detection circuit and laser welding system

By designing a digital drive motor position anomaly detection circuit, and utilizing a photoelectric position sensor and an automatic gain control circuit, the problem of lack of anomaly detection in the galvanometer motor system was solved, realizing real-time monitoring of the motor status and anomaly feedback, thereby improving the imaging quality and reliability of the laser welding system.

CN224401422UActive Publication Date: 2026-06-23WUXI CHAOQIANGWEIYE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
WUXI CHAOQIANGWEIYE TECH CO LTD
Filing Date
2025-05-26
Publication Date
2026-06-23

Smart Images

  • Figure CN224401422U_ABST
    Figure CN224401422U_ABST
Patent Text Reader

Abstract

This utility model belongs to the technical field of laser welding systems, specifically relating to a digital drive motor position anomaly detection circuit and a laser welding system. It includes: an MCU, a drive chip, a galvanometer motor, a position feedback circuit, an automatic gain control circuit, and a signal conditioning module circuit. The automatic gain control circuit includes an amplitude adjustment module and a balance adjustment module. The galvanometer motor includes a photoelectric position sensor. This utility model uses the output of the photoelectric position sensor in the galvanometer motor, which is proportional to the position of the galvanometer motor, to obtain the position information of the galvanometer motor rotor. The automatic gain control circuit adjusts the amplitude and angle of the control signal respectively. Simultaneously, a signal conditioning module circuit is added to control the intelligent adjustment and compensation process of the automatic gain control circuit. Therefore, this utility model can promptly detect abnormal motor operation, thereby protecting the motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model discloses a digital drive motor position anomaly detection circuit, belonging to the field of laser welding system technology, specifically relating to a digital drive motor position anomaly detection circuit and a laser welding system. Background Technology

[0002] As an excellent vector scanning device, the galvanometer motor system is the fundamental equipment for controlling galvanometer deflection and realizing laser marking technology. Its linearity, speed, and anti-interference ability are all key factors affecting the imaging quality of laser marking. With the continuous development of the laser industry, the demand for high-performance galvanometer motor systems is also constantly increasing. Galvanometer motor systems have evolved from being mainly used in industrial fields such as laser marking and laser welding to now being applied to laser-based biomedical applications. Since each application has different design requirements for response speed, positioning accuracy, size, and cost, with the development of galvanometer motor systems, several different topologies and technologies have emerged for the main components of the system to meet the performance requirements of different fields.

[0003] In galvanometer motor systems, digital drive motors have become the mainstream driving method. However, during system operation, external factors can cause the motors to malfunction, and current mainstream equipment lacks methods for detecting these malfunctions. To address this issue, a device for detecting malfunctions in digital drive motors within a laser welding system is proposed, capable of detecting such anomalies. Utility Model Content

[0004] Purpose of this utility model: To provide a digital drive motor position abnormality detection circuit and a laser welding system to solve the aforementioned problems.

[0005] Technical solution: A digital drive motor position anomaly detection circuit and laser welding system, including: MCU, drive chip, galvanometer motor, position feedback circuit, automatic gain control circuit and signal conditioning module circuit;

[0006] The automatic gain control circuit includes an amplitude adjustment module and a balance adjustment module;

[0007] The galvanometer motor includes a photoelectric position sensor, and the output of the photoelectric position sensor is an electrical signal proportional to the position of the galvanometer motor.

[0008] The input terminal of the driver chip is connected to the MCU, and its output terminal is connected to the galvanometer motor. The input terminal of the position feedback circuit is connected to the output terminal of the photoelectric position sensor inside the galvanometer motor to input the motor feedback signal. The output terminal of the position feedback circuit is connected to the input terminals of the MCU and the automatic gain control circuit, respectively. The output terminal of the automatic gain control circuit is connected to the signal conditioning module circuit, and the output terminal of the signal conditioning module circuit is connected to the MCU.

[0009] In a further embodiment, the position feedback circuit includes: resistors R119, R120, R121, capacitors C69, R124, C70, C102, R123, R122, C103, C104, and operational amplifier U52.

[0010] One end of resistor R119 and one end of resistor R120 are connected to the output terminal and input signal of the photoelectric position sensor inside the galvanometer motor. Pin 1 of operational amplifier U52 is simultaneously connected to the other end of resistor R120, one end of capacitor C69, and one end of resistor R121. Pin 8 of operational amplifier U52 is simultaneously connected to the other end of resistor R119, one end of capacitor C102, and one end of resistor R123. Pin 4 of operational amplifier U52 is simultaneously connected to the other end of capacitor C69 and one end of resistor R124. Pin 5 of operational amplifier U52 is simultaneously connected to the other end of capacitor C102 and resistor R121. One end of R122 is connected to the 3rd and 7th pins of the operational amplifier U52, which receive a 3.3V voltage. The 6th pin of the operational amplifier U52 is grounded. One end of the capacitor C70 is connected to the other ends of the resistor R124, the other end of the resistor R121, and one end of the capacitor C104, and outputs a positive signal to the MCU and the automatic gain control circuit. The other end of the capacitor C70 is grounded. One end of the capacitor C103 is connected to the other ends of the resistor R122, the other end of the resistor R123, and the other end of the capacitor C104, and outputs a negative signal to the MCU and the automatic gain control circuit. The other end of the capacitor C103 is grounded.

[0011] In a further embodiment, the automatic gain control circuit includes: resistors R52, R53, R54, R64, R65, R63, R66, R67, transistor Q11, capacitors C106, C105, C50, and amplifier U5B.

[0012] One end of resistor R52 is connected to one end of resistor R65 and outputs a positive signal. One end of resistor R53 is connected to one end of resistor R64 and outputs a negative signal. The other end of resistor R52 is simultaneously connected to one end of resistor R50 and one end of capacitor C106. The other end of resistor R53 is simultaneously connected to one end of resistor R54 and one end of capacitor C105. The other end of capacitor C106 and the other end of resistor R50 are grounded. The other end of capacitor C105 and the other end of resistor R54 are grounded. Pin 5 of the non-inverting input of amplifier U5B is simultaneously connected to the other end of resistor R64. The other end of resistor R65 is connected to one end of resistor R66. The other end of resistor R66 receives a 10V voltage. Pin 6 of the inverting input terminal of amplifier U5B is simultaneously connected to one end of resistor R63 and one end of capacitor C50. The other end of resistor R63 is grounded. Pin 7 of the output terminal of amplifier U5B is simultaneously connected to the other end of resistor R67, the other end of capacitor C50, and pin 1 of transistor Q11. Pin 2 of transistor Q11 receives a 12V voltage. Pin 3 of transistor Q11 is connected to the other end of resistor R67 and is also connected to the signal conditioning module circuit.

[0013] In a further embodiment, the signal conditioning module circuit includes: comparator U17, resistors R89, R110, R57, R58, R60, R59, R61, R129, LED1, Zener diode D4, Zener diode D3, transistor Q12, resistors R126, R92, R40, R29, SCR U51, and capacitor C42.

[0014] The comparator U17 receives signals at pins 8 and 11. Pins 1, 2, 13, and 14 of the comparator U17 are simultaneously connected to one end of resistor R89, one end of resistor R110, and pin 1 of transistor Q12. Pin 3 of the comparator U17 receives a +15V voltage, the other end of resistor R89 ​​receives a +12V voltage, the other end of resistor R110 is connected to pin 1 of LED1, pin 2 of LED1 is grounded, and pin 4 of the comparator U17... Pin 12 of comparator U17 receives a -12V voltage, pin 12 receives a -15V voltage, pin 5 of comparator U17 is connected to one end of resistor R57 and pin 1 of Zener diode D4, pin 2 of Zener diode D4 is grounded, the other end of resistor R57 receives a +15V voltage, pin 6 of comparator U17 is connected to one end of resistor R58 and pin 2 of Zener diode D3, pin 1 of Zener diode D3 is grounded, the other end of resistor R58 receives a -15V voltage, and the comparator... Pin 7 of comparator U17 receives a +12V voltage. Pin 9 of comparator U17 is connected to one end of resistor R60 and one end of resistor R61. Pin 10 of comparator U17 is connected to one end of resistor R59 and the other end of resistor R60. The other end of resistor R59 is grounded. The other end of resistor R61 receives a +12V voltage. One end of resistor R126 receives a +15V voltage, and the other end is connected to one end of resistor R92, one end of resistor R40, and pin 1 of the thyristor U1. One end of the capacitor C42 is connected to the pin of the thyristor U1, and a +10V voltage is input to pin 1. Pin 3 of the thyristor U1 is connected to the other end of the resistor R40 and one end of the resistor R29. The other end of the resistor R29 is grounded. Pin 2 of the thyristor U1 is grounded. The other end of the capacitor C42 is grounded. Pin 2 of the transistor Q12 is grounded. Pin 3 of the transistor Q12 is connected to one end of the resistor R129 and is connected to the MCU. A 3.3V voltage is input to the other end of the resistor R129.

[0015] In a further embodiment, the MCU is connected to resistor R125 and LED2;

[0016] One end of the resistor R125 is connected to the MCU, and the other end is connected to pin 1 of LED2. Pin 2 of LED2 is grounded.

[0017] In a further embodiment, the signal conditioning module circuit is used to control the adjustment and compensation of the automatic gain control circuit; the signal conditioning module circuit is used to acquire the current output by the automatic gain control circuit in the galvanometer drive system and other electrical signals characterizing its output current, such as the voltage signal of the base or emitter of its output transistor, and to condition the electrical signal into a signal received by the sampling module to sample the position signal.

[0018] In a further embodiment, the balance adjustment module is used to compensate for the differences in characteristics between the two sets of angle sensors inside the motor.

[0019] A laser welding system includes an alarm unit, a display unit, and the aforementioned digital drive motor position abnormality detection circuit;

[0020] The alarm unit is connected to the display unit via a control signal, and the display unit is used to display the detection results.

[0021] The alarm unit includes a buzzer circuit.

[0022] Beneficial effects: This utility model is used to obtain the position information of the rotor of the galvanometer motor by using an electrical signal output by a photoelectric position sensor in the galvanometer motor that is proportional to the position of the galvanometer motor; the amplitude and angle are adjusted by a control signal through an automatic gain control circuit, and a signal conditioning module circuit is added to control the intelligent adjustment and compensation process of the automatic gain control circuit. Thus, this utility model can detect abnormal motor operation in a timely manner, thereby protecting the motor. Attached Figure Description

[0023] Figure 1 This is a system structure diagram of this utility model.

[0024] Figure 2 This is a schematic diagram of the position feedback circuit of this utility model.

[0025] Figure 3 This is a schematic diagram of the automatic gain control circuit of this utility model.

[0026] Figure 4 This is a circuit diagram of the signal conditioning module of this utility model.

[0027] Figure 5 This is a schematic diagram of the AlexNet network structure of this utility model.

[0028] Figure 6 This is a schematic diagram of an abnormal operating state of the motor according to this utility model.

[0029] Figure 7 This is a schematic diagram of the normal operation of the motor according to this utility model. Figure 1 .

[0030] Figure 8 This is a schematic diagram of the normal operation of the motor according to this utility model. Figure 2 . Detailed Implementation

[0031] The technical solution of this utility model will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.

[0032] In the description of this utility model, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0033] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances. Furthermore, the technical features involved in the different embodiments of this utility model described below can be combined with each other as long as they do not conflict with each other.

[0034] Example 1:

[0035] A digital drive motor position anomaly detection circuit includes: an MCU, a drive chip, a galvanometer motor, a position feedback circuit, an automatic gain control circuit, and a signal conditioning module circuit;

[0036] In one embodiment, such as Figure 1 and Figure 5 As shown, the automatic gain control circuit includes an amplitude adjustment module and a balance adjustment module;

[0037] The galvanometer motor includes a photoelectric position sensor, and the output of the photoelectric position sensor is an electrical signal proportional to the position of the galvanometer motor.

[0038] The input terminal of the driver chip is connected to the MCU, and its output terminal is connected to the galvanometer motor. The input terminal of the position feedback circuit is connected to the output terminal of the photoelectric position sensor inside the galvanometer motor to input the motor feedback signal. The output terminal of the position feedback circuit is connected to the input terminals of the MCU and the automatic gain control circuit, respectively. The output terminal of the automatic gain control circuit is connected to the signal conditioning module circuit, and the output terminal of the signal conditioning module circuit is connected to the MCU.

[0039] In one embodiment, such as Figure 2 As shown, the position feedback circuit includes: resistors R119, R120, R121, capacitors C69, R124, C70, C102, R123, R122, C103, C104, and operational amplifier U52.

[0040] One end of resistor R119 and one end of resistor R120 are connected to the output terminal and input signal of the photoelectric position sensor inside the galvanometer motor. Pin 1 of operational amplifier U52 is simultaneously connected to the other end of resistor R120, one end of capacitor C69, and one end of resistor R121. Pin 8 of operational amplifier U52 is simultaneously connected to the other end of resistor R119, one end of capacitor C102, and one end of resistor R123. Pin 4 of operational amplifier U52 is simultaneously connected to the other end of capacitor C69 and one end of resistor R124. Pin 5 of operational amplifier U52 is simultaneously connected to the other end of capacitor C102 and resistor R121. One end of R122 is connected to the 3rd and 7th pins of the operational amplifier U52, which receive a 3.3V voltage. The 6th pin of the operational amplifier U52 is grounded. One end of the capacitor C70 is connected to the other ends of the resistor R124, the other end of the resistor R121, and one end of the capacitor C104, and outputs a positive signal to the MCU and the automatic gain control circuit. The other end of the capacitor C70 is grounded. One end of the capacitor C103 is connected to the other ends of the resistor R122, the other end of the resistor R123, and the other end of the capacitor C104, and outputs a negative signal to the MCU and the automatic gain control circuit. The other end of the capacitor C103 is grounded.

[0041] Specifically, the position signal is detected by a sensor inside the galvanometer motor. The task of the position signal detection module is to provide the current rotor position value for the galvanometer motor to achieve closed-loop control. The galvanometer motor used in this application integrates a photoelectric position sensor, which outputs an electrical signal proportional to the position of the galvanometer motor. As long as the output signal of the current position sensor is measured, the current position of the galvanometer motor can be determined.

[0042] In one embodiment, such as Figure 3 As shown, the automatic gain control circuit includes: resistors R52, R53, R54, R64, R65, R63, R66, R67, transistor Q11, capacitors C106, C105, C50, and amplifier U5B.

[0043] One end of resistor R52 is connected to one end of resistor R65 and outputs a positive signal. One end of resistor R53 is connected to one end of resistor R64 and outputs a negative signal. The other end of resistor R52 is simultaneously connected to one end of resistor R50 and one end of capacitor C106. The other end of resistor R53 is simultaneously connected to one end of resistor R54 and one end of capacitor C105. The other end of capacitor C106 and the other end of resistor R50 are grounded. The other end of capacitor C105 and the other end of resistor R54 are grounded. Pin 5 of the non-inverting input of amplifier U5B is simultaneously connected to the other end of resistor R64. The other end of resistor R65 is connected to one end of resistor R66. The other end of resistor R66 receives a 10V voltage. Pin 6 of the inverting input terminal of amplifier U5B is simultaneously connected to one end of resistor R63 and one end of capacitor C50. The other end of resistor R63 is grounded. Pin 7 of the output terminal of amplifier U5B is simultaneously connected to the other end of resistor R67, the other end of capacitor C50, and pin 1 of transistor Q11. Pin 2 of transistor Q11 receives a 12V voltage. Pin 3 of transistor Q11 is connected to the other end of resistor R67 and is also connected to the signal conditioning module circuit.

[0044] The specific principle of the automatic gain control circuit is as follows: the input terminal of the signal conditioning module circuit is electrically connected to the output terminal of the automatic gain control circuit; the balance adjustment module is used to compensate for the difference in characteristics between the two sets of angle sensors inside the motor.

[0045] In one embodiment, such as Figure 4 As shown, the signal conditioning module circuit includes: comparator U17, resistors R89, R110, R57, R58, R60, R59, R61, R129, LED1, Zener diode D4, Zener diode D3, transistor Q12, resistors R126, R92, R40, R29, SCR U51, and capacitor C42.

[0046] The comparator U17 receives signals at pins 8 and 11. Pins 1, 2, 13, and 14 of the comparator U17 are simultaneously connected to one end of resistor R89, one end of resistor R110, and pin 1 of transistor Q12. Pin 3 of the comparator U17 receives a +15V voltage, the other end of resistor R89 ​​receives a +12V voltage, the other end of resistor R110 is connected to pin 1 of LED1, pin 2 of LED1 is grounded, and pin 4 of the comparator U17... Pin 12 of comparator U17 receives a -12V voltage, pin 12 receives a -15V voltage, pin 5 of comparator U17 is connected to one end of resistor R57 and pin 1 of Zener diode D4, pin 2 of Zener diode D4 is grounded, the other end of resistor R57 receives a +15V voltage, pin 6 of comparator U17 is connected to one end of resistor R58 and pin 2 of Zener diode D3, pin 1 of Zener diode D3 is grounded, the other end of resistor R58 receives a -15V voltage, and the comparator... Pin 7 of comparator U17 receives a +12V voltage. Pin 9 of comparator U17 is connected to one end of resistor R60 and one end of resistor R61. Pin 10 of comparator U17 is connected to one end of resistor R59 and the other end of resistor R60. The other end of resistor R59 is grounded. The other end of resistor R61 receives a +12V voltage. One end of resistor R126 receives a +15V voltage, and the other end is connected to one end of resistor R92, one end of resistor R40, and pin 1 of the thyristor U1. One end of the capacitor C42 is connected to the pin of the thyristor U1, and a +10V voltage is input to pin 1. Pin 3 of the thyristor U1 is connected to the other end of the resistor R40 and one end of the resistor R29. The other end of the resistor R29 is grounded. Pin 2 of the thyristor U1 is grounded. The other end of the capacitor C42 is grounded. Pin 2 of the transistor Q12 is grounded. Pin 3 of the transistor Q12 is connected to one end of the resistor R129 and is connected to the MCU. A 3.3V voltage is input to the other end of the resistor R129.

[0047] The specific circuit principle of the signal conditioning module is as follows: It is used to control the intelligent adjustment and compensation process of the automatic gain control circuit. The signal conditioning module is used to acquire the current output by the automatic gain control circuit in the galvanometer drive system or other electrical signals that characterize its output current, such as the voltage signal at the base or emitter of its output transistor, and condition the electrical signal into a signal that the sampling module can receive, so that the system can directly sample the position signal.

[0048] In one embodiment, such as Figure 1As shown, the MCU is connected to resistor R125 and LED2;

[0049] One end of the resistor R125 is connected to the MCU, and the other end is connected to pin 1 of LED2. Pin 2 of LED2 is grounded.

[0050] Example 2:

[0051] A laser welding system includes an alarm unit, a display unit, and the aforementioned digital drive motor position anomaly detection circuit;

[0052] The alarm unit is connected to the display unit via a control signal, and the display unit is used to display the detection results.

[0053] The alarm unit includes a buzzer circuit.

[0054] This application uses a convolutional neural network model (AlexNet network structure).

[0055] The AlexNet network structure used (e.g.) Figure 5 (As shown) It contains a total of 8 learning layers: the first 5 layers are convolutional layers, and the last 3 layers are fully connected layers. Among these 5 convolutional layers, the 1st, 2nd, and 5th layers are followed by a max pooling layer.

[0056] The voltage signal output by the signal conditioning module when the galvanometer motor drive circuit is working normally is collected. The voltage signal is used as training data to establish a sample database and train the parameters of the convolutional neural network model.

[0057] The first stage is the learning phase, where the convolutional neural network model is trained, essentially learning what it needs to do. During this phase, the state of each computational unit remains unchanged, and the learning process involves continuously adjusting the weights on each connection. Once learning is complete, the network connection weights are adjusted, and the learned knowledge is distributed and stored across the network's connection weights. The second stage is the working phase, where the connection weights are fixed, but the computational units change to reach a stable state.

[0058] After the convolutional neural network model is trained and established, the algorithm is implemented through an MCU. When a portion of the voltage signal from the signal processing module enters the MCU, the convolutional neural network model evaluates the data.

[0059] The amplitude and angle can be adjusted separately by control signals. The generated signals are fed into the convolutional neural network model through the signal conditioning module to evaluate the amplitude and angle signals and determine the fit between the control signal and the feedback signal.

[0060] like Figure 6As shown, the differences in amplitude, period, rise time, and fall time between the control signal and the feedback signal are not constant, resulting in unsatisfactory operating results. The fit between the control signal and the feedback signal is very poor, causing abnormal motor operation, with the output power approaching 0, and the corresponding galvanometer motor stopping.

[0061] Figures 7 to 8 It can be seen that the amplitude, period, rise time, and fall time difference between the control signal and the feedback signal are constant, the fitting degree between the control signal and the feedback signal is very good, the running result is ideal, and the output power changes with the operating characteristics of the galvanometer motor.

[0062] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the protection scope of this invention.

Claims

1. A digital drive motor position anomaly detection circuit, characterized in that, include: MCU, driver chip, galvanometer motor, position feedback circuit, automatic gain control circuit and signal conditioning module circuit; The automatic gain control circuit includes an amplitude adjustment module and a balance adjustment module; The galvanometer motor includes a photoelectric position sensor, and the output of the photoelectric position sensor is an electrical signal proportional to the position of the galvanometer motor. The input terminal of the driver chip is connected to the MCU, and its output terminal is connected to the galvanometer motor. The input terminal of the position feedback circuit is connected to the output terminal of the photoelectric position sensor inside the galvanometer motor to input the motor feedback signal. The output terminal of the position feedback circuit is connected to the input terminals of the MCU and the automatic gain control circuit, respectively. The output terminal of the automatic gain control circuit is connected to the signal conditioning module circuit, and the output terminal of the signal conditioning module circuit is connected to the MCU.

2. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The position feedback circuit includes: resistors R119, R120, R121, capacitors C69, R124, C70, C102, R123, R122, C103, C104, and operational amplifier U52. One end of resistor R119 and one end of resistor R120 are connected to the output terminal and input signal of the photoelectric position sensor inside the galvanometer motor. Pin 1 of operational amplifier U52 is simultaneously connected to the other end of resistor R120, one end of capacitor C69, and one end of resistor R121. Pin 8 of operational amplifier U52 is simultaneously connected to the other end of resistor R119, one end of capacitor C102, and one end of resistor R123. Pin 4 of operational amplifier U52 is simultaneously connected to the other end of capacitor C69 and one end of resistor R124. Pin 5 of operational amplifier U52 is simultaneously connected to the other end of capacitor C102 and resistor R121. One end of R122 is connected to the 3rd and 7th pins of the operational amplifier U52, which receive a 3.3V voltage. The 6th pin of the operational amplifier U52 is grounded. One end of the capacitor C70 is connected to the other ends of the resistor R124, the other end of the resistor R121, and one end of the capacitor C104, and outputs a positive signal to the MCU and the automatic gain control circuit. The other end of the capacitor C70 is grounded. One end of the capacitor C103 is connected to the other ends of the resistor R122, the other end of the resistor R123, and the other end of the capacitor C104, and outputs a negative signal to the MCU and the automatic gain control circuit. The other end of the capacitor C103 is grounded.

3. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The automatic gain control circuit includes: resistors R52, R53, R54, R64, R65, R63, R66, R67, transistor Q11, capacitors C106, C105, C50, and amplifier U5B. One end of resistor R52 is connected to one end of resistor R65 and outputs a positive signal. One end of resistor R53 is connected to one end of resistor R64 and outputs a negative signal. The other end of resistor R52 is simultaneously connected to one end of resistor R50 and one end of capacitor C106. The other end of resistor R53 is simultaneously connected to one end of resistor R54 and one end of capacitor C105. The other end of capacitor C106 and the other end of resistor R50 are grounded. The other end of capacitor C105 and the other end of resistor R54 are grounded. Pin 5 of the non-inverting input of amplifier U5B is simultaneously connected to the other end of resistor R64. The other end of resistor R65 is connected to one end of resistor R66. The other end of resistor R66 receives a 10V voltage. Pin 6 of the inverting input terminal of amplifier U5B is simultaneously connected to one end of resistor R63 and one end of capacitor C50. The other end of resistor R63 is grounded. Pin 7 of the output terminal of amplifier U5B is simultaneously connected to the other end of resistor R67, the other end of capacitor C50, and pin 1 of transistor Q11. Pin 2 of transistor Q11 receives a 12V voltage. Pin 3 of transistor Q11 is connected to the other end of resistor R67 and is also connected to the signal conditioning module circuit.

4. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The signal conditioning module circuit includes: comparator U17, resistors R89, R110, R57, R58, R60, R59, R61, R129, LED1, Zener diode D4, Zener diode D3, transistor Q12, resistors R126, R92, R40, R29, SCR U51, and capacitor C42. The comparator U17 receives signals at pins 8 and 11. Pins 1, 2, 13, and 14 of the comparator U17 are simultaneously connected to one end of resistor R89, one end of resistor R110, and pin 1 of transistor Q12. Pin 3 of the comparator U17 receives a +15V voltage, the other end of resistor R89 ​​receives a +12V voltage, the other end of resistor R110 is connected to pin 1 of LED1, pin 2 of LED1 is grounded, and pin 4 of the comparator U17... Pin 12 of comparator U17 receives a -12V voltage, pin 12 receives a -15V voltage, pin 5 of comparator U17 is connected to one end of resistor R57 and pin 1 of Zener diode D4, pin 2 of Zener diode D4 is grounded, the other end of resistor R57 receives a +15V voltage, pin 6 of comparator U17 is connected to one end of resistor R58 and pin 2 of Zener diode D3, pin 1 of Zener diode D3 is grounded, the other end of resistor R58 receives a -15V voltage, and the comparator... Pin 7 of comparator U17 receives a +12V voltage. Pin 9 of comparator U17 is connected to one end of resistor R60 and one end of resistor R61. Pin 10 of comparator U17 is connected to one end of resistor R59 and the other end of resistor R60. The other end of resistor R59 is grounded. The other end of resistor R61 receives a +12V voltage. One end of resistor R126 receives a +15V voltage, and the other end is connected to one end of resistor R92, one end of resistor R40, and pin 1 of the thyristor U1. One end of the capacitor C42 is connected to the pin of the thyristor U1, and a +10V voltage is input to pin 1. Pin 3 of the thyristor U1 is connected to the other end of the resistor R40 and one end of the resistor R29. The other end of the resistor R29 is grounded. Pin 2 of the thyristor U1 is grounded. The other end of the capacitor C42 is grounded. Pin 2 of the transistor Q12 is grounded. Pin 3 of the transistor Q12 is connected to one end of the resistor R129 and is connected to the MCU. A 3.3V voltage is input to the other end of the resistor R129.

5. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The MCU is connected to resistor R125 and LED2; One end of the resistor R125 is connected to the MCU, and the other end is connected to pin 1 of LED2. Pin 2 of LED2 is grounded.

6. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The signal conditioning module circuit is used to control the adjustment and compensation of the automatic gain control circuit; the signal conditioning module circuit is used to acquire the current output by the automatic gain control circuit in the galvanometer drive system and other electrical signals characterizing its output current, such as the voltage signal of the base or emitter of its output transistor, and to condition the electrical signal into a signal received by the sampling module to sample the position signal.

7. The digital drive motor position anomaly detection circuit according to claim 1, characterized in that, The balance adjustment module is used to compensate for the differences in characteristics between the two sets of angle sensors inside the motor.

8. A laser welding system, characterized in that, Includes an alarm unit, a display unit, and the digital drive motor position anomaly detection circuit as described in any one of claims 1 to 7; The alarm unit is connected to the display unit via a control signal, and the display unit is used to display the detection results. The alarm unit includes a buzzer circuit.