Print control management system and device
Technical Field
The invention relates to the technical field of printing control management, in particular to a printing control management system and device.
Background
A seal control management system and a seal control management device aim to precisely optimize seal positions and dynamically improve printing quality, optimize seal positions through the combination of a regional blocking algorithm and an integral geometric method, dynamically adjust printing tracks through a self-adaptive environment disturbance printing control algorithm, control the precision of seal positions and the stability of printing head tracks, and realize intelligent seal control of file contents and high-precision printing in complex environments.
The existing seal control management system and device are generally difficult to automatically select reasonable seal positions in complex file contents, and due to the fact that dust and stone particles in the environment affect printing precision and the processing efficiency of seal position algorithms is insufficient, the seal positions are unreasonable, important contents are covered, track deviation or printing blurring occurs in the printing process, and the like, so that the seal control management system and device are designed.
Disclosure of Invention
The invention aims to provide a print control management system and device, which are used for solving the problems that the print position is unreasonable, important content is covered, track deviation or printing blurring occurs in the printing process due to the influence of dust and stone particles in the environment on printing precision and insufficient processing efficiency of a seal position algorithm in the background technology.
To achieve the above object, the present invention provides a print control management system, including:
the file preparation unit is used for receiving the guarantee files and automatically detecting the positions of the files and the states of the drawers through a drawer locking mechanism;
the seal setting unit is used for carrying out partition processing on file content by using a regional partitioning algorithm, calculating a global centroid through integral geometry so as to optimize seal positions, and previewing and confirming the seal positions by a user;
The printing control unit scans dust and stone grains of a printing area through a sensor after a user confirms the position of the seal, establishes an environment disturbance field, and dynamically adjusts a printing track by combining an adaptive environment disturbance printing control algorithm with environment disturbance field data;
wherein, the environment disturbance field is specifically as follows:
;
Wherein, Is a kernel function; The concentration of the dust and stone particles; For the spatial distribution function of the particle concentration, i.e. the ambient disturbing field, A number of grids divided in a horizontal direction for the print area; among the number of grids divided in the vertical direction for the print area, Is a kernel function; The concentration of the dust and stone particles; is a spatially distributed function of particle concentration, i.e., an ambient disturbance field;
the self-adaptive environment disturbance printing control algorithm builds a track optimization objective function based on an environment disturbance field, solves an optimization control equation by using a variational method and a Pontrisia maximum value principle, and dynamically adjusts a printing track;
Wherein the trajectory optimization objective function is specifically as follows:
;
Wherein, The influence of the gradient of the environmental disturbance field on the track; A model of the influence of the ambient disturbance field gradient on the trajectory; Is the printhead speed; Balancing weights for printhead speed; Is the total time of exercise; Optimizing an objective function for the trajectory;
the system also comprises a photographing and archiving unit, wherein the photographing and archiving unit is used for recording and verifying the state of the file after the printing control and photographing and archiving the file seal;
the device also comprises a file taking-out unit, wherein the file taking-out unit is used for automatically unlocking the printer drawer after the printing control flow is finished, and safely taking out the file.
The file preparation unit comprises a file detection receiving module and a drawer locking guarantee module;
the file detection receiving module detects whether a file is placed in the drawer in real time, receives the file placed by a user, detects whether the file positions are aligned by using an optical sensor, and detects the file thickness by using laser ranging;
the drawer locking guarantee module is used for guaranteeing file safety, automatically locks the drawer through the mechanical drawer locking device and detects whether the drawer is completely closed or not by using the limit sensor.
As a further improvement of the technical scheme, the seal setting unit comprises a partition processing module and a seal optimizing module;
The partition processing module digitizes file content by using an optical character recognition technology, extracts a characteristic point two-dimensional point set, divides the file content into a plurality of subareas according to the file size, distributes characteristic points to the corresponding subareas, and calculates the local centroid of the subareas;
the seal optimizing module calculates the global centroid of the file through an integral geometric method based on all sub-region centroids, adjusts the global centroid position through offset parameters set by a user so as to optimize the seal position, and checks whether the seal position conflicts with a key region.
As a further improvement of the technical scheme, the partition processing module digitizes the file content by using an optical character recognition technology, extracts a two-dimensional point set of characteristic points, divides the file content into a plurality of subareas according to the file size, distributes the characteristic points to the corresponding subareas, and calculates the local centroid of the subareas, and the specific method comprises the following steps:
S2.1.1 digitizing the file content by utilizing an optical character recognition technology, and extracting a characteristic point two-dimensional point set:
;
Wherein, Is the firstFeature points; Is the first Two-dimensional coordinates of the feature points; The total number of the feature points; a two-dimensional point set of feature points; Is the first Horizontal coordinates of the feature points; Is the first Vertical coordinates of the feature points;
s2.1.2, giving weight to the feature points:
;
Wherein, Is the firstWeights of the feature points;
s2.1.3 dividing a file into files according to file size Each sub-region marked asRecording sub-regionsAnd assigning the feature points to the corresponding sub-regions to obtain a sub-region feature point set:
;
;
Wherein, Is the file width; is the file height; the number of blocks is transverse; the number of the blocks in the longitudinal direction; Is the horizontal width of the subregion; Is the vertical width of the subregion;
sub-regions Is defined by the boundary of:
;
;
Wherein, Is a subarea, representing the firstLine 1Rectangular subregions of columns; Is a subarea Boundary horizontal coordinates; Is a subarea Boundary vertical coordinates; Is a subarea Left boundary horizontal coordinates; Is a subarea Right boundary horizontal coordinates; Is a subarea A lower boundary vertical coordinate; Is a subarea Upper boundary vertical coordinates;
Sub-region feature point set :
;
S2.1.4, according to the sub-region feature point setCalculating the centroid of the subregionTotal weight of subareas:
;
;
Wherein, Is the centroid of the subarea; Is the total weight of the sub-region.
As a further improvement of the technical scheme, the seal optimizing module calculates the global centroid of the file through an integral geometric method based on all sub-region centroids, adjusts the global centroid position through offset parameters set by a user to optimize the seal position, and checks whether the seal position conflicts with a key region or not, and the specific method comprises the following steps:
S2.2.1 based on all sub-region centroid and sub-region total weight Calculating a global centroid:
;
;
;
Wherein, Is a global centroid horizontal coordinate; Is a global centroid vertical coordinate; is the local centroid abscissa; is the local centroid abscissa;
s2.2.2 according to user-set offset parameters Seal position for adjusting global centroid:
;
Wherein, The seal position is the global centroid; Is the horizontal coordinate of the global centroid; is the vertical coordinate of the global centroid; offset parameters set for the user; A horizontal coordinate offset for the global centroid; a vertical coordinate offset for the global centroid;
S2.2.3 to set key region The boundary of (2) is:
;
;
Wherein, Is a critical areaLeft boundary horizontal coordinates; Is a critical area Right boundary horizontal coordinates; Is a critical area A lower boundary vertical coordinate; Is a critical area Upper boundary vertical coordinates;
Verifying stamp position Whether or not to fall into the critical areaInner:
;
if the conflict occurs, the user is prompted to adjust the offset parameter.
As a further improvement of the technical scheme, the printing control unit comprises an environment disturbance detection module and a printing track optimization module;
The environment disturbance detection module scans a printing area through a sensor, detects dust and stone grain environment factors and generates environment disturbance field data;
The printing track optimization module is used for constructing a track optimization objective function by using a self-adaptive environment disturbance printing control algorithm based on the environment disturbance field data, solving an optimization control equation by using a variational method and a Pontrigin maximum value principle, and dynamically adjusting the printing track;
The self-adaptive environment disturbance printing control algorithm combines disturbance field modeling and an optimal control theory, senses dust and stone particle distribution of a printing area in real time, and dynamically adjusts a printing motion track.
As a further improvement of the technical scheme, the environment disturbance detection module scans a printing area through a sensor, detects dust and stone grain environment factors, and generates environment disturbance field data, and the specific method comprises the following steps:
S3.1.1 grid scanning of a print area using an infrared sensor to generate grid points And the dust stone particle concentration was recorded:
Let the print area be of the size The scanning resolution is;
Grid points:
;
Wherein, The total length of the printing area in the horizontal direction; Is the total length of the printing area in the vertical direction; A number of grids divided in a horizontal direction for the print area; A number of grids divided in a vertical direction for the print area; Coordinates of grid points; Is the first The column grid points are in the horizontal direction coordinates; Is the first The row grid points are in the vertical direction coordinates; Representing the x-axis direction; representing the y-axis direction;
Concentration of dust and stone particles :
;
;
Wherein, The concentration of the dust and stone particles; The number of the dust and stone particles; area for each grid;
S3.1.2, according to the dust particle concentration Defining an ambient disturbance fieldAs a function of the spatial distribution of the concentration of particles, i.e. the ambient disturbing field:
;
;
Wherein, Is a kernel function; Is the diffusion radius;
S3.1.3, computing environment disturbance field Is a gradient of (2):
;
Wherein, A gradient that is an ambient perturbation field; the field of disturbance is changed in the transverse direction; The field varies longitudinally for the environment.
As a further improvement of the technical scheme, the printing track optimization module builds a track optimization objective function by using a self-adaptive environment disturbance printing control algorithm based on the environment disturbance field data, solves an optimization control equation by using a variational method and a Pontrisia maximum value principle, and dynamically adjusts the printing track, wherein the specific method comprises the following steps:
S3.2.1 setting the initial position of the print head as To the seal positionInitial trajectoryThe method comprises the following steps:
;
;
;
Wherein, The time is the moment; Is the total time of exercise; is the abscissa of the initial position of the printhead; is the ordinate of the initial position of the printhead; Is a global centroid horizontal coordinate; Is a global centroid vertical coordinate;
S3.2.2, depending on the environment, disturbing the field Will initiate the trackSubstituting ambient disturbance field gradientObtaining the influence of the gradient of the environmental disturbance field on the trackEstablishing a track optimization objective function:
;
Wherein, The influence of the gradient of the environmental disturbance field on the track; A model of the influence of the ambient disturbance field gradient on the trajectory; Is the printhead speed; Balancing weights for printhead speed;
S3.2.3 optimizing an objective function according to a trajectory Solving for printhead acceleration using variational and Pontrisia maximum principleIs the optimal control equation:
;
;
Wherein, To control gain coefficients;
s3.2.4 according to printhead acceleration Updating the print track in real time:
;
Wherein, In time steps.
As a further improvement of the technical scheme, the photographing and archiving unit comprises a file state verification module and a photographing and archiving module;
the file state verification module is responsible for detecting and verifying the physical state and the seal effect of the file after the printing control is finished, and an optical sensor is used for scanning the surface of the file to detect whether wrinkles and tearing anomalies exist;
The photographing and archiving module is used for performing high-precision full-page photographing on the file after the printing control is finished, naming the photo with a unique file number, archiving and storing the photo, and providing a user-friendly interface for supporting quick retrieval and archiving of the photo according to the file number and date.
In another aspect, the present invention provides a print control management apparatus comprising a sensor, a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the functions of the print control management system of any one of the above when executing the computer program
Compared with the prior art, the invention has the beneficial effects that:
1. According to the seal control management system and device, the seal position optimization technology based on the combination of the regional blocking algorithm and the integral geometric method can intelligently analyze file contents, extract key characteristic points, accurately optimize seal positions through calculating global centroids and avoid the seal from covering important regions.
2. In the print control management system and device, the dust and stone particle distribution of a printing area is perceived in real time through a self-adaptive environment disturbance printing control algorithm, an environment disturbance field is constructed, and a printing track is dynamically adjusted by combining an optimal control theory, so that high-precision printing in a complex environment is realized.
Drawings
FIG. 1 is an overall flow diagram of the present invention;
the meaning of each reference sign in the figure is:
1. The device comprises a file preparation unit, a seal setting unit, a printing control unit, a photographing archiving unit and a file taking-out unit.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment 1 referring to fig. 1, the present embodiment provides a print control management system, including:
A file preparation unit 1, wherein the file preparation unit 1 is used for receiving a guarantee file, and automatically detecting the position of the file and the state of a drawer through a drawer locking mechanism;
In the present embodiment, the file preparation unit 1 includes a file detection reception module and a drawer lock assurance module;
the file detection receiving module detects whether a file is placed in the drawer in real time, receives the file placed by a user, detects whether the file positions are aligned by using an optical sensor, and detects the file thickness by using laser ranging;
If the thickness of the file exceeds the limit, the system will give an alarm to avoid equipment failure caused by overlarge thickness of the file;
the drawer locking guarantee module is used for guaranteeing file safety, automatically locks the drawer through the mechanical drawer locking device and detects whether the drawer is completely closed or not by using the limit sensor.
The system monitors the locking state of the drawer in real time to ensure the safety in the printing control process, prompts a user to adjust the position of the drawer if the drawer is not completely closed, avoids misoperation in the printing control process, immediately pauses the operation if the drawer is detected to be accidentally opened or the position of the file is changed in the printing control process, and prompts the user to check through an alarm or a display screen.
The seal setting unit 2 is used for carrying out partition processing on file contents by using a regional partitioning algorithm, calculating a global centroid through integral geometry so as to optimize seal positions, and previewing and confirming the seal positions by a user;
in the present embodiment, the stamp setting unit 2 includes a partition processing module and a stamp optimizing module;
The partition processing module digitizes file content by using an optical character recognition technology, extracts a characteristic point two-dimensional point set, divides the file content into a plurality of subareas according to the file size, distributes characteristic points to the corresponding subareas, and calculates the local centroid of the subareas;
the seal optimizing module calculates the global centroid of the file through an integral geometric method based on all sub-region centroids, adjusts the global centroid position through offset parameters set by a user so as to optimize the seal position, and checks whether the seal position conflicts with a key region.
In this embodiment, the partition processing module digitizes the file content by using an optical character recognition technology, extracts a two-dimensional point set of feature points, divides the file content into a plurality of sub-regions according to the file size, distributes the feature points to the corresponding sub-regions, and calculates local centroids of the sub-regions, and the specific method steps are as follows:
S2.1.1 digitizing the file content by utilizing an optical character recognition technology, and extracting a characteristic point two-dimensional point set:
;
Wherein, Is the firstFeature points; Is the first Two-dimensional coordinates of the feature points; The total number of the feature points; a two-dimensional point set of feature points; Is the first Horizontal coordinates of the feature points; Is the first Vertical coordinates of the feature points;
s2.1.2, giving weight to the feature points:
;
Wherein, Is the firstWeights of the feature points;
s2.1.3 dividing a file into files according to file size Each sub-region marked asRecording sub-regionsAnd assigning the feature points to the corresponding sub-regions to obtain a sub-region feature point set:
;
;
Wherein, Is the file width; is the file height; the number of blocks is transverse; the number of the blocks in the longitudinal direction; Is the horizontal width of the subregion; Is the vertical width of the subregion;
sub-regions Is defined by the boundary of:
;
;
Wherein, Is a subarea, representing the firstLine 1Rectangular subregions of columns; Is a subarea Boundary horizontal coordinates; Is a subarea Boundary vertical coordinates; Is a subarea Left boundary horizontal coordinates; Is a subarea Right boundary horizontal coordinates; Is a subarea A lower boundary vertical coordinate; Is a subarea Upper boundary vertical coordinates;
Sub-region feature point set :
;
S2.1.4, according to the sub-region feature point setCalculating the centroid of the subregionTotal weight of subareas:
;
;
Wherein, Is the centroid of the subarea; Is the total weight of the sub-region.
In this embodiment, the seal optimizing module calculates the global centroid of the file by the integral geometric method based on all the sub-region centroids, adjusts the global centroid position by the offset parameter set by the user to optimize the seal position, and checks whether the seal position conflicts with the key region, and the specific method steps are as follows:
S2.2.1 based on all sub-region centroid and sub-region total weight Calculating a global centroid:
;
;
;
Wherein, Is a global centroid horizontal coordinate; Is a global centroid vertical coordinate; is the local centroid abscissa; is the local centroid abscissa;
s2.2.2 according to user-set offset parameters Seal position for adjusting global centroid:
;
Wherein, The seal position is the global centroid; Is the horizontal coordinate of the global centroid; is the vertical coordinate of the global centroid; offset parameters set for the user; A horizontal coordinate offset for the global centroid; a vertical coordinate offset for the global centroid;
S2.2.3 to set key region The boundary of (2) is:
;
;
Wherein, Is a critical areaLeft boundary horizontal coordinates; Is a critical area Right boundary horizontal coordinates; Is a critical area A lower boundary vertical coordinate; Is a critical area Upper boundary vertical coordinates;
Verifying stamp position Whether or not to fall into the critical areaInner:
;
if the conflict occurs, the user is prompted to adjust the offset parameter.
The printing control unit 3 scans dust and stone grains in a printing area through a sensor after a user confirms the position of the seal, establishes an environment disturbance field, and dynamically adjusts a printing track by combining an adaptive environment disturbance printing control algorithm with environment disturbance field data;
wherein, the environment disturbance field is specifically as follows:
;
Wherein, Is a kernel function; Is the concentration of dust and stone particles
The self-adaptive environment disturbance printing control algorithm builds a track optimization objective function based on an environment disturbance field, solves an optimization control equation by using a variational method and a Pontrisia maximum value principle, and dynamically adjusts a printing track;
Wherein the trajectory optimization objective function is specifically as follows:
;
Wherein, The influence of the gradient of the environmental disturbance field on the track; A model of the influence of the ambient disturbance field gradient on the trajectory; Is the printhead speed; Balancing weights for printhead speed; Optimizing an objective function for the trajectory;
In the present embodiment, the print control unit 3 includes an environmental disturbance detection module and a print track optimization module;
The environment disturbance detection module scans a printing area through a sensor, detects dust and stone grain environment factors and generates environment disturbance field data;
The printing track optimization module is used for constructing a track optimization objective function by using a self-adaptive environment disturbance printing control algorithm based on the environment disturbance field data, solving an optimization control equation by using a variational method and a Pontrigin maximum value principle, and dynamically adjusting the printing track;
The self-adaptive environment disturbance printing control algorithm combines disturbance field modeling and an optimal control theory, senses dust and stone particle distribution of a printing area in real time, and dynamically adjusts a printing motion track.
In this embodiment, compared with the conventional fixed track control, the adaptive environment disturbance printing control algorithm can perform adaptive adjustment according to the change of the environment disturbance field, so as to improve robustness in a complex environment, optimize printing efficiency, reduce errors or equipment wear caused by an external environment, and prolong the service life of equipment;
Based on the space distribution modeling thought in the field theory, describing the dust and stone particle distribution of the printing area as a two-dimensional disturbance field, fitting the diffusion effect of dust particles in space through a kernel function, and calculating the intensity and gradient change of the disturbance field;
And solving a track optimization problem by using the Pontrian maximum value principle, calculating the optimal acceleration of the printing head, and realizing the real-time dynamic adjustment of the printing track.
In this embodiment, the environmental disturbance detection module scans the printing area through the sensor, detects environmental factors of dust and stone particles, and generates environmental disturbance field data, and the specific method includes the following steps:
S3.1.1 grid scanning of a print area using an infrared sensor to generate grid points And the dust stone particle concentration was recorded:
Let the print area be of the size The scanning resolution is;
Grid points:
;
Wherein, The total length of the printing area in the horizontal direction; Is the total length of the printing area in the vertical direction; A number of grids divided in a horizontal direction for the print area; A number of grids divided in a vertical direction for the print area; Coordinates of grid points; Is the first The column grid points are in the horizontal direction coordinates; Is the first The row grid points are in the vertical direction coordinates; Representing the x-axis direction; representing the y-axis direction;
Concentration of dust and stone particles :
;
;
Wherein, The concentration of the dust and stone particles; The number of the dust and stone particles; area for each grid;
S3.1.2, according to the dust particle concentration Defining an ambient disturbance fieldAs a function of the spatial distribution of the concentration of particles, i.e. the ambient disturbing field:
;
;
Wherein, Is a kernel function; Is the diffusion radius;
S3.1.3, computing environment disturbance field Is a gradient of (2):
;
Wherein, A gradient that is an ambient perturbation field; the field of disturbance is changed in the transverse direction; The field varies longitudinally for the environment.
In this embodiment, the print track optimization module uses the adaptive environment disturbance print control algorithm to construct a track optimization objective function based on the environment disturbance field data, uses the variational method and the pointtri-gold maximum principle to solve the optimization control equation, and dynamically adjusts the print track, and the specific method steps are as follows:
S3.2.1 setting the initial position of the print head as To the seal positionInitial trajectoryThe method comprises the following steps:
;
;
;
Wherein, The time is the moment; Is the total time of exercise; is the abscissa of the initial position of the printhead; is the ordinate of the initial position of the printhead; Is a global centroid horizontal coordinate; Is a global centroid vertical coordinate;
S3.2.2, depending on the environment, disturbing the field Will initiate the trackSubstituting ambient disturbance field gradientObtaining the influence of the gradient of the environmental disturbance field on the trackEstablishing a track optimization objective function:
;
Wherein, The influence of the gradient of the environmental disturbance field on the track; A model of the influence of the ambient disturbance field gradient on the trajectory; Is the printhead speed; Balancing weights for printhead speed;
S3.2.3 optimizing an objective function according to a trajectory Solving for printhead acceleration using variational and Pontrisia maximum principleIs the optimal control equation:
;
;
Wherein, To control gain coefficients;
s3.2.4 according to printhead acceleration Updating the print track in real time:
;
Wherein, In time steps.
The system also comprises a photographing and archiving unit 4, wherein the photographing and archiving unit 4 is used for recording and verifying the state of the file after the printing control and photographing and archiving the file seal;
in this embodiment, the photographing and archiving unit 4 includes a file status verification module and a photographing and archiving module;
the file state verification module is responsible for detecting and verifying the physical state and the seal effect of the file after the printing control is finished, and an optical sensor is used for scanning the surface of the file to detect whether wrinkles and tearing anomalies exist;
The photographing and archiving module is used for performing high-precision full-page photographing on the file after the printing control is finished, naming the photo with a unique file number, archiving and storing the photo, and providing a user-friendly interface for supporting quick retrieval and archiving of the photo according to the file number and date.
The device also comprises a file taking-out unit 5, wherein the file taking-out unit 5 is used for automatically unlocking the printer drawer after the printing control process is finished, and safely taking out the file.
Embodiment 2 this embodiment provides a print control management apparatus comprising a sensor, a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the functions of any one of the print control management systems described above when executing the computer program.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that the above-described embodiments and descriptions are only preferred embodiments of the present invention, and are not intended to limit the invention, and that various changes and modifications may be made therein without departing from the spirit and scope of the invention as claimed.