Motor control circuit and flat knitting machine

By detecting the state of the stepping pulse signal in the motor control circuit and outputting different voltage values, the problem of high power consumption of the motor module is solved, a low-power design of the motor module is realized, the service life of the motor is extended, and the improvement cost is reduced.

CN221961741UActive Publication Date: 2024-11-05FUJIAN RAYNEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323627051.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-11-05
Estimated Expiration
2033-12-28

AI Technical Summary

Technical Problem

Traditional motor module control methods lead to unnecessary increases in power consumption and module temperature, affecting lifespan. At the same time, the need for independent current settings increases hardware and software costs.

Method used

By outputting reference voltage signals with different voltage values ​​when the stepping pulse signal is running and stopping, which are used for the motor's running and shaft locking states respectively, the power consumption of the motor control circuit is reduced. This is achieved through hardware improvements only, without the need for software improvements.

Benefits of technology

This effectively reduces the power consumption of the motor control circuit, extends the service life of the motor module, and lowers the cost of improvement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221961741U_ABST
    Figure CN221961741U_ABST
Patent Text Reader

Abstract

The utility model discloses a motor control circuit and a flat knitting machine, and the motor control circuit comprises a reference voltage generation module which is configured to receive a reference voltage input signal and a stepping pulse signal, and output a first reference voltage signal when the stepping pulse signal operates, or outputting a second reference voltage signal when the stepping pulse signal stops, wherein the voltage value of the second reference voltage signal is smaller than that of the first reference voltage signal; and the motor control module is connected with the reference voltage generation module and the motor, and the motor control module is configured to receive the first reference voltage signal or the second reference voltage signal and generate current based on the first reference voltage signal or the second reference voltage signal. In this way, the power consumption of the motor control circuit can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor control technology, and in particular to a motor control circuit and a flat knitting machine. Background Art

[0002] The electronic control system for a flat knitting machine is the core component of a computerized flat knitting machine, with the knitting machine head being a key component. The knitting machine head is composed of numerous independent motor modules, each of which can independently drive four stepper motors. The traditional method for controlling the operating current of the motor modules is to use the same voltage reference for current setting for the four motors in each module. Software-generated voltages are used to configure the operating current of all motors in the module, without distinguishing between currents in the locked state. In this case, unless all four motors on the same module are locked, if one motor is operating at high current, the remaining locked motors must also maintain the locked state at the same current as the operating motor. This increases unnecessary power consumption and raises the module temperature, impacting its service life. However, if dozens of motor modules require independent voltage references for current setting, the required hardware and software costs will increase significantly, and the software code will also generate significant overhead. Utility Model Content

[0003] In order to solve the above problems, the present application provides a motor control circuit and a knitting machine, which can reduce the power consumption of the motor control circuit.

[0004] A technical solution adopted in the present application is: to provide a motor control circuit, which includes: a reference voltage generation module, configured to receive a reference voltage input signal and a step pulse signal, and output a first reference voltage signal when the step pulse signal is running, or output a second reference voltage signal when the step pulse signal stops, and the voltage value of the second reference voltage signal is less than the voltage value of the first reference voltage signal; a motor control module, connecting the reference voltage generation module and the motor, the motor control module is configured to receive the first reference voltage signal or the second reference voltage signal, and generate a current for the motor running state or the locked shaft state based on the first reference voltage signal or the second reference voltage signal.

[0005] In one embodiment, the reference voltage generation module includes a comparison unit and a voltage divider unit, the first receiving end of the comparison unit is configured to receive a step pulse signal, and the second input end of the comparison unit is configured to receive a reference voltage signal; the first end of the voltage divider unit is configured to receive a reference voltage input signal, the second end of the voltage divider unit is connected to the output end of the comparison unit, and the voltage dividing node of the voltage divider unit is configured to output a first reference voltage signal or a second reference voltage signal.

