Control circuit of fascia gun motor
By using the FOC control circuit to precisely control the angle and current of the fascia gun motor, the problems of high heat generation, high noise, and uncontrollable intensity of the fascia gun motor are solved, achieving a highly efficient, quiet, and adjustable massage intensity effect.
Patent Information
- Application Number
- CN202420700816.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2034-04-08
AI Technical Summary
Existing fascia gun motor control circuits suffer from problems such as high heat generation, high noise, and low control efficiency, making it impossible to control the massage intensity.
The fascia gun motor control circuit, which adopts FOC control, achieves precise control of the angle and current of the fascia gun motor through the combination of operational amplifier circuit, magnetic encoder circuit, microcontroller minimum system circuit, three-phase half-bridge drive circuit and three-phase inverter circuit, and combines PWM signal to accurately adjust torque and speed.
It achieves efficient control of the fascia gun motor, reduces heat generation and noise, expands the massage modes with controllable massage intensity, and improves battery life and massage effect.
Smart Images

Figure CN222395578U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of fascia gun motors, and in particular relates to a control circuit of a fascia gun motor. Background Art
[0002] The motor of the fascia gun is mainly a brushless DC motor (BLDC), which is mostly driven by a non-inductive square wave, and the control effect is poor at low speed. The existing control circuit of the fascia gun motor has low control efficiency, high heat generation, high noise, and can only achieve massage speed control, but cannot achieve massage intensity control.
[0003] In the prior art, the problem of motor heating is usually solved by reducing the motor power of the fascia gun and installing a heat dissipation device. The former does not fully utilize the motor power of the fascia gun, and the latter will cause the fascia gun to make excessive noise when working.
[0004] Existing technologies often reduce the noise of fascia guns during operation by optimizing the mechanical structure, but such an approach will introduce additional costs. Summary of the invention
[0005] In order to overcome the above problems existing in the prior art, the purpose of the utility model is to provide a control circuit for a fascia gun motor, which can realize FOC control and solve the problems of high heat generation, high noise, low control efficiency and inability to achieve massage intensity control in traditional fascia gun motor control at one time.
[0006] In order to achieve the above purpose, the technical solution adopted by the utility model is:
[0007] A control circuit for a fascia gun motor comprises an operational amplifier circuit 1, wherein the operational amplifier circuit 1 collects the current signal of a three-phase inverter circuit 5 and transmits it to a single-chip minimum system circuit 3, a magnetic encoder circuit 2 collects the angle θ and speed v signals of a fascia gun motor 6 and transmits them to the single-chip minimum system circuit 3, a three-phase half-bridge drive circuit 4 receives the PWM signal of the single-chip minimum system circuit 3 to control the three-phase inverter circuit 5, the three-phase inverter circuit 5 is connected to the fascia gun motor 6, and a power supply 7 supplies power to the operational amplifier circuit 1, the magnetic encoder circuit 2, the single-chip minimum system circuit 3, the three-phase half-bridge drive circuit 4, and the three-phase inverter circuit 5.
[0008] The operational amplifier circuit 1 includes an LMV358 chip, an OUT1 pin of the LMV358 chip is connected to the PA0 port of the single-chip microcomputer minimum system circuit 3, an OUT2 pin of the LMV358 chip is connected to the PA1 port of the single-chip microcomputer minimum system circuit 3, a VCC pin of the LMV358 chip is connected to the 3.3V port of the power supply 7, a GND of the LMV358 chip is connected to the DGND of the power supply 7, a 100nf capacitor C1 is connected in parallel to the VCC and GND of the LMV358 chip, and the resistor and the LMV358 chip form two operational amplifiers connected to the UNA, UPA, WNA, and WPA ports of the three-phase inverter circuit 5. The operational amplifier circuit 1 is used to sample the three-phase current of the motor to achieve torque control.
[0009] The magnetic encoder circuit 2 includes an AS5600 chip, a 10KΩ resistor R_1, a 10KΩ resistor R_2, a 10KΩ resistor R_3, a 100nf capacitor C_1, a PWM and analog output terminal CN1, and an I2C output terminal CN2;
[0010] The SCL and SDA ports of the AS5600 chip are pulled up by 10KΩ resistors R_1 and 10KΩ resistors R_2 and connected to the I2C output terminal CN2. The I2C output terminal CN2 is connected to the PB10 and PB11 ports of the microcontroller minimum system circuit 3 through a flat cable. The OUT port of the AS5600 chip is connected to the PWM and analog output terminal CN1. The VCC port of the AS5600 chip is connected to the 3.3V of the power supply 7. The GND port of the AS5600 chip is connected to the GND of the power supply 7. The 100nf capacitor C_1 and the 100nf capacitor C_2 are connected in parallel to the VCC and GND of the AS5600 chip. The magnetic encoder circuit 2 is used to obtain the angle of the fascia gun motor 6 to decouple the current and obtain the torque signal.
[0011] The single-chip computer minimum system circuit 3 includes an STM32 F103C8T6 chip, an 8MHZ crystal oscillator, a 22pf capacitor C10, a 22pf capacitor C11, a 100nf capacitor C30, a 10KΩ resistor R39, a 2.54-2*3P pin header, and a reset switch SW1;
[0012] The 8MHZ crystal oscillator is connected to the PD0 and PD1 ports of the STM32 F103C8T6 chip respectively, the 22pf capacitor C10 is connected to the PD1 port and the DGND of the power supply 7, the 22pf capacitor C11 is connected to the PD0 port and the DGND of the power supply 7, the 3 and 4 ports of the 2.54-2*3P pin header are connected to the BOOT0 port and BOOT1 port of the STM32 F103C8T6 chip respectively, the 10KΩ resistor R39 is connected to the 3.3V of the power supply 7 and the NRST port of the STM32F103C8T6 chip, and the 100nf capacitor C30 and the reset switch SW1 are connected in parallel to the DGND of the power supply 7 and the NRST port of the STM32 F103C8T6 chip.
[0013] The three-phase half-bridge drive circuit 4 includes an EG2133 chip, a FR107 diode D1, a FR107 diode D2, a FR107 diode D3, a 22uf capacitor C2, a 22uf capacitor C3, and a 22uf capacitor C4;
[0014] The positive electrode of FR107 diode D1 is connected to 12V of power supply 7, the negative electrode of FR107 diode D1 is connected to VB1 port of EG2133 chip, the positive electrode of FR107 diode D1 is connected to 12V of power supply 7, the negative electrode of FR107 diode D1 is connected to VB1 port of EG2133 chip, the positive electrode of FR107 diode D2 is connected to 12V of power supply 7, the negative electrode of FR107 diode D2 is connected to VB2 port of EG2133 chip, the positive electrode of FR107 diode D3 is connected to 12V of power supply 7, the negative electrode of FR107 diode D3 is connected to VB3 port of EG2133 chip, and the 22uf capacitor C2 is connected to VB1 and VS1 ports of EG2133 chip port, the 22uf capacitor C3 is connected to the VB2 and VS2 ports of the EG2133 chip, the 22uf capacitor C4 is connected to the VB3 and VS3 ports of the EG2133 chip, the VS1 of the EG2133 chip is connected to the UA phase of the fascia gun motor 6, the VS2 of the EG2133 chip is connected to the VA phase of the fascia gun motor 6, the VS3 of the EG2133 chip is connected to the WA phase of the fascia gun motor 6, the HIN1 and LIN1 of the EG2133 chip are both connected to PA8 of the microcontroller minimum system circuit 3, the HIN2 and LIN2 of the EG2133 chip are both connected to PA9 of the microcontroller minimum system circuit 3, and the HIN3 and LIN3 of the EG2133 chip are both connected to PA10 of the microcontroller minimum system circuit 3.
[0015] The three-phase inverter circuit 5 includes NCE6080K MOS tube Q1, NCE6080K MOS tube Q2, NCE6080K MOS tube Q3, NCE6080K MOS tube Q44, NCE6080K MOS tube Q5, NCE6080K MOS tube Q6, 1N4148W diode D7, 1N4148W diode D8, 1N4148W diode D9, 1N4148W diode D10, 1N4148W diode D11, 1N4148W diode D12, 10Ω resistor R10, 10Ω resistor R11, 10Ω resistor R12, 10Ω resistor R13, 10Ω resistor R14, 10Ω resistor R15, 10mΩ resistor R16, 10mΩ resistor R35, 100nf capacitor C23, 100nf capacitor C24;
[0016] The source of NCE6080K MOS tube Q1 is connected to the drain of NCE6080K MOS tube Q6, the drain of NCE6080K MOS tube Q1 is connected to 12V of power supply 7, the source of NCE6080K MOS tube Q6 is connected to one end of 10mΩ resistor R16, the other end of 10mΩ resistor R16 is connected to GND of power supply 7, the source of NCE6080K MOS tube Q3 is connected to the drain of NCE6080K MOS tube Q4, the drain of NCE6080K MOS tube Q3 is connected to 12V of power supply 7, the source of NCE6080K MOS tube Q4 is connected to one end of 10mΩ resistor R35, the other end of 10mΩ resistor R35 is connected to GND of power supply 7, the source of NCE6080K MOS tube Q2 is connected to the drain of NCE6080K MOS tube Q5, NCE6080K The drain of the MOS tube Q2 is connected to the 12V of the power supply 7, the source of the NCE6080K MOS tube Q5 is connected to the GND of the power supply 7, and the three-phase inverter circuit 5 is used to convert direct current into alternating current to drive the fascia gun motor 6.
[0017] The power supply 7 includes a 100uf capacitor C16, a 100uf capacitor C17, a 100uf capacitor C18, a 100uf capacitor C19, a 10uf capacitor C31, a 0.1uf capacitor C32, a 100nf capacitor C33, a 5V voltage regulator module, an AMS1117-3.3 chip, and a 0Ω resistor R38;
[0018] 0Ω resistor R38 connects GNG and DGNGD, 5V voltage regulator module is used to convert 12V to 5V for low voltage components, 100uf capacitor C16, 100uf capacitor C17, 100uf capacitor C18 and 100uf capacitor C19 are directly connected in series to the 12V power supply, AMS1117-3.3 chip input is 5V, output is 3.3V, 10uf capacitor C31 and 0.1uf capacitor C32 are connected in series to the 3.3V power supply to filter the 3.3V power supply.
[0019] Beneficial effects of the utility model:
[0020] The utility model can realize efficient control of the fascia gun motor, reduce the heat generated by the fascia gun motor, and improve the overall endurance of the fascia gun; the utility model can reduce the noise of the fascia gun motor during operation; the utility model can realize torque control of the fascia gun motor, and expand a new massage mode with controllable massage intensity for the fascia gun. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a structural block diagram of a utility model control circuit.
[0022] Figure 2 It is a utility model three-phase inverter circuit diagram.
[0023] Figure 3 It is a utility model operational amplifier circuit diagram.
[0024] Figure 4 This is a utility model magnetic encoder circuit diagram.
[0025] Figure 5 The utility model is a three-phase half-bridge driving circuit diagram.
[0026] Figure 6 It is the minimum system circuit diagram of a utility model single chip microcomputer.
[0027] Figure 7 It is a utility model power supply circuit diagram.
[0028] Figure 8 This is a diagram of the connection method of the utility model magnetic encoder circuit and the fascia gun motor.
[0029] The reference numerals include: 1-operational amplifier circuit; 2-magnetic encoder circuit; 3-single-chip microcomputer minimum system circuit; 4-three-phase half-bridge drive circuit; 5-three-phase inverter circuit; 6-fascia gun motor; 7-power supply. DETAILED DESCRIPTION
[0030] The utility model is further described in detail below in conjunction with the accompanying drawings.
[0031] like Figure 1As shown, the control circuit includes an operational amplifier circuit 1, a magnetic encoder circuit 2, a single-chip computer minimum system circuit 3, a three-phase half-bridge drive circuit 4, a three-phase inverter circuit 5, and a power supply 7;
[0032] The operational amplifier circuit 1 collects the current signal of the three-phase inverter circuit 5 and transmits it to the single-chip minimum system circuit 3, the magnetic encoder circuit 2 collects the angle θ and speed v signals of the fascia gun motor 6 and transmits them to the single-chip minimum system circuit 3, the three-phase half-bridge drive circuit 4 receives the PWM signal of the single-chip minimum system circuit 3 to control the three-phase inverter circuit 5, the three-phase inverter circuit 5 is connected to the fascia gun motor 6, and the power supply 7 supplies power to the operational amplifier circuit 1, the magnetic encoder circuit 2, the single-chip minimum system circuit 3, the three-phase half-bridge drive circuit 4, and the three-phase inverter circuit 5.
[0033] Preferably, the operational amplifier circuit 1 uses the LMV358 chip as the current sampling amplifier chip.
[0034] Preferably, the magnetic encoder circuit 2 uses an AS5600 chip as a chip for acquiring the motor angle θ and speed v.
[0035] Preferably, the single-chip computer minimum system circuit 3 selects STM32 F103C8T6 chip as the main control of the load control method.
[0036] Preferably, the three-phase half-bridge driving circuit 4 selects the EG2133 chip as the driving chip of the three-phase inverter circuit 5 .
[0037] Preferably, the three-phase inverter circuit 5 uses the full N-type MOS tube NCE6080K as the main switch tube of the circuit.
[0038] Preferably, the power supply 7 includes 12V, 5V, 3.3V power supplies, which are sufficient to power the entire device.
[0039] The operational amplifier circuit 1 includes an LMV358 chip, a 30KΩ resistor R1, a 30KΩ resistor R2, a 1KΩ resistor R3, a 510Ω resistor R4, a 1KΩ resistor R5, a 30KΩ resistor R6, a 510Ω resistor R7, a 30KΩ resistor R8, and a 100nf capacitor C1.
[0040] like Figure 3As shown, the OUT1 pin of the LMV358 chip is connected to the PA0 port of the single-chip minimum system circuit 3, the OUT2 pin of the LMV358 chip is connected to the PA1 port of the single-chip minimum system circuit 3, the VCC pin of the LMV358 chip is connected to the 3.3V port of the power supply 7, the GND of the LMV358 chip is connected to the DGND of the power supply 7, the 100nf capacitor C1 is connected in parallel to the VCC and GND of the LMV358 chip, and the resistor and the LMV358 chip form two operational amplifiers connected to the UNA, UPA, WNA, and WPA ports of the three-phase inverter circuit 5. The operational amplifier circuit 1 is used to sample the three-phase current of the motor to achieve torque control.
[0041] The magnetic encoder circuit 2 includes an AS5600 chip, a 10KΩ resistor R_1, a 10KΩ resistor R_2, a 10KΩ resistor R_3, a 100nf capacitor C_1, a PWM and analog output terminal CN1, and an I2C output terminal CN2.
[0042] like Figure 4 As shown, the SCL and SDA ports of the AS5600 chip are pulled up by 10KΩ resistors R_1 and 10KΩ resistors R_2 and connected to the I2C output terminal CN2. The I2C output terminal CN2 is connected to the PB10 and PB11 ports of the microcontroller minimum system circuit 3 through a flat cable. The OUT port of the AS5600 chip is connected to the PWM and analog output terminal CN1. The VCC port of the AS5600 chip is connected to the 3.3V of the power supply 7. The GND port of the AS5600 chip is connected to the GND of the power supply 7. The 100nf capacitor C_1 and the 100nf capacitor C_2 are connected in parallel to the VCC and GND of the AS5600 chip. The magnetic encoder circuit 2 is used to obtain the angle of the fascia gun motor 6 to decouple the current to obtain the torque signal. The connection method between the magnetic encoder circuit 2 and the fascia gun motor 6 is as follows Figure 8 shown.
[0043] The single-chip computer minimum system circuit 3 includes an STM32 F103C8T6 chip, an 8MHZ crystal oscillator, a 22pf capacitor C10, a 22pf capacitor C11, a 100nf capacitor C30, a 10KΩ resistor R39, a 2.54-2*3P pin header, and a reset switch SW1.
[0044] like Figure 6As shown, the 8MHZ crystal oscillator is connected to the PD0 and PD1 ports of the STM32 F103C8T6 chip respectively, the 22pf capacitor C10 is connected to the PD1 port and the DGND of the power supply 7, the 22pf capacitor C11 is connected to the PD0 port and the DGND of the power supply 7, the 3 and 4 ports of the 2.54-2*3P pin header are connected to the BOOT0 port and the BOOT1 port of the STM32 F103C8T6 chip respectively, the 10KΩ resistor R39 is connected to the 3.3V of the power supply 7 and the NRST port of the STM32F103C8T6 chip, and the 100nf capacitor C30 and the reset switch SW1 are connected in parallel to the DGND of the power supply 7 and the NRST port of the STM32 F103C8T6 chip.
[0045] The three-phase half-bridge driving circuit 4 includes an EG2133 chip, a FR107 diode D1, a FR107 diode D2, a FR107 diode D3, a 22uf capacitor C2, a 22uf capacitor C3, and a 22uf capacitor C4.
[0046] like Figure 5 As shown, the positive electrode of FR107 diode D1 is connected to 12V of power supply 7, the negative electrode of FR107 diode D1 is connected to VB1 port of EG2133 chip, the positive electrode of FR107 diode D1 is connected to 12V of power supply 7, the negative electrode of FR107 diode D1 is connected to VB1 port of EG2133 chip, the positive electrode of FR107 diode D2 is connected to 12V of power supply 7, the negative electrode of FR107 diode D2 is connected to VB2 port of EG2133 chip, the positive electrode of FR107 diode D3 is connected to 12V of power supply 7, the negative electrode of FR107 diode D3 is connected to VB3 port of EG2133 chip, and 22uf capacitor C2 is connected to VB1 and VS1 of EG2133 chip. Port, 22uf capacitor C3 is connected to VB2 and VS2 ports of EG2133 chip, 22uf capacitor C4 is connected to VB3 and VS3 ports of EG2133 chip, VS1 of EG2133 chip is connected to UA phase of fascia gun motor 6, VS2 of EG2133 chip is connected to VA phase of fascia gun motor 6, VS3 of EG2133 chip is connected to WA phase of fascia gun motor 6, HIN1 and LIN1 of EG2133 chip are connected to PA8 of single-chip minimum system circuit 3, HIN2 and LIN2 of EG2133 chip are connected to PA9 of single-chip minimum system circuit 3, HIN3 and LIN3 of EG2133 chip are connected to PA10 of single-chip minimum system circuit 3. Due to the limited driving capability of single-chip minimum system circuit 3, three-phase half-bridge drive circuit 4 is used to drive three-phase inverter circuit 5.
[0047] The three-phase inverter circuit 5 includes NCE6080K MOS tube Q1, NCE6080K MOS tube Q2, NCE6080K MOS tube Q3, NCE6080K MOS tube Q44, NCE6080K MOS tube Q5, NCE6080K MOS tube Q6, 1N4148W diode D7, 1N4148W diode D8, 1N4148W diode D9, 1N4148W diode D10, 1N4148W diode D11, 1N4148W diode D12, 10Ω resistor R10, 10Ω resistor R11, 10Ω resistor R12, 10Ω resistor R13, 10Ω resistor R14, 10Ω resistor R15, 10mΩ resistor R16, 10mΩ resistor R35, 100nf capacitor C23, and 100nf capacitor C24.
[0048] like Figure 2 As shown, the source of NCE6080K MOS tube Q1 is connected to the drain of NCE6080K MOS tube Q6, the drain of NCE6080K MOS tube Q1 is connected to 12V of power supply 7, the source of NCE6080K MOS tube Q6 is connected to one end of 10mΩ resistor R16, the other end of 10mΩ resistor R16 is connected to GND of power supply 7, the source of NCE6080K MOS tube Q3 is connected to the drain of NCE6080K MOS tube Q4, the drain of NCE6080K MOS tube Q3 is connected to 12V of power supply 7, the source of NCE6080K MOS tube Q4 is connected to one end of 10mΩ resistor R35, the other end of 10mΩ resistor R35 is connected to GND of power supply 7, the source of NCE6080K MOS tube Q2 is connected to the drain of NCE6080K MOS tube Q5, NCE6080K The drain of the MOS tube Q2 is connected to the 12V of the power supply 7, and the source of the NCE6080K MOS tube Q5 is connected to the GND of the power supply 7. The three-phase inverter circuit 5 is used to convert direct current into alternating current to drive the fascia gun motor 6.
[0049] The power supply 7 includes a 100uf capacitor C16, a 100uf capacitor C17, a 100uf capacitor C18, a 100uf capacitor C19, a 10uf capacitor C31, a 0.1uf capacitor C32, a 100nf capacitor C33, a 5V voltage regulator module, an AMS1117-3.3 chip, and a 0Ω resistor R38.
[0050] like Figure 7As shown, 0Ω resistor R38 connects GNG and DGNGD to isolate signal interference. The 5V voltage regulator module is used to convert 12V to 5V for use by low-voltage components. 100uf capacitor C16, 100uf capacitor C17, 100uf capacitor C18 and 100uf capacitor C19 are directly connected in series to the 12V power supply to filter the 12V power supply. The input of the AMS1117-3.3 chip is 5V and the output is 3.3V. 10uf capacitor C31 and 0.1uf capacitor C32 are connected in series to the 3.3V power supply to filter the 3.3V power supply.
[0051] like Figure 8 As shown, the radial magnetized magnet is fixedly connected to the fascia gun motor, and there is a gap of 1-2mm between the AS5600 chip and the radial magnetized magnet. When the fascia gun motor rotates, the radial magnetized magnet is driven to rotate, so that the angle value of the fascia gun motor is collected by the AS5600 chip.
[0052] The working principle of this utility model:
[0053] The angle θ of the fascia gun motor 6 is detected by using the magnetic encoder circuit 2, and is collected by the I2C port of the single-chip minimum system circuit 3; the three-phase current of the fascia gun motor 6 is detected by the operational amplifier circuit 1, and is collected by the ADC port of the single-chip minimum system circuit 3, and the angle θ of the fascia gun motor 6 and the three-phase current of the fascia gun motor 6 are combined to control in the single-chip minimum system circuit 3, and then the control result is controlled by the PWM port of the single-chip minimum system circuit 3 to control the three-phase inverter circuit 5 and then the fascia gun motor 6. By collecting the three-phase current of the fascia gun motor, the torque of the fascia gun motor 6 can be accurately controlled, the massage intensity of the fascia gun can be infinitely controlled, the heat of the fascia gun motor can be reduced, and the function of the fascia gun can be expanded. By accurately controlling the output torque of the fascia gun motor 6, the torque fluctuation is reduced, and the noise during operation is greatly reduced. The speed v of the fascia gun motor 6 is detected by using the magnetic encoder circuit 2 to achieve accurate and infinite speed control. And because speed control is based on torque control, the massage intensity can be limited while controlling the massage speed to protect the user.
Claims
1. A control circuit for a fascia gun motor, characterized in that: The invention comprises an operational amplifier circuit (1), wherein the operational amplifier circuit (1) collects current signals from a three-phase inverter circuit (5) and transmits the current signals to a single-chip minimum system circuit (3); a magnetic encoder circuit (2) collects angle θ and speed v signals from a fascia gun motor (6) and transmits the signals to the single-chip minimum system circuit (3); a three-phase half-bridge drive circuit (4) receives PWM signals from the single-chip minimum system circuit (3) to control the three-phase inverter circuit (5); the three-phase inverter circuit (5) is connected to the fascia gun motor (6); and a power supply (7) supplies power to the operational amplifier circuit (1), the magnetic encoder circuit (2), the single-chip minimum system circuit (3), the three-phase half-bridge drive circuit (4), and the three-phase inverter circuit (5).
2. The control circuit of a fascia gun motor according to claim 1, characterized in that: The operational amplifier circuit (1) comprises an LMV358 chip, an OUT1 pin of the LMV358 chip is connected to a PA0 port of a single-chip microcomputer minimum system circuit (3), an OUT2 pin of the LMV358 chip is connected to a PA1 port of a single-chip microcomputer minimum system circuit (3), a VCC pin of the LMV358 chip is connected to a 3.3V port of a power supply (7), a GND of the LMV358 chip is connected to a DGND of the power supply (7), a 100nf capacitor C1 is connected in parallel to the VCC and GND of the LMV358 chip, a resistor and the LMV358 chip form two operational amplifiers connected to UNA, UPA, WNA, and WPA ports of a three-phase inverter circuit (5), and the operational amplifier circuit (1) is used to sample the three-phase current of the motor to achieve torque control.
3. The control circuit of a fascia gun motor according to claim 1, characterized in that: The magnetic encoder circuit (2) comprises an AS5600 chip, a 10KΩ resistor R_1, a 10KΩ resistor R_2, a 10KΩ resistor R_3, a 100nf capacitor C_1, a PWM and analog output terminal CN1, and an I2C output terminal CN2; The SCL and SDA ports of the AS5600 chip are pulled up by 10KΩ resistors R_1 and 10KΩ resistors R_2 and connected to the I2C output terminal CN2. The I2C output terminal CN2 is connected to the PB10 and PB11 ports of the microcontroller minimum system circuit (3) through a flat cable. The OUT port of the AS5600 chip is connected to the PWM and analog output terminal CN1. The VCC port of the AS5600 chip is connected to the 3.3V of the power supply (7). The GND port of the AS5600 chip is connected to the GND of the power supply (7). The 100nf capacitor C_1 and the 100nf capacitor C_2 are connected in parallel to the VCC and GND of the AS5600 chip. The magnetic encoder circuit (2) is used to obtain the angle of the fascia gun motor (6) to decouple the current and obtain the torque signal.
4. The control circuit of a fascia gun motor according to claim 1, characterized in that: The single-chip computer minimum system circuit (3) comprises an STM32 F103C8T6 chip, an 8MHZ crystal oscillator, a 22pf capacitor C10, a 22pf capacitor C11, a 100nf capacitor C30, a 10KΩ resistor R39, a 2.54-2*3P pin header, and a reset switch SW1; The 8MHZ crystal oscillator is connected to the PD0 and PD1 ports of the STM32 F103C8T6 chip respectively, the 22pf capacitor C10 is connected to the PD1 port and the DGND of the power supply (7), the 22pf capacitor C11 is connected to the PD0 port and the DGND of the power supply (7), the 3 and 4 ports of the 2.54-2*3P pin header are connected to the BOOT0 port and BOOT1 port of the STM32 F103C8T6 chip respectively, the 10KΩ resistor R39 is connected to the 3.3V of the power supply (7) and the NRST port of the STM32 F103C8T6 chip, the 100nf capacitor C30 and the reset switch SW1 are connected in parallel to the DGND of the power supply (7) and the NRST port of the STM32 F103C8T6 chip.
5. The control circuit of a fascia gun motor according to claim 1, characterized in that: The three-phase half-bridge drive circuit (4) comprises an EG2133 chip, a FR107 diode D1, a FR107 diode D2, a FR107 diode D3, a 22uf capacitor C2, a 22uf capacitor C3, and a 22uf capacitor C4; The positive electrode of FR107 diode D1 is connected to the 12V of power supply (7), the negative electrode of FR107 diode D1 is connected to the VB1 port of EG2133 chip, the positive electrode of FR107 diode D1 is connected to the 12V of power supply (7), the negative electrode of FR107 diode D1 is connected to the VB1 port of EG2133 chip, the positive electrode of FR107 diode D2 is connected to the 12V of power supply (7), the negative electrode of FR107 diode D2 is connected to the VB2 port of EG2133 chip, the positive electrode of FR107 diode D3 is connected to the 12V of power supply (7), the negative electrode of FR107 diode D3 is connected to the VB3 port of EG2133 chip, and the 22uf capacitor C2 is connected to the VB1 and VS1 ports of EG2133 chip. The 22uf capacitor C3 is connected to the VB2 and VS2 ports of the EG2133 chip, the 22uf capacitor C4 is connected to the VB3 and VS3 ports of the EG2133 chip, the VS1 of the EG2133 chip is connected to the UA phase of the fascia gun motor (6), the VS2 of the EG2133 chip is connected to the VA phase of the fascia gun motor (6), the VS3 of the EG2133 chip is connected to the WA phase of the fascia gun motor (6), the HIN1 and LIN1 of the EG2133 chip are connected to PA8 of the microcontroller minimum system circuit (3), the HIN2 and LIN2 of the EG2133 chip are connected to PA9 of the microcontroller minimum system circuit (3), and the HIN3 and LIN3 of the EG2133 chip are connected to PA10 of the microcontroller minimum system circuit (3).
6. The control circuit of a fascia gun motor according to claim 1, characterized in that: The three-phase inverter circuit (5) comprises NCE6080K MOS tube Q1, NCE6080K MOS tube Q2, NCE6080K MOS tube Q3, NCE6080K MOS tube Q44, NCE6080K MOS tube Q5, NCE6080K MOS tube Q6, 1N4148W diode D7, 1N4148W diode D8, 1N4148W diode D9, 1N4148W diode D10, 1N4148W diode D11, 1N4148W diode D12, 10Ω resistor R10, 10Ω resistor R11, 10Ω resistor R12, 10Ω resistor R13, 10Ω resistor R14, 10Ω resistor R15, 10mΩ resistor R16, 10mΩ resistor R35, 100nf capacitor C23, 100nf capacitor C24; The source of NCE6080K MOS tube Q1 is connected to the drain of NCE6080K MOS tube Q6, the drain of NCE6080K MOS tube Q1 is connected to 12V of power supply (7), the source of NCE6080K MOS tube Q6 is connected to one end of 10mΩ resistor R16, the other end of 10mΩ resistor R16 is connected to GND of power supply (7), the source of NCE6080K MOS tube Q3 is connected to the drain of NCE6080K MOS tube Q4, the drain of NCE6080K MOS tube Q3 is connected to 12V of power supply (7), the source of NCE6080K MOS tube Q4 is connected to one end of 10mΩ resistor R35, the other end of 10mΩ resistor R35 is connected to GND of power supply (7), the source of NCE6080K MOS tube Q2 is connected to NCE6080K The drain of the MOS tube Q5 is connected, the drain of the NCE6080K MOS tube Q2 is connected to the 12V of the power supply (7), the source of the NCE6080K MOS tube Q5 is connected to the GND of the power supply (7), and the three-phase inverter circuit (5) is used to convert direct current into alternating current to drive the fascia gun motor (6).
7. The control circuit of a fascia gun motor according to claim 1, characterized in that: The power supply (7) includes a 100uf capacitor C16, a 100uf capacitor C17, a 100uf capacitor C18, a 100uf capacitor C19, a 10uf capacitor C31, a 0.1uf capacitor C32, a 100nf capacitor C33, a 5V voltage regulator module, an AMS1117-3.3 chip, and a 0Ω resistor R38; 0Ω resistor R38 connects GNG and DGNGD, 5V voltage regulator module is used to convert 12V to 5V for low voltage components, 100uf capacitor C16, 100uf capacitor C17, 100uf capacitor C18 and 100uf capacitor C19 are directly connected in series to the 12V power supply, AMS1117-3.3 chip input is 5V, output is 3.3V, 10uf capacitor C31 and 0.1uf capacitor C32 are connected in series to the 3.3V power supply to filter the 3.3V power supply.