An intelligent control system and method for low-cost textile dyeing liquid preparation
By designing a low-cost textile dyeing and liquid distribution intelligent control system, using the ARM main control module and other drive modules to work together to achieve accurate filling and mixing of multiple liquids, the traditional dyeing process has solved the problem of strict requirements on environmental pollution and inkjet printheads on the properties of ink, and achieved efficient and environmentally friendly textile dyeing.
Patent Information
- Application Number
- CN202411273648.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2044-09-12
AI Technical Summary
Traditional textile dyeing processes have a great environmental pollution, and inkjet printheads have strict requirements on the physical and chemical properties of ink, resulting in the need of multiple inkjet printheads and complex ink supply systems for printing and dyeing of multiple colors.
A low-cost textile dyeing and liquid distribution intelligent control system is designed, using ARM main control module, stirring motor drive module, solenoid valve drive module, peristaltic pump drive module and USB interface module. Through the coordinated work of these modules, the precise filling, mixing and output of multiple liquids is achieved, and dyeing is performed using a single nozzle and a monochrome ink cartridge.
This system can save color matching costs, reduce printing and manufacturing costs, simplify ink supply system, and improve dyeing efficiency and environmental protection.
Smart Images

Figure CN119126640B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inkjet printing, and particularly relates to a low-cost intelligent control system and method for textile dyeing liquid preparation. Background Art
[0002] China is a major textile manufacturing country, accounting for 36% of the global output. In the textile industry, dyeing textiles is an essential process, and all textiles need to undergo dyeing treatment. However, traditional dyeing processes cause great pollution to the environment and consume a large amount of energy.
[0003] However, by spraying dye on textiles, using an inkjet print head to spray ink with colors onto textiles, compared with traditional dyeing methods, less wastewater is generated, which is more energy-saving and environmentally friendly. However, it is necessary to ensure that the material of the inkjet print head is compatible with the physical and chemical properties of the ink. Since the types of inks that the inkjet print head can adapt to are limited, to achieve printing in multiple colors, multiple inkjet print heads need to cooperate with each other, and the corresponding ink supply system becomes more complex. Summary of the Invention
[0004] To solve the above technical problems, the present application proposes the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a low-cost intelligent control system for textile dyeing liquid preparation, including: an ARM main control module and a stirring motor drive module, a solenoid valve drive module, a peristaltic pump drive module, and a USB interface module electrically connected to the ARM main control module; after receiving a command through the USB interface module, the ARM main control module controls the peristaltic pump drive module to quantitatively add various liquids to a secondary ink cartridge according to the calculated volume and control working time, and then controls the stirring motor drive module to work. After mixing into a pure-color printing liquid, it is output through a single print head.
[0006] In a possible implementation manner, the stirring motor drive module uses an optocoupler isolation chip. The first end of the optocoupler isolation chip is electrically connected to the first end of a first resistor. The second end of the first resistor is electrically connected to a power supply. The second end of the optocoupler isolation chip is electrically connected to the ARM main control module. The third end of the optocoupler isolation chip is electrically connected to the first end of a second resistor. The second end of the second resistor is grounded. The fourth end of the optocoupler isolation chip is respectively electrically connected to the first end of a third resistor and the gate of a MOS tube. The source of the MOS tube is respectively electrically connected to the positive electrode of a solenoid valve or a stirring motor and the first end of a first capacitor. The negative electrode of the solenoid valve or the stirring motor and the second end of the first capacitor are grounded. The drain of the MOS tube and the second end of the third resistor are respectively electrically connected to a 24V power supply.
[0007] In a possible implementation, the peristaltic pump driving module uses a stepper motor driving chip TMC2225. The CPO port of the stepper motor driving chip TMC2225 is electrically connected to the first end of a second capacitor. The second end of the second capacitor is electrically connected to the CPI port of the stepper motor driving chip TMC2225. The VCP port of the stepper motor driving chip TMC2225 is electrically connected to the first end of a third capacitor. The second end of the third capacitor is electrically connected to both the VS port of the stepper motor driving chip TMC2225 and a 24V power supply. The OA2 port, OA1 port, OB1 port, and OB2 port of the stepper motor driving chip TMC2225 are electrically connected to the coils of the stepper motor. The BRA port of the stepper motor driving chip TMC2225 is electrically connected to the first end of a fourth resistor. The BRB port of the stepper motor driving chip TMC2225 is electrically connected to the first end of a fifth resistor. The second ends of the fourth resistor and the fifth resistor are grounded. The VREF port of the stepper motor driving chip TMC2225 is electrically connected to the first end of a sixth resistor. The second end of the sixth resistor is electrically connected to the first end of a seventh resistor. The second end of the seventh resistor is electrically connected to a 5V power supply. The TESE port, EP port, MS2 port, CLK port, SPREAD port, and GND port of the stepper motor driving chip TMC2225 are grounded. The MS1 port and VCC-IO port of the stepper motor driving chip TMC2225 are electrically connected to a VCC power supply. The PDN-UART port of the stepper motor driving chip TMC2225 is electrically connected to the USRAT_RX and USRAT_TX serial port signals respectively. The USRAT_RX and USRAT_TX are electrically connected to an ARM main control module. The SVOUT port of the stepper motor driving chip TMC2225 is electrically connected to the first ends of a fourth capacitor, a fifth capacitor, and a 5V output power supply respectively. The second ends of the fourth capacitor and the fifth capacitor are grounded.
[0008] In a possible implementation, the USB interface module adopts a USB PHY interface chip USB3300. The DATA0 - DATA7 ports of the USB3300 interface chip are respectively electrically connected to the ULPI - D0_ULPI - D7 data lines. The VDD3.3 port of the USB3300 interface chip is electrically connected to the VCC3.3 power supply. The first VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the sixth capacitor. The second VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the seventh capacitor. The third VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the eighth capacitor. The RBIA5 port of the USB3300 interface chip is electrically connected to the first end of the eighth resistor. The second end of the eighth resistor, the second end of the sixth capacitor, the second end of the seventh capacitor, the second end of the eighth capacitor, the EP port and the GND port of the USB3300 interface chip are grounded. The CLKOUT port of the USB3300 interface chip is electrically connected to the clock signal. The STP port, DIR port and NXT port of the USB3300 interface chip are electrically connected to the control signal. The XO port and X1 port of the USB3300 interface chip are electrically connected to the crystal oscillator for providing a clock signal.
[0009] In a possible implementation, the peristaltic pump driving module is used to drive the peristaltic pump to press out the remaining liquid or clean the ink cartridge and the nozzle.
[0010] In a second aspect, an embodiment of the present application provides a low - cost intelligent control method for textile dyeing liquid preparation. The method is applied to the system in any of the possible implementations, and includes:
[0011] After the ARM main control module receives the command sent by the host computer software through the USB interface, it controls the solenoid valve through the solenoid valve driving module to adjust the pressure in the secondary ink cartridge.
[0012] After the adjustment is completed, the peristaltic pump driving module controls multiple peristaltic pumps to quantitatively fill multiple liquids into the secondary ink cartridge according to the calculated volume and controlled working time respectively.
[0013] The stirring motor driving module controls the stirring motor to work, mixes and stirs the various colored liquids evenly and then outputs them through a single nozzle.
[0014] After the spraying is completed, the solenoid valve is closed, and the peristaltic pump is controlled to press out the remaining ink and clean the ink cartridge and the nozzle.
[0015] In a possible implementation, the step of, after the adjustment is completed, controlling multiple peristaltic pumps to quantitatively fill multiple liquids into the secondary ink cartridge according to the calculated volume and controlled working time respectively, includes:
[0016] The raster image processor outputs the number of inkjet dots of each of the CMKY colors used for the solid-color textile to be processed according to the area size.
[0017] According to the number of dots and the volume of the ejected liquid droplets of the inkjet head used, calculate the total volume of the CMKY color liquids required respectively.
[0018] Compared with the prior art, the beneficial effects of this application are as follows:
[0019] In this application, the raster image processor outputs the number of inkjet dots of each of the CMKY colors used for the solid-color textile to be processed according to the area size, and combines with the volume of the ejected liquid droplets of the inkjet head used to calculate the total volume of the CMKY color liquids required respectively, saving the color matching cost. At the same time, using a single-color nozzle and a single ink cartridge reduces the printing and manufacturing cost. Description of the Drawings
[0020] Figure 1 It is a circuit schematic diagram of an intelligent control system for low-cost textile dyeing and liquid preparation provided by an embodiment of this application;
[0021] Figure 2 It is a circuit schematic diagram of the stirring motor drive module provided by an embodiment of this application;
[0022] Figure 3 It is a circuit schematic diagram of the peristaltic pump drive module provided by an embodiment of this application;
[0023] Figure 4 It is a circuit schematic diagram of the USB interface module provided by an embodiment of this application;
[0024] Figure 5 It is a flow schematic diagram of an intelligent control method for low-cost textile dyeing and liquid preparation provided by an embodiment of this application;
[0025] Figure 6 It is a schematic diagram of an intelligent control system for low-cost textile dyeing and liquid preparation provided by an embodiment of this application;
[0026] Figure 7 It is a diagram of the ejection times of various CMKY colors obtained by using a raster image processor provided by an embodiment of this application. Detailed Embodiments
[0027] The following elaborates on this solution in combination with the drawings and the detailed embodiments.
[0028] Figure 1 It is a circuit schematic diagram of an intelligent control system for low-cost textile dyeing and liquid preparation provided by an embodiment of this application. See Figure 1, the low-cost textile dyeing liquid preparation intelligent control system in this embodiment includes: an ARM main control module, a stirring motor drive module, a solenoid valve drive module, a peristaltic pump drive module, and a USB interface module that are electrically connected to the ARM main control module. Among them, after receiving a command through the USB interface module, the ARM main control module controls the peristaltic pump drive module to quantitatively add various liquids to the secondary ink cartridge according to the calculated volume and control the working time, and then controls the stirring motor drive module to work. After mixing into a pure-color printing liquid, it is output through a single nozzle.
[0029] See Figure 2 , in this embodiment, the stirring motor drive module uses an optocoupler isolation chip FOD817C. The first end of the optocoupler isolation chip FOD817C is electrically connected to the first end of the first resistor R9. The second end of the first resistor R9 is electrically connected to the power supply. The second end of the optocoupler isolation chip FOD817C is electrically connected to the ARM main control module. The third end of the optocoupler isolation chip FOD817C is electrically connected to the first end of the second resistor R14. The second end of the second resistor R14 is grounded. The fourth end of the optocoupler isolation chip FOD817C is electrically connected to the first end of the third resistor R10 and the gate of the MOS transistor respectively. The source electrode of the MOS transistor is electrically connected to the positive electrode of the solenoid valve or the stirring motor and the first end of the first capacitor C20 respectively. The negative electrode of the solenoid valve or the stirring motor and the second end of the first capacitor C20 are grounded. The drain electrode of the MOS transistor and the second end of the third resistor R10 are electrically connected to the 24V power supply respectively.
[0030] See Figure 3 , the circuit schematic diagram of the peristaltic pump drive module provided by the embodiment of the present application. In this embodiment, the peristaltic pump drive module uses a stepper motor drive chip TMC2225 to drive the peristaltic pump. DIR is for direction control, EN is for enable control, and STEP is for pulse control. A1, A2, B1, and B2 are connected to the two coils of the stepper motor. USRAT_RX and USRAT_TX are serial port signals, which are connected to the ARM and can control the operation of the stepper motor and can implement the functions of DIR, EN, and STEP. Here, an additional control option is reserved for this interface.
[0031] The CPO port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the second capacitor C4. The second end of the second capacitor C4 is electrically connected to the CPI port of the stepper motor drive chip TMC2225. The VCP port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the third capacitor C7. The second end of the third capacitor C7 is electrically connected to the VS port of the stepper motor drive chip TMC2225 and the 24V power supply respectively. The OA2 port, OA1 port, OB1 port and OB2 port of the stepper motor drive chip TMC2225 are electrically connected to the coil of the stepper motor. The BRA port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the fourth resistor R26. The BRB port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the fifth resistor R28. The second ends of the fourth resistor R26 and the fifth resistor R28 are grounded. The VREF port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the sixth resistor R33. The second end of the sixth resistor R33 is electrically connected to the first end of the seventh resistor R27. The second end of the seventh resistor R27 is electrically connected to the 5V power supply. The TESE port, EP port, MS2 port, CLK port, SPREAD port and GND port of the stepper motor drive chip TMC2225 are grounded. The MS1 port and VCC-IO port of the stepper motor drive chip TMC2225 are electrically connected to the VCC power supply. The PDN-UART port of the stepper motor drive chip TMC2225 is electrically connected to the USRAT_RX and USRAT_TX serial port signals respectively. The USRAT_RX and USRAT_TX are electrically connected to the ARM main control module. The SVOUT port of the stepper motor drive chip TMC2225 is electrically connected to the first end of the fourth capacitor C28, the first end of the fifth capacitor C70 and the 5V output power supply respectively. The second ends of the fourth capacitor C28 and the fifth capacitor C70 are grounded.
[0032] See Figure 4, The circuit schematic diagram of the USB interface module provided by the embodiment of the present application. In this embodiment, the USB interface module uses the USB PHY interface chip USB3300. The DATA0 - DATA7 ports of the USB3300 interface chip are respectively electrically connected to the ULPI - D0_ULPI - D7 data lines. The VDD3.3 port of the USB3300 interface chip is electrically connected to the VCC3.3 power supply. The first VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the sixth capacitor C5. The second VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the seventh capacitor C16. The third VDD1.8 port of the USB3300 interface chip is electrically connected to the first end of the eighth capacitor C6. The RBIA5 port of the USB3300 interface chip is electrically connected to the first end of the eighth resistor R2. The second end of the eighth resistor R2, the second end of the sixth capacitor C5, the second end of the seventh capacitor C16, the second end of the eighth capacitor C6, the EP port and the GND port of the USB3300 interface chip are grounded. The CLKOUT port of the USB3300 interface chip is electrically connected to the clock signal. The STP port, DIR port and NXT port of the USB3300 interface chip are electrically connected to the control signal. The XO port and X1 port of the USB3300 interface chip are electrically connected to the crystal oscillator for providing a clock signal.
[0033] Corresponding to the low - cost textile dyeing liquid preparation intelligent control system provided by the above - mentioned embodiment, the present application also provides an embodiment of a low - cost textile dyeing liquid preparation intelligent control method.
[0034] See Figure 5 , The flow schematic diagram of the low - cost textile dyeing liquid preparation intelligent control method provided by the embodiment of the present application, including:
[0035] S101, After the ARM main control module receives the command sent by the host computer software through the USB interface, it controls the solenoid valve through the solenoid valve drive module to adjust the pressure in the secondary ink cartridge.
[0036] In the embodiment of the present application, see Figure 6 , The pressure is adjusted by opening the solenoid valve 1. The sent command includes the amount of each ink and the actions of the peristaltic pump and the solenoid valve.
[0037] S102, After the adjustment is completed, the peristaltic pump drive module controls multiple peristaltic pumps to quantitatively fill multiple liquids into the secondary ink cartridge according to the calculated volume and controlled working time respectively.
[0038] In this embodiment, four colors of C (blue), M (red), K (black), and Y (yellow) are used, and the automatic filling of inks of the four colors is realized by peristaltic pumps 1-4. The raster image processor outputs the number of inkjet dots of each CMKY color used for the solid-color textile to be processed according to the area size, and calculates the total volume of each CMKY liquid required respectively according to the number of dots and the volume of the ejected droplets of the inkjet head used. Refer to Figure 7 , in this embodiment, the number of K ejection times is 87688697 times, the number of C ejection times is 136025355 times, the number of M ejection times is 22530048 times, and the number of Y ejection times is 8699407 times. If the M5 inkjet head is used, the volume of the ejected droplet is 35 pL. Therefore, 0.0307 liters of K, 0.0476 liters of C, 0.0079 liters of M, and 0.0030 liters of Y are required.
[0039] S103, the stirring motor drive module controls the stirring motor to work, mixes and stirs the various liquids evenly, and then outputs them through a single nozzle.
[0040] In this embodiment, 0.0307 liters of black ink, 0.0476 liters of blue ink, 0.0079 liters of red ink, and 0.0030 liters of yellow ink are mixed and stirred evenly to form solid-color ink, which is added to the printer and ejected using a single-color nozzle.
[0041] S104, after the ejection is completed, the solenoid valve is closed, and the peristaltic pump is controlled to press out the remaining ink and clean the ink cartridge and the nozzle.
[0042] In this embodiment, the peristaltic pump 6 is controlled to press out the remaining ink, and the peristaltic pump 5 is controlled to realize the cleaning function of the secondary ink cartridge and the nozzle, so as to prepare for the next filling.
[0043] In the embodiment of the present application, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent the situation where A exists alone, A and B exist simultaneously, and B exists alone. Where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0044] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including one..." does not exclude the presence of additional identical elements in the process, method, article or device including said element.
[0045] As described above, the above are only specific embodiments of the present application. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should be covered within the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A low-cost intelligent control system for textile dyeing liquid preparation, characterized in that: include: An ARM main control module and a stirring motor drive module, a solenoid valve drive module, a peristaltic pump drive module and a USB interface module electrically connected to the ARM main control module; After receiving the command through the USB interface module, the ARM main control module controls the peristaltic pump drive module to quantitatively add the multiple liquids into the secondary ink cartridge according to the calculated volume and working time, and then controls the stirring motor drive module to work, mix the pure color printing liquid and output it through the single nozzle; After receiving the command through the USB interface module, the ARM main control module controls the peristaltic pump driving module to quantitatively inject multiple liquids into the secondary ink cartridge according to the calculated volume and control the working time, including: The solid color textile to be processed is output according to the area size through the raster image processor. The inkjet dots of each color of CMKY used are output; According to the number of dots and the volume of the droplets ejected by the inkjet head used, the total volume of each color of CMKY liquid required is calculated respectively; The peristaltic pump driving module adopts a stepper motor driving chip TMC2225, a CPO port of the stepper motor driving chip TMC2225 is electrically connected to a first end of a second capacitor, a second end of the second capacitor is electrically connected to a CPI port of the stepper motor driving chip TMC2225, a VCP port of the stepper motor driving chip TMC2225 is electrically connected to a first end of a third capacitor, a second end of the third capacitor is electrically connected to a VS port of the stepper motor driving chip TMC2225 and a 24V power supply, respectively, an OA2 port, an OA1 port, an OB1 port and an OB2 port of the stepper motor driving chip TMC2225 are electrically connected to a coil of a stepper motor, a BRA port of the stepper motor driving chip TMC2225 is electrically connected to a first end of a fourth resistor, a BRB port of the stepper motor driving chip TMC2225 is electrically connected to a first end of a fifth resistor, second ends of the fourth resistor and the fifth resistor are grounded, and the stepper motor driving chip The VREF port of the chip TMC2225 is electrically connected to the first end of the sixth resistor, the second end of the sixth resistor is electrically connected to the first end of the seventh resistor, and the second end of the seventh resistor is electrically connected to the 5V power supply; the TESE port, EP port, MS2 port, CLK port, SPREAD port and GND electrical port of the stepper motor driver chip TMC2225 are grounded, the MS1 port and VCC-IO port of the stepper motor driver chip TMC2225 are electrically connected to the VCC power supply, the PDN-UART port of the stepper motor driver chip TMC2225 is electrically connected to the USRAT_RX and USRAT_TX serial port signals, respectively, the USRAT_RX and USRAT_TX are electrically connected to the ARM main control module, the SVOUT port of the stepper motor driver chip TMC2225 is electrically connected to the first end of the fourth capacitor, the first end of the fifth capacitor and the 5V output power supply, respectively, and the second ends of the fourth capacitor and the fifth capacitor are grounded.
2. The low-cost textile dyeing liquid intelligent control system according to claim 1 is characterized in that: The stirring motor drive module adopts an optocoupler isolation chip, the first end of the optocoupler isolation chip is electrically connected to the first end of the first resistor, the second end of the first resistor is electrically connected to the power supply, the second end of the optocoupler isolation chip is electrically connected to the ARM main control module, the third end of the optocoupler isolation chip is electrically connected to the first end of the second resistor, the second end of the second resistor is grounded, the fourth end of the optocoupler isolation chip is electrically connected to the first end of the third resistor and the gate of the MOS tube respectively, the source of the MOS tube is electrically connected to the positive electrode of the solenoid valve or the stirring motor and the first end of the first capacitor respectively, the negative electrode of the solenoid valve or the stirring motor and the second end of the first capacitor are grounded, and the drain of the MOS tube and the second end of the third resistor are electrically connected to the 24V power supply respectively.
3. The low-cost intelligent control system for textile dyeing liquid preparation according to claim 1 is characterized in that: The USB interface module adopts a USB PHY interface chip USB3300, DATA0-DATA7 ports of the USB3300 interface chip are electrically connected to ULPI-D0_ULPI-D7 data lines respectively, a VDD3.3 port of the USB3300 interface chip is electrically connected to a VCC3.3 power supply, a first VDD1.8 port of the USB3300 interface chip is electrically connected to a first end of a sixth capacitor, a second VDD1.8 port of the USB3300 interface chip is electrically connected to a first end of a seventh capacitor, a third VDD1.8 port of the USB3300 interface chip is electrically connected to a first end of an eighth capacitor. The RBIA5 port of the USB3300 interface chip is electrically connected to the first end of the eighth resistor, the second end of the eighth resistor, the second end of the sixth capacitor, the second end of the seventh capacitor, the second end of the eighth capacitor, the EP port and the GND port of the USB3300 interface chip are grounded, the CLKOUT port of the USB3300 interface chip is electrically connected to the always signal, the STP port, the DIR port and the NXT port of the USB3300 interface chip are electrically connected to the control signal, and the XO port and the X1 port of the USB3300 interface chip are electrically connected to the crystal oscillator for providing a clock signal.
4. The low-cost textile dyeing liquid intelligent control system according to claim 1 is characterized in that: The peristaltic pump driving module is used to drive the peristaltic pump to squeeze out the remaining liquid or clean the ink cartridge and the nozzle.
5. A low-cost intelligent control method for textile dyeing liquid preparation, characterized in that: The method is applied to the system according to any one of claims 1 to 4, comprising: After receiving the command sent by the host computer software through the USB interface, the ARM main control module controls the solenoid valve through the solenoid valve driver module to adjust the pressure in the secondary ink cartridge; After the adjustment is completed, the peristaltic pump driving module controls multiple peristaltic pumps to quantitatively inject multiple liquids into the secondary ink cartridge according to the calculated volume and control the working time; The stirring motor drive module controls the stirring motor to mix and stir the liquids of different colors evenly and then output them through a single nozzle; After the jetting is completed, close the solenoid valve, control the peristaltic pump to squeeze out the remaining ink and clean the ink cartridge and nozzle.
Citation Information
Patent Citations
Dyeing system and method of fused deposition modeling three-dimensional (3D) printer
CN108973112A
Embedded-technology-based control system special for high-speed rapier loom
CN110042538A
Intelligent dye liquor color matching system in textile printing and dyeing industry
CN112411092A