[0006] In one embodiment, the comparison unit includes a first resistor, a second resistor and a comparator, the first end of the first resistor is configured to receive a power supply signal, and the second end of the first resistor is configured to output a reference voltage signal; the first end of the second resistor is connected to the second end of the first resistor, and the second end of the second resistor is grounded; the non-inverting input end of the comparator is configured to receive a step pulse signal, and the inverting input end of the comparator is connected to the second end of the first resistor.

[0007] In one embodiment, the comparison unit also includes a third resistor and a first capacitor, the first end of the third resistor is configured to receive a step pulse signal, and the second end of the third resistor is connected to the positive input end of the comparator; the first end of the first capacitor is connected to the second end of the third resistor, and the second end of the first capacitor is grounded.

[0008] In one embodiment, the voltage divider unit includes a fourth resistor and a fifth resistor, the first end of the fourth resistor is configured to receive a reference voltage input signal, and the second end of the fourth resistor is configured to output a first reference voltage signal or a second reference voltage signal; the first end of the fifth resistor is connected to the second end of the fourth resistor, and the second end of the fifth resistor is connected to the output end of the comparator.

[0009] In one embodiment, the reference voltage generating module further includes a follower, the non-inverting input terminal of the follower is configured to receive a reference voltage input signal, the inverting input terminal of the follower is connected to the output terminal of the follower, and the output terminal of the follower is connected to the first terminal of the voltage divider unit.

[0010] In one embodiment, the motor control circuit also includes a signal interface and a signal processing module, the signal interface is connected to the reference voltage generation module, and the signal interface is configured to receive a data signal, an enable signal, a control pulse signal and a reference voltage input signal; a signal processing module, connected to the signal interface and the motor control module, the signal processing module is configured to be enabled in response to the enable signal, and to generate a direction control signal and a step pulse signal based on the data signal and the control pulse signal, and output the direction control signal and the step pulse signal to the motor control module.

[0011] In one embodiment, the motor control circuit also includes: a sixth resistor, a second capacitor and a seventh resistor, the first end of the sixth resistor is connected to the pulse pin of the signal interface to receive the control pulse signal, and the second end of the sixth resistor is connected to the pulse pin of the signal processing module; the first end of the second capacitor is connected to the second end of the sixth resistor, and the second end of the second capacitor is grounded; the first end of the seventh resistor is connected to the second end of the sixth resistor, and the second end of the seventh resistor is grounded.

[0012] In one embodiment, the motor control circuit also includes: an eighth resistor and a third capacitor, the first end of the eighth resistor is connected to the reference voltage generation module to receive the first reference voltage signal or the second reference voltage signal, and the second end of the eighth resistor is connected to the reference voltage pin of the motor control module; the first end of the third capacitor is connected to the second end of the eighth resistor, and the second end of the third capacitor is grounded.

[0013] The present application also provides a knitting machine, the motor control system includes a main controller; at least one motor; at least one motor control circuit, each motor control circuit is connected to the main controller and a corresponding motor, and the motor control circuit is the motor control circuit as described above.

[0014] The motor control circuit provided by the present application includes: a reference voltage generation module, configured to receive a reference voltage input signal and a step pulse signal, and output a first reference voltage signal when the step pulse signal is running, or output a second reference voltage signal when the step pulse signal is stopped, the voltage value of the second reference voltage signal being less than the voltage value of the first reference voltage signal; a motor control module, connected to the reference voltage generation module and the motor, the motor control module being configured to receive the first reference voltage signal or the second reference voltage signal, and generate a current based on the first reference voltage signal or the second reference voltage signal. In the above manner, by detecting the two different states of the step pulse signal running and stopping, different reference voltage values ​​are output, thereby generating the current when the motor is running and locked based on the reference voltage value, achieving the purpose of switching the motor running current and the holding current (the current when the motor is locked), in particular, when the step pulse signal stops, the reference voltage value provided is smaller, thereby reducing the power consumption of the entire motor control circuit, and such a design is only an improvement to the hardware circuit, without the need for software improvement, thereby reducing the improvement cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive efforts. Among them:

