Intelligent cloth inspecting machine control system

文档序号:1531563 发布日期:2020-02-14 浏览:30次 中文

阅读说明:本技术 一种智能验布机控制系统 (Intelligent cloth inspecting machine control system ) 是由 黄泽 张发恩 滕安琪 葛振鹏 于 2019-11-25 设计创作,主要内容包括:本发明公开一种智能验布机控制系统,包括:至少一智能验布机,每个智能验布机连接一子控制器;总控制器,根据客户端发送的控制指令,通过控制各子控制器以控制各智能验布机,包括:数据存储模块,保存各子控制器预设编号及预设识别标识;数据查询模块,根据控制指令查询得到预设编号对应的预设识别标识;PLC控制模块,根据预设识别标识生成驱动控制指令发送至子控制器;光源控制模块,根据预设识别标识生成光源控制指令发送至子控制器;相机控制模块,根据预设识别标识生成拍摄控制指令发送至子控制器;疵点检测模块,根据布料图像生成布料缺陷报告。本发明实现了对多台智能验布机统一控制。(The invention discloses an intelligent cloth inspecting machine control system, which comprises: the intelligent cloth inspecting machine is connected with a sub-controller; the total controller, according to the control command that the customer end sent, through controlling each sub-controller in order to control each intelligent cloth inspection machine, include: the data storage module is used for storing preset serial numbers and preset identification marks of the sub-controllers; the data query module is used for querying according to the control instruction to obtain a preset identification mark corresponding to the preset number; the PLC control module generates a drive control instruction according to a preset identification mark and sends the drive control instruction to the sub-controllers; the light source control module generates a light source control instruction according to a preset identification mark and sends the light source control instruction to the sub-controller; the camera control module generates a shooting control instruction according to a preset identification mark and sends the shooting control instruction to the sub-controller; and the defect detection module is used for generating a cloth defect report according to the cloth image. The invention realizes the unified control of a plurality of intelligent cloth inspecting machines.)

1. The utility model provides an intelligence cloth inspection machine control system which characterized in that specifically includes:

at least one intelligence cloth inspection machine, every intelligence cloth inspection machine includes a plurality of hardware module, and each hardware module passes through a serial ports connection sub-controller, the hardware module includes:

the camera is used for shooting and outputting a cloth image of the cloth to be inspected in the intelligent cloth inspecting machine;

a light source for providing imaging illumination for the camera;

the image acquisition card is connected with the camera and used for adjusting imaging parameters of the camera;

the PLC is used for driving the intelligent cloth inspecting machine;

the sub-controller stores preset communication port numbers of the hardware modules;

the master controller is respectively connected with each sub-controller and a client, and is used for controlling each sub-controller to correspondingly control each intelligent cloth inspecting machine according to a control instruction which is sent by the client and contains a preset number of the sub-controller, and the master controller comprises:

the data storage module is used for storing the preset serial numbers of the sub-controllers and the preset identification marks corresponding to the preset serial numbers;

the data query module is connected with the data storage module and is used for querying the data storage module according to the control instruction to obtain the preset identification corresponding to the preset number;

the PLC control module is connected with the data query module and used for generating a corresponding driving control instruction according to the preset identification mark and sending the driving control instruction to the sub-controllers;

the sub-controller sends the driving control instruction to the PLC according to the corresponding preset communication port number so as to drive the intelligent cloth inspecting machine;

the light source control module is connected with the data query module and used for generating a corresponding light source control instruction according to the preset identification mark and sending the corresponding light source control instruction to the sub-controller; the sub-controller sends the light source control instruction to the light source according to the corresponding preset communication port number so as to provide imaging illumination for the camera;

the camera control module is connected with the data query module and used for generating a corresponding shooting control instruction according to the preset identification mark and sending the shooting control instruction to the sub-controller; the sub-controller sends the shooting control instruction to the image acquisition card according to the corresponding preset communication port number so as to control the camera to shoot the cloth image according to the imaging parameters;

and the defect detection module is used for processing the cloth image to obtain cloth defect data of the cloth to be inspected, generating a corresponding cloth defect report according to the cloth defect data and sending the cloth defect report to the client and the sub-controller.

2. The intelligent perching machine control system of claim 1, wherein said sub-controller is a single chip microcomputer.

3. The intelligent perching machine control system of claim 2, wherein said single chip microcomputer is connected to said master controller through a serial port, or through an ethernet connection or through a local area network connection.

4. The intelligent cloth inspection machine control system of claim 2, wherein the communication mode of the single chip microcomputer and the master controller is socket based on TCP, HTTP or serial communication.

5. The intelligent perching machine control system of claim 1, wherein said preset identification is a unique and fixed port number or local area network IP address.

6. The intelligent cloth inspection machine control system of claim 1, further comprising an encoder connected to the intelligent cloth inspection machine for calculating the travel position of the cloth to be inspected in the intelligent cloth inspection machine.

7. The intelligent cloth inspection machine control system of claim 1, further comprising a human-computer interface for providing a graphical operator interface and viewing the cloth defect report sent by the sub-controller.

8. The intelligent cloth inspection machine control system of claim 7, further comprising a printer connected to the intelligent cloth inspection machine for printing the cloth defect report.

9. The intelligent cloth inspecting machine control system according to claim 7, further comprising a marking machine connected to the intelligent cloth inspecting machine and used for marking the cloth to be inspected according to the cloth defect data.

10. The intelligent perching machine control system of claim 1, wherein said camera is a line scan camera.

Technical Field

The invention relates to the technical field of intelligent control, in particular to an intelligent cloth inspecting machine control system.

Background

China is a large textile country, and various flaws and defects of cloth are often required to be identified in the cloth production process so as to judge whether the changed cloth is qualified. This is usually achieved manually on traditional cloth inspecting machines, and has the problems of slow detection speed, low efficiency, poor sustainability and the like.

Detection devices such as cameras, light sources and flaw detection and calculation units need to be added for realizing intelligent cloth inspection. Some existing literature documents provide some idea of hardware devices using the above components in a mixed manner, but have the following disadvantages:

1. one cloth inspecting machine usually only uses one set of independent calculation control unit, and the unified control of a plurality of intelligent cloth inspecting machines is rarely involved;

2. the intelligent cloth inspecting device relates to a plurality of components, such as illumination, image acquisition, defect detection calculation, marking and the like, so that when a plurality of industrial cloth inspecting machines are in rapid operation, data interaction logic is very complex, and the requirement on detection real-time performance is very high; the prior publication does not consider the unified control among a plurality of cloth inspecting machines from the perspective of data interaction control.

Disclosure of Invention

The invention aims to provide an intelligent cloth inspecting machine control system.

In order to achieve the purpose, the invention adopts the following technical scheme:

the utility model provides an intelligence perching machine control system specifically includes:

at least one intelligence cloth inspection machine, every intelligence cloth inspection machine includes a plurality of hardware module, and each hardware module passes through a serial ports connection sub-controller, the hardware module includes:

the camera is used for shooting and outputting a cloth image of the cloth to be inspected in the intelligent cloth inspecting machine;

a light source for providing imaging illumination for the camera;

the image acquisition card is connected with the camera and used for adjusting imaging parameters of the camera;

the PLC is used for driving the intelligent cloth inspecting machine;

the sub-controller stores preset communication port numbers of the hardware modules;

the master controller is respectively connected with each sub-controller and a client, and is used for controlling each sub-controller to correspondingly control each intelligent cloth inspecting machine according to a control instruction which is sent by the client and contains a preset number of the sub-controller, and the master controller comprises:

the data storage module is used for storing the preset serial numbers of the sub-controllers and the preset identification marks corresponding to the preset serial numbers;

the data query module is connected with the data storage module and is used for querying the data storage module according to the control instruction to obtain the preset identification corresponding to the preset number;

the PLC control module is connected with the data query module and used for generating a corresponding driving control instruction according to the preset identification mark and sending the driving control instruction to the sub-controllers;

the sub-controller sends the driving control instruction to the PLC according to the corresponding preset communication port number so as to drive the intelligent cloth inspecting machine;

the light source control module is connected with the data query module and used for generating a corresponding light source control instruction according to the preset identification mark and sending the corresponding light source control instruction to the sub-controller;

the sub-controller sends the light source control instruction to the light source according to the corresponding preset communication port number so as to provide imaging illumination for the camera;

the camera control module is connected with the data query module and used for generating a corresponding shooting control instruction according to the preset identification mark and sending the shooting control instruction to the sub-controller;

the sub-controller sends the shooting control instruction to the image acquisition card according to the corresponding preset communication port number so as to control the camera to shoot the cloth image according to the imaging parameters;

and the defect detection module is used for processing the cloth image to obtain cloth defect data of the cloth to be inspected, generating a corresponding cloth defect report according to the cloth defect data and sending the cloth defect report to the client.

As a preferable scheme of the present invention, the sub-controller is a single chip microcomputer.

As a preferred scheme of the present invention, the connection mode of the single chip microcomputer and the master controller is serial connection, or ethernet connection or local area network connection.

As a preferable scheme of the invention, the communication mode of the single chip microcomputer and the master controller is socket based on TCP, HTTP or serial communication.

As a preferred embodiment of the present invention, the preset identification is a unique and fixed port number or a local area network IP address.

The intelligent cloth inspecting machine further comprises an encoder which is connected with the intelligent cloth inspecting machine and used for calculating the advancing position of the cloth to be inspected in the intelligent cloth inspecting machine.

As a preferable scheme of the present invention, the intelligent cloth inspecting machine further includes a human-computer interface, which is used for providing a graphical operation interface and viewing the cloth defect report sent by the sub-controller.

The intelligent cloth inspecting machine further comprises a printer connected with the intelligent cloth inspecting machine and used for printing the cloth defect report.

The cloth inspection system further comprises a marking machine which is connected with the intelligent cloth inspecting machine and used for marking the cloth to be inspected according to the cloth defect data.

As a preferable aspect of the present invention, the camera is a line scan camera.

The invention has the beneficial effects that:

1) supporting the dynamic addition of external hardware equipment of the intelligent cloth inspecting machine;

2) the master controller is divided into a plurality of mutually independent control modules, each control module manages the function of the control module, the coupling among the modules is reduced, the flexibility of the intelligent cloth inspecting machine control system is improved, and the complex control and real-time requirements in an industrial scene are met;

3) the master controller can be connected with a plurality of intelligent cloth inspecting machines to realize unified control, and the deployment repeatability of one intelligent cloth inspecting machine corresponding to one control system is avoided;

4) increase and decrease intelligence cloth inspection machine is more convenient, and system upgrade reforms transform more conveniently, reduces the maintenance cost.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.

Fig. 1 is a schematic structural diagram of an intelligent perching machine control system according to an embodiment of the present invention.

Fig. 2 is a schematic structural diagram of an intelligent perching machine control system according to an embodiment of the present invention.

Fig. 3 is a block diagram of a flow of an intelligent cloth inspecting machine control system controlling the work of a cloth inspecting machine according to an embodiment of the present invention.

Detailed Description

The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.

Wherein the showings are for the purpose of illustration only and are shown by way of illustration only and not in actual form, and are not to be construed as limiting the present patent; to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.

The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "inner", "outer", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, it is only for convenience of description and simplification of description, but it is not indicated or implied that the referred device or element must have a specific orientation, be constructed in a specific orientation and be operated, and therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and are not to be construed as limitations of the present patent, and the specific meanings of the terms may be understood by those skilled in the art according to specific situations.

In the description of the present invention, unless otherwise explicitly specified or limited, the term "connected" or the like, if appearing to indicate a connection relationship between the components, is to be understood broadly, for example, as being fixed or detachable or integral; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or may be connected through one or more other components or may be in an interactive relationship with one another. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.

Aiming at the problems in the prior art, the invention provides an intelligent cloth inspecting machine control system, as shown in fig. 1 and 2, which specifically comprises:

at least one intelligence cloth inspection machine 1, every intelligence cloth inspection machine includes a plurality of hardware module 11, and each hardware module 11 passes through a serial ports connection sub-controller 2, and hardware module 11 includes:

the camera 111 is used for shooting and outputting cloth images of the cloth to be inspected in the intelligent cloth inspecting machine 1;

a light source 112 for providing imaging illumination for the camera;

the image acquisition card 113 is connected with the camera 111 and used for adjusting imaging parameters of the camera 111;

the PLC 114 is used for driving the intelligent cloth inspecting machine 1;

the sub-controller 2 stores preset communication port numbers of the hardware modules 11;

total controller 3 connects each sub-controller 2 and a customer end 4 respectively for according to the control command who contains the preset serial number of sub-controller 2 that customer end 4 sent, through controlling each sub-controller 2 in order to carry out corresponding control to each intelligent cloth inspection machine 1, total controller 3 includes:

the data storage module 31 is used for storing the preset serial numbers of the sub-controllers and the preset identification marks corresponding to the preset serial numbers;

the data query module 32 is connected to the data storage module 31, and is configured to query the data storage module 31 according to the control instruction to obtain a preset identification corresponding to the preset number;

the PLC control module 33 is connected with the data query module 32 and used for generating a corresponding driving control instruction according to the preset identification mark and sending the corresponding driving control instruction to the sub-controller 2;

the sub-controller 2 sends a driving control instruction to the PLC controller 114 according to the corresponding preset communication port number to drive the intelligent cloth inspecting machine 1;

the light source control module 34 is connected with the data query module 32, and is used for generating a corresponding light source control instruction according to the preset identification mark and sending the corresponding light source control instruction to the sub-controller 2;

the sub-controller 2 sends the light source control instruction to the light source according to the corresponding preset communication port number to provide imaging illumination for the camera 111;

the camera control module 35 is connected with the data query module 32, and is used for generating a corresponding shooting control instruction according to the preset identification mark and sending the shooting control instruction to the sub-controller 2;

the sub-controller 2 sends a shooting control instruction to the image acquisition card 113 according to the corresponding preset communication port number so as to control the camera 111 to shoot a cloth image according to the imaging parameters;

and the defect detection module 36 is configured to obtain cloth defect data of the cloth to be inspected according to the cloth image processing, generate a corresponding cloth defect report according to the cloth defect data, and send the cloth defect report to the client 4.

As shown in fig. 3, in particular, in this embodiment, the present invention provides an intelligent cloth inspecting machine control system, which can implement unified management and scheduling among multiple intelligent cloth inspecting machines, multiple hardware interfaces, and multiple control modules, and meet the requirements of complex control and real-time performance in an industrial scene.

Further specifically, the master controller 3 can uniformly control all software and hardware of one or more intelligent cloth inspecting machines 1. The above-mentioned overall controller is preferably a DELL server. Through setting up a master controller 3, the work of many intelligent cloth inspection machines 1 is controlled by master controller 3, has not only saved the cost of many intelligent cloth inspection machines 1 in the deployment, only needs the service of upgrading control system in the system upgrading process. And a plurality of intelligent cloth inspecting machines 1 can be controlled in a unified manner, and the data of the plurality of intelligent cloth inspecting machines 1 are collected for integration and analysis.

The sub-controller 2 is preferably a single chip microcomputer, and the single chip microcomputer is preferably a single chip microcomputer with the model of STC15F2K08S 2. Each hardware module 11 of the intelligent cloth inspecting machine 1 comprises a light source, a camera, a collecting card and a PLC, and is connected to the single chip microcomputer through a serial port to serve as a sub-control system of the single intelligent cloth inspecting machine 1. The PLC preferably employs a PLC controller of the type Xinjie XD 3-32R. The communication port number of each hardware module 11 is fixed by rewriting the system port naming rule.

The single chip microcomputer is connected with the master controller 3 and establishes communication in a form not limited to serial connection, Ethernet port connection and local area network connection. The communication form can be socket, HTTP, serial communication and the like based on TCP. Each single chip obtains a unique and fixed port number or a local area network ip address, and stores the port number or the local area network ip address in the data storage module 31 of the master controller 3.

When the user operates at the client 4, the client 4 can be a pc, a mobile phone end and the like, for example, the client 4 controls one intelligent cloth inspecting machine 1 to control light source parameters, the control instruction of the client 4 is sent to the master controller 3, the master controller 3 queries a port number or a local area network ip address corresponding to a single chip microcomputer connected with the intelligent cloth inspecting machine 1 in the data storage module 31, notifies the light source control module 34, the light source control module 34 processes logic to generate a normal light source control instruction, and sends the light source control instruction to the corresponding single chip microcomputer, and the single chip microcomputer sends the light source control instruction to a light source serial port after monitoring the light source control instruction.

The user clicks a certain intelligent cloth inspecting machine 1 at the client 4 to start collecting instructions. The master controller 3 queries a port number or an ip address corresponding to a single chip microcomputer connected to the intelligent cloth inspecting machine 1 in the data storage module 31, the camera control module 35 and the PLC control module 33 respectively process correct service logic of the master controller, generate corresponding shooting control instructions and driving control instructions and inform the corresponding single chip microcomputer, and the single chip microcomputer service monitors the shooting control instructions and the driving control instructions and then sends the shooting control instructions and the driving control instructions to an image acquisition card serial port and a PLC controller serial port.

Cloth pictures acquired by the image acquisition card 113 of each intelligent cloth inspecting machine 1 are sent to the master controller 3 by the single chip microcomputer, defects are identified by the master controller 3 through a statistical algorithm, and defect data are integrally analyzed to generate a defect report. Cloth inspection machine personnel can easily see the defect detection result of each intelligent cloth inspection machine 1 at customer end 4.

When the number of the intelligent cloth inspecting machines 1 is reduced, only the relevant information of the corresponding intelligent cloth inspecting machines 1 needs to be deleted in the master controller 3. When the intelligent cloth inspecting machine 1 is newly added, only the single chip microcomputer of the intelligent cloth inspecting machine 1 is connected with the master controller 3, and the port name/ip address is newly added.

When the intelligent cloth inspecting machine 1 is upgraded and transformed, and a module needs to be added or a certain module function needs to be upgraded, only the relevant module function service in the master controller 3 needs to be upgraded, and the upgrading system of one intelligent cloth inspecting machine 1 does not need to be redeployed.

As a preferable scheme of the present invention, the sub-controller 2 is a single chip microcomputer.

As a preferred scheme of the invention, the connection mode of the singlechip and the master controller 3 is serial connection, or Ethernet connection or local area network connection.

As a preferred scheme of the invention, the communication mode of the singlechip and the master controller 3 is socket based on TCP, HTTP or serial communication.

As a preferred embodiment of the present invention, the identification mark is preset as a unique and fixed port number or a local area network IP address.

As a preferable scheme of the invention, the cloth inspection machine further comprises an encoder 4 connected with the intelligent cloth inspection machine 1 and used for calculating the advancing position of the cloth to be inspected in the intelligent cloth inspection machine 1.

As a preferred scheme of the present invention, the intelligent cloth inspecting machine 1 further includes a human-computer interaction interface 12, which is used for providing a graphical operation interface and viewing the cloth defect report sent by the sub-controller 2.

As a preferable scheme of the invention, the intelligent cloth inspecting machine further comprises a printer 5 connected with the intelligent cloth inspecting machine 1 and used for printing the cloth defect report.

As a preferred scheme of the invention, the cloth inspection machine further comprises a marking machine 6 connected with the intelligent cloth inspecting machine 1 and used for marking the cloth to be inspected according to the cloth defect data.

In a preferred embodiment of the present invention, the camera 111 is a line scan camera.

It should be understood that the above-described embodiments are merely preferred embodiments of the invention and the technical principles applied thereto. It will be understood by those skilled in the art that various modifications, equivalents, changes, and the like can be made to the present invention. However, such variations are within the scope of the invention as long as they do not depart from the spirit of the invention. In addition, certain terms used in the specification and claims of the present application are not limiting, but are used merely for convenience of description.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:整纬机控制方法、装置、计算机设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!