CN116787957A - Control method and device for embossing of bar box, electronic equipment and storage medium - Google Patents

Control method and device for embossing of bar box, electronic equipment and storage medium Download PDF

Info

Publication number
CN116787957A
CN116787957A CN202310772315.7A CN202310772315A CN116787957A CN 116787957 A CN116787957 A CN 116787957A CN 202310772315 A CN202310772315 A CN 202310772315A CN 116787957 A CN116787957 A CN 116787957A
Authority
CN
China
Prior art keywords
sensor
embossing
stamping
conveyor belt
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310772315.7A
Other languages
Chinese (zh)
Inventor
贺韧
闫爱华
贺圣越
汪鹏
曹凯荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Hubei Industrial LLC
Original Assignee
China Tobacco Hubei Industrial LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Tobacco Hubei Industrial LLC filed Critical China Tobacco Hubei Industrial LLC
Priority to CN202310772315.7A priority Critical patent/CN116787957A/en
Publication of CN116787957A publication Critical patent/CN116787957A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a control method, a device, electronic equipment and a storage medium for embossing a bar box, wherein the method comprises the steps of determining the average conveying speed of a target bar box based on first stop signal acquisition intervals of a first sensor and a second sensor, and determining the embossing time corresponding to the target bar box according to the average conveying speed; and determining the current imprinting mode of the imprinting, controlling the imprinting to execute imprinting operation when the current time reaches the imprinting time, and adjusting the transmission speed of the conveyor belt based on the current imprinting mode in the imprinting operation process. The application realizes that the average conveying speed of the transported cans is determined according to the sensor, so as to further determine the stamping time when the cans arrive at the designated steel stamping position, and the stamping operation is directly executed when the stamping time arrives, namely, the stamping operation can be completed at the correct position of the cans. Under the conditions that brands of the cartons are different and the position distribution on the conveyor belt is uneven, the stamping accuracy can still be ensured.

Description

