A control system for a double-stage embroidery machine
By designing a control system for the two-segment embroidery machine, independent control of the left and right sections is achieved, which solves the problem that two-segment machines cannot be laid at the same time in the prior art, and improves production efficiency and resource utilization.
Patent Information
- Application Number
- CN201911287221.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-14
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2039-12-14
AI Technical Summary
In the field of leather embroidery, the existing embroidery machines cannot be clothed at the same time due to the narrow format of the two stages of the machine, resulting in the problems of waste of fabric and low production efficiency.
A dual-segment embroidery machine control system is designed to connect the display, the disconnection board and the servo controller through the motherboard to realize independent control of the left and right sections, reduce physical operation methods, and reduce operation difficulty and downtime.
The independent control of left and right sections is realized, which reduces operational complexity and downtime, improves production efficiency, and allows two sections of machines to work simultaneously when the order is small, maximizing the utilization of production resources.
Smart Images

Figure CN110965222B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for realizing double-stage embroidery machine control, belonging to the technical field of embroidery machines. Background Art
[0002] As attached Figure 1 As shown, the prior art embroidery machine control system includes an X-axis servo controller, a Y-axis servo controller, and a main axis servo controller, which are electrically connected to a main board, and the main board is electrically connected to a display and a thread breakage detection board. The thread breakage detection board is used to control the needle drop and thread breakage detection of the machine head.
[0003] The main parts of the embroidery machine are as follows: Figure 2 As shown, it consists of an embroidery frame and a machine head. The machine head consists of a break detection board, a mechanical structure, and an embroidery needle. The embroidery frame is used to move the embroidery cloth, and the machine head is used for embroidery. Whether the machine head drops the needle can be controlled by the break detection board or the mechanical structure of the machine head. A quilting embroidery machine can have one or more embroidery frames, which are called embroidery sections.
[0004] In the field of leather embroidery, due to the narrow width, it is mostly made into two-section styles, that is, one machine can embroider two pieces of cloth, which leads to two problems. First, when loading the cloth, since the two sections cannot be loaded at the same time, only one section can be loaded. Due to the linkage, when one section is loaded, the Y-axis of the other section is also rolling, resulting in waste of cloth; second, when the output is small or an order is finished, only one section needs to be embroidered, but the other section must also be embroidered, resulting in waste.
[0005] At present, two Y-axis servo motors are used, and the two servo motors are connected in parallel to control the two sections separately. When one section is loading cloth, the control line of the Y-axis servo motor of the other section is unplugged or its power is turned off. When embroidering, it is still necessary to manually turn the switch on the break detection board to prohibit the needle drop of the machine head and prohibit its break detection.
[0006] The inconvenience of this operation is that it is complicated and cannot be mastered by ordinary operators; downtime requires a long time, delaying production; operating errors will cause the needle to fall off the machine head in the non-working section, causing machine failure. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a control system for a double-stage embroidery machine in view of the above shortcomings. The control of the left and right sections only needs to be selected on the computer, and there is no need to perform physical operations such as switching on and off the power supply of the Y-axis servo motor, unplugging the control line of the Y-axis servo motor, and turning the switch of the break detection board for control, thereby reducing the operating difficulty of the operator, reducing the downtime, and improving the production efficiency.
[0008] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0009] A control system for a double-section embroidery machine, comprising a main board, the main board is connected with a display, a left-section break detection board, a right-section break detection board, a left-section X-axis servo controller, a right-section X-axis servo controller, a left-section Y-axis servo controller, a right-section Y-axis servo controller, a left spindle servo controller, and a right spindle servo controller;
[0010] The control system includes two groups of X-axis servos, two groups of Y-axis servos, and two groups of spindle servos, which are controlled by 6 ports respectively, so that four different types of machines can be formed, namely single X-axis, single Y-axis, single spindle; single X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, double spindle.
[0011] Furthermore, the mainboard includes a CPU central processing unit and a power module, the CPU central processing unit is connected to a dial switch module, an encoding module, an oil mist control module, a drive module, a display communication module, a spindle servo module, a detection module, an X-axis Y-axis servo module, a communication module and a storage module, the detection module is connected to the drive module, and the power module supplies power to each module;
[0012] The CPU central processing unit includes a chip U2A, and the model of the chip U2A is STM32F429V1.
[0013] Furthermore, the encoding module includes a connector JP1 and a connector JP2, wherein the pin 1 of the connector JP1 is connected to the pin 2 of the connector JP2, and is connected to one end of a resistor R5 and one end of a resistor R48, the other end of the resistor R5 is connected to 5V, the other end of the resistor R48 is connected to one end of a capacitor C16 and pin 4 of a chip U8, the other end of the capacitor C16 is grounded, the pin 2 of the connector JP1 is connected to the pin 3 of the connector JP2, and is connected to one end of a resistor R4 and one end of a resistor R49, the other end of the resistor R4 is connected to 5V, and the resistor R49 The other end is connected to one end of capacitor C17 and pin 6 of chip U8, and the other end of capacitor C17 is grounded. Pin 3 of connector JP1 is connected to pin 4 of connector JP2, and is connected to one end of resistor R3 and one end of resistor R50. The other end of resistor R3 is connected to 5V, the other end of resistor R50 is connected to one end of capacitor C18 and pin 2 of chip U8, and the other end of capacitor C18 is grounded. Pin 4 of connector JP1 is connected to 5V, pin 5 of connector JP1 is grounded, pin 1 of connector JP2 is connected to 5V, and pin 5 of connector JP2 is grounded.
[0014] The model of the chip U8 is LVC244A, pin 3 of chip U8 is connected to one end of resistor R25, the other end of resistor R25 is connected to one end of diode L35, the other end of diode L35 is connected to 3.3V, pin 5 of chip U8 is connected to one end of resistor R24, the other end of resistor R24 is connected to one end of diode L34, the other end of diode L34 is connected to 3.3V, pin 14 of chip U8 is connected to pin 42 of chip U2A, pin 15 of chip U8 is connected to pin 78 of chip U2A, pin 16 of chip U8 is connected to pin 40 of chip U2A, pin 17 of chip U8 is connected to pin 79 of chip U2A, pin 18 of chip U8 is connected to pin 3 of chip U2A and one end of diode L12, the other end of diode L12 is connected to one end of resistor R7, and the other end of resistor R7 is grounded.
[0015] Furthermore, the driving module includes two driving circuits, the first driving circuit includes a chip U7, the model of the chip U7 is ULN2004A, the second driving circuit includes a chip U6, the model of the chip U6 is LVC244A, the 1st and 2nd pins of the chip U7 are connected to the 3rd pin of the optocoupler O25, the 4th pin of the optocoupler O25 is connected to one end of the resistor R109, the other end of the resistor R109 is connected to 12V, the 1st pin of the optocoupler O25 is connected to one end of the resistor R91, the other end of the resistor R91 is connected to 3.3V, the 2nd pin of the optocoupler O25 is connected to the 3rd pin of the chip U6, the 3rd and 4th pins of the chip U7 are connected to the 3rd pin of the optocoupler O24, the 4th pin of the optocoupler O24 is connected to one end of the resistor R102, the other end of the resistor R102 is connected to 12V, the 1st pin of the optocoupler O24 is connected to the One end of resistor R60 is connected, and the other end of resistor R60 is connected to 3.3V, pin 2 of optocoupler O24 is connected to pin 5 of chip U6, pins 5 and 6 of chip U7 are connected to pin 3 of optocoupler O26, pin 4 of optocoupler O26 is connected to one end of resistor R96, and the other end of resistor R96 is connected to 12V, pin 1 of optocoupler O26 is connected to one end of resistor R92, and the other end of resistor R92 is connected to 3.3V, pin 2 of optocoupler O26 is connected to pin 7 of chip U6, pin 7 of chip U7 is connected to pin 3 of optocoupler O23, pin 4 of optocoupler O23 is connected to one end of resistor R65, and the other end of resistor R65 is connected to 12V, pin 1 of optocoupler O23 is connected to one end of resistor R59, and the other end of resistor R59 is connected to 3.3V, and pin 2 of optocoupler O23 is connected to pin 9 of chip U6;
[0016] Pins 15 and 16 of the chip U7 are connected to pin 2 of the connector JP21, pins 13 and 14 of the chip U7 are connected to pin 4 of the connector JP21, pins 11 and 12 of the chip U7 are connected to pin 6 of the connector JP21, pin 10 of the chip U7 is connected to pin 8 of the connector JP21, pin 8 of the chip U7 is grounded, pin 9 of the chip U7 is connected to 12V, and pins 1, 3, 5, and 7 of the connector JP21 are connected to 12V.
[0017] Further, pin 2 of the chip U6 is connected to pin 60 of chip U2A, pin 4 of chip U6 is connected to pin 59 of chip U2A, pin 6 of chip U6 is connected to pin 58 of chip U2A, pin 8 of chip U6 is connected to pin 57 of chip U2A, pin 11 of chip U6 is connected to pin 61 of chip U2A, pin 13 of chip U6 is connected to pin 62 of chip U2A, pin 15 of chip U6 is connected to pin 65 of chip U2A, and pin 17 of chip U6 is connected to pin 66 of chip U2A;
[0018] The 12th pin of the chip U6 is connected to one end of the diode L37 and the 3rd pin of the high-speed optical coupler O28, the other end of the diode L37 is connected to one end of the resistor R104, the other end of the resistor R104 is connected to 3.3V, the 2nd pin of the high-speed optical coupler O28 is connected to one end of the resistor R90, the other end of the resistor R90 is connected to 3.3V, the 8th pin of the high-speed optical coupler O28 is connected to one end of the capacitor C27 and connected to 12V, the other end of the capacitor C27 is grounded, and the 5th pin of the high-speed optical coupler O28 is connected to Ground; Pin 14 of chip U6 is connected to one end of diode L39 and pin 3 of high-speed optocoupler O29, the other end of diode L39 is connected to one end of resistor R108, the other end of resistor R108 is connected to 3.3V, pin 2 of high-speed optocoupler O29 is connected to one end of resistor R97, the other end of resistor R97 is connected to 3.3V, pin 8 of high-speed optocoupler O29 is connected to one end of capacitor C42 and connected to 12V, the other end of capacitor C42 is grounded, and pin 5 of high-speed optocoupler O29 is connected to Ground; Pin 16 of chip U6 is connected to one end of diode L41 and pin 3 of high-speed optocoupler O10, the other end of diode L41 is connected to one end of resistor R117, the other end of resistor R117 is connected to 3.3V, pin 2 of high-speed optocoupler O10 is connected to one end of resistor R62, the other end of resistor R62 is connected to 3.3V, pin 8 of high-speed optocoupler O10 is connected to one end of capacitor C7 and connected to 12V, the other end of capacitor C7 is grounded, and pin 5 of high-speed optocoupler O10 is grounded; Pin 18 of chip U6 is connected to one end of diode L43 and pin 3 of high-speed optocoupler O27, the other end of diode L43 is connected to one end of resistor R119, the other end of resistor R119 is connected to 3.3V, pin 2 of high-speed optocoupler O27 is connected to one end of resistor R95, the other end of resistor R95 is connected to 3.3V, pin 8 of high-speed optocoupler O27 is connected to one end of capacitor C40 and connected to 12V, the other end of capacitor C40 is grounded, and pin 5 of high-speed optocoupler O27 is grounded;
[0019] Pin 6 of the high-speed optocoupler O28, pin 6 of the high-speed optocoupler O29, pin 6 of the high-speed optocoupler O10, and pin 6 of the high-speed optocoupler O27 are connected to a detection module;
[0020] Pin 9 of the chip U6 is connected to one end of a diode L14, the other end of the diode L14 is connected to one end of a resistor R103, the other end of the resistor R103 is connected to 3.3V, pin 7 of the chip U6 is connected to one end of a diode L38, the other end of the diode L38 is connected to one end of a resistor R106, the other end of the resistor R106 is connected to 3.3V, pin 5 of the chip U6 is connected to one end of a diode L40, the other end of the diode L40 is connected to one end of a resistor R110, the other end of the resistor R110 is connected to 3.3V, pin 3 of the chip U6 is connected to one end of a diode L42, the other end of the diode L42 is connected to one end of a resistor R118, the other end of the resistor R118 is connected to 3.3V.
[0021] Further, the detection module includes two detection circuits, namely a first detection circuit and a second detection circuit, the first detection circuit includes a connector JP20, pin 2 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O27, pin 3 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O10, pin 4 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O29, and pin 5 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O28;
[0022] The 12th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O30 and one end of the diode L44, the other end of the diode L44 is connected to one end of the resistor R120, the other end of the resistor R120 is connected to 12V, the 1st pin of the optocoupler O30 is connected to one end of the resistor R122, the other end of the resistor R122 is connected to 12V, the 3rd pin of the optocoupler O30 is grounded, the 4th pin of the optocoupler O30 is connected to one end of the resistor R121 and the 89th pin of the chip U2A, the other end of the resistor R121 is connected to 3.3V; the 11th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O31 and one end of the diode L45, the other end of the diode L45 is connected to one end of the resistor R129, the other end of the resistor R129 is connected to 12V, the 1st pin of the optocoupler O31 is connected to One end of the resistor R135 is connected, and the other end of the resistor R135 is connected to 12V. The 3rd pin of the optocoupler O31 is grounded. The 4th pin of the optocoupler O31 is connected to one end of the resistor R130 and the 80th pin of the chip U2A. The other end of the resistor R130 is connected to 3.3V. The 10th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O32 and one end of the diode L47. The other end of the diode L47 is connected to one end of the resistor R137. The other end of the resistor R137 is connected to 12V. The 1st pin of the optocoupler O32 is connected to one end of the resistor R140. The other end of the resistor R140 is connected to 12V. The 3rd pin of the optocoupler O32 is grounded. The 4th pin of the optocoupler O32 is connected to one end of the resistor R138 and the 77th pin of the chip U2A. The other end of the resistor R138 is connected to 3.3V. 3V; Pin 9 of connector JP20 is connected to Pin 2 of optocoupler O33 and one end of diode L50, the other end of diode L50 is connected to one end of resistor R142, the other end of resistor R142 is connected to 12V, Pin 1 of optocoupler O33 is connected to one end of resistor R145, the other end of resistor R145 is connected to 12V, Pin 3 of optocoupler O33 is grounded, Pin 4 of optocoupler O33 is connected to one end of resistor R144 and Pin 71 of chip U2A, the other end of resistor R144 is connected to 3.3V; Pin 8 of connector JP20 is connected to Pin 2 of optocoupler O35 and one end of diode L53, the other end of diode L53 is connected to one end of resistor R149, the other end of resistor R149 is connected to 12V, Pin 1 of optocoupler O35 is connected There is one end of resistor R151, the other end of resistor R151 is connected to 12V, pin 3 of optocoupler O35 is grounded, pin 4 of optocoupler O35 is connected to one end of resistor R150 and pin 70 of chip U2A, the other end of resistor R150 is connected to 3.3V; pin 7 of connector JP20 is connected to pin 2 of optocoupler O37 and one end of diode L54, the other end of diode L54 is connected to one end of resistor R154, the other end of resistor R154 is connected to 12V, pin 1 of optocoupler O37 is connected to one end of resistor R157, the other end of resistor R157 is connected to 12V, pin 3 of optocoupler O37 is grounded, pin 4 of optocoupler O37 is connected to one end of resistor R155 and pin 67 of chip U2A, the other end of resistor R155 is connected to 3.3V;
[0023] The first detection circuit also includes a connector JP19, wherein pin 4 of the connector JP19 is connected to pin 12 of the connector JP20, pin 3 of the connector JP19 is connected to pin 11 of the connector JP20, pin 2 of the connector JP19 is connected to pin 10 of the connector JP20, and pin 1 of the connector JP19 is grounded.
[0024] Further, the second detection circuit includes a connector JP7, wherein pin 1 of the connector JP7 is connected to pin 2 of the optocoupler O7 and one end of the diode L9, the other end of the diode L9 is connected to one end of a resistor R113, the other end of the resistor R113 is connected to 12V, pin 1 of the optocoupler O7 is connected to one end of a resistor R114, the other end of the resistor R114 is connected to 12V, pin 3 of the optocoupler O7 is grounded, pin 4 of the optocoupler O7 is connected to one end of a resistor R93 and pin 36 of the chip U2A, the other end of the resistor R93 is connected to 3.3V; pin 4 of the connector JP7 is connected to pin 2 of the optocoupler O6 and one end of the diode L8, the other end of the diode L8 is connected to one end of a resistor R115, the other end of the resistor R115 is connected to One end is connected to 12V, pin 1 of optocoupler O6 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O6 is grounded, pin 4 of optocoupler O6 is connected to one end of resistor R94 and pin 35 of chip U2A, the other end of resistor R94 is connected to 3.3V; pin 9 of connector JP7 is connected to pin 2 of optocoupler O2 and one end of diode L4, the other end of diode L4 is connected to one end of resistor R131, the other end of resistor R131 is connected to 12V, pin 1 of optocoupler O2 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O2 is grounded, pin 4 of optocoupler O2 is connected to one end of resistor R111 and pin 34 of chip U2A , the other end of resistor R111 is connected to 3.3V; pin 10 of connector JP7 is connected to pin 2 of optocoupler O1 and one end of diode L3, the other end of diode L3 is connected to one end of resistor R133, the other end of resistor R133 is connected to 12V, pin 1 of optocoupler O1 is connected to one end of resistor R134, the other end of resistor R134 is connected to 12V, pin 3 of optocoupler O1 is grounded, pin 4 of optocoupler O1 is connected to one end of resistor R112 and pin 33 of chip U2A, the other end of resistor R112 is connected to 3.3V; pin 5 of connector JP7 is connected to pin 2 of optocoupler O3 and one end of diode L5, the other end of diode L5 is connected to one end of resistor R38, the other end of resistor R38 is connected to 12 V, the 1st pin of the optocoupler O3 is connected to one end of the resistor R44, the other end of the resistor R44 is connected to 12V, the 3rd pin of the optocoupler O3 is grounded, the 4th pin of the optocoupler O3 is connected to one end of the resistor R41 and the 38th pin of the chip U2A, the other end of the resistor R41 is connected to 3.3V; the 7th pin of the connector JP7 is connected to the 2nd pin of the optocoupler O4 and one end of the diode L6, the other end of the diode L6 is connected to one end of the resistor R45, the other end of the resistor R45 is connected to 12V, the 1st pin of the optocoupler O4 is connected to one end of the resistor R52, the other end of the resistor R52 is connected to 12V, the 3rd pin of the optocoupler O4 is grounded, the 4th pin of the optocoupler O4 is connected to one end of the resistor R47 and the 41st pin of the chip U2A, the other end of the resistor R47 is connected to 3.3V; Pin 6 of connector JP7 is connected to Pin 2 of optocoupler O5 and one end of diode L7, the other end of diode L7 is connected to one end of resistor R53, the other end of resistor R53 is connected to 12V, Pin 1 of optocoupler O5 is connected to one end of resistor R58, the other end of resistor R58 is connected to 12V, Pin 3 of optocoupler O5 is grounded, Pin 4 of optocoupler O5 is connected to one end of resistor R57 and Pin 24 of chip U2A, the other end of resistor R57 is connected to 3.3V. .
[0025] Further, the spindle servo module includes a chip U9, the model of chip U9 is HEF40106, pin 2 of chip U9 is connected to one end of resistor R80 and one end of resistor R85, the other end of resistor R80 is connected to pin 1 of transistor T1, pin 2 of transistor T1 and the other end of resistor R85 are connected to AGND, pin 3 of transistor T1 is connected to one end of resistor R89 and one end of resistor R88, the other end of resistor R89 is connected to one end of diode L28, the other end of diode L28 is connected to 12V, and the other end of resistor R88 is connected to pin 2 of connector JP4; pin 4 of chip U9 is connected to one end of resistor R79 and one end of resistor R84, the other end of resistor R79 is connected to pin 1 of transistor T4, pin 2 of transistor T4 and the other end of resistor R84 are connected to AGND, and pin 3 of transistor T1 is connected to resistor R89 and one end of resistor R88. One end of resistor R87 is connected to pin 1 of connector JP4, the other end of resistor R87 is connected to one end of diode L36, and the other end of diode L36 is connected to 12V; pin 6 of chip U9 is connected to one end of resistor R70 and one end of resistor R82, the other end of resistor R82 is connected to pin 1 of transistor T3, pin 2 of transistor T3 and the other end of resistor R70 are connected to AGND, pin 3 of transistor T3 is connected to one end of resistor R83 and pin 4 of connector JP4, the other end of resistor R83 is connected to one end of diode L23, and the other end of diode L23 is connected to 12V; pin 8 of chip U9 is connected to one end of resistor R81 and one end of resistor R86, the other end of resistor R81 is connected to pin 1 of transistor T2, pin 2 of transistor T2 and the other end of resistor R86 are connected to AGND, and pin 3 of transistor T1 is connected to pin 3 of connector JP4;
[0026] Pin 1 of the chip U9 is connected to pin 6 of the high-speed optocoupler O16 and one end of the resistor R76, the resistor R76 is connected to 12V, pin 5 of the high-speed optocoupler O16 is connected to AGND, pin 8 of the high-speed optocoupler O16 is connected to 12V, pin 2 of the high-speed optocoupler O16 is connected to one end of the resistor R72, the other end of the resistor R72 is connected to 3.3V, and pin 3 of the high-speed optocoupler O16 is connected to pin 32 of the chip U2A; pin 3 of the chip U9 is connected to pin 6 of the high-speed optocoupler O15 and one end of the resistor R75, the resistor R75 is connected to 12V, pin 5 of the high-speed optocoupler O15 is connected to AGND, pin 8 of the high-speed optocoupler O15 is connected to 12V, pin 2 of the high-speed optocoupler O15 is connected to one end of the resistor R71, the other end of the resistor R71 is connected to 3.3 V, pin 3 of the high-speed optocoupler O15 is connected to pin 31 of chip U2A; pin 5 of chip U9 is connected to one end of resistor R78 and pin 4 of optocoupler O9, the other end of resistor R78 is connected to 12V, pin 1 of optocoupler O9 is connected to one end of resistor R74, the other end of resistor R74 is connected to 3.3V, pin 2 of optocoupler O9 is connected to pin 29 of chip U2A, and pin 3 of optocoupler O9 is connected to AGND; pin 9 of chip U9 is connected to one end of resistor R77 and pin 4 of optocoupler O8, the other end of resistor R77 is connected to 12V, pin 1 of optocoupler O8 is connected to one end of resistor R73, the other end of resistor R73 is connected to 3.3V, pin 2 of optocoupler O8 is connected to pin 30 of chip U2A, and pin 3 of optocoupler O8 is connected to AGND.
[0027] Further, the X-axis Y-axis servo module includes two X-axis Y-axis servo circuits, namely a first X-axis Y-axis servo circuit and a second X-axis Y-axis servo circuit;
[0028] The first X-axis and Y-axis servo circuit includes a chip U12, the model of chip U12 is AM26LS31C, pin 1 of chip U12 is connected to one end of a diode L27 and pin 97 of chip U2A, the other end of diode L27 is connected to one end of a resistor R69, the other end of resistor R69 is connected to 3.3V, pin 7 of chip U12 is connected to one end of a diode L16 and pin 2 of chip U2A, the other end of diode L16 is connected to one end of a resistor R64, the other end of resistor R64 is connected to 3.3V, pin 9 of chip U12 is connected to one end of a diode L24 and pin 1 of chip U2A, the other end of diode L24 is connected to one end of a resistor R66, the other end of resistor R66 is connected to 3.3V, pin 15 of chip U12 is connected to one end of a diode L26 and pin 98 of chip U2A, the other end of diode L26 is connected to one end of a resistor R68, the other end of resistor R68 is connected to 3.3V.
[0029] Pin 2 of the chip U12 is connected to pin 1 of the connector JP5, pin 3 of the chip U12 is connected to pin 2 of the connector JP5, pin 5 of the chip U12 is connected to pin 5 of the connector JP5, pin 6 of the chip U12 is connected to pin 4 of the connector JP5, pin 6 of the connector JP5 is connected to pin 2 of the optocoupler O18 and one end of the diode L30, the other end of the diode L30 is connected to one end of the resistor R127, the other end of the resistor R127 is connected to 12V, pin 1 of the optocoupler O18 is connected to one end of the resistor R125, the other end of the resistor R125 is connected to 12V, pin 4 of the optocoupler O18 is connected to one end of the capacitor C34, one end of the resistor R123 and pin 25 of the chip U2A, the other end of the capacitor C34 is grounded, and the other end of the resistor R123 is connected to 3.3V;
[0030] Pin 10 of the chip U12 is connected to pin 4 of the connector JP6, pin 11 of the chip U12 is connected to pin 5 of the connector JP6, pin 13 of the chip U12 is connected to pin 2 of the connector JP6, pin 14 of the chip U12 is connected to pin 1 of the connector JP6, pin 6 of the connector JP6 is connected to pin 2 of the optocoupler O17 and one end of the diode L29, the other end of the diode L29 is connected to one end of the resistor R128, the other end of the resistor R128 is connected to 12V, pin 1 of the optocoupler O17 is connected to one end of the resistor R126, the other end of the resistor R126 is connected to 12V, pin 4 of the optocoupler O17 is connected to one end of the capacitor C35, one end of the resistor R124 and pin 26 of the chip U2A, the other end of the capacitor C35 is grounded, and the other end of the resistor R124 is connected to 3.3V.
[0031] Furthermore, the second X-axis Y-axis servo circuit includes a chip U10, the model of the chip U10 is AM26LS31C, the 1st pin of the chip U10 is connected to one end of a diode L51 and the 43rd pin of the chip U2A, the other end of the diode L51 is connected to one end of a resistor R143, the other end of the resistor R143 is connected to 3.3V, the 7th pin of the chip U10 is connected to one end of a diode L46 and the 46th pin of the chip U2A, the other end of the diode L46 is connected to a resistor One end of resistor R136, the other end of resistor R136 is connected to 3.3V, the 9th pin of chip U10 is connected to one end of diode L48 and the 45th pin of chip U2A, the other end of diode L48 is connected to one end of resistor R139, the other end of resistor R139 is connected to 3.3V, the 15th pin of chip U10 is connected to one end of diode L49 and the 44th pin of chip U2A, the other end of diode L49 is connected to one end of resistor R141, the other end of resistor R141 is connected to 3.3V;
[0032] Pin 2 of the chip U10 is connected to pin 1 of the connector JP18, pin 3 of the chip U10 is connected to pin 2 of the connector JP18, pin 5 of the chip U10 is connected to pin 5 of the connector JP18, pin 6 of the chip U10 is connected to pin 4 of the connector JP18, pin 6 of the connector JP18 is connected to pin 2 of the optocoupler O36 and one end of the diode L55, the other end of the diode L55 is connected to one end of the resistor R156, the other end of the resistor R156 is connected to 12V, pin 1 of the optocoupler O36 is connected to one end of the resistor R152, the other end of the resistor R152 is connected to 12V, pin 4 of the optocoupler O36 is connected to one end of the capacitor C47, one end of the resistor R153 and pin 53 of the chip U2A, the other end of the capacitor C47 is grounded, and the other end of the resistor R153 is connected to 3.3V;
[0033] Pin 10 of the chip U10 is connected to pin 4 of the connector JP17, pin 11 of the chip U10 is connected to pin 5 of the connector JP17, pin 13 of the chip U10 is connected to pin 2 of the connector JP17, pin 14 of the chip U10 is connected to pin 1 of the connector JP17, pin 6 of the connector JP17 is connected to pin 2 of the optocoupler O34 and one end of the diode L52, the other end of the diode L52 is connected to one end of the resistor R148, the other end of the resistor R148 is connected to 12V, pin 1 of the optocoupler O34 is connected to one end of the resistor R146, the other end of the resistor R146 is connected to 12V, pin 4 of the optocoupler O34 is connected to one end of the capacitor C46, one end of the resistor R147 and pin 54 of the chip U2A, the other end of the capacitor C46 is grounded, and the other end of the resistor R147 is connected to 3.3V.
[0034] Furthermore, the communication module includes a chip U1, the model of the chip U1 is LVC244A, the 18th pin of the chip U1 is connected to one end of the resistor R10, the other end of the resistor R10 is connected to one end of the diode L13, the other end of the diode L13 is connected to 3.3V, the 3rd pin of the chip U1 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to one end of the diode L15, the other end of the diode L15 is connected to 3.3V, the 16th pin of the chip U1 is connected to one end of the resistor R13, the other end of the resistor R13 is connected to the diode L25 One end, the other end of diode L25 is connected to 3.3V, the 5th pin of chip U1 is connected to one end of resistor R17, the other end of resistor R17 is connected to one end of diode L31, the other end of diode L31 is connected to 3.3V, the 14th pin of chip U1 is connected to one end of resistor R20, the other end of resistor R20 is connected to one end of diode L32, the other end of diode L32 is connected to 3.3V, the 7th pin of chip U1 is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of diode L33, the other end of diode L33 is connected to 3.3V;
[0035] The pin 17 of the chip U1 is connected to the pin 48 of the chip U2A, the pin 4 of the optocoupler O21 and one end of the resistor R9, the other end of the resistor R9 is connected to 3.3V, the pin 1 of the optocoupler O21 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to +5V, the pin 2 of the optocoupler O21 is connected to the pin 1 of the chip U5, the pin 3 of the optocoupler O21 is grounded, and the pin 5 of the optocoupler O21 is connected to 3.3V; the pin 18 of the chip U1 is connected to the pin 1 of the optocoupler O22, the pin 2 of the optocoupler O22 is connected to one end of the resistor R14, the other end of the resistor R14 is grounded, and the pin 4 of the optocoupler O22 is connected to the pin 1 of the chip U5. Pin 2 and 3 of chip U5 and one end of resistor R11 are connected, the other end of resistor R11 is connected to +5V, pin 3 of optocoupler O22 is grounded, and pin 5 of optocoupler O22 is connected to +5V; pin 15 of chip U1 is connected to pin 64 of chip U2A, pin 4 of optocoupler O13 and one end of resistor R28, the other end of resistor R28 is connected to 3.3V, pin 1 of optocoupler O13 is connected to one end of resistor R27, the other end of resistor R27 is connected to +5V, pin 2 of optocoupler O13 is connected to pin 1 of chip U13, pin 3 of optocoupler O13 is grounded, and pin 5 of optocoupler O13 is connected to 3.3V. .3V; Pin 16 of chip U1 is connected to pin 1 of optocoupler O14, pin 2 of optocoupler O14 is connected to one end of resistor R30, the other end of resistor R30 is grounded, pin 4 of optocoupler O14 is connected to pins 2 and 3 of chip U13 and one end of resistor R29, the other end of resistor R29 is connected to +5V, pin 3 of optocoupler O14 is grounded, and pin 5 of optocoupler O14 is connected to +5V; pin 13 of chip U1 is connected to pin 55 of chip U2A, pin 4 of optocoupler O19 and one end of resistor R32, the other end of resistor R32 is connected to 3.3V, pin 1 of optocoupler O19 is connected There is one end of resistor R31, the other end of resistor R31 is connected to +5V, pin 2 of optocoupler O19 is connected to pin 1 of chip U4, pin 3 of optocoupler O19 is grounded, and pin 5 of optocoupler O19 is connected to 3.3V; pin 14 of chip U1 is connected to pin 1 of optocoupler O20, pin 2 of optocoupler O20 is connected to one end of resistor R34, the other end of resistor R34 is grounded, pin 4 of optocoupler O20 is connected to pins 2 and 3 of chip U13 and one end of resistor R33, the other end of resistor R33 is connected to +5V, pin 3 of optocoupler O20 is grounded, and pin 5 of optocoupler O20 is connected to +5V;
[0036] Pin 2 of the chip U1 is connected to pin 47 of the chip U2A, pin 4 of the chip U1 is connected to pin 63 of the chip U2A, and pin 6 of the chip U1 is connected to pin 56 of the chip U2A;
[0037] The communication module also includes a connector JP11, wherein pin 1 of the connector JP11 is connected to 12V, pin 4 of the connector JP11 is grounded, pin 2 of the connector JP11 is connected to pin 2 of the optocoupler O11 and one end of a diode L21, the other end of the diode L21 is connected to one end of a resistor R39, the other end of the resistor R39 is connected to 12V, pin 1 of the optocoupler O11 is connected to one end of a resistor R61, the other end of the resistor R61 is connected to 12V, pin 4 of the optocoupler O11 is connected to one end of a capacitor C6, one end of a resistor R51 and pin 51 of a chip U2A, and the capacitor The other end of C6 is grounded, and the other end of resistor R51 is connected to 3.3V; pin 3 of connector JP11 is connected to pin 2 of optocoupler O12 and one end of diode L22, the other end of diode L22 is connected to one end of resistor R40, the other end of resistor R40 is connected to 12V, pin 1 of optocoupler O12 is connected to one end of resistor R16, the other end of resistor R16 is connected to 12V, pin 4 of optocoupler O12 is connected to one end of capacitor C14, one end of resistor R46 and pin 52 of chip U2A, the other end of capacitor C14 is grounded, and the other end of resistor R46 is connected to 3.3V;
[0038] The communication module also includes a chip U13, a chip U4 and a chip U5. The models of the chips U13, U4 and U5 are MAX13085EESA. The 6th pin of the chip U13 is connected to one end of a resistor R42, one end of a resistor R54 and the 4th pin of the connector JP9. The other end of the resistor R54 is connected to +5V. The 7th pin of the chip U13 is connected to the other end of the resistor R42, one end of a resistor R19 and the 2nd pin of the connector JP9. The other end of the resistor R19 is grounded. The 6th pin of the chip U4 is connected to one end of a resistor R43, one end of a resistor R56, the 4th pin of the connector JP10 and the 6th pin of the relay RE1. The other end of the resistor R56 is connected to +5V. The 7th pin of the chip U4 is connected to the other end of the resistor R43, one end of a resistor R55, the 2nd pin of the connector JP10 and the relay RE1. 1, and the other end of the resistor R55 is grounded; the 6th pin of the chip U5 is connected to one end of the resistor R36, one end of the resistor R37 and the 6th pin of the relay RE2, and the other end of the resistor R37 is connected to +5V, the 7th pin of the chip U5 is connected to the other end of the resistor R36, one end of the resistor R35 and the 5th pin of the relay RE2, the other end of the resistor R36 is connected to the 5th and 6th pins of the connector JP14, the 4th pin of the connector JP14 is connected to the 3rd pin of the relay RE1 and the 3rd pin of the relay RE2, the 3rd pin of the connector JP14 is connected to the 4th pin of the relay RE1 and the 4th pin of the relay RE2, the 2nd pin of the connector JP14 is connected to the 7th pin of the relay RE1 and the 7th pin of the relay RE2, and the 1st pin of the connector JP14 is connected to the 8th pin of the relay RE1 and the 8th pin of the relay RE2;
[0039] Pin 1 of the relay RE1 is connected to 12V, and pin 2 of the relay RE1 is connected to the disconnection detection board. Pin 1 of the relay RE2 is connected to 12V, and pin 2 of the relay RE2 is connected to the disconnection detection board.
[0040] The present invention adopts the above technical solution, and has the following technical effects compared with the prior art:
[0041] 1. The control of the left and right sections only needs to be selected on the computer, and no physical means are needed for control, which reduces the difficulty of operation for operators, reduces downtime, and improves production efficiency.
[0042] 2. The left and right sections can be embroidered with different patterns. When the order is small, one machine can handle two orders, so that the machine is not idle and the manufacturer's profits are maximized. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0044] Attached Figure 1 It is a structural block diagram of an embroidery machine control system in the background technology;
[0045] Attached Figure 2 It is a schematic diagram of the main part of the double-stage embroidery machine head embroidery in the background technology;
[0046] Attached Figure 3 It is a structural block diagram of a double-stage embroidery machine control system implemented in an embodiment of the present invention;
[0047] Attached Figure 4 It is a schematic diagram of the main part of the double-stage embroidery machine head embroidery in the embodiment of the present invention;
[0048] Attached Figure 5-17 4 is a circuit diagram of a mainboard in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] Embodiment 1, as Figure 3 As shown, a control system of a double-section embroidery machine includes a main board, and the main board is connected to a display, a left-section break detection board, a right-section break detection board, a left-section X-axis servo controller, a right-section X-axis servo controller, a left-section Y-axis servo controller, a right-section Y-axis servo controller, a left spindle servo controller, and a right spindle servo controller.
[0050] The control system includes two groups of X-axis servos, two groups of Y-axis servos, and two groups of spindle servos, which are controlled by 6 ports respectively, so that four different types of machines can be formed, namely single X-axis, single Y-axis, single spindle; single X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, double spindle.
[0051] Single X-axis, single Y-axis, single spindle: common quilting and embroidery machines, the control method currently available on the market.
[0052] Single X-axis, double Y-axis, single spindle: two sections can be controlled or embroidered at different times, but only the same pattern can be embroidered.
[0053] Double X-axis, double Y-axis, single spindle: two sections can be controlled or embroidered at different times, different patterns can be embroidered, if a single section has a thread break or other faults, both sections need to be stopped at the same time.
[0054] Double X-axis, double Y-axis, double spindle: two sections can be controlled or embroidered at different times, different patterns can be embroidered, and if a single section has a fault such as thread breakage, the other section can still operate normally.
[0055] like Figure 4 As shown, the two-stage break detection boards of the machine head are connected to the main board through different communication lines, and the main board can make the two-stage break detection boards and the machine head work or not work by sending different instructions.
[0056] The main board includes a CPU central processing unit and a power module. The CPU central processing unit is connected to a dial switch module, an encoding module, an oil mist control module, a drive module, a display communication module, a spindle servo module, a detection module, an X-axis and Y-axis servo module, a communication module and a storage module. The detection module is connected to the drive module, and the power module supplies power to each module.
[0057] The drive module includes two drive circuits, the X-axis Y-axis servo module includes two X-axis Y-axis servo circuits, and the detection module includes two detection circuits to ensure that the mainboard can achieve the following functions:
[0058] 1. There are no less than two groups of Y-axis servo controls on the main board that can be independently controlled;
[0059] 2. The mainboard has no less than two sets of independently controllable X-axis and two sets of Y-axis servo controls;
[0060] 3. The mainboard has no less than two sets of independently controllable X-axes, two sets of Y-axes, and two sets of spindle servo controls;
[0061] 4. The main board has no less than two sets of separately controllable X-axes, two sets of Y-axes, two sets of spindle servo controls and two sets of encoder detection.
[0062] like Figure 5As shown, the CPU central processing unit includes a chip U2A, the model of the chip U2A is STM32F429V1, the 37th pin of the chip U2A is connected to one end of a resistor R22, and the other end of the resistor R22 is grounded, the 94th pin of the chip U2A is connected to one end of a resistor R23, and the other end of the resistor R23 is grounded, the 14th pin of the chip U2A is connected to one end of a resistor R15 and one end of a capacitor C22, the other end of the resistor R15 is connected to 3.3V, and the other end of the capacitor C22 is grounded, the 12th pin of the chip U2A is connected to one end of a crystal oscillator JZ1 and one end of a capacitor C13, and the other end of the capacitor C13 is grounded, and the 13th pin of the chip U2A is connected to the other end of the crystal oscillator JZ1 and one end of a capacitor C21, and the other end of the capacitor C21 is grounded.
[0063] like Figure 6 As shown, the dip switch module includes a dip switch SW3, pins 1-8 of the dip switch SW3 are grounded, pin 9 of the dip switch SW3 is connected to pin 88 of the chip U2A, pin 10 of the dip switch SW3 is connected to pin 87 of the chip U2A, pin 11 of the dip switch SW3 is connected to pin 86 of the chip U2A, pin 12 of the dip switch SW3 is connected to pin 85 of the chip U2A, pin 13 of the dip switch SW3 is connected to pin 84 of the chip U2A, pin 14 of the dip switch SW3 is connected to pin 83 of the chip U2A, pin 15 of the dip switch SW3 is connected to pin 82 of the chip U2A, and pin 16 of the dip switch SW3 is connected to pin 81 of the chip U2A.
[0064] The dip switch module also includes a connector JP8, wherein pin 1 of the connector JP8 is connected to 3.3V, pin 2 of the connector JP8 is connected to pin 72 of the chip U2A, pin 3 of the connector JP8 is connected to pin 76 of the chip U2A, pin 4 of the connector JP8 is connected to pin 14 of the chip U2A, and pin 5 of the connector JP8 is grounded.
[0065] like Figure 7As shown, the encoding module includes a connector JP1 and a connector JP2, the pin 1 of the connector JP1 is connected to the pin 2 of the connector JP2, and is connected to one end of a resistor R5 and one end of a resistor R48, the other end of the resistor R5 is connected to 5V, the other end of the resistor R48 is connected to one end of a capacitor C16 and the pin 4 of the chip U8, the other end of the capacitor C16 is grounded, the pin 2 of the connector JP1 is connected to the pin 3 of the connector JP2, and is connected to one end of a resistor R4 and one end of a resistor R49, the other end of the resistor R4 is connected to 5V, and the other end of the resistor R49 is grounded. One end is connected to one end of capacitor C17 and pin 6 of chip U8, and the other end of capacitor C17 is grounded, pin 3 of connector JP1 is connected to pin 4 of connector JP2, and is connected to one end of resistor R3 and one end of resistor R50, the other end of resistor R3 is connected to 5V, the other end of resistor R50 is connected to one end of capacitor C18 and pin 2 of chip U8, the other end of capacitor C18 is grounded, pin 4 of connector JP1 is connected to 5V, pin 5 of connector JP1 is grounded, pin 1 of connector JP2 is connected to 5V, and pin 5 of connector JP2 is grounded.
[0066] The model of the chip U8 is LVC244A, pin 3 of chip U8 is connected to one end of resistor R25, the other end of resistor R25 is connected to one end of diode L35, the other end of diode L35 is connected to 3.3V, pin 5 of chip U8 is connected to one end of resistor R24, the other end of resistor R24 is connected to one end of diode L34, the other end of diode L34 is connected to 3.3V, pin 14 of chip U8 is connected to pin 42 of chip U2A, pin 15 of chip U8 is connected to pin 78 of chip U2A, pin 16 of chip U8 is connected to pin 40 of chip U2A, pin 17 of chip U8 is connected to pin 79 of chip U2A, pin 18 of chip U8 is connected to pin 3 of chip U2A and one end of diode L12, the other end of diode L12 is connected to one end of resistor R7, and the other end of resistor R7 is grounded.
[0067] like Figure 8As shown, the oil mist control module includes a chip U14, the model of the chip U14 is LVC244A, the 2nd pin of the chip U14 is connected to the 18th pin of the chip U2A, the 4th pin of the chip U14 is connected to the 17th pin of the chip U2A, the 6th pin of the chip U14 is connected to the 16th pin of the chip U2A, the 8th pin of the chip U14 is connected to the 15th pin of the chip U2A, the 9th pin of the chip U14 is connected to one end of the diode L20, the other end of the diode L20 is connected to one end of the resistor R101, the other end of the resistor R101 is connected to 5V, the 7th pin of the chip U14 is connected to one end of the diode L19, the other end of the diode L19 is connected to one end of the resistor R100, the other end of the resistor R100 is connected to 5V, Connected to 5V, pin 5 of chip U14 is connected to one end of diode L18, the other end of diode L18 is connected to one end of resistor R99, the other end of resistor R99 is connected to 5V, pin 3 of chip U14 is connected to one end of diode L17, the other end of diode L17 is connected to one end of resistor R98, the other end of resistor R98 is connected to 5V, pins 11 and 12 of chip U14 are connected to pin 1 of connector JP3, pins 13 and 14 of chip U14 are connected to pin 2 of connector JP3, pins 15 and 16 of chip U14 are connected to pin 3 of connector JP3, pins 17 and 18 of chip U14 are connected to pin 4 of connector JP3, and pin 20 of chip U14 is connected to 5V.
[0068] like Fig. 9 and Fig.13As shown, the driving module includes two driving circuits, namely a first driving circuit and a second driving circuit. The first driving circuit includes a chip U7, and the model of the chip U7 is ULN2004A. The second driving circuit includes a chip U6, and the model of the chip U6 is LVC244A. Pins 1 and 2 of the chip U7 are connected to pin 3 of the optocoupler O25, and pin 4 of the optocoupler O25 is connected to one end of a resistor R109, and the other end of the resistor R109 is connected to 12V. Pin 1 of the optocoupler O25 is connected to one end of a resistor R91, and the other end of the resistor R91 is connected to 3.3V. Pin 2 of the optocoupler O25 is connected to pin 3 of the chip U6, and pins 3 and 4 of the chip U7 are connected to pin 3 of the optocoupler O24. Pin 4 of the optocoupler O24 is connected to one end of a resistor R102, and the other end of the resistor R102 is connected to 12V. Pin 1 of optocoupler O24 is connected to one end of resistor R60, and the other end of resistor R60 is connected to 3.3V, pin 2 of optocoupler O24 is connected to pin 5 of chip U6, pins 5 and 6 of chip U7 are connected to pin 3 of optocoupler O26, pin 4 of optocoupler O26 is connected to one end of resistor R96, and the other end of resistor R96 is connected to 12V, pin 1 of optocoupler O26 is connected to one end of resistor R92, and the other end of resistor R92 is connected to 3.3V, pin 2 of optocoupler O26 is connected to pin 7 of chip U6, pin 7 of chip U7 is connected to pin 3 of optocoupler O23, pin 4 of optocoupler O23 is connected to one end of resistor R65, and the other end of resistor R65 is connected to 12V, pin 1 of optocoupler O23 is connected to one end of resistor R59, and the other end of resistor R59 is connected to 3.3V, and pin 2 of optocoupler O23 is connected to pin 9 of chip U6.
[0069] Pins 15 and 16 of the chip U7 are connected to pin 2 of the connector JP21, pins 13 and 14 of the chip U7 are connected to pin 4 of the connector JP21, pins 11 and 12 of the chip U7 are connected to pin 6 of the connector JP21, pin 10 of the chip U7 is connected to pin 8 of the connector JP21, pin 8 of the chip U7 is grounded, pin 9 of the chip U7 is connected to 12V, and pins 1, 3, 5, and 7 of the connector JP21 are connected to 12V.
[0070] Pin 2 of the chip U6 is connected to pin 60 of the chip U2A, pin 4 of the chip U6 is connected to pin 59 of the chip U2A, pin 6 of the chip U6 is connected to pin 58 of the chip U2A, pin 8 of the chip U6 is connected to pin 57 of the chip U2A, pin 11 of the chip U6 is connected to pin 61 of the chip U2A, pin 13 of the chip U6 is connected to pin 62 of the chip U2A, pin 15 of the chip U6 is connected to pin 65 of the chip U2A, and pin 17 of the chip U6 is connected to pin 66 of the chip U2A.
[0071] The 12th pin of the chip U6 is connected to one end of the diode L37 and the 3rd pin of the high-speed optical coupler O28, the other end of the diode L37 is connected to one end of the resistor R104, the other end of the resistor R104 is connected to 3.3V, the 2nd pin of the high-speed optical coupler O28 is connected to one end of the resistor R90, the other end of the resistor R90 is connected to 3.3V, the 8th pin of the high-speed optical coupler O28 is connected to one end of the capacitor C27 and connected to 12V, the other end of the capacitor C27 is grounded, and the 5th pin of the high-speed optical coupler O28 is connected to Ground; Pin 14 of chip U6 is connected to one end of diode L39 and pin 3 of high-speed optocoupler O29, the other end of diode L39 is connected to one end of resistor R108, the other end of resistor R108 is connected to 3.3V, pin 2 of high-speed optocoupler O29 is connected to one end of resistor R97, the other end of resistor R97 is connected to 3.3V, pin 8 of high-speed optocoupler O29 is connected to one end of capacitor C42 and connected to 12V, the other end of capacitor C42 is grounded, and pin 5 of high-speed optocoupler O29 is connected to Ground; Pin 16 of chip U6 is connected to one end of diode L41 and pin 3 of high-speed optocoupler O10, the other end of diode L41 is connected to one end of resistor R117, the other end of resistor R117 is connected to 3.3V, pin 2 of high-speed optocoupler O10 is connected to one end of resistor R62, the other end of resistor R62 is connected to 3.3V, pin 8 of high-speed optocoupler O10 is connected to one end of capacitor C7 and connected to 12V, the other end of capacitor C7 is grounded, and pin 5 of high-speed optocoupler O10 is grounded; Pin 18 of chip U6 is connected to one end of diode L43 and pin 3 of high-speed optocoupler O27, the other end of diode L43 is connected to one end of resistor R119, the other end of resistor R119 is connected to 3.3V, pin 2 of high-speed optocoupler O27 is connected to one end of resistor R95, the other end of resistor R95 is connected to 3.3V, pin 8 of high-speed optocoupler O27 is connected to one end of capacitor C40 and connected to 12V, the other end of capacitor C40 is grounded, and pin 5 of high-speed optocoupler O27 is grounded.
[0072] Pin 6 of the high-speed optocoupler O28 , pin 6 of the high-speed optocoupler O29 , pin 6 of the high-speed optocoupler O10 , and pin 6 of the high-speed optocoupler O27 are connected to a detection module.
[0073] Pin 9 of the chip U6 is connected to one end of a diode L14, the other end of the diode L14 is connected to one end of a resistor R103, the other end of the resistor R103 is connected to 3.3V, pin 7 of the chip U6 is connected to one end of a diode L38, the other end of the diode L38 is connected to one end of a resistor R106, the other end of the resistor R106 is connected to 3.3V, pin 5 of the chip U6 is connected to one end of a diode L40, the other end of the diode L40 is connected to one end of a resistor R110, the other end of the resistor R110 is connected to 3.3V, pin 3 of the chip U6 is connected to one end of a diode L42, the other end of the diode L42 is connected to one end of a resistor R118, the other end of the resistor R118 is connected to 3.3V.
[0074] like Fig.12 and Fig.16As shown, the detection module includes two detection circuits, namely a first detection circuit and a second detection circuit. The first detection circuit includes a connector JP20, pin 2 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O27, pin 3 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O10, pin 4 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O29, and pin 5 of the connector JP20 is connected to pin 6 of the high-speed optocoupler O28.
[0075] The 12th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O30 and one end of the diode L44, the other end of the diode L44 is connected to one end of the resistor R120, the other end of the resistor R120 is connected to 12V, the 1st pin of the optocoupler O30 is connected to one end of the resistor R122, the other end of the resistor R122 is connected to 12V, the 3rd pin of the optocoupler O30 is grounded, the 4th pin of the optocoupler O30 is connected to one end of the resistor R121 and the 89th pin of the chip U2A, the other end of the resistor R121 is connected to 3.3V; the 11th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O31 and one end of the diode L45, the other end of the diode L45 is connected to one end of the resistor R129, the other end of the resistor R129 is connected to 12V, the 1st pin of the optocoupler O31 is connected to One end of the resistor R135 is connected, and the other end of the resistor R135 is connected to 12V. The 3rd pin of the optocoupler O31 is grounded. The 4th pin of the optocoupler O31 is connected to one end of the resistor R130 and the 80th pin of the chip U2A. The other end of the resistor R130 is connected to 3.3V. The 10th pin of the connector JP20 is connected to the 2nd pin of the optocoupler O32 and one end of the diode L47. The other end of the diode L47 is connected to one end of the resistor R137. The other end of the resistor R137 is connected to 12V. The 1st pin of the optocoupler O32 is connected to one end of the resistor R140. The other end of the resistor R140 is connected to 12V. The 3rd pin of the optocoupler O32 is grounded. The 4th pin of the optocoupler O32 is connected to one end of the resistor R138 and the 77th pin of the chip U2A. The other end of the resistor R138 is connected to 3.3V. 3V; Pin 9 of connector JP20 is connected to Pin 2 of optocoupler O33 and one end of diode L50, the other end of diode L50 is connected to one end of resistor R142, the other end of resistor R142 is connected to 12V, Pin 1 of optocoupler O33 is connected to one end of resistor R145, the other end of resistor R145 is connected to 12V, Pin 3 of optocoupler O33 is grounded, Pin 4 of optocoupler O33 is connected to one end of resistor R144 and Pin 71 of chip U2A, the other end of resistor R144 is connected to 3.3V; Pin 8 of connector JP20 is connected to Pin 2 of optocoupler O35 and one end of diode L53, the other end of diode L53 is connected to one end of resistor R149, the other end of resistor R149 is connected to 12V, Pin 1 of optocoupler O35 is connected There is one end of resistor R151, the other end of resistor R151 is connected to 12V, pin 3 of optocoupler O35 is grounded, pin 4 of optocoupler O35 is connected to one end of resistor R150 and pin 70 of chip U2A, and the other end of resistor R150 is connected to 3.3V; pin 7 of connector JP20 is connected to pin 2 of optocoupler O37 and one end of diode L54, the other end of diode L54 is connected to one end of resistor R154, the other end of resistor R154 is connected to 12V, pin 1 of optocoupler O37 is connected to one end of resistor R157, the other end of resistor R157 is connected to 12V, pin 3 of optocoupler O37 is grounded, pin 4 of optocoupler O37 is connected to one end of resistor R155 and pin 67 of chip U2A, and the other end of resistor R155 is connected to 3.3V.
[0076] The first detection circuit also includes a connector JP19, wherein pin 4 of the connector JP19 is connected to pin 12 of the connector JP20, pin 3 of the connector JP19 is connected to pin 11 of the connector JP20, pin 2 of the connector JP19 is connected to pin 10 of the connector JP20, and pin 1 of the connector JP19 is grounded.
[0077] The second detection circuit includes a connector JP7, wherein pin 1 of the connector JP7 is connected to pin 2 of the optocoupler O7 and one end of a diode L9, the other end of the diode L9 is connected to one end of a resistor R113, the other end of the resistor R113 is connected to 12V, pin 1 of the optocoupler O7 is connected to one end of a resistor R114, the other end of the resistor R114 is connected to 12V, pin 3 of the optocoupler O7 is grounded, pin 4 of the optocoupler O7 is connected to one end of a resistor R93 and pin 36 of the chip U2A, the other end of the resistor R93 is connected to 3.3V; pin 4 of the connector JP7 is connected to pin 2 of the optocoupler O6 and one end of a diode L8, the other end of the diode L8 is connected to one end of a resistor R115, the other end of the resistor R115 is connected to 1 2V, pin 1 of optocoupler O6 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O6 is grounded, pin 4 of optocoupler O6 is connected to one end of resistor R94 and pin 35 of chip U2A, the other end of resistor R94 is connected to 3.3V; pin 9 of connector JP7 is connected to pin 2 of optocoupler O2 and one end of diode L4, the other end of diode L4 is connected to one end of resistor R131, the other end of resistor R131 is connected to 12V, pin 1 of optocoupler O2 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O2 is grounded, pin 4 of optocoupler O2 is connected to one end of resistor R111 and pin 34 of chip U2A, The other end of resistor R111 is connected to 3.3V; pin 10 of connector JP7 is connected to pin 2 of optocoupler O1 and one end of diode L3, the other end of diode L3 is connected to one end of resistor R133, the other end of resistor R133 is connected to 12V, pin 1 of optocoupler O1 is connected to one end of resistor R134, the other end of resistor R134 is connected to 12V, pin 3 of optocoupler O1 is grounded, pin 4 of optocoupler O1 is connected to one end of resistor R112 and pin 33 of chip U2A, the other end of resistor R112 is connected to 3.3V; pin 5 of connector JP7 is connected to pin 2 of optocoupler O3 and one end of diode L5, the other end of diode L5 is connected to one end of resistor R38, the other end of resistor R38 is connected to 12V , Pin 1 of optocoupler O3 is connected to one end of resistor R44, the other end of resistor R44 is connected to 12V, Pin 3 of optocoupler O3 is grounded, Pin 4 of optocoupler O3 is connected to one end of resistor R41 and Pin 38 of chip U2A, the other end of resistor R41 is connected to 3.3V; Pin 7 of connector JP7 is connected to Pin 2 of optocoupler O4 and one end of diode L6, the other end of diode L6 is connected to one end of resistor R45, the other end of resistor R45 is connected to 12V, Pin 1 of optocoupler O4 is connected to one end of resistor R52, the other end of resistor R52 is connected to 12V, Pin 3 of optocoupler O4 is grounded, Pin 4 of optocoupler O4 is connected to one end of resistor R47 and Pin 41 of chip U2A, the other end of resistor R47 is connected to 3.3V; Pin 6 of connector JP7 is connected to Pin 2 of optocoupler O5 and one end of diode L7, the other end of diode L7 is connected to one end of resistor R53, the other end of resistor R53 is connected to 12V, Pin 1 of optocoupler O5 is connected to one end of resistor R58, the other end of resistor R58 is connected to 12V, Pin 3 of optocoupler O5 is grounded, Pin 4 of optocoupler O5 is connected to one end of resistor R57 and Pin 24 of chip U2A, the other end of resistor R57 is connected to 3.3V. .
[0078] like Fig.10 As shown, the display communication module includes a chip U3, the signal of the chip U3 is MAX3232ECWE, the pin 1 of the chip U3 is connected to one end of the capacitor C32, the other end of the capacitor C32 is connected to the pin 3 of the chip U3, the pin 4 of the chip U3 is connected to one end of the capacitor C25, the other end of the capacitor C25 is connected to the pin 5 of the chip U3, the pin 11 of the chip U3 is connected to the pin 78 of the chip U2A, the pin 10 of the chip U3 is connected to the pin 68 of the chip U2A, the pin 12 of the chip U3 is connected to the pin 79 of the chip U2A, the pin 9 of the chip U3 is connected to the pin 69 of the chip U2A, and the pin 6 of the chip U3 is connected to the capacitor C26 One end, the other end of capacitor C26 is grounded, pin 8 of chip U3 is connected to pin 1 of connector JP13, pin 13 of chip U3 is connected to pin 1 of connector JP15, pin 7 of chip U3 is connected to pin 2 of connector JP13, pin 14 of chip U3 is connected to pin 2 of connector JP15, pin 1 of connector JP13 is grounded, pin 4 of connector JP15 is grounded, pin 3 of connector JP15 is connected to 12V, pin 2 of chip U3 is connected to one end of capacitor C23, the other end of capacitor C23 is grounded, pin 16 of chip U3 is connected to one end of capacitor C24 and connected to 3.3V, and the other end of capacitor C24 is grounded.
[0079] like Fig.11As shown, the spindle servo module includes a chip U9, the model of the chip U9 is HEF40106, the 2nd pin of the chip U9 is connected to one end of a resistor R80 and one end of a resistor R85, the other end of the resistor R80 is connected to the 1st pin of the transistor T1, the 2nd pin of the transistor T1 and the other end of the resistor R85 are connected to AGND, the 3rd pin of the transistor T1 is connected to one end of a resistor R89 and one end of a resistor R88, the other end of the resistor R89 is connected to one end of a diode L28, the other end of the diode L28 is connected to 12V, and the other end of the resistor R88 is connected to the 2nd pin of the connector JP4; the 4th pin of the chip U9 is connected to one end of a resistor R79 and one end of a resistor R84, the other end of the resistor R79 is connected to the 1st pin of the transistor T4, the 2nd pin of the transistor T4 and the other end of the resistor R84 are connected to AGND, and the 3rd pin of the transistor T1 is connected to the resistor One end of R87 is connected to pin 1 of connector JP4, the other end of resistor R87 is connected to one end of diode L36, and the other end of diode L36 is connected to 12V; pin 6 of chip U9 is connected to one end of resistor R70 and one end of resistor R82, the other end of resistor R82 is connected to pin 1 of transistor T3, pin 2 of transistor T3 and the other end of resistor R70 are connected to AGND, pin 3 of transistor T3 is connected to one end of resistor R83 and pin 4 of connector JP4, the other end of resistor R83 is connected to one end of diode L23, and the other end of diode L23 is connected to 12V; pin 8 of chip U9 is connected to one end of resistor R81 and one end of resistor R86, the other end of resistor R81 is connected to pin 1 of transistor T2, pin 2 of transistor T2 and the other end of resistor R86 are connected to AGND, and pin 3 of transistor T1 is connected to pin 3 of connector JP4.
[0080] Pin 1 of the chip U9 is connected to pin 6 of the high-speed optocoupler O16 and one end of the resistor R76, the resistor R76 is connected to 12V, pin 5 of the high-speed optocoupler O16 is connected to AGND, pin 8 of the high-speed optocoupler O16 is connected to 12V, pin 2 of the high-speed optocoupler O16 is connected to one end of the resistor R72, the other end of the resistor R72 is connected to 3.3V, and pin 3 of the high-speed optocoupler O16 is connected to pin 32 of the chip U2A; pin 3 of the chip U9 is connected to pin 6 of the high-speed optocoupler O15 and one end of the resistor R75, the resistor R75 is connected to 12V, pin 5 of the high-speed optocoupler O15 is connected to AGND, pin 8 of the high-speed optocoupler O15 is connected to 12V, pin 2 of the high-speed optocoupler O15 is connected to one end of the resistor R71, the other end of the resistor R71 is connected to 3.3 V, pin 3 of the high-speed optocoupler O15 is connected to pin 31 of chip U2A; pin 5 of chip U9 is connected to one end of resistor R78 and pin 4 of optocoupler O9, the other end of resistor R78 is connected to 12V, pin 1 of optocoupler O9 is connected to one end of resistor R74, the other end of resistor R74 is connected to 3.3V, pin 2 of optocoupler O9 is connected to pin 29 of chip U2A, and pin 3 of optocoupler O9 is connected to AGND; pin 9 of chip U9 is connected to one end of resistor R77 and pin 4 of optocoupler O8, the other end of resistor R77 is connected to 12V, pin 1 of optocoupler O8 is connected to one end of resistor R73, the other end of resistor R73 is connected to 3.3V, pin 2 of optocoupler O8 is connected to pin 30 of chip U2A, and pin 3 of optocoupler O8 is connected to AGND.
[0081] like Fig.14 As shown, the X-axis Y-axis servo module includes two X-axis Y-axis servo circuits, namely a first X-axis Y-axis servo circuit and a second X-axis Y-axis servo circuit.
[0082] The first X-axis and Y-axis servo circuit includes a chip U12, the model of chip U12 is AM26LS31C, pin 1 of chip U12 is connected to one end of a diode L27 and pin 97 of chip U2A, the other end of diode L27 is connected to one end of a resistor R69, the other end of resistor R69 is connected to 3.3V, pin 7 of chip U12 is connected to one end of a diode L16 and pin 2 of chip U2A, the other end of diode L16 is connected to one end of a resistor R64, the other end of resistor R64 is connected to 3.3V, pin 9 of chip U12 is connected to one end of a diode L24 and pin 1 of chip U2A, the other end of diode L24 is connected to one end of a resistor R66, the other end of resistor R66 is connected to 3.3V, pin 15 of chip U12 is connected to one end of a diode L26 and pin 98 of chip U2A, the other end of diode L26 is connected to one end of a resistor R68, the other end of resistor R68 is connected to 3.3V.
[0083] Pin 2 of the chip U12 is connected to pin 1 of the connector JP5, pin 3 of the chip U12 is connected to pin 2 of the connector JP5, pin 5 of the chip U12 is connected to pin 5 of the connector JP5, pin 6 of the chip U12 is connected to pin 4 of the connector JP5, pin 6 of the connector JP5 is connected to pin 2 of the optocoupler O18 and one end of the diode L30, the other end of the diode L30 is connected to one end of the resistor R127, the other end of the resistor R127 is connected to 12V, pin 1 of the optocoupler O18 is connected to one end of the resistor R125, the other end of the resistor R125 is connected to 12V, pin 4 of the optocoupler O18 is connected to one end of the capacitor C34, one end of the resistor R123 and pin 25 of the chip U2A, the other end of the capacitor C34 is grounded, and the other end of the resistor R123 is connected to 3.3V.
[0084] Pin 10 of the chip U12 is connected to pin 4 of the connector JP6, pin 11 of the chip U12 is connected to pin 5 of the connector JP6, pin 13 of the chip U12 is connected to pin 2 of the connector JP6, pin 14 of the chip U12 is connected to pin 1 of the connector JP6, pin 6 of the connector JP6 is connected to pin 2 of the optocoupler O17 and one end of the diode L29, the other end of the diode L29 is connected to one end of the resistor R128, the other end of the resistor R128 is connected to 12V, pin 1 of the optocoupler O17 is connected to one end of the resistor R126, the other end of the resistor R126 is connected to 12V, pin 4 of the optocoupler O17 is connected to one end of the capacitor C35, one end of the resistor R124 and pin 26 of the chip U2A, the other end of the capacitor C35 is grounded, and the other end of the resistor R124 is connected to 3.3V.
[0085] The second X-axis and Y-axis servo circuit includes a chip U10, the model of which is AM26LS31C. Pin 1 of the chip U10 is connected to one end of a diode L51 and pin 43 of the chip U2A, the other end of the diode L51 is connected to one end of a resistor R143, the other end of the resistor R143 is connected to 3.3V, pin 7 of the chip U10 is connected to one end of a diode L46 and pin 46 of the chip U2A, the other end of the diode L46 is connected to one end of a resistor R136, the other end of the resistor R136 is connected to 3.3V, pin 9 of the chip U10 is connected to one end of a diode L48 and pin 45 of the chip U2A, the other end of the diode L48 is connected to one end of a resistor R139, the other end of the resistor R139 is connected to 3.3V, pin 15 of the chip U10 is connected to one end of a diode L49 and pin 44 of the chip U2A, the other end of the diode L49 is connected to one end of a resistor R141, the other end of the resistor R141 is connected to 3.3V.
[0086] Pin 2 of the chip U10 is connected to pin 1 of the connector JP18, pin 3 of the chip U10 is connected to pin 2 of the connector JP18, pin 5 of the chip U10 is connected to pin 5 of the connector JP18, pin 6 of the chip U10 is connected to pin 4 of the connector JP18, pin 6 of the connector JP18 is connected to pin 2 of the optocoupler O36 and one end of the diode L55, the other end of the diode L55 is connected to one end of the resistor R156, the other end of the resistor R156 is connected to 12V, pin 1 of the optocoupler O36 is connected to one end of the resistor R152, the other end of the resistor R152 is connected to 12V, pin 4 of the optocoupler O36 is connected to one end of the capacitor C47, one end of the resistor R153 and pin 53 of the chip U2A, the other end of the capacitor C47 is grounded, and the other end of the resistor R153 is connected to 3.3V.
[0087] Pin 10 of the chip U10 is connected to pin 4 of the connector JP17, pin 11 of the chip U10 is connected to pin 5 of the connector JP17, pin 13 of the chip U10 is connected to pin 2 of the connector JP17, pin 14 of the chip U10 is connected to pin 1 of the connector JP17, pin 6 of the connector JP17 is connected to pin 2 of the optocoupler O34 and one end of the diode L52, the other end of the diode L52 is connected to one end of the resistor R148, the other end of the resistor R148 is connected to 12V, pin 1 of the optocoupler O34 is connected to one end of the resistor R146, the other end of the resistor R146 is connected to 12V, pin 4 of the optocoupler O34 is connected to one end of the capacitor C46, one end of the resistor R147 and pin 54 of the chip U2A, the other end of the capacitor C46 is grounded, and the other end of the resistor R147 is connected to 3.3V.
[0088] like Fig.17 As shown, the communication module includes a chip U1, the model of the chip U1 is LVC244A, the 18th pin of the chip U1 is connected to one end of a resistor R10, the other end of the resistor R10 is connected to one end of a diode L13, the other end of the diode L13 is connected to 3.3V, the 3rd pin of the chip U1 is connected to one end of a resistor R12, the other end of the resistor R12 is connected to one end of a diode L15, the other end of the diode L15 is connected to 3.3V, the 16th pin of the chip U1 is connected to one end of a resistor R13, the other end of the resistor R13 is connected to a diode L25, The 5th pin of chip U1 is connected to one end of resistor R17, the other end of resistor R17 is connected to one end of diode L31, the other end of diode L31 is connected to 3.3V, the 14th pin of chip U1 is connected to one end of resistor R20, the other end of resistor R20 is connected to one end of diode L32, the other end of diode L32 is connected to 3.3V, the 7th pin of chip U1 is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of diode L33, the other end of diode L33 is connected to 3.3V.
[0089] The pin 17 of the chip U1 is connected to the pin 48 of the chip U2A, the pin 4 of the optocoupler O21 and one end of the resistor R9, the other end of the resistor R9 is connected to 3.3V, the pin 1 of the optocoupler O21 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to +5V, the pin 2 of the optocoupler O21 is connected to the pin 1 of the chip U5, the pin 3 of the optocoupler O21 is grounded, and the pin 5 of the optocoupler O21 is connected to 3.3V; the pin 18 of the chip U1 is connected to the pin 1 of the optocoupler O22, the pin 2 of the optocoupler O22 is connected to one end of the resistor R14, the other end of the resistor R14 is grounded, and the pin 4 of the optocoupler O22 is connected to the pin 1 of the chip U5. Pin 2 and 3 of chip U5 and one end of resistor R11 are connected, the other end of resistor R11 is connected to +5V, pin 3 of optocoupler O22 is grounded, and pin 5 of optocoupler O22 is connected to +5V; pin 15 of chip U1 is connected to pin 64 of chip U2A, pin 4 of optocoupler O13 and one end of resistor R28, the other end of resistor R28 is connected to 3.3V, pin 1 of optocoupler O13 is connected to one end of resistor R27, the other end of resistor R27 is connected to +5V, pin 2 of optocoupler O13 is connected to pin 1 of chip U13, pin 3 of optocoupler O13 is grounded, and pin 5 of optocoupler O13 is connected to 3.3V. .3V; Pin 16 of chip U1 is connected to pin 1 of optocoupler O14, pin 2 of optocoupler O14 is connected to one end of resistor R30, the other end of resistor R30 is grounded, pin 4 of optocoupler O14 is connected to pins 2 and 3 of chip U13 and one end of resistor R29, the other end of resistor R29 is connected to +5V, pin 3 of optocoupler O14 is grounded, and pin 5 of optocoupler O14 is connected to +5V; pin 13 of chip U1 is connected to pin 55 of chip U2A, pin 4 of optocoupler O19 and one end of resistor R32, the other end of resistor R32 is connected to 3.3V, pin 1 of optocoupler O19 is connected There is one end of resistor R31, the other end of resistor R31 is connected to +5V, pin 2 of optocoupler O19 is connected to pin 1 of chip U4, pin 3 of optocoupler O19 is grounded, and pin 5 of optocoupler O19 is connected to 3.3V; pin 14 of chip U1 is connected to pin 1 of optocoupler O20, pin 2 of optocoupler O20 is connected to one end of resistor R34, the other end of resistor R34 is grounded, pin 4 of optocoupler O20 is connected to pins 2 and 3 of chip U13 and one end of resistor R33, the other end of resistor R33 is connected to +5V, pin 3 of optocoupler O20 is grounded, and pin 5 of optocoupler O20 is connected to +5V.
[0090] Pin 2 of the chip U1 is connected to pin 47 of the chip U2A, pin 4 of the chip U1 is connected to pin 63 of the chip U2A, and pin 6 of the chip U1 is connected to pin 56 of the chip U2A.
[0091] The communication module also includes a connector JP11, wherein pin 1 of the connector JP11 is connected to 12V, pin 4 of the connector JP11 is grounded, pin 2 of the connector JP11 is connected to pin 2 of the optocoupler O11 and one end of a diode L21, the other end of the diode L21 is connected to one end of a resistor R39, the other end of the resistor R39 is connected to 12V, pin 1 of the optocoupler O11 is connected to one end of a resistor R61, the other end of the resistor R61 is connected to 12V, pin 4 of the optocoupler O11 is connected to one end of a capacitor C6, one end of a resistor R51 and pin 51 of a chip U2A, and the capacitor The other end of C6 is grounded, and the other end of resistor R51 is connected to 3.3V; pin 3 of connector JP11 is connected to pin 2 of optocoupler O12 and one end of diode L22, the other end of diode L22 is connected to one end of resistor R40, the other end of resistor R40 is connected to 12V, pin 1 of optocoupler O12 is connected to one end of resistor R16, the other end of resistor R16 is connected to 12V, pin 4 of optocoupler O12 is connected to one end of capacitor C14, one end of resistor R46 and pin 52 of chip U2A, the other end of capacitor C14 is grounded, and the other end of resistor R46 is connected to 3.3V.
[0092] The communication module also includes a chip U13, a chip U4 and a chip U5. The models of the chips U13, U4 and U5 are MAX13085EESA. The 6th pin of the chip U13 is connected to one end of a resistor R42, one end of a resistor R54 and the 4th pin of the connector JP9. The other end of the resistor R54 is connected to +5V. The 7th pin of the chip U13 is connected to the other end of the resistor R42, one end of a resistor R19 and the 2nd pin of the connector JP9. The other end of the resistor R19 is grounded. The 6th pin of the chip U4 is connected to one end of a resistor R43, one end of a resistor R56, the 4th pin of the connector JP10 and the 6th pin of the relay RE1. The other end of the resistor R56 is connected to +5V. The 7th pin of the chip U4 is connected to the other end of the resistor R43, one end of a resistor R55, the 2nd pin of the connector JP10 and the relay RE1. 1, and the other end of resistor R55 is grounded; pin 6 of chip U5 is connected to one end of resistor R36, one end of resistor R37 and pin 6 of relay RE2, and the other end of resistor R37 is connected to +5V, pin 7 of chip U5 is connected to the other end of resistor R36, one end of resistor R35 and pin 5 of relay RE2, the other end of resistor R36 is connected to pins 5 and 6 of connector JP14, pin 4 of connector JP14 is connected to pin 3 of relay RE1 and pin 3 of relay RE2, pin 3 of connector JP14 is connected to pin 4 of relay RE1 and pin 4 of relay RE2, pin 2 of connector JP14 is connected to pin 7 of relay RE1 and pin 7 of relay RE2, and pin 1 of connector JP14 is connected to pin 8 of relay RE1 and pin 8 of relay RE2.
[0093] Pin 1 of the relay RE1 is connected to 12V, and pin 2 of the relay RE1 is connected to the disconnection detection board. Pin 1 of the relay RE2 is connected to 12V, and pin 2 of the relay RE2 is connected to the disconnection detection board.
[0094] like Fig.15 As shown, the power supply module includes a chip U21, the model of the chip U21 is AS1117-5V, the 3rd pin of the chip U21 is connected to one end of a capacitor C63, one end of a capacitor E1, one end of a resistor R63 and one end of a resistor R67, the other end of the capacitor C63 and the other end of the capacitor E1 are connected to AGND, the other end of the resistor R63 and the other end of the resistor R67 are connected to one end of a capacitor E3, and are connected to 12V, the other end of the capacitor E3 is connected to AGND, the 1st pin of the chip U21 is connected to AGND, the 2nd and 4th pins of the chip U21 are connected to one end of a capacitor E2 and one end of a capacitor C64, and output +5V, the other end of the capacitor E2 and the other end of the capacitor C64 are grounded.
[0095] The power module also includes a chip IC1, the model of the chip IC1 is LM1085 / 3.3V, the pin 1 of the chip IC1 is connected to one end of a capacitor C36 and one end of a capacitor C15, and connected to 5V, the other end of the capacitor C36 and the other end of the capacitor C15 are grounded, the pin 3 of the chip IC1 is grounded, the pins 2 and 4 of the chip IC1 are connected to one end of a capacitor C44 and one end of a capacitor C29, and connected to 3.3V, the other end of the capacitor C44 and the other end of the capacitor C29 are grounded.
[0096] The power supply module also includes a chip U11, the model of chip U11 is LM2576-5.0V, pin 1 of chip U11 is connected to one end of capacitor C50 and one end of diode D7, and connected to 12V1, the other end of capacitor C50 and the other end of diode D7 are grounded, pin 2 of chip U11 is connected to one end of inductor L56 and one end of diode D6, the other end of diode D6 is grounded, the other end of inductor L56 is connected to one end of capacitor C49 and one end of capacitor C48, and outputs 5V, the other end of capacitor C49 and the other end of capacitor C48 are grounded, and pin 4 of chip U11 is connected to 5V.
[0097] like Fig.15 As shown, the storage module includes a chip U19, the model of the chip U19 is AT24C16, pins 1 to 4 of the chip U19 are grounded, pin 6 of the chip U19 is connected to pin 93 of the chip U2A and one end of the resistor R105, the other end of the resistor R105 is connected to 3.3V, pin 5 of the chip U19 is connected to pin 95 of the chip U2A and one end of the resistor R107, the other end of the resistor R107 is connected to 3.3V, and pin 8 of the chip U19 is connected to 3.3V.
[0098] The main board adds a second Y-axis servo circuit, which can realize the purpose of controlling the two Y axes of the dual-stage quilting embroidery machine separately. The second X-axis servo circuit can realize the separate control of the embroidery frames of the dual-stage quilting embroidery machine, thereby realizing the purpose of embroidering different patterns in the two stages.
[0099] Relays RE1 and RE2 are used to switch the 485 (AA11, BB11 and AA22, BB22) of the two-way break detection board to the normal embroidery protocol chip U5 and the disabled embroidery protocol chip U4 respectively, thereby completing the enabling and disabling functions of the two-stage break detection board.
[0100] The description of the present invention is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the invention to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for particular uses.
Claims
1. A control system for a double-stage embroidery machine. Features: It includes a main board, which is connected with a display, a left-segment break detection board, a right-segment break detection board, a left-segment X-axis servo controller, a right-segment X-axis servo controller, a left-segment Y-axis servo controller, a right-segment Y-axis servo controller, a left spindle servo controller, and a right spindle servo controller; The main board is connected to the two-stage break detection boards of the embroidery machine head through different communication lines, and the main board can make the two-stage break detection boards and the head work or not work by sending different instructions; The control system includes two sets of X-axis servos, two sets of Y-axis servos, and two sets of spindle servos, which are controlled by 6 ports respectively, so that four different types of machines can be formed, namely single X-axis, single Y-axis, single spindle; single X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, single spindle; double X-axis, double Y-axis, double spindle; The mainboard includes a CPU central processing unit and a power module, the CPU central processing unit is connected to a dial switch module, an encoding module, an oil mist control module, a drive module, a display communication module, a spindle servo module, a detection module, an X-axis Y-axis servo module, a communication module and a storage module, the detection module is connected to the drive module, and the power module supplies power to each module; The driving module includes two driving circuits, the first driving circuit includes a chip U7, the model of the chip U7 is ULN2004A, and the second driving circuit includes a chip U6, the model of the chip U6 is LVC244A; The X-axis Y-axis servo module includes two X-axis Y-axis servo circuits, namely a first X-axis Y-axis servo circuit and a second X-axis Y-axis servo circuit.
2. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The encoding module includes a connector JP1 and a connector JP2, wherein the pin 1 of the connector JP1 is connected to the pin 2 of the connector JP2, and is connected to one end of a resistor R5 and one end of a resistor R48, the other end of the resistor R5 is connected to 5V, the other end of the resistor R48 is connected to one end of a capacitor C16 and the pin 4 of the chip U8, the other end of the capacitor C16 is grounded, the pin 2 of the connector JP1 is connected to the pin 3 of the connector JP2, and is connected to one end of a resistor R4 and one end of a resistor R49, the other end of the resistor R4 is connected to 5V, the other end of the resistor R49 is connected to The end is connected with one end of capacitor C17 and pin 6 of chip U8, the other end of capacitor C17 is grounded, pin 3 of connector JP1 is connected with pin 4 of connector JP2, and is connected with one end of resistor R3 and one end of resistor R50, the other end of resistor R3 is connected with 5V, the other end of resistor R50 is connected with one end of capacitor C18 and pin 2 of chip U8, the other end of capacitor C18 is grounded, pin 4 of connector JP1 is connected with 5V, pin 5 of connector JP1 is grounded, pin 1 of connector JP2 is connected with 5V, and pin 5 of connector JP2 is grounded; The model of the chip U8 is LVC244A, pin 3 of chip U8 is connected to one end of resistor R25, the other end of resistor R25 is connected to one end of diode L35, the other end of diode L35 is connected to 3.3V, pin 5 of chip U8 is connected to one end of resistor R24, the other end of resistor R24 is connected to one end of diode L34, the other end of diode L34 is connected to 3.3V, pin 14 of chip U8 is connected to pin 42 of chip U2A, pin 15 of chip U8 is connected to pin 78 of chip U2A, pin 16 of chip U8 is connected to pin 40 of chip U2A, pin 17 of chip U8 is connected to pin 79 of chip U2A, pin 18 of chip U8 is connected to pin 3 of chip U2A and one end of diode L12, the other end of diode L12 is connected to one end of resistor R7, and the other end of resistor R7 is grounded.
3. A control system for a double-stage embroidery machine as claimed in claim 1, Features: Pin 1 and pin 2 of the chip U7 are connected to pin 3 of optocoupler O25, pin 4 of optocoupler O25 is connected to one end of resistor R109, the other end of resistor R109 is connected to 12V, pin 1 of optocoupler O25 is connected to one end of resistor R91, the other end of resistor R91 is connected to 3.3V, pin 2 of optocoupler O25 is connected to pin 3 of chip U6, pin 3 and pin 4 of chip U7 are connected to pin 3 of optocoupler O24, pin 4 of optocoupler O24 is connected to one end of resistor R102, the other end of resistor R102 is connected to 12V, pin 1 of optocoupler O24 is connected to one end of resistor R60, the other end of resistor R60 is connected to 3.3V, pin 2 of optocoupler O24 is connected to pin 3 of chip U6. Pin 5 of chip U6, pin 5 and pin 6 of chip U7 are connected to pin 3 of optocoupler O26, pin 4 of optocoupler O26 is connected to one end of resistor R96, the other end of resistor R96 is connected to 12V, pin 1 of optocoupler O26 is connected to one end of resistor R92, the other end of resistor R92 is connected to 3.3V, pin 2 of optocoupler O26 is connected to pin 7 of chip U6, pin 7 of chip U7 is connected to pin 3 of optocoupler O23, pin 4 of optocoupler O23 is connected to one end of resistor R65, the other end of resistor R65 is connected to 12V, pin 1 of optocoupler O23 is connected to one end of resistor R59, the other end of resistor R59 is connected to 3.3V, pin 2 of optocoupler O23 is connected to pin 9 of chip U6; Pins 15 and 16 of the chip U7 are connected to pin 2 of the connector JP21, pins 13 and 14 of the chip U7 are connected to pin 4 of the connector JP21, pins 11 and 12 of the chip U7 are connected to pin 6 of the connector JP21, pin 10 of the chip U7 is connected to pin 8 of the connector JP21, pin 8 of the chip U7 is grounded, pin 9 of the chip U7 is connected to 12V, and pins 1, 3, 5, and 7 of the connector JP21 are connected to 12V; Pin 2 of the chip U6 is connected to pin 60 of chip U2A, pin 4 of the chip U6 is connected to pin 59 of chip U2A, pin 6 of the chip U6 is connected to pin 58 of chip U2A, pin 8 of the chip U6 is connected to pin 57 of chip U2A, pin 11 of the chip U6 is connected to pin 61 of chip U2A, pin 13 of the chip U6 is connected to pin 62 of chip U2A, pin 15 of the chip U6 is connected to pin 65 of chip U2A, and pin 17 of the chip U6 is connected to pin 66 of chip U2A; The 12th pin of the chip U6 is connected to one end of the diode L37 and the 3rd pin of the high-speed optical coupler O28, the other end of the diode L37 is connected to one end of the resistor R104, the other end of the resistor R104 is connected to 3.3V, the 2nd pin of the high-speed optical coupler O28 is connected to one end of the resistor R90, the other end of the resistor R90 is connected to 3.3V, the 8th pin of the high-speed optical coupler O28 is connected to one end of the capacitor C27 and connected to 12V, the other end of the capacitor C27 is grounded, and the 5th pin of the high-speed optical coupler O28 is connected to Ground; Pin 14 of chip U6 is connected to one end of diode L39 and pin 3 of high-speed optocoupler O29, the other end of diode L39 is connected to one end of resistor R108, the other end of resistor R108 is connected to 3.3V, pin 2 of high-speed optocoupler O29 is connected to one end of resistor R97, the other end of resistor R97 is connected to 3.3V, pin 8 of high-speed optocoupler O29 is connected to one end of capacitor C42 and connected to 12V, the other end of capacitor C42 is grounded, and pin 5 of high-speed optocoupler O29 is connected to Ground; Pin 16 of chip U6 is connected to one end of diode L41 and pin 3 of high-speed optocoupler O10, the other end of diode L41 is connected to one end of resistor R117, the other end of resistor R117 is connected to 3.3V, pin 2 of high-speed optocoupler O10 is connected to one end of resistor R62, the other end of resistor R62 is connected to 3.3V, pin 8 of high-speed optocoupler O10 is connected to one end of capacitor C7 and connected to 12V, the other end of capacitor C7 is grounded, and pin 5 of high-speed optocoupler O10 is grounded; Pin 18 of chip U6 is connected to one end of diode L43 and pin 3 of high-speed optocoupler O27, the other end of diode L43 is connected to one end of resistor R119, the other end of resistor R119 is connected to 3.3V, pin 2 of high-speed optocoupler O27 is connected to one end of resistor R95, the other end of resistor R95 is connected to 3.3V, pin 8 of high-speed optocoupler O27 is connected to one end of capacitor C40 and connected to 12V, the other end of capacitor C40 is grounded, and pin 5 of high-speed optocoupler O27 is grounded; Pin 6 of the high-speed optocoupler O28, pin 6 of the high-speed optocoupler O29, pin 6 of the high-speed optocoupler O10, and pin 6 of the high-speed optocoupler O27 are connected to a detection module; Pin 9 of the chip U6 is connected to one end of a diode L14, the other end of the diode L14 is connected to one end of a resistor R103, the other end of the resistor R103 is connected to 3.3V, pin 7 of the chip U6 is connected to one end of a diode L38, the other end of the diode L38 is connected to one end of a resistor R106, the other end of the resistor R106 is connected to 3.3V, pin 5 of the chip U6 is connected to one end of a diode L40, the other end of the diode L40 is connected to one end of a resistor R110, the other end of the resistor R110 is connected to 3.3V, pin 3 of the chip U6 is connected to one end of a diode L42, the other end of the diode L42 is connected to one end of a resistor R118, the other end of the resistor R118 is connected to 3.3V.
4. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The detection module includes two detection circuits, namely a first detection circuit and a second detection circuit. The first detection circuit includes a connector JP20, wherein pin 2 of the connector JP20 is connected to pin 6 of a high-speed optocoupler O27, pin 3 of the connector JP20 is connected to pin 6 of a high-speed optocoupler O10, pin 4 of the connector JP20 is connected to pin 6 of a high-speed optocoupler O29, and pin 5 of the connector JP20 is connected to pin 6 of a high-speed optocoupler O28; Pin 12 of the connector JP20 is connected to pin 2 of the optocoupler O30 and one end of a diode L44, the other end of the diode L44 is connected to one end of a resistor R120, the other end of the resistor R120 is connected to 12V, pin 1 of the optocoupler O30 is connected to one end of a resistor R122, the other end of the resistor R122 is connected to 12V, pin 3 of the optocoupler O30 is grounded, pin 4 of the optocoupler O30 is connected to one end of a resistor R121 and pin 89 of the chip U2A, the other end of the resistor R121 is connected to 3.3V; Pin 11 of connector JP20 is connected to pin 2 of optocoupler O31 and one end of diode L45, the other end of diode L45 is connected to one end of resistor R129, the other end of resistor R129 is connected to 12V, pin 1 of optocoupler O31 is connected to one end of resistor R135, the other end of resistor R135 is connected to 12V, pin 3 of optocoupler O31 is grounded, pin 4 of optocoupler O31 is connected to one end of resistor R130 and pin 80 of chip U2A, the other end of resistor R130 is connected to 3.3V; Pin 10 of connector JP20 is connected to pin 2 of optocoupler O32 and one end of diode L47, the other end of diode L47 is connected to one end of resistor R137, the other end of resistor R137 is connected to 12V, pin 1 of optocoupler O32 is connected to one end of resistor R140, the other end of resistor R140 is connected to 12V, pin 3 of optocoupler O32 is grounded, pin 4 of optocoupler O32 is connected to one end of resistor R138 and pin 77 of chip U2A, the other end of resistor R138 is connected to 3.3V; Pin 9 of connector JP20 is connected to pin 2 of optocoupler O33 and one end of diode L50, the other end of diode L50 is connected to one end of resistor R142, the other end of resistor R142 is connected to 12V, pin 1 of optocoupler O33 is connected to one end of resistor R145, the other end of resistor R145 is connected to 12V, pin 3 of optocoupler O33 is grounded, pin 4 of optocoupler O33 is connected to one end of resistor R144 and pin 71 of chip U2A, the other end of resistor R144 is connected to 3.3V; Pin 8 of connector JP20 is connected to pin 2 of optocoupler O35 and one end of diode L53, the other end of diode L53 is connected to one end of resistor R149, the other end of resistor R149 is connected to 12V, pin 1 of optocoupler O35 is connected to one end of resistor R151, the other end of resistor R151 is connected to 12V, pin 3 of optocoupler O35 is grounded, pin 4 of optocoupler O35 is connected to one end of resistor R150 and pin 70 of chip U2A, the other end of resistor R150 is connected to 3.3V; Pin 7 of connector JP20 is connected to pin 2 of optocoupler O37 and one end of diode L54, the other end of diode L54 is connected to one end of resistor R154, the other end of resistor R154 is connected to 12V, pin 1 of optocoupler O37 is connected to one end of resistor R157, the other end of resistor R157 is connected to 12V, pin 3 of optocoupler O37 is grounded, pin 4 of optocoupler O37 is connected to one end of resistor R155 and pin 67 of chip U2A, the other end of resistor R155 is connected to 3.3V; The first detection circuit also includes a connector JP19, wherein pin 4 of the connector JP19 is connected to pin 12 of the connector JP20, pin 3 of the connector JP19 is connected to pin 11 of the connector JP20, pin 2 of the connector JP19 is connected to pin 10 of the connector JP20, and pin 1 of the connector JP19 is grounded.
5. A control system for a double-stage embroidery machine as claimed in claim 4, Features: The second detection circuit includes a connector JP7, wherein pin 1 of the connector JP7 is connected to pin 2 of the optocoupler O7 and one end of a diode L9, the other end of the diode L9 is connected to one end of a resistor R113, the other end of the resistor R113 is connected to 12V, pin 1 of the optocoupler O7 is connected to one end of a resistor R114, the other end of the resistor R114 is connected to 12V, pin 3 of the optocoupler O7 is grounded, pin 4 of the optocoupler O7 is connected to one end of a resistor R93 and pin 36 of the chip U2A, the other end of the resistor R93 is connected to 3.3V; pin 4 of the connector JP7 is connected to pin 2 of the optocoupler O6 and one end of a diode L8, the other end of the diode L8 is connected to one end of a resistor R115, the other end of the resistor R115 is connected to 1 2V, pin 1 of optocoupler O6 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O6 is grounded, pin 4 of optocoupler O6 is connected to one end of resistor R94 and pin 35 of chip U2A, the other end of resistor R94 is connected to 3.3V; pin 9 of connector JP7 is connected to pin 2 of optocoupler O2 and one end of diode L4, the other end of diode L4 is connected to one end of resistor R131, the other end of resistor R131 is connected to 12V, pin 1 of optocoupler O2 is connected to one end of resistor R132, the other end of resistor R132 is connected to 12V, pin 3 of optocoupler O2 is grounded, pin 4 of optocoupler O2 is connected to one end of resistor R111 and pin 34 of chip U2A, The other end of resistor R111 is connected to 3.3V; pin 10 of connector JP7 is connected to pin 2 of optocoupler O1 and one end of diode L3, the other end of diode L3 is connected to one end of resistor R133, the other end of resistor R133 is connected to 12V, pin 1 of optocoupler O1 is connected to one end of resistor R134, the other end of resistor R134 is connected to 12V, pin 3 of optocoupler O1 is grounded, pin 4 of optocoupler O1 is connected to one end of resistor R112 and pin 33 of chip U2A, the other end of resistor R112 is connected to 3.3V; pin 5 of connector JP7 is connected to pin 2 of optocoupler O3 and one end of diode L5, the other end of diode L5 is connected to one end of resistor R38, the other end of resistor R38 is connected to 12V , Pin 1 of optocoupler O3 is connected to one end of resistor R44, the other end of resistor R44 is connected to 12V, Pin 3 of optocoupler O3 is grounded, Pin 4 of optocoupler O3 is connected to one end of resistor R41 and Pin 38 of chip U2A, the other end of resistor R41 is connected to 3.3V; Pin 7 of connector JP7 is connected to Pin 2 of optocoupler O4 and one end of diode L6, the other end of diode L6 is connected to one end of resistor R45, the other end of resistor R45 is connected to 12V, Pin 1 of optocoupler O4 is connected to one end of resistor R52, the other end of resistor R52 is connected to 12V, Pin 3 of optocoupler O4 is grounded, Pin 4 of optocoupler O4 is connected to one end of resistor R47 and Pin 41 of chip U2A, the other end of resistor R47 is connected to 3.3V; Pin 6 of connector JP7 is connected to Pin 2 of optocoupler O5 and one end of diode L7, the other end of diode L7 is connected to one end of resistor R53, the other end of resistor R53 is connected to 12V, Pin 1 of optocoupler O5 is connected to one end of resistor R58, the other end of resistor R58 is connected to 12V, Pin 3 of optocoupler O5 is grounded, Pin 4 of optocoupler O5 is connected to one end of resistor R57 and Pin 24 of chip U2A, the other end of resistor R57 is connected to 3.3V. .
6. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The spindle servo module includes a chip U9, the model of the chip U9 is HEF40106, the 2nd pin of the chip U9 is connected to one end of a resistor R80 and one end of a resistor R85, the other end of the resistor R80 is connected to the 1st pin of the transistor T1, the 2nd pin of the transistor T1 and the other end of the resistor R85 are connected to AGND, the 3rd pin of the transistor T1 is connected to one end of a resistor R89 and one end of a resistor R88, the other end of the resistor R89 is connected to one end of a diode L28, the other end of the diode L28 is connected to 12V, and the other end of the resistor R88 is connected to the 2nd pin of the connector JP4; the 4th pin of the chip U9 is connected to one end of a resistor R79 and one end of a resistor R84, the other end of the resistor R79 is connected to the 1st pin of the transistor T4, the 2nd pin of the transistor T4 and the other end of the resistor R84 are connected to AGND, and the 3rd pin of the transistor T1 is connected to the resistor R8 7 and pin 1 of connector JP4, the other end of resistor R87 is connected to one end of diode L36, and the other end of diode L36 is connected to 12V; pin 6 of chip U9 is connected to one end of resistor R70 and one end of resistor R82, the other end of resistor R82 is connected to pin 1 of transistor T3, pin 2 of transistor T3 and the other end of resistor R70 are connected to AGND, pin 3 of transistor T3 is connected to one end of resistor R83 and pin 4 of connector JP4, the other end of resistor R83 is connected to one end of diode L23, and the other end of diode L23 is connected to 12V; pin 8 of chip U9 is connected to one end of resistor R81 and one end of resistor R86, the other end of resistor R81 is connected to pin 1 of transistor T2, pin 2 of transistor T2 and the other end of resistor R86 are connected to AGND, and pin 3 of transistor T1 is connected to pin 3 of connector JP4; Pin 1 of the chip U9 is connected to pin 6 of the high-speed optocoupler O16 and one end of the resistor R76, the resistor R76 is connected to 12V, pin 5 of the high-speed optocoupler O16 is connected to AGND, pin 8 of the high-speed optocoupler O16 is connected to 12V, pin 2 of the high-speed optocoupler O16 is connected to one end of the resistor R72, the other end of the resistor R72 is connected to 3.3V, and pin 3 of the high-speed optocoupler O16 is connected to pin 32 of the chip U2A; pin 3 of the chip U9 is connected to pin 6 of the high-speed optocoupler O15 and one end of the resistor R75, the resistor R75 is connected to 12V, pin 5 of the high-speed optocoupler O15 is connected to AGND, pin 8 of the high-speed optocoupler O15 is connected to 12V, pin 2 of the high-speed optocoupler O15 is connected to one end of the resistor R71, the other end of the resistor R71 is connected to 3.3 V, pin 3 of the high-speed optocoupler O15 is connected to pin 31 of chip U2A; pin 5 of chip U9 is connected to one end of resistor R78 and pin 4 of optocoupler O9, the other end of resistor R78 is connected to 12V, pin 1 of optocoupler O9 is connected to one end of resistor R74, the other end of resistor R74 is connected to 3.3V, pin 2 of optocoupler O9 is connected to pin 29 of chip U2A, and pin 3 of optocoupler O9 is connected to AGND; pin 9 of chip U9 is connected to one end of resistor R77 and pin 4 of optocoupler O8, the other end of resistor R77 is connected to 12V, pin 1 of optocoupler O8 is connected to one end of resistor R73, the other end of resistor R73 is connected to 3.3V, pin 2 of optocoupler O8 is connected to pin 30 of chip U2A, and pin 3 of optocoupler O8 is connected to AGND.
7. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The first X-axis Y-axis servo circuit includes a chip U12, the model of the chip U12 is AM26LS31C, the pin 1 of the chip U12 is connected to one end of a diode L27 and the pin 97 of the chip U2A, the other end of the diode L27 is connected to one end of a resistor R69, the other end of the resistor R69 is connected to 3.3V, the pin 7 of the chip U12 is connected to one end of a diode L16 and the pin 2 of the chip U2A, the other end of the diode L16 is connected to one end of a resistor R64, the other end of the resistor R64 is connected to 3.3V, the pin 9 of the chip U12 is connected to one end of a diode L24 and the pin 1 of the chip U2A, the other end of the diode L24 is connected to one end of a resistor R66, the other end of the resistor R66 is connected to 3.3V, the pin 15 of the chip U12 is connected to one end of a diode L26 and the pin 98 of the chip U2A, the other end of the diode L26 is connected to one end of a resistor R68, the other end of the resistor R68 is connected to 3.3V; Pin 2 of the chip U12 is connected to pin 1 of the connector JP5, pin 3 of the chip U12 is connected to pin 2 of the connector JP5, pin 5 of the chip U12 is connected to pin 5 of the connector JP5, pin 6 of the chip U12 is connected to pin 4 of the connector JP5, pin 6 of the connector JP5 is connected to pin 2 of the optocoupler O18 and one end of the diode L30, the other end of the diode L30 is connected to one end of the resistor R127, the other end of the resistor R127 is connected to 12V, pin 1 of the optocoupler O18 is connected to one end of the resistor R125, the other end of the resistor R125 is connected to 12V, pin 4 of the optocoupler O18 is connected to one end of the capacitor C34, one end of the resistor R123 and pin 25 of the chip U2A, the other end of the capacitor C34 is grounded, and the other end of the resistor R123 is connected to 3.3V; Pin 10 of the chip U12 is connected to pin 4 of the connector JP6, pin 11 of the chip U12 is connected to pin 5 of the connector JP6, pin 13 of the chip U12 is connected to pin 2 of the connector JP6, pin 14 of the chip U12 is connected to pin 1 of the connector JP6, pin 6 of the connector JP6 is connected to pin 2 of the optocoupler O17 and one end of the diode L29, the other end of the diode L29 is connected to one end of the resistor R128, the other end of the resistor R128 is connected to 12V, pin 1 of the optocoupler O17 is connected to one end of the resistor R126, the other end of the resistor R126 is connected to 12V, pin 4 of the optocoupler O17 is connected to one end of the capacitor C35, one end of the resistor R124 and pin 26 of the chip U2A, the other end of the capacitor C35 is grounded, and the other end of the resistor R124 is connected to 3.3V.
8. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The second X-axis and Y-axis servo circuit includes a chip U10, the model of the chip U10 is AM26LS31C, the 1st pin of the chip U10 is connected to one end of a diode L51 and the 43rd pin of the chip U2A, the other end of the diode L51 is connected to one end of a resistor R143, the other end of the resistor R143 is connected to 3.3V, the 7th pin of the chip U10 is connected to one end of a diode L46 and the 46th pin of the chip U2A, the other end of the diode L46 is connected to one end of a resistor R136, the other end of the resistor R136 is connected to 3.3V, the 9th pin of the chip U10 is connected to one end of a diode L48 and the 45th pin of the chip U2A, the other end of the diode L48 is connected to one end of a resistor R139, the other end of the resistor R139 is connected to 3.3V, the 15th pin of the chip U10 is connected to one end of a diode L49 and the 44th pin of the chip U2A, the other end of the diode L49 is connected to one end of a resistor R141, the other end of the resistor R141 is connected to 3.3V; Pin 2 of the chip U10 is connected to pin 1 of the connector JP18, pin 3 of the chip U10 is connected to pin 2 of the connector JP18, pin 5 of the chip U10 is connected to pin 5 of the connector JP18, pin 6 of the chip U10 is connected to pin 4 of the connector JP18, pin 6 of the connector JP18 is connected to pin 2 of the optocoupler O36 and one end of the diode L55, the other end of the diode L55 is connected to one end of the resistor R156, the other end of the resistor R156 is connected to 12V, pin 1 of the optocoupler O36 is connected to one end of the resistor R152, the other end of the resistor R152 is connected to 12V, pin 4 of the optocoupler O36 is connected to one end of the capacitor C47, one end of the resistor R153 and pin 53 of the chip U2A, the other end of the capacitor C47 is grounded, and the other end of the resistor R153 is connected to 3.3V; Pin 10 of the chip U10 is connected to pin 4 of the connector JP17, pin 11 of the chip U10 is connected to pin 5 of the connector JP17, pin 13 of the chip U10 is connected to pin 2 of the connector JP17, pin 14 of the chip U10 is connected to pin 1 of the connector JP17, pin 6 of the connector JP17 is connected to pin 2 of the optocoupler O34 and one end of the diode L52, the other end of the diode L52 is connected to one end of the resistor R148, the other end of the resistor R148 is connected to 12V, pin 1 of the optocoupler O34 is connected to one end of the resistor R146, the other end of the resistor R146 is connected to 12V, pin 4 of the optocoupler O34 is connected to one end of the capacitor C46, one end of the resistor R147 and pin 54 of the chip U2A, the other end of the capacitor C46 is grounded, and the other end of the resistor R147 is connected to 3.3V.
9. A control system for a double-stage embroidery machine as claimed in claim 1, Features: The communication module includes a chip U1, the model of the chip U1 is LVC244A, the 18th pin of the chip U1 is connected to one end of a resistor R10, the other end of the resistor R10 is connected to one end of a diode L13, the other end of the diode L13 is connected to 3.3V, the 3rd pin of the chip U1 is connected to one end of a resistor R12, the other end of the resistor R12 is connected to one end of a diode L15, the other end of the diode L15 is connected to 3.3V, the 16th pin of the chip U1 is connected to one end of a resistor R13, the other end of the resistor R13 is connected to one end of a diode L25, The other end of diode L25 is connected to 3.3V, pin 5 of chip U1 is connected to one end of resistor R17, the other end of resistor R17 is connected to one end of diode L31, the other end of diode L31 is connected to 3.3V, pin 14 of chip U1 is connected to one end of resistor R20, the other end of resistor R20 is connected to one end of diode L32, the other end of diode L32 is connected to 3.3V, pin 7 of chip U1 is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of diode L33, the other end of diode L33 is connected to 3.3V; The pin 17 of the chip U1 is connected to the pin 48 of the chip U2A, the pin 4 of the optocoupler O21 and one end of the resistor R9, the other end of the resistor R9 is connected to 3.3V, the pin 1 of the optocoupler O21 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to +5V, the pin 2 of the optocoupler O21 is connected to the pin 1 of the chip U5, the pin 3 of the optocoupler O21 is grounded, and the pin 5 of the optocoupler O21 is connected to 3.3V; the pin 18 of the chip U1 is connected to the pin 1 of the optocoupler O22, the pin 2 of the optocoupler O22 is connected to one end of the resistor R14, the other end of the resistor R14 is grounded, and the pin 4 of the optocoupler O22 is connected to the pin 1 of the chip U5. Pin 2 and 3 of chip U5 and one end of resistor R11 are connected, the other end of resistor R11 is connected to +5V, pin 3 of optocoupler O22 is grounded, and pin 5 of optocoupler O22 is connected to +5V; pin 15 of chip U1 is connected to pin 64 of chip U2A, pin 4 of optocoupler O13 and one end of resistor R28, the other end of resistor R28 is connected to 3.3V, pin 1 of optocoupler O13 is connected to one end of resistor R27, the other end of resistor R27 is connected to +5V, pin 2 of optocoupler O13 is connected to pin 1 of chip U13, pin 3 of optocoupler O13 is grounded, and pin 5 of optocoupler O13 is connected to 3.3V. .3V; Pin 16 of chip U1 is connected to pin 1 of optocoupler O14, pin 2 of optocoupler O14 is connected to one end of resistor R30, the other end of resistor R30 is grounded, pin 4 of optocoupler O14 is connected to pins 2 and 3 of chip U13 and one end of resistor R29, the other end of resistor R29 is connected to +5V, pin 3 of optocoupler O14 is grounded, and pin 5 of optocoupler O14 is connected to +5V; pin 13 of chip U1 is connected to pin 55 of chip U2A, pin 4 of optocoupler O19 and one end of resistor R32, the other end of resistor R32 is connected to 3.3V, pin 1 of optocoupler O19 is connected There is one end of resistor R31, the other end of resistor R31 is connected to +5V, pin 2 of optocoupler O19 is connected to pin 1 of chip U4, pin 3 of optocoupler O19 is grounded, and pin 5 of optocoupler O19 is connected to 3.3V; pin 14 of chip U1 is connected to pin 1 of optocoupler O20, pin 2 of optocoupler O20 is connected to one end of resistor R34, the other end of resistor R34 is grounded, pin 4 of optocoupler O20 is connected to pins 2 and 3 of chip U13 and one end of resistor R33, the other end of resistor R33 is connected to +5V, pin 3 of optocoupler O20 is grounded, and pin 5 of optocoupler O20 is connected to +5V; Pin 2 of the chip U1 is connected to pin 47 of the chip U2A, pin 4 of the chip U1 is connected to pin 63 of the chip U2A, and pin 6 of the chip U1 is connected to pin 56 of the chip U2A; The communication module also includes a connector JP11, wherein pin 1 of the connector JP11 is connected to 12V, pin 4 of the connector JP11 is grounded, pin 2 of the connector JP11 is connected to pin 2 of the optocoupler O11 and one end of a diode L21, the other end of the diode L21 is connected to one end of a resistor R39, the other end of the resistor R39 is connected to 12V, pin 1 of the optocoupler O11 is connected to one end of a resistor R61, the other end of the resistor R61 is connected to 12V, pin 4 of the optocoupler O11 is connected to one end of a capacitor C6, one end of a resistor R51 and pin 51 of a chip U2A, and the capacitor The other end of C6 is grounded, and the other end of resistor R51 is connected to 3.3V; pin 3 of connector JP11 is connected to pin 2 of optocoupler O12 and one end of diode L22, the other end of diode L22 is connected to one end of resistor R40, the other end of resistor R40 is connected to 12V, pin 1 of optocoupler O12 is connected to one end of resistor R16, the other end of resistor R16 is connected to 12V, pin 4 of optocoupler O12 is connected to one end of capacitor C14, one end of resistor R46 and pin 52 of chip U2A, the other end of capacitor C14 is grounded, and the other end of resistor R46 is connected to 3.3V; The communication module also includes a chip U13, a chip U4 and a chip U5. The models of the chips U13, U4 and U5 are MAX13085EESA. The 6th pin of the chip U13 is connected to one end of a resistor R42, one end of a resistor R54 and the 4th pin of the connector JP9. The other end of the resistor R54 is connected to +5V. The 7th pin of the chip U13 is connected to the other end of the resistor R42, one end of a resistor R19 and the 2nd pin of the connector JP9. The other end of the resistor R19 is grounded. The 6th pin of the chip U4 is connected to one end of a resistor R43, one end of a resistor R56, the 4th pin of the connector JP10 and the 6th pin of the relay RE1. The other end of the resistor R56 is connected to +5V. The 7th pin of the chip U4 is connected to the other end of the resistor R43, one end of a resistor R55, the 2nd pin of the connector JP10 and the relay RE1. 1, and the other end of the resistor R55 is grounded; the 6th pin of the chip U5 is connected to one end of the resistor R36, one end of the resistor R37 and the 6th pin of the relay RE2, and the other end of the resistor R37 is connected to +5V, the 7th pin of the chip U5 is connected to the other end of the resistor R36, one end of the resistor R35 and the 5th pin of the relay RE2, the other end of the resistor R36 is connected to the 5th and 6th pins of the connector JP14, the 4th pin of the connector JP14 is connected to the 3rd pin of the relay RE1 and the 3rd pin of the relay RE2, the 3rd pin of the connector JP14 is connected to the 4th pin of the relay RE1 and the 4th pin of the relay RE2, the 2nd pin of the connector JP14 is connected to the 7th pin of the relay RE1 and the 7th pin of the relay RE2, and the 1st pin of the connector JP14 is connected to the 8th pin of the relay RE1 and the 8th pin of the relay RE2; Pin 1 of the relay RE1 is connected to 12V, and pin 2 of the relay RE1 is connected to the disconnection detection board. Pin 1 of the relay RE2 is connected to 12V, and pin 2 of the relay RE2 is connected to the disconnection detection board.