[0016] Figure 1 is a structural diagram of a first embodiment of a motor control circuit provided by the present application;

[0017] Figure 2 is a structural diagram of a second embodiment of a motor control circuit provided by the present application;

[0018] Figure 3 is a structural diagram of a third embodiment of a motor control circuit provided by the present application;

[0019] Figure 4 is a structural diagram of a fourth embodiment of a motor control circuit provided by the present application;

[0020] Figure 5 is a structural diagram of a fifth embodiment of a motor control circuit provided by the present application;

[0021] Figure 6 is a structural diagram of a sixth embodiment of a motor control circuit provided by the present application;

[0022] Figure 7 is a structural diagram of a seventh embodiment of a motor control circuit provided by the present application;

[0023] Figure 8 It is a structural schematic diagram of an embodiment of a knitting machine provided in this application. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some, rather than all, structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0025] The terms "first," "second," and the like in this application are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0026] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] See Figure 1 , Figure 1 FIG1 is a schematic diagram of the structure of the first embodiment of the motor control circuit provided by the present application. The motor control circuit 1000 includes a reference voltage generating module 100 and a motor control module 200 .

[0028] In which, the reference voltage generating module 100 is configured to receive a reference voltage input signal VCR_IN and a step pulse signal SMT1_STEP, and output a first reference voltage signal VCR1 when the step pulse signal SMT1_STEP is running, or output a second reference voltage signal VCR2 when the step pulse signal SMT1_STEP stops, and the voltage value of the second reference voltage signal VCR2 is less than the voltage value of the first reference voltage signal VCR1; the motor control module 200 is connected to the reference voltage generating module 100 and the motor, and the motor control module 200 is configured to receive the first reference voltage signal VCR1 or the second reference voltage signal VCR2, and generate a current when the motor is in running state or locked shaft state based on the first reference voltage signal VCR1 or the second reference voltage signal VCR2.

[0029] Optionally, the reference voltage generation module 100 includes a comparison unit 110 and a voltage divider unit 120, the first receiving end of the comparison unit 110 is configured to receive the step pulse signal SMT1_STEP, and the second input end of the comparison unit 110 is configured to receive the reference voltage signal; the first end of the voltage divider unit 120 is configured to receive the reference voltage input signal VCR_IN, the second end of the voltage divider unit 120 is connected to the output end of the comparison unit 110, and the voltage divider node of the voltage divider unit 120 is configured to output the first reference voltage signal VCR1 or the second reference voltage signal VCR2.

[0030] Specifically, the reference voltage input signal VCR_IN is a voltage value generated by DAC (digital-to-analog converter) software or other means. This voltage value is used as a reference for setting the motor current. The motor driver chip detects this voltage value and adjusts its output current accordingly, thereby achieving precise control of the motor. By changing the voltage value of the reference voltage input signal VCR_IN, the first reference voltage signal VCR1 or the second reference voltage signal VCR2 can also be adjusted accordingly, thereby adjusting the motor current by the motor control module 200.

[0031] Specifically, the step pulse signal SMT1_STEP is a control signal used to control the movement of the stepper motor. When the step pulse signal SMT1_STEP is running, the motor is in a normal operating state, and the reference voltage generation module 100 will output a first reference voltage signal VCR1. At this time, the current output by the motor control module 200 based on the first reference voltage signal VCR1 is the motor operating current. When the step pulse signal SMT1_STEP stops, the motor is in a locked shaft state, and the reference voltage generation module 100 will output a second reference voltage signal VCR2. At this time, the current output by the motor control module 200 based on the second reference voltage signal VCR2 is the holding current of the motor.

[0032] The motor control circuit provided in this embodiment includes: a reference voltage generation module, configured to receive a reference voltage input signal and a step pulse signal, and output a first reference voltage signal when the step pulse signal is running, or output a second reference voltage signal when the step pulse signal is stopped, wherein the voltage value of the second reference voltage signal is less than the voltage value of the first reference voltage signal; a motor control module, connected to the reference voltage generation module and the motor, and configured to receive the first reference voltage signal or the second reference voltage signal, and generate a current based on the first reference voltage signal or the second reference voltage signal. In the above manner, by detecting the two different states of the step pulse signal running and stopping, different reference voltage values ​​are output, thereby generating the current when the motor is running and locked based on the reference voltage value, achieving the purpose of switching the motor running current and the holding current (the current when the motor is locked). In particular, when the step pulse signal stops, the reference voltage value provided is smaller, thereby reducing the power consumption of the entire motor control circuit. Moreover, such a design is only an improvement to the hardware circuit, without the need for software improvement, thus reducing the improvement cost.

[0033] See Figure 2 , Figure 2 FIG. 1 is a schematic diagram of the structure of the second embodiment of the motor control circuit provided by the present application. The motor control circuit 1000 includes a reference voltage generating module 100 and a motor control module 200 .

[0034] In which, the reference voltage generating module 100 is configured to receive a reference voltage input signal VCR_IN and a step pulse signal SMT1_STEP, and output a first reference voltage signal VCR1 when the step pulse signal SMT1_STEP is running, or output a second reference voltage signal VCR2 when the step pulse signal SMT1_STEP stops, and the voltage value of the second reference voltage signal VCR2 is less than the voltage value of the first reference voltage signal VCR1; the motor control module 200 is connected to the reference voltage generating module 100 and the motor, and the motor control module 200 is configured to receive the first reference voltage signal VCR1 or the second reference voltage signal VCR2, and generate a current when the motor is in running state or locked shaft state based on the first reference voltage signal VCR1 or the second reference voltage signal VCR2.

[0035] Optionally, the comparison unit 110 includes a first resistor R3, a second resistor R7 and a comparator U3-A, the first end of the first resistor R3 is configured to receive a power supply signal VCC, and the second end of the first resistor R3 is configured to output a reference voltage signal; the first end of the second resistor R7 is connected to the second end of the first resistor R3, and the second end of the second resistor R7 is grounded; the positive input end of the comparator U3-A is configured to receive a step pulse signal SMT1_STEP, and the negative input end of the comparator U3-A is connected to the second end of the first resistor R3.

[0036] Optionally, the comparison unit 110 also includes a third resistor R6 and a first capacitor C2, the first end of the third resistor R6 is configured to receive the step pulse signal SMT1_STEP, and the second end of the third resistor R6 is connected to the positive input end of the comparator U3-A; the first end of the first capacitor C2 is connected to the second end of the third resistor R6, and the second end of the first capacitor C2 is grounded.

[0037] Specifically, the first resistor R3 and the second resistor R7 divide the power signal VCC input to the first terminal of the first resistor R3 and output the voltage at the voltage division node as a reference voltage signal to the inverting input terminal of the comparator U3-A. The third resistor R6 and the first capacitor C2 filter the step pulse signal SMT1_STEP output from the first terminal of the third resistor R6 and input it to the non-inverting input terminal of the comparator U3-A. The comparator U3-A outputs different voltage signals by comparing the voltages at the non-inverting input terminal and the non-inverting input terminal, that is, comparing the voltage signal of the step pulse signal SMT1_STEP with the reference voltage signal. When the voltage at the non-inverting input terminal is greater than the voltage at the non-inverting input terminal, the output terminal of the comparator U3-A outputs the power signal VCC. When the voltage at the non-inverting input terminal is less than the voltage at the non-inverting input terminal, the output terminal of the comparator U3-A outputs a voltage signal of 0V.

[0038] See Figure 3 , Figure 3 FIG. 1 is a schematic diagram of the structure of the third embodiment of the motor control circuit provided in the present application. The motor control circuit 1000 includes a reference voltage generating module 100 and a motor control module 200 .

[0039] In which, the reference voltage generating module 100 is configured to receive a reference voltage input signal VCR_IN and a step pulse signal SMT1_STEP, and output a first reference voltage signal VCR1 when the step pulse signal SMT1_STEP is running, or output a second reference voltage signal VCR2 when the step pulse signal SMT1_STEP stops, and the voltage value of the second reference voltage signal VCR2 is less than the voltage value of the first reference voltage signal VCR1; the motor control module 200 is connected to the reference voltage generating module 100 and the motor, and the motor control module 200 is configured to receive the first reference voltage signal VCR1 or the second reference voltage signal VCR2, and generate a current when the motor is in running state or locked shaft state based on the first reference voltage signal VCR1 or the second reference voltage signal VCR2.

[0040] Figure 3 The motor control circuit 1000 shown is Figure 2The main difference of the motor control circuit 1000 shown in FIG. 1 is that the voltage divider unit 120 and the reference voltage generating module 100 are added. Therefore, the following mainly describes the components added to the voltage divider unit 120 and the reference voltage generating module 100. For other components in the motor control circuit 1000, please refer to FIG. Figure 2 The relevant description of the embodiment shown, e.g. Figure 3 The comparison unit 110 in Figure 2 The description of the comparison unit 110 in FIG. 1 is omitted here.

[0041] Optionally, the voltage dividing unit 120 includes a fourth resistor R4 and a fifth resistor R5, the first end of the fourth resistor R4 is configured to receive a reference voltage input signal VCR_IN, and the second end of the fourth resistor R4 is configured to output a first reference voltage signal VCR1 or a second reference voltage signal VCR2; the first end of the fifth resistor R5 is connected to the second end of the fourth resistor R4, and the second end of the fifth resistor R5 is connected to the output end of the comparator.

[0042] Optionally, the reference voltage generating module 100 also includes a follower U2-A, the non-phase input terminal of the follower U2-A is configured to receive a reference voltage input signal VCR_IN, the inverting input terminal of the follower U2-A is connected to the output terminal of the follower U2-A, and the output terminal of the follower U2-A is connected to the first terminal of the voltage divider unit 120.

[0043] Specifically, the output signal of follower U2-A is substantially equivalent to the input signal, and thus the output voltage of follower U2-A can be considered as the reference voltage input signal VCR_IN. The fourth resistor R4 is used to divide the output voltage of follower U2-A, and the fifth resistor R5 is used to divide the output voltage of comparator U3-A. The output voltage of comparator U3-A is affected by the running or stopped state of step pulse signal SMT1_STEP. Therefore, based on the output voltages of comparator U3-A and follower U2-A, first reference voltage signal VCR1 and second reference voltage signal VCR2 are output. The first reference voltage signal VCR1 and second reference voltage signal VCR2 are affected by the resistance values ​​of the fourth resistor R4 and the fifth resistor R5 and the output voltages of comparator U3-A and follower U2-A.

[0044] For example, Figure 3 As shown, when the step pulse signal SMT1_STEP is in the running state, the output voltage of the comparator U3-A is the power supply voltage, and the reference voltage generating module 100 outputs the first reference voltage signal VCR1.

[0045] VCR1=VCR_IN+(VCC-VCR_IN) / (R4 / (R4+R5)) (1)

[0046] When the step pulse signal SMT1_STEP is in the stopped state, the output voltage of the comparator U3 -A is 0, and the reference voltage generating module 100 outputs the second reference voltage signal VCR2 .

[0047] VCR2=VCR_IN*(R5 / (R4+R5)) (2)

[0048] In one application scenario, assuming VCR_IN = 5V, VCC = 5V, R4 = 2K, R5 = 1K, then:

[0049] VCR1=5V

[0050] VCR2=1.67V

[0051] It can be seen that when the step pulse signal SMT1_STEP is in the stopped state, a smaller reference voltage signal is provided to the motor control module.

[0052] See Figure 4 、 Figure 5 、 Figure 6 and Figure 7 , Figure 4 、 Figure 5 、 Figure 6 and Figure 7 The motor control circuit 1000 includes a reference voltage generating module 100 and a motor control module 200 .