Control method and device for embossing of bar box, electronic equipment and storage medium
Technical Field
The application relates to the technical field of sensing control, in particular to a control method and device for embossing an carton, electronic equipment and a storage medium.
Background
In order to monitor and trace the product, embossing is required to be carried out on a carton containing the cigarette packaging box through a steel seal in the production process. Because the friction coefficients of the surfaces of the strip box papers of different brands are inconsistent, the strip box papers are easy to generate front-back displacement of different degrees when conveyed on a conveyor belt, so that the existing method for controlling the embossed seal to be embossed according to the fixed time interval cannot be accurately embossed at a specific position on the strip box, and the final quality of packaging is affected.
Disclosure of Invention
In order to solve the problems, the embodiment of the application provides a control method and device for embossing an carton, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a method for controlling embossing of an ink cartridge, the method including:
determining an average conveying speed of a target barrel based on a first stop signal acquisition interval of a first sensor and a second sensor, determining an imprinting moment corresponding to the target barrel according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting a barrel conveyed on a conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt;
determining a current embossing mode of the embossing, controlling the embossing to execute embossing operation when the current moment reaches the embossing moment, and adjusting the transmission speed of the conveyor belt based on the current embossing mode in the embossing operation process, wherein the current embossing mode comprises a direct embossing mode and a rolling embossing mode.
Preferably, the determining the average conveying speed of the target cans based on the first stop signal acquisition interval of the first sensor and the second sensor includes:
acquiring a first stop signal acquired by a first sensor and a second stop signal acquired by a second sensor;
and calculating a first stop signal acquisition interval of the second stop signal and the first stop signal, and calculating the average conveying speed of the target strip box based on the sensor interval and the first stop signal acquisition interval.
Preferably, the determining the imprint time corresponding to the target carton according to the average conveying speed includes:
calculating the imprinting waiting time according to the average conveying speed and a first distance, wherein the first distance is the distance between the second sensor and the steel seal;
and determining the corresponding stamping time of the target strip box according to the collection time of the second stop signal and the stamping waiting time.
Preferably, the method further comprises:
determining the continuous acquisition duration of the second stop signal;
and stopping the conveyor belt when the continuous acquisition time is longer than the first preset duration, and sending warning information to a preset terminal.
Preferably, said adjusting the conveying speed of the conveyor belt based on the current embossing mode during the embossing operation includes:
for the direct embossing mode, adjusting a transport speed of the conveyor belt to 0 during the embossing operation;
for the rolling embossing mode, the conveying speed of the conveyor belt is adjusted to a preset conveying speed during the embossing operation.
Preferably, the method further comprises:
determining a detection waiting period for the first sensor to detect the next barrel;
and when the detection waiting time is smaller than a preset waiting time, after the imprinting operation corresponding to the target carton is finished, keeping the transmission speed of the conveyor belt to be 0 in a second preset waiting time.
Preferably, the method further comprises:
and determining an offset angle of the target strip box based on a second stop signal acquisition interval of the first sensor and a third sensor, and adjusting an initial stamping angle of the steel seal according to the offset angle, wherein a connecting line of the third sensor and the first sensor is perpendicular to the conveying direction of the conveyor belt.
In a second aspect, embodiments of the present application provide an apparatus for controlling embossing of an ink cartridge, the apparatus comprising:
the first determining module is used for determining the average conveying speed of the target barrel based on a first stop signal acquisition interval of a first sensor and a second sensor, determining the stamping time corresponding to the target barrel according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting the barrel conveyed on the conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt;
and the second determining module is used for determining the current stamping mode of the steel seal, controlling the steel seal to execute stamping operation when the current time reaches the stamping time, and adjusting the transmission speed of the conveyor belt based on the current stamping mode in the stamping operation process, wherein the current stamping mode comprises a direct stamping mode and a rolling stamping mode.
In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method as provided in the first aspect or any one of the possible implementations of the first aspect when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as provided by the first aspect or any one of the possible implementations of the first aspect.
The beneficial effects of the application are as follows: the average conveying speed of the transported cans is determined according to the sensor, the stamping time when the cans arrive at the designated steel stamping position is further determined, and the stamping operation is directly carried out when the stamping time arrives, namely, the stamping operation can be completed at the correct position of the cans. Under the conditions that brands of the cartons are different and the position distribution on the conveyor belt is uneven, the stamping accuracy can still be ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a control method for controlling embossing of an carton and cassette according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an embossing control device for an carton in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
In the following description, the terms "first," "second," and "first," are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The following description provides various embodiments of the application that may be substituted or combined between different embodiments, and thus the application is also to be considered as embracing all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then the present application should also be considered to include embodiments that include one or more of all other possible combinations including A, B, C, D, although such an embodiment may not be explicitly recited in the following.
The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the application. Various examples may omit, replace, or add various procedures or components as appropriate. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Referring to fig. 1, fig. 1 is a schematic flow chart of a control method for controlling embossing of an bar box according to an embodiment of the present application. In an embodiment of the present application, the method includes:
s101, determining the average conveying speed of a target strip box based on a first stop signal acquisition interval of a first sensor and a second sensor, determining the stamping time corresponding to the target strip box according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting the strip box conveyed on a conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt.
The execution subject of the application may be a cloud server corresponding to the cartridge embossing system.
In one embodiment of the application, the conveyor belt is provided with a first sensor and a second sensor, which may be infrared sensors, photoelectric sensors, etc. The different friction coefficients of the cartridges of different brands cause the cartridges to shift back and forth to different extents in the transportation process of the conveyor belt, so that the transmission speed of the conveyor belt cannot be represented on the conveyor belt. Therefore, the time spent by the target strip box moving from the first sensor to the second sensor is determined according to the time interval of the stop signals acquired when the target strip box passes through the first sensor and the second sensor respectively, and the average conveying speed of the target strip box is further determined. Then, according to the average conveying speed, the stamping time when the target strip box moves to the stamping position of the steel stamp can be determined. The target bar box is the bar box which is currently monitored by the cloud server and is stamped next.
In one embodiment, the determining the average conveying speed of the target cartridge based on the first stop signal acquisition interval of the first sensor and the second sensor includes:
acquiring a first stop signal acquired by a first sensor and a second stop signal acquired by a second sensor;
and calculating a first stop signal acquisition interval of the second stop signal and the first stop signal, and calculating the average conveying speed of the target strip box based on the sensor interval and the first stop signal acquisition interval.
In one embodiment of the application, the first sensor captures a first stop signal as the cartridge passes by the first sensor, and similarly the second sensor captures a second stop signal. The signal data of the stop signals comprise the time of signal acquisition, so that the first stop signal acquisition interval of the two stop signals can be determined according to the first stop signal and the second stop signal. And because the sensor distance between the first sensor and the second sensor is known, the sensor distance can be divided from the first stop signal acquisition interval to obtain the average conveying speed of the target strip box.
In an embodiment, the determining, according to the average conveying speed, the imprint time corresponding to the target carton includes:
calculating the imprinting waiting time according to the average conveying speed and a first distance, wherein the first distance is the distance between the second sensor and the steel seal;
and determining the corresponding stamping time of the target strip box according to the collection time of the second stop signal and the stamping waiting time.
In one embodiment of the application, the distance between the second sensor and the imprint location of the stamp, i.e. the first distance, is also known, so that the imprint waiting time, i.e. the time it takes for the target cartridge to move from the second sensor to the position of the stamp, can be calculated from the first distance and the previously calculated average transport speed. And adding the waiting time of the imprinting to the acquisition time of the second stop information to determine the imprinting time of the target strip box.
In one embodiment, the method further comprises:
determining the continuous acquisition duration of the second stop signal;
and stopping the conveyor belt when the continuous acquisition time is longer than the first preset duration, and sending warning information to a preset terminal.
In one embodiment of the application, the cartridge has a certain width, so that the stop signal acquired by the sensor will last for a period of time, i.e. for the acquisition period. Although the cartridges differ in friction coefficient due to their own brand, resulting in different transport speeds, the speed gap is not particularly large. Thus, the range of the duration of the acquisition by a cartridge passing the sensor can be determined, and a maximum value, i.e. the first preset duration, is preset according to this range. If the duration of the second stop signal is longer than the first predetermined duration, it is highly likely that the two cassettes are attached together during transport and are then determined to be one cassette during sensor acquisition, which can easily lead to incorrect embossing positions of the embossing or to cassettes that are not embossed. Therefore, the cloud server temporarily stops the conveyor belt and sends warning information to a preset terminal (such as a mobile phone terminal, a computer terminal, a tablet terminal and the like) corresponding to the relevant management staff, so as to remind the staff to go to process the abnormality.
S102, determining a current embossing mode of the embossing, controlling the embossing to execute embossing operation when the current time reaches the embossing time, and adjusting the transmission speed of the conveyor belt based on the current embossing mode in the embossing operation process, wherein the current embossing mode comprises a direct embossing mode and a rolling embossing mode.
In one embodiment of the present application, when the actual current time reaches the stamping time, the cloud server considers that the target carton has moved to the stamping position where the stamp is located, and stamping can be started, so that the stamp is controlled to execute stamping operation, that is, the stamp is controlled to move according to a preset working path through a connecting bar of the stamp, so as to complete the stamping process. Before that, the cloud server may also determine the current imprint mode of the embossed stamp, which is generally divided into two types, a direct imprint mode and a rolling imprint mode. The direct embossing mode is to directly emboss the embossed seal on the barrel, and the rolling embossing mode is to roll the embossed seal after embossing the embossed seal on the barrel so that the embossed seal can be fully embossed on the barrel. Obviously, for the direct embossing mode, the position of the cartridge should be kept motionless during embossing in order to ensure the accuracy of the embossing position, while for the rolling embossing mode, the movement of the position of the cartridge needs to be kept during embossing in order to avoid that the contents on the steel stamp are all superimposed on one position of the cartridge. Therefore, the cloud server adjusts the transmission speed of the conveyor belt according to the current embossing mode of the embossing, so that the embossing can be accurately finished on the strip box in the current embossing mode.
In one embodiment, said adjusting the transport speed of the conveyor belt during the embossing operation based on the current embossing mode comprises:
for the direct embossing mode, adjusting a transport speed of the conveyor belt to 0 during the embossing operation;
for the rolling embossing mode, the conveying speed of the conveyor belt is adjusted to a preset conveying speed during the embossing operation.
In one embodiment of the present application, if the current embossing mode is the direct embossing mode, in order to ensure accuracy of the embossing position, the cloud server will adjust the transmission speed of the conveyor belt during the embossing operation, so that the transmission speed is kept at 0 during the operation. If the current embossing mode is the rolling embossing mode, however, the movement of the conveyor belt needs to be maintained in order to ensure that the embossed impressions can be perfectly printed on the cans. In this case, after the seal is pressed onto the barrel, the seal is pressed under a relatively high pressure, so that the seal is not slipped in the embossing process due to the difference of friction coefficients caused by different brands, and the conveyor belt only needs to move in cooperation with the rotation of the seal, that is, the conveying speed of the conveyor belt is a fixed value regardless of the friction coefficient. The fixed value, i.e., the specific value of the preset transmission speed, may be set accordingly according to the type of the embossed seal.
In one embodiment, the method further comprises:
determining a detection waiting period for the first sensor to detect the next barrel;
and when the detection waiting time is smaller than a preset waiting time, after the imprinting operation corresponding to the target carton is finished, keeping the transmission speed of the conveyor belt to be 0 in a second preset waiting time.
In one embodiment of the present application, a detection wait period that the first sensor passes from detecting the target cartridge to detecting the next cartridge is also determined. In the case where the average conveying speed has been determined, the length of the detection waiting period can indicate the distance between the next cassette and the target cassette. After the embossing operation is completed, a connecting rod is used for controlling the process of retracting the embossing, if two cans are too close, the process of retracting the embossing can occur, but the next can is moved to the embossing position. In this case, since the embossing operation is not performed on the embossing stamp, the cloud server does not perform speed adjustment on the conveyor belt, so that the next barrel is easily caused to continue to move along the conveyor belt, and the correct embossing position is missed. In order to avoid the above situation, when the detection waiting time is smaller than the preset waiting time, the next barrel is considered to be closer to the target barrel, and there is a risk of missing the stamping position. In this case, after the imprinting operation corresponding to the target carton is finished, the cloud server controls the conveyor belt to keep static for a certain time, so as to ensure that the steel seal is completed in the recovery process.
In one embodiment, the method further comprises:
and determining an offset angle of the target strip box based on a second stop signal acquisition interval of the first sensor and a third sensor, and adjusting an initial stamping angle of the steel seal according to the offset angle, wherein a connecting line of the third sensor and the first sensor is perpendicular to the conveying direction of the conveyor belt.
In one embodiment of the application, a third sensor is additionally arranged on the other side of the first sensor relative to the conveyor belt. When the posture of the barrel is correct, the first sensor and the third sensor can acquire stop signals at the same time. When the two signals do not detect the stop signals at the same time, the situation that the posture of the strip box is not right is indicated, and certain deflection possibly occurs in the transportation process, and the stamping angle of the steel seal is required to be adjusted at the moment so as to ensure that the steel seal is stamped at the correct position. Specifically, a second stop signal acquisition interval of the first sensor and the third sensor will be calculated, and when the interval is not 0, the cartridge is considered to deflect. At this time, the distance difference caused by deflection can be determined by combining the average conveying speed of the cartridges according to the time interval when the two sensors detect the stop signals. According to the distance difference and the distance between the two sensors, a triangle can be constructed, and then the offset angle of the strip box can be determined. Finally, the initial stamping angle of the steel seal is adjusted according to the offset angle, so that the initial stamping angle is rotated by the offset angle, and the accuracy in stamping can be ensured.
The following describes in detail the control device for controlling embossing of an ink cartridge according to an embodiment of the present application with reference to fig. 2. It should be noted that, the control device for controlling the embossing of the cartridge shown in fig. 2 is used to execute the method according to the embodiment of fig. 1, and for convenience of explanation, only the portion relevant to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 1 of the present application.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embossing control device for an bar box according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
a first determining module 201, configured to determine an average conveying speed of a target carton based on a first stop signal acquisition interval of a first sensor and a second sensor, and determine an imprint time corresponding to the target carton according to the average conveying speed, where the first sensor and the second sensor are both used for detecting a carton conveyed on a conveyor belt, and the second sensor is disposed at a preset distance of the first sensor along a conveying direction of the conveyor belt;
a second determining module 202, configured to determine a current embossing mode of the embossed seal, and when the current moment reaches the embossing moment, control the embossed seal to perform an embossing operation, and adjust a transmission speed of the conveyor belt during the embossing operation based on the current embossing mode, where the current embossing mode includes a direct embossing mode and a rolling embossing mode.
In one embodiment, the first determining module 201 includes:
the first acquisition unit is used for acquiring a first stop signal acquired by the first sensor and a second stop signal acquired by the second sensor;
and the first calculating unit is used for calculating a first stop signal acquisition interval of the second stop signal and the first stop signal and calculating the average conveying speed of the target strip box based on the sensor interval and the first stop signal acquisition interval.
In one embodiment, the first determining module 201 further includes:
a second calculating unit, configured to calculate an imprint waiting time period according to the average conveying speed and a first distance, where the first distance is a distance between the second sensor and the steel seal;
the first determining unit is used for determining the imprinting time corresponding to the target carton according to the acquisition time of the second stop signal and the imprinting waiting time.
In one embodiment, the apparatus further comprises:
a third determining module, configured to determine a duration of continuous acquisition of the second stop signal;
and the stopping module is used for stopping the conveyor belt and sending warning information to a preset terminal when the continuous acquisition time is longer than the first preset duration.
In one embodiment, the second determination module 202 includes:
a first adjusting unit for adjusting a conveying speed of the conveyor belt to 0 during the embossing operation for the direct embossing mode;
and the second adjusting unit is used for adjusting the conveying speed of the conveyor belt to be a preset conveying speed in the embossing operation process for the rolling embossing mode.
In one embodiment, the apparatus further comprises:
a fourth determining module, configured to determine a detection waiting period that the first sensor detects that the next cartridge passes;
and the holding module is used for holding the transmission speed of the conveyor belt to be 0 in a second preset duration after the imprinting operation corresponding to the target carton is finished when the detection waiting duration is smaller than the preset waiting duration.
In one embodiment, the apparatus further comprises:
and a fifth determining module, configured to determine an offset angle of the target barrel based on a second stop signal acquisition interval of the first sensor and a third sensor, and adjust an initial imprinting angle of the embossed seal according to the offset angle, where a connection line between the third sensor and the first sensor is perpendicular to a conveying direction of the conveyor belt.
It will be clear to those skilled in the art that the technical solutions of the embodiments of the present application may be implemented by means of software and/or hardware. "Unit" and "module" in this specification refer to software and/or hardware capable of performing a particular function, either alone or in combination with other components, such as Field programmable gate arrays (Field-Programmable Gate Array, FPGAs), integrated circuits (IntegratedCircuit, IC), and the like.
The processing units and/or modules of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
Referring to fig. 3, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, where the electronic device may be used to implement the method in the embodiment shown in fig. 1. As shown in fig. 3, the electronic device 300 may include: at least one central processor 301, at least one network interface 304, a user interface 303, a memory 305, at least one communication bus 302.
Wherein the communication bus 302 is used to enable connected communication between these components.
The user interface 303 may include a Display screen (Display), a Camera (Camera), and the optional user interface 303 may further include a standard wired interface, and a wireless interface.
The network interface 304 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the central processor 301 may comprise one or more processing cores. The central processor 301 connects the various parts within the overall electronic device 300 using various interfaces and lines, performs various functions of the terminal 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and invoking data stored in the memory 305. Alternatively, the central processor 301 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (ProgrammableLogic Array, PLA). The central processor 301 may integrate one or a combination of several of a central processor (Central Processing Unit, CPU), an image central processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the cpu 301 and may be implemented by a single chip.
The memory 305 may include a random access memory (Random Access Memory, RAM) or a Read-only memory (Read-only memory). Optionally, the memory 305 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 305 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 305 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 305 may also optionally be at least one storage device located remotely from the aforementioned central processor 301. As shown in fig. 3, an operating system, a network communication module, a user interface module, and program instructions may be included in the memory 305, which is a type of computer storage medium.
In the electronic device 300 shown in fig. 3, the user interface 303 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the central processor 301 may be used to invoke the pad printing control application stored in the memory 305 and specifically:
determining an average conveying speed of a target barrel based on a first stop signal acquisition interval of a first sensor and a second sensor, determining an imprinting moment corresponding to the target barrel according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting a barrel conveyed on a conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt;
determining a current embossing mode of the embossing, controlling the embossing to execute embossing operation when the current moment reaches the embossing moment, and adjusting the transmission speed of the conveyor belt based on the current embossing mode in the embossing operation process, wherein the current embossing mode comprises a direct embossing mode and a rolling embossing mode.
The present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method. The computer readable storage medium may include, among other things, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, micro-drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by hardware associated with a program that is stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random-access Memory (RandomAccess Memory, RAM), magnetic or optical disk, and the like.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A method of controlling the embossing of a cartridge, the method comprising:
determining an average conveying speed of a target barrel based on a first stop signal acquisition interval of a first sensor and a second sensor, determining an imprinting moment corresponding to the target barrel according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting a barrel conveyed on a conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt;
determining a current embossing mode of the embossing, controlling the embossing to execute embossing operation when the current moment reaches the embossing moment, and adjusting the transmission speed of the conveyor belt based on the current embossing mode in the embossing operation process, wherein the current embossing mode comprises a direct embossing mode and a rolling embossing mode.
2. The method of claim 1, wherein determining the average conveying speed of the target cartridge based on the first stop signal acquisition interval of the first sensor and the second sensor comprises:
acquiring a first stop signal acquired by a first sensor and a second stop signal acquired by a second sensor;
and calculating a first stop signal acquisition interval of the second stop signal and the first stop signal, and calculating the average conveying speed of the target strip box based on the sensor interval and the first stop signal acquisition interval.
3. The method according to claim 2, wherein said determining the corresponding imprint moment of the target cartridge according to the average transport speed comprises:
calculating the imprinting waiting time according to the average conveying speed and a first distance, wherein the first distance is the distance between the second sensor and the steel seal;
and determining the corresponding stamping time of the target strip box according to the collection time of the second stop signal and the stamping waiting time.
4. The method according to claim 2, wherein the method further comprises:
determining the continuous acquisition duration of the second stop signal;
and stopping the conveyor belt when the continuous acquisition time is longer than the first preset duration, and sending warning information to a preset terminal.
5. The method of claim 1, wherein said adjusting a transport speed of the conveyor belt during the embossing operation based on the current embossing mode comprises:
for the direct embossing mode, adjusting a transport speed of the conveyor belt to 0 during the embossing operation;
for the rolling embossing mode, the conveying speed of the conveyor belt is adjusted to a preset conveying speed during the embossing operation.
6. The method according to claim 1, wherein the method further comprises:
determining a detection waiting period for the first sensor to detect the next barrel;
and when the detection waiting time is smaller than a preset waiting time, after the imprinting operation corresponding to the target carton is finished, keeping the transmission speed of the conveyor belt to be 0 in a second preset waiting time.
7. The method according to claim 1, wherein the method further comprises:
and determining an offset angle of the target strip box based on a second stop signal acquisition interval of the first sensor and a third sensor, and adjusting an initial stamping angle of the steel seal according to the offset angle, wherein a connecting line of the third sensor and the first sensor is perpendicular to the conveying direction of the conveyor belt.
8. A cartridge embossing control device, characterized in that it comprises:
the first determining module is used for determining the average conveying speed of the target barrel based on a first stop signal acquisition interval of a first sensor and a second sensor, determining the stamping time corresponding to the target barrel according to the average conveying speed, wherein the first sensor and the second sensor are both used for detecting the barrel conveyed on the conveyor belt, and the second sensor is arranged at a preset distance of the first sensor along the conveying direction of the conveyor belt;
and the second determining module is used for determining the current stamping mode of the steel seal, controlling the steel seal to execute stamping operation when the current time reaches the stamping time, and adjusting the transmission speed of the conveyor belt based on the current stamping mode in the stamping operation process, wherein the current stamping mode comprises a direct stamping mode and a rolling stamping mode.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any of claims 1-7.
CN202310772315.7A 2023-06-28 2023-06-28 Control method and device for embossing of bar box, electronic equipment and storage medium Pending CN116787957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310772315.7A CN116787957A (en) 2023-06-28 2023-06-28 Control method and device for embossing of bar box, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310772315.7A CN116787957A (en) 2023-06-28 2023-06-28 Control method and device for embossing of bar box, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116787957A true CN116787957A (en) 2023-09-22

Family

ID=88047823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310772315.7A Pending CN116787957A (en) 2023-06-28 2023-06-28 Control method and device for embossing of bar box, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116787957A (en)

Similar Documents

Publication Publication Date Title
JP7448865B2 (en) Combination of drug packaging device and ink ribbon cassette
US9539829B2 (en) Printing on a media web
CN101739726B (en) Printing control method and device
JP2014152018A (en) Product management system
JP2012116133A5 (en)
CN104486135B (en) Communication calibration system and method in rail vehicle
CN116787957A (en) Control method and device for embossing of bar box, electronic equipment and storage medium
CN101143653B (en) Boxed medicine application and conveying method
FI128403B (en) Synchronization of imaging
CN104527720A (en) Image acquisition control method and device and image acquisition system
CN206363454U (en) A kind of drug slot Automatic Alignment System based on distance measuring sensor
CN103660623B (en) The method of conveying equipment and calculating feed correction value
US11294454B2 (en) Position error measurement in an extended reality mobile display device
JP6429671B2 (en) Card printer
CN112700179A (en) Parcel tracking method, device and system and parcel detection method and device
JP2013248670A (en) Automatic reformation controlling device of steel plate with difference in thickness
JPWO2018163239A1 (en) Wire straightening device and wire straightening method
CN103846287A (en) Rolling control device and rolling control method
CN104843266A (en) Control method used for labeling detection machine and apparatus thereof
JP2021118424A5 (en) IMAGE READING DEVICE, CONTROL METHOD FOR IMAGE READING DEVICE, AND PROGRAM
JP7054903B2 (en) Paper feed device, paper feed method and paper feed program
JP7286479B2 (en) Length measuring device
CN211417875U (en) Automatic labeling machine for double-check electronic tags
CN216762424U (en) Missing printing detection and reprint system
KR20130022447A (en) Management system and method for electronic shelf label terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination