Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, an object of the present invention is to provide a device for synchronously transmitting a grating signal, which can greatly simplify the line connection for performing grating signal synchronization on a plurality of nozzle control panels, and at the same time, reduce the difficulty of increasing the nozzle control panels and reduce the manpower and material resources required for implementing the device.
The second objective of the present invention is to provide a control method for a device for synchronously transmitting a grating signal.
The third purpose of the invention is to provide a digital jet printing device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a grating signal synchronous transmission apparatus, including: microcontroller, bus, FPGA, a plurality of shower nozzle control panel and a plurality of difference line, wherein: the microcontroller is connected with the FPGA through the bus and used for acquiring configuration parameters and configuring the parameters of the FPGA according to the configuration parameters; the FPGA is connected with any one sprayer control panel through the difference line, and is used for acquiring a first grating encoder signal, converting the first grating encoder signal into a corresponding second grating encoder signal according to the parameter configuration, and sending the second grating encoder signal to the sprayer control panel connected with the FPGA through the difference line; the nozzle control plates comprise connectors, and the connectors of the two adjacent nozzle control plates are connected through the differential lines, so that each nozzle control plate can acquire the second grating encoder signals.
According to the grating signal synchronous transmission device provided by the embodiment of the invention, the microcontroller is connected with the FPGA through the bus, and is used for acquiring configuration parameters and configuring the parameters of the FPGA according to the configuration parameters; the FPGA is connected with any one sprayer control panel through a differential line and is used for acquiring a first grating encoder signal, converting the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration and sending the second grating encoder signal to the sprayer control panel connected with the second grating encoder signal through the differential line; the nozzle control plates comprise connectors, and the connectors of two adjacent nozzle control plates are connected through a differential line so that each nozzle control plate can obtain a second grating encoder signal; therefore, the circuit connection for carrying out grating signal synchronization on the plurality of spray head control panels is greatly simplified, and meanwhile, the difficulty of increasing the spray head control panels and the manpower and material resources required by equipment implementation are reduced.
In addition, the raster signal synchronous transmission device proposed according to the above embodiment of the present invention may further have the following additional technical features:
optionally, converting the first grating encoder signal into a corresponding second grating encoder signal according to the parameter configuration includes: and filtering the first grating encoder signal, acquiring an encoder direction according to the filtered first grating encoder signal, and converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and the parameter configuration.
Optionally, converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and the parameter configuration includes: and performing corresponding frequency division and multiplication processing on the first grating encoder signal according to the parameter configuration, combining the frequency division and multiplication processed first grating encoder signal with the encoder direction, and performing parallel-serial conversion on the combined frequency division and multiplication processed first grating encoder signal and the encoder direction to generate a second grating encoder signal.
In order to achieve the above object, a second embodiment of the present invention provides a method for controlling a grating signal synchronous transmission device, where the grating signal synchronous transmission device includes a microcontroller, a bus, an FPGA, multiple nozzle control boards, and multiple differential lines, and the method includes the following steps: the microcontroller acquires configuration parameters and performs parameter configuration on the FPGA according to the configuration parameters; the FPGA acquires a first grating encoder signal, converts the first grating encoder signal into a corresponding second grating encoder signal according to the parameter configuration, and sends the second grating encoder signal to a nozzle control board connected with the FPGA through the differential line, so that each nozzle control board can acquire the second grating encoder signal.
According to the control method of the grating signal synchronous transmission device, firstly, a microcontroller acquires configuration parameters and performs parameter configuration on an FPGA according to the configuration parameters; secondly, the FPGA acquires a first grating encoder signal, converts the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration, and sends the second grating encoder signal to a nozzle control board connected with the second grating encoder signal through a differential line, so that each nozzle control board can acquire the second grating encoder signal; therefore, the circuit connection for carrying out grating signal synchronization on the plurality of spray head control panels is greatly simplified, and meanwhile, the difficulty of increasing the spray head control panels and the manpower and material resources required by equipment implementation are reduced.
In addition, the control method for the raster signal synchronous transmission apparatus according to the above embodiment of the present invention may further have the following additional technical features:
optionally, converting the first grating encoder signal into a corresponding second grating encoder signal according to the parameter configuration includes: and filtering the first grating encoder signal, acquiring an encoder direction according to the filtered first grating encoder signal, and converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and the parameter configuration.
Optionally, converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and the parameter configuration includes: and performing corresponding frequency division and multiplication processing on the first grating encoder signal according to the parameter configuration, combining the frequency division and multiplication processed first grating encoder signal with the encoder direction, and performing parallel-serial conversion on the combined frequency division and multiplication processed first grating encoder signal and the encoder direction to generate a second grating encoder signal.
In order to achieve the above object, a third embodiment of the present invention provides a digital inkjet printing apparatus, which includes the above raster signal synchronous transmission device.
According to the data jet printing equipment provided by the embodiment of the invention, the grating signal synchronous transmission device is used for carrying out grating signal transmission on the plurality of spray head control boards, so that the line connection for carrying out grating signal synchronization on the plurality of spray head control boards is greatly simplified, and meanwhile, the increase difficulty of the spray head control boards and the manpower and material resources required by equipment implementation are reduced.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the related technology, when the number of the nozzle control plates is large, the number of interfaces is complicated, the volume of equipment is increased, the number of the nozzle control plates is increased inconveniently, and meanwhile, the number of the grating encoders has a serious influence on the cost of the equipment; according to the grating signal synchronous transmission device provided by the embodiment of the invention, the microcontroller is connected with the FPGA through the bus, and is used for acquiring configuration parameters and configuring the parameters of the FPGA according to the configuration parameters; the FPGA is connected with any one sprayer control panel through a differential line and is used for acquiring a first grating encoder signal, converting the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration and sending the second grating encoder signal to the sprayer control panel connected with the second grating encoder signal through the differential line; the nozzle control plates comprise connectors, and the connectors of two adjacent nozzle control plates are connected through a differential line so that each nozzle control plate can obtain a second grating encoder signal; therefore, the circuit connection for carrying out grating signal synchronization on the plurality of spray head control panels is greatly simplified, and meanwhile, the difficulty of increasing the spray head control panels and the manpower and material resources required by equipment implementation are reduced.
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 is a block diagram of a synchronous transmission device for a grating signal according to an embodiment of the present invention, as shown in fig. 1, the synchronous transmission device for a grating signal includes: microcontroller 10, bus 20, FPGA30, multiple showerhead control boards 40, and multiple differential lines 50.
The microcontroller 10 is connected to the FPGA30 through the bus 20, and the microcontroller 10 is configured to acquire configuration parameters sent by the processing terminal and perform parameter configuration on the FPGA30 according to the acquired configuration parameters.
The FPGA30 is connected to any one of the showerhead control panels 40 through a differential line 50, and the FPGA30 is configured to obtain a first grating encoder signal and convert the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration; it should be noted that the number of the first grating encoder signals may be one or multiple; when the first grating encoder has a plurality of signals, the first grating encoder signals and the converted second grating encoder signals are in a one-to-one correspondence relationship. After the FPGA30 converts the first raster encoder signal to a second raster encoder signal, the second raster encoder signal is sent to the showerhead control board 40 to which it is connected.
The plurality of head control plates 40 include connectors 41, wherein the connectors 41 of adjacent head control plates 40 are connected by a differential line 50; specifically, when the nozzle control board A, B, C is included, the FPGA30 is connected to the nozzle control board a thereof through the differential line 50, and the nozzle control board a is adjacent to the nozzle control board B, so that the connector therebetween is connected through the differential line 50, and the nozzle control board B is adjacent to the nozzle control board C, so that the connector therebetween is connected through the differential line 50; therefore, through the connection mode, after the spray head control board A receives the second grating encoder signal, the second grating encoder signal can be sent to the spray head control board B and the spray head control board C through the connection between the connectors; to complete the synchronization of the raster signals. Therefore, when the nozzle control plates are increased, the nozzle control plates can be added only by connecting the increased connectors of the nozzle control plates with the connectors of the adjacent nozzle control plates. The signal output end of the FPGA does not need to be changed, so that the adding difficulty of the spray head control plate is reduced; meanwhile, the line connection relation between the spray head control board and the signal output end is simplified.
In some embodiments, converting the first grating encoder signal into a corresponding second grating encoder signal according to a parameter configuration comprises: and filtering the first grating encoder signal, acquiring an encoder direction according to the filtered first grating encoder signal, and converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and parameter configuration.
In some embodiments, converting the first grating encoder signal into a corresponding second grating encoder signal according to an encoder direction and parameter configuration comprises: and performing corresponding frequency division and multiplication processing on the first grating encoder signal according to parameter configuration, combining the frequency division and multiplication processed first grating encoder signal with the encoder direction, and performing parallel-serial conversion on the combined frequency division and multiplication processed first grating encoder signal and the encoder direction to generate a second grating encoder signal.
In summary, according to the optical grating signal synchronous transmission device of the embodiment of the present invention, the microcontroller is connected to the FPGA through the bus, and the microcontroller is configured to obtain the configuration parameters and perform parameter configuration on the FPGA according to the configuration parameters; the FPGA is connected with any one sprayer control panel through a differential line and is used for acquiring a first grating encoder signal, converting the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration and sending the second grating encoder signal to the sprayer control panel connected with the second grating encoder signal through the differential line; the nozzle control plates comprise connectors, and the connectors of two adjacent nozzle control plates are connected through a differential line so that each nozzle control plate can obtain a second grating encoder signal; therefore, the circuit connection for carrying out grating signal synchronization on the plurality of spray head control panels is greatly simplified, and meanwhile, the difficulty of increasing the spray head control panels and the manpower and material resources required by equipment implementation are reduced.
In order to implement the foregoing embodiments, an embodiment of the present invention further provides a control method for a grating signal synchronous transmission device, where the grating signal synchronous transmission device includes a microcontroller, a bus, an FPGA, multiple nozzle control boards, and multiple differential lines, and as shown in fig. 2, the control method includes the following steps:
s101, the microcontroller acquires configuration parameters and performs parameter configuration on the FPGA according to the configuration parameters.
S102, the FPGA acquires a first grating encoder signal, converts the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration, and sends the second grating encoder signal to a nozzle control board connected with the second grating encoder signal through a differential line, so that each nozzle control board can acquire the second grating encoder signal.
In some embodiments, converting the first grating encoder signal into a corresponding second grating encoder signal according to a parameter configuration comprises:
and filtering the first grating encoder signal, acquiring an encoder direction according to the filtered first grating encoder signal, and converting the first grating encoder signal into a corresponding second grating encoder signal according to the encoder direction and parameter configuration.
In some embodiments, converting the first grating encoder signal into a corresponding second grating encoder signal according to an encoder direction and parameter configuration comprises:
and performing corresponding frequency division and multiplication processing on the first grating encoder signal according to parameter configuration, combining the frequency division and multiplication processed first grating encoder signal with the encoder direction, and performing parallel-serial conversion on the combined frequency division and multiplication processed first grating encoder signal and the encoder direction to generate a second grating encoder signal.
In an embodiment of the present invention, as shown in fig. 3, the method for controlling the apparatus for synchronously transmitting a raster signal includes the following steps:
s201, the microcontroller acquires configuration parameters and performs parameter configuration on the FPGA according to the configuration parameters.
S202, the FPGA acquires a first grating encoder signal.
And S203, the FPGA carries out filtering processing on the first grating encoder signal and obtains the encoder direction according to the filtered first grating encoder signal.
And S204, the FPGA carries out corresponding frequency division and multiplication processing on the first grating encoder signal according to the parameter configuration, and combines the first grating encoder signal subjected to frequency division and multiplication processing with the encoder direction.
S205, performing parallel-to-serial conversion on the combined frequency division and multiplication processed first grating encoder signal and the encoder direction to generate a second grating encoder signal.
And S206, sending the second grating encoder signal to the nozzle control boards connected with the second grating encoder signal through the differential lines so that each nozzle control board can acquire the second grating encoder signal.
It should be noted that the above description about the grating signal synchronous transmission device in fig. 1 is also applicable to the control method of the grating signal synchronous transmission device, and is not repeated herein.
In summary, according to the control method of the device for synchronously transmitting grating signals of the embodiment of the present invention, firstly, the microcontroller obtains configuration parameters, and performs parameter configuration on the FPGA according to the configuration parameters; secondly, the FPGA acquires a first grating encoder signal, converts the first grating encoder signal into a corresponding second grating encoder signal according to parameter configuration, and sends the second grating encoder signal to a nozzle control board connected with the second grating encoder signal through a differential line, so that each nozzle control board can acquire the second grating encoder signal; therefore, the circuit connection for carrying out grating signal synchronization on the plurality of spray head control panels is greatly simplified, and meanwhile, the difficulty of increasing the spray head control panels and the manpower and material resources required by equipment implementation are reduced.
In order to implement the foregoing embodiments, an embodiment of the present invention further provides a digital inkjet printing apparatus, where the digital inkjet printing apparatus includes the foregoing grating signal synchronous transmission device.
According to the data jet printing equipment provided by the embodiment of the invention, the grating signal synchronous transmission device is used for carrying out grating signal transmission on the plurality of spray head control boards, so that the line connection for carrying out grating signal synchronization on the plurality of spray head control boards is greatly simplified, and meanwhile, the increase difficulty of the spray head control boards and the manpower and material resources required by equipment implementation are reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above should not be understood to necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.