[0053] In which, the reference voltage generating module 100 is configured to receive a reference voltage input signal VCR_IN and a step pulse signal SMT1_STEP, and output a first reference voltage signal VCR1 when the step pulse signal SMT1_STEP is running, or output a second reference voltage signal VCR2 when the step pulse signal SMT1_STEP stops, and the voltage value of the second reference voltage signal VCR2 is less than the voltage value of the first reference voltage signal VCR1; the motor control module 200 is connected to the reference voltage generating module 100 and the motor, and the motor control module 200 is configured to receive the first reference voltage signal VCR1 or the second reference voltage signal VCR2, and generate a current when the motor is in running state or locked shaft state based on the first reference voltage signal VCR1 or the second reference voltage signal VCR2.

[0054] Figure 4 The motor control circuit 1000 shown is Figure 3The main difference of the motor control circuit 1000 shown in FIG. 1 is that the signal interface 300, the signal processing module 400, and the components added to the motor control circuit 1000 are added. Therefore, the following mainly describes the signal interface 300, the signal processing module 400, and the components added to the motor control circuit 1000. For other components in the motor control circuit 1000, please refer to FIG. Figure 3 The relevant description of the embodiment shown, e.g. Figure 4 The comparison unit 110 in Figure 3 The description of the comparison unit 110 in FIG. 1 is omitted here.

[0055] In some optional embodiments, such as Figure 4 As shown, the motor control circuit 1000 also includes a signal interface 300 and a signal processing module 400. The signal interface 300 is connected to the reference voltage generating module 100, and the signal interface 300 is configured to receive the data signal DI, the enable signal OE1, the control pulse signal CK and the reference voltage input signal VCR_IN; the signal processing module 400 is connected to the signal interface 300 and the motor control module 200, and the signal processing module 400 is configured to be enabled in response to the enable signal OE1, and to generate a direction control signal SMT1_DIR and a step pulse signal SMT1_STEP based on the data signal DI and the control pulse signal CK, and output the direction control signal SMT1_DIR and the step pulse signal SMT1_STEP to the motor control module 200.

[0056] In some optional embodiments, such as Figure 4 As shown, the motor control circuit 1000 also includes: a sixth resistor R1, a second capacitor C1 and a seventh resistor R2, the first end of the sixth resistor R1 is connected to the pulse pin of the signal interface 300 to receive the control pulse signal CK, and the second end of the sixth resistor R1 is connected to the pulse pin of the signal processing module 400; the first end of the second capacitor C1 is connected to the second end of the sixth resistor R1, and the second end of the second capacitor C1 is grounded; the first end of the seventh resistor R2 is connected to the second end of the sixth resistor R1, and the second end of the seventh resistor R2 is grounded.

[0057] In some optional embodiments, such as Figure 4 As shown, the motor control circuit 1000 also includes: an eighth resistor R10 and a third capacitor C7, the first end of the eighth resistor R10 is connected to the reference voltage generation module 100 to receive the first reference voltage signal VCR1 or the second reference voltage signal VCR2, and the second end of the eighth resistor R10 is connected to the reference voltage pin of the motor control module 200; the first end of the third capacitor C7 is connected to the second end of the eighth resistor R10, and the second end of the third capacitor C7 is grounded.

[0058] In some optional embodiments, such as Figure 5 As shown, the signal interface 300 can be a 20-pin signal interface CN1, wherein pin 1, pin 2 and pin 16 are grounded, pin 3, pin 4, pin 6, pin 19 and pin 20 are vacant, pin 5 is connected to a 5V power supply signal, pins 7 to 14 receive data signals DI1 to DI7 respectively, pin 15 receives an enable signal OE1, pin 16 receives a data signal DI8, pin 17 receives a control pulse signal CK, and pin 18 receives a reference voltage input signal VCR_IN.

[0059] In some optional embodiments, such as Figure 6 As shown, the signal processing module 400 can be a control chip U1, which is connected to the signal interface CN1 and the signal processing module 400. Pin 1 of the control chip U1 receives the enable signal OE1, pins 2 to 9 receive data signals DI8 to DI1 in sequence, pin 11 receives the control pulse signal CK, pin 12 outputs the direction control signal SMT1_DIR, pin 13 outputs the step pulse signal SMT1_STEP, pins 14, 16, and 18 output the direction control signals SMT2_DIR, SMT3_DIR, and SMT4_DIR, respectively. Pins 15, 17, and 19 output the step pulse signals SMT2_STEP, SMT3_STEP, and SMT4_STEP, respectively.

[0060] In some optional embodiments, such as Figure 7 As shown, the motor control module 200 can be a motor driver chip U4, which is connected to the reference voltage generation module 100, the signal interface CN1, the control chip U1 and the motor. The 3rd pin of the control chip U1 is a drive pin for receiving the direction control signal SMT1_DIR, the 8th pin is a reference voltage pin for receiving the first reference voltage signal VCR1 or the second reference voltage signal VCR2, the 19th pin is for receiving the step pulse signal SMT1_STEP, and the 4th pin, the 11th pin, the 25th pin and the 18th pin are output pins for outputting control signals such as current signals to drive the motor.

[0061] Specifically, in the electronic control system of the flat knitting machine, the head board is an important component, which is responsible for controlling the movement and position of the motor. Through the signal interface 300, the head board sends the data signal DI, enable signal OE1, control pulse signal CK and reference voltage input signal VCR_IN to the motor module to achieve precise control of the motor. The data signal DI is a signal used to control the direction and position of the motor movement. These signals usually come from an encoder or other sensors and are used to detect the actual position and speed of the motor; the enable signal OE1 can be used to control the enable of the signal processing module 400. When the enable signal OE1 is valid at a low level, the signal processing module 400 is enabled and can receive the data signal DI and the control pulse signal CK from the signal interface 300; the control pulse signal CK is a signal used to control the speed and direction of the motor. When the processing module 400 is enabled, the direction control signal SMT1_DIR is generated based on the data signal DI1 and the control pulse signal CK. At the same time, the control pulse signal CK is filtered by the sixth resistor R1, the second capacitor C1 and the seventh resistor R2 of the peripheral circuit of the signal processing module 400, and then cooperates with the data signal DI2 to generate a step pulse signal SMT1_STEP to control the movement of the motor. The eighth resistor R10 and the third capacitor C7 are peripheral circuits of the motor control module 200, which are connected to the reference voltage pin of the motor control module 200 and are used to input the first reference voltage signal VCR1 and the second reference voltage signal VCR2 filtered by the filter circuit composed of the eighth resistor R10 and the third capacitor into the motor control module 200, so as to generate current when the motor is in the running state or the locked shaft state.

[0062] When applied to a flat knitting machine, the motor control circuit of this embodiment detects the running and stopped states of the step pulse signal SMT1_STEP and outputs different reference voltage values. Based on these reference voltage values, the motor currents for running and locked are generated, achieving the goal of switching the motor's running current and holding current (the current when the motor is locked). This effectively solves the problem of overheating of the motor module and significantly improves the lifespan of the motor module and motor drive.

[0063] See Figure 5 , Figure 5 FIG2 is a schematic diagram of the structure of an embodiment of a flat knitting machine provided by the present application. The flat knitting machine includes a main controller; at least one motor; and at least one motor control circuit 1000. Each motor control circuit 1000 is connected to the main controller and a corresponding motor. The motor control circuit 1000 is similar to the motor control circuit 1000 in the above embodiment.

[0064] The above description is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A motor control circuit, characterized in that: The motor control circuit comprises: a reference voltage generating module, configured to receive a reference voltage input signal and a step pulse signal, and output a first reference voltage signal when the step pulse signal is running, or output a second reference voltage signal when the step pulse signal is stopped, wherein a voltage value of the second reference voltage signal is less than a voltage value of the first reference voltage signal; A motor control module is connected to the reference voltage generating module and the motor, and the motor control module is configured to receive the first reference voltage signal or the second reference voltage signal, and generate a current when the motor is in a running state or a locked shaft state based on the first reference voltage signal or the second reference voltage signal.

2. The motor control circuit according to claim 1, characterized in that: The reference voltage generating module comprises: A comparison unit, wherein a first input terminal of the comparison unit is configured to receive the step pulse signal, and a second input terminal of the comparison unit is configured to receive a reference voltage signal; A voltage divider unit, wherein the first end of the voltage divider unit is configured to receive the reference voltage input signal, the second end of the voltage divider unit is connected to the output end of the comparison unit, and the voltage divider node of the voltage divider unit is configured to output the first reference voltage signal or the second reference voltage signal.

3. The motor control circuit according to claim 2, characterized in that: The comparison unit comprises: a first resistor, wherein a first end of the first resistor is configured to receive a power signal, and a second end of the first resistor is configured to output the reference voltage signal; a second resistor, wherein a first end of the second resistor is connected to a second end of the first resistor, and a second end of the second resistor is grounded; A comparator, wherein the non-phase input terminal of the comparator is configured to receive the step pulse signal, and the inverting input terminal of the comparator is connected to the second end of the first resistor.

4. The motor control circuit according to claim 3, characterized in that: The comparison unit further includes: a third resistor, wherein a first end of the third resistor is configured to receive the step pulse signal, and a second end of the third resistor is connected to a non-inverting input end of the comparator; A first capacitor, wherein a first end of the first capacitor is connected to the second end of the third resistor, and a second end of the first capacitor is grounded.

5. The motor control circuit according to claim 2, characterized in that: The voltage dividing unit comprises: a fourth resistor, wherein a first end of the fourth resistor is configured to receive the reference voltage input signal, and a second end of the fourth resistor is configured to output the first reference voltage signal or the second reference voltage signal; A fifth resistor, wherein a first end of the fifth resistor is connected to the second end of the fourth resistor, and a second end of the fifth resistor is connected to the output end of the comparison unit.

6. The motor control circuit according to claim 2, characterized in that: The reference voltage generating module further comprises a follower, wherein a non-phase input terminal of the follower is configured to receive the reference voltage input signal, an inverting input terminal of the follower is connected to an output terminal of the follower, and an output terminal of the follower is connected to a first terminal of the voltage dividing unit.

7. The motor control circuit according to claim 1, characterized in that: The motor control circuit further comprises: A signal interface connected to the reference voltage generating module, wherein the signal interface is configured to receive a data signal, an enable signal, a control pulse signal, and a reference voltage input signal; A signal processing module is connected to the signal interface and the motor control module, and the signal processing module is configured to be enabled in response to the enable signal, and to generate a direction control signal and a step pulse signal based on the data signal and the control pulse signal, and output the direction control signal and the step pulse signal to the motor control module.

8. The motor control circuit according to claim 7, characterized in that: The motor control circuit further comprises: a sixth resistor, wherein a first end of the sixth resistor is connected to a pulse pin of the signal interface to receive the control pulse signal, and a second end of the sixth resistor is connected to a pulse pin of the signal processing module; a second capacitor, wherein a first end of the second capacitor is connected to the second end of the sixth resistor, and a second end of the second capacitor is grounded; A seventh resistor, wherein a first end of the seventh resistor is connected to the second end of the sixth resistor, and a second end of the seventh resistor is grounded.

9. The motor control circuit according to claim 1, characterized in that: The motor control circuit further comprises: an eighth resistor, wherein a first end of the eighth resistor is connected to a reference voltage generating module to receive the first reference voltage signal or the second reference voltage signal, and a second end of the eighth resistor is connected to a reference voltage pin of the motor control module; A third capacitor, wherein a first end of the third capacitor is connected to the second end of the eighth resistor, and a second end of the third capacitor is grounded.

10. A flat knitting machine, characterized in that: The flat knitting machine comprises: Main controller; at least one electric motor; At least one motor control circuit, each of the motor control circuits is connected to the main controller and a corresponding one of the motors, and the motor control circuit is the motor control circuit as described in any one of claims 1-9.