A method and device for controlling the engraving of a cigar wrapper, and an electronic device
Patent Information
- Application Number
- CN202410632274.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2044-05-21
AI Technical Summary
In existing technologies, the laser engraving of cigar wrappers lacks precise control, resulting in excessive laser power that damages the wrapper and affects product quality.
By acquiring information about the eggplant skin and the content to be carved, the laser power range is determined, and a laser power control curve is constructed based on the path area ratio and the order of carving points, so as to accurately control the emission power of the laser-emitting object.
It enables precise laser power control at different engraving points during the engraving process, avoiding damage to the wrapper and ensuring the quality of cigar products.
Smart Images

Figure CN118417705B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to data processing technology in one or more embodiments, and more particularly to a method, apparatus and electronic device for engraving control of cigar wrappers. Background Technology
[0002] As cigar brands offer increasingly diverse product features and more individual cigar labels are being applied, the amount of tobacco obscured is growing, making it difficult to judge product quality directly from the appearance. Therefore, some cigar manufacturers are considering laser engraving to directly add patterns, text, and serial numbers to the cigar wrapper, replacing various labels and reducing the number of labels and obscured tobacco. However, cigar wrappers need to be extremely thin, generally no more than 1mm thick. Currently, there is no precise method to control the laser engraving process, making it easy for excessive laser power to damage the wrapper, producing a protein odor and affecting product quality. Summary of the Invention
[0003] To address the aforementioned problems, this specification describes one or more embodiments of a method, apparatus, and electronic device for controlling the engraving of cigar wrappers.
[0004] According to a first aspect, a method for controlling the engraving of cigar wrappers is provided, the method comprising: Obtain the wrapper information and engraving content information of the target cigar to be engraved, and determine the laser power range based on the wrapper information, which includes the wrapper material and wrapper thickness; Based on the engraving content information, the engraving path of the laser emission object is determined, the path area ratio of the judgment area corresponding to each engraving point in the engraving path is calculated, and the laser power corresponding to each engraving point is determined according to the path area ratio and the laser power range. A laser power control curve is constructed based on the position sequence and the laser power of each laser, and the emission power of the laser emitting object on the engraving path is controlled according to the laser power control curve.
[0005] Preferably, determining the laser power range based on the eggplant wrapper information includes: Based on the wrapper information, the wrapper strength information of the target cigar is determined, the initial deformation strength and the wrapper breakage strength of the wrapper are determined according to the wrapper strength information, and the laser power range is determined according to the initial deformation strength and the wrapper breakage strength of the wrapper.
[0006] Preferably, the step of calculating the path area ratio within the judgment area corresponding to each carving point in the carving path includes: Determine the moving speed of the laser-emitting object, and determine the judgment area corresponding to the engraving point in the engraving path based on the moving speed. The moving speed is inversely proportional to the area of the judgment area. Calculate the path area percentage for each of the judgment regions.
[0007] Preferably, determining the laser power corresponding to each engraving point based on the path area ratio and the laser power range includes: The laser power selection ratio is determined based on the path area ratio, and the laser power corresponding to each engraving point is determined within the laser power range based on the laser power selection ratio.
[0008] Preferably, determining the laser power selection ratio based on the path area ratio includes: The number of overlapping nodes in the judgment area is determined, and the laser power selection ratio is obtained by weighting the path area ratio and the number of nodes.
[0009] Preferably, controlling the emission power of the laser emitting object on the engraving path according to the laser power control curve includes: The adjustment time is determined based on the moving speed of the laser emitting object. The laser power control curve is shifted forward by the adjustment time in the time direction, and the emission power of the laser emitting object on the engraving path is controlled according to the adjusted laser power control curve.
[0010] Preferably, the method further includes: After detecting the completion of the engraving, a transmission power curve is generated based on all the aforementioned transmission powers; By comparing the emission power curve and the laser power control curve, the control error is determined.
[0011] According to a second aspect, a cigar wrapper engraving control device is provided, the device comprising: The acquisition module is used to acquire the wrapper information and engraving content information of the target cigar to be engraved, and to determine the laser power range based on the wrapper information, wherein the wrapper information includes the wrapper material and the wrapper thickness. The calculation module is used to determine the carving path of the laser emission object based on the carving content information, calculate the path area ratio of the judgment area corresponding to each carving point in the carving path, and determine the laser power corresponding to each carving point according to the path area ratio and the laser power range. The control module is used to construct a laser power control curve based on the position sequence and the laser power of each laser, and to control the emission power of the laser emitting object on the engraving path according to the laser power control curve.
[0012] According to a third aspect, an electronic device is provided, including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method provided as in the first aspect or any possible implementation thereof.
[0013] According to a fourth aspect, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method provided as in the first aspect or any possible implementation thereof.
[0014] The method and apparatus provided in the embodiments of this specification can determine the laser power range based on the wrapper information, and set different laser powers for different engraving points by combining the path area ratio of each engraving point in the engraving path. Finally, a laser power control curve is constructed to control the emission power of the laser-emitting object throughout the engraving process. This achieves precise control of the emission power of the laser output at different engraving points throughout the entire engraving process, avoiding damage to the wrapper due to excessive laser power and ensuring the quality of the cigar product. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating a method for controlling the engraving of a cigar wrapper, as described in one embodiment of this specification.
[0017] Figure 2 This is a schematic diagram of the structure of a cigar wrapper engraving control device in one embodiment of this specification.
[0018] Figure 3 This is a schematic diagram of the structure of an electronic device in one embodiment of this specification. Detailed Implementation
[0019] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0020] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.
[0021] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. 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.
[0022] See Figure 1 , Figure 1 This is a flowchart illustrating a method for controlling the engraving of a cigar wrapper according to an embodiment of this application. In this embodiment, the method includes: S101. Obtain the wrapper information and carving content information of the target cigar to be carved, and determine the laser power range based on the wrapper information.
[0023] The information regarding the eggplant wrapper includes the wrapper material and the wrapper thickness.
[0024] The entity executing this application may be a cloud server.
[0025] In this embodiment of the specification, the worker sends the cigar type information of the target cigar to be laser-engraved to a cloud server. The cloud server can then query the cigar database based on the cigar type information to obtain the wrapper information and engraving content information of the target cigar. The wrapper information describes the wrapper material and thickness used for that type of cigar, while the engraving content information describes the pattern / text / symbol to be engraved on the wrapper. Next, the cloud server can determine the strength and deformation of the wrapper based on the wrapper information, thereby determining the stress range within which irreversible deformation of the wrapper is desired without causing it to break, and thus determining the laser power range.
[0026] There are many ways to determine the laser power range using eggplant wrapper information. For example, a material strength database can be pre-set in a cloud server. This database stores data on the structural deformation changes of eggplant wrappers of different thicknesses and materials under different energy levels, as determined by testers. The cloud server queries this material strength database using the eggplant wrapper information to determine the energy intensity range from leaving an imprint on the eggplant wrapper (i.e., causing irreversible deformation) to just causing it to break, and then determines the laser power range based on the correspondence between energy intensity and laser power. Alternatively, testers can directly construct a mapping database representing the relationship between eggplant wrapper information and laser power range based on the aforementioned test data. The cloud server only needs to query this mapping database using the eggplant wrapper information to determine the laser power range. Other implementation methods are also possible in other embodiments.
[0027] In one possible implementation, determining the laser power range based on the eggplant wrapper information includes: Based on the wrapper information, the wrapper strength information of the target cigar is determined, the initial deformation strength and the wrapper breakage strength of the wrapper are determined according to the wrapper strength information, and the laser power range is determined according to the initial deformation strength and the wrapper breakage strength of the wrapper.
[0028] In the embodiments of this specification, wrappers of different materials and thicknesses correspond to different structural strengths, i.e., wrapper strength information. This can be determined in advance through testing various wrappers. Since tobacco factories generally use a few fixed types and parameters of wrappers, they do not specifically set different parameters for wrappers when the type of cigar remains unchanged. Therefore, the total amount of data to be tested is not particularly large. The wrapper strength information can be a set of data representing the change in structural strength of the wrapper after being subjected to external forces of different energy intensities. Through the wrapper strength information, the cloud server can determine the initial deformation strength of the wrapper when it has just undergone irreversible deformation (i.e., the wrapper can leave a mark) and the damage strength of the wrapper when it has just broken. The intensity range corresponding to these two intensities is the range of laser intensity that can be used when laser engraving the wrapper of the target cigar. Therefore, the cloud server will determine the range of laser power that the laser can output based on this intensity range and the calculation relationship between laser intensity and power.
[0029] S102. Based on the engraving content information, determine the engraving path of the laser emission object, calculate the path area ratio of the judgment area corresponding to each engraving point in the engraving path, and determine the laser power corresponding to each engraving point according to the path area ratio and the laser power range.
[0030] In the embodiments of this specification, the cloud server first determines the engraving path of the laser-emitting object to be laser-engraved based on the engraving content information. The laser-emitting object can be a laser emitter or a laser-emitting device equipped with a laser emitter. The engraving path can be determined by having a pre-set engraving path directly in the engraving content information, or by the cloud server autonomously planning the shortest total path after determining the content to be engraved, or by other feasible implementation methods. The engraving path can be refined into individual engraving points. Ideally, to ensure the engraving effect, the laser power should be as high as possible without damaging the outer skin. However, due to the different engraving content, some areas may require repeated engraving, or more complex engraving may be required in a small local area. In these cases, the structural strength or overall stress of that area is more prone to change due to higher engraving density or continuous laser exposure, making it more susceptible to breakage. Therefore, in practice, the cloud server will adjust the laser power output to different engraving points according to the different engraving content, rather than always maintaining the maximum power within the laser power range for engraving.
[0031] Specifically, a rule for generating the judgment area can be pre-set. For example, a circular area with a specified radius centered on the carving point can be used as the judgment area. The cloud server will determine the judgment area corresponding to each carving point and, based on the carving path, determine the path area ratio within each judgment area. The higher the path area ratio, the more fragile the area is considered, and the lower the laser power should be output. Finally, the cloud server will determine the laser power corresponding to each carving point based on the path area ratio and the laser power range. As an example, the laser power can be determined by proportionally selecting corresponding numerical points within the laser power range based on the path area ratio, or by pre-setting the correspondence between the path area ratio and the range selection ratio, and determining the specific laser power within the laser power range based on this correspondence, or by weighted calculation using the median value of the path area ratio and the laser power range.
[0032] In one possible implementation, calculating the path area percentage within the judgment area corresponding to each carving point in the carving path includes: Determine the moving speed of the laser-emitting object, and determine the judgment area corresponding to the engraving point in the engraving path based on the moving speed. The moving speed is inversely proportional to the area of the judgment area. Calculate the path area percentage for each of the judgment regions.
[0033] In the embodiments of this specification, considering that the laser-emitting object may be set to different moving speeds depending on the actual situation, even if the laser power is the same, the time that the eggplant wrapper per unit area is exposed to the laser will be different at different speeds. To avoid damage to the eggplant wrapper caused by different moving speeds, the cloud server determines the area of the judgment region based on the moving speed. The slower the speed, the longer the eggplant wrapper per unit area is exposed to the laser, and the more easily the eggplant wrapper is damaged. Therefore, the area of the judgment region is set to be larger, so that more non-carved parts are covered within the region, making the path area ratio relatively smaller, and thus the laser power can be selected to be smaller, thereby avoiding damage to the eggplant wrapper.
[0034] In one possible implementation, determining the laser power corresponding to each of the engraving points based on the path area ratio and the laser power range includes: The laser power selection ratio is determined based on the path area ratio, and the laser power corresponding to each engraving point is determined within the laser power range based on the laser power selection ratio.
[0035] In the embodiments of this specification, the cloud server may have a pre-set conversion relationship between path area ratio and laser power selection ratio. After determining the path area ratio, the laser power selection ratio can be determined according to the conversion relationship. Then, the cloud server will select the corresponding numerical point within the laser power range as the laser power for the engraving point according to the laser power selection ratio.
[0036] As an example, assuming the laser power range is [40W, 60W] and the laser power selection ratio is 40%, the final determined laser power is 48W.
[0037] In one possible implementation, determining the laser power selection ratio based on the path area ratio includes: The number of overlapping nodes in the judgment area is determined, and the laser power selection ratio is obtained by weighting the path area ratio and the number of nodes.
[0038] In the embodiments of this specification, in order to engrave different patterns, the engraving path may have repeated parts, that is, some paths may intersect, resulting in overlapping nodes. In this case, the eggplant wrapper is more likely to be damaged due to repeated laser impact in localized areas, and the laser power should be appropriately reduced. Therefore, the cloud server will also determine the number of nodes with overlapping paths within the judgment area, and set different weights for the path area ratio and the number of nodes, respectively. The laser power selection ratio is obtained by weighting the path area ratio and the number of nodes. Among them, the weight corresponding to the number of nodes is a negative weight.
[0039] S103. Construct a laser power control curve based on the position sequence and the laser power of each laser, and control the emission power of the laser emitting object on the engraving path according to the laser power control curve.
[0040] In the embodiments described in this specification, a laser power control curve can be constructed by connecting the laser powers according to the positional sequence of each engraving point in the engraving path. During the laser engraving process according to the engraving path, the cloud server continuously and dynamically adjusts the emission power of the laser emission object based on the laser power control curve to control the laser intensity emitted to various positions on the eggplant wrapper, thereby ensuring the engraving effect of the eggplant wrapper as much as possible while avoiding damage to the eggplant wrapper.
[0041] In one possible implementation, controlling the emission power of the laser emitting object along the engraving path according to the laser power control curve includes: The adjustment time is determined based on the moving speed of the laser emitting object. The laser power control curve is shifted forward by the adjustment time in the time direction, and the emission power of the laser emitting object on the engraving path is controlled according to the adjusted laser power control curve.
[0042] In the embodiments described in this specification, considering that in reality, the laser-emitting object moves at a certain speed, and there is a certain response time between continuously sending adjustment commands according to the laser power control curve and the laser-emitting object responding to the adjustment commands and changing the emission power, if the power control is directly performed according to the laser power control curve, the laser intensity hitting each engraving point will inevitably deviate from the expectation, and the faster the movement speed, the greater the deviation, which may even increase the risk of shell breakage in some cases. Therefore, the cloud server determines a certain lead time, i.e., adjustment duration, based on the movement speed of the laser-emitting object, and adjusts the laser power control curve accordingly. This ensures that the adjusted curve takes into account the response deviation caused by the movement speed, thereby sending the corresponding adjustment commands in advance to guarantee the final engraving effect. The mapping relationship between the movement speed and the adjustment duration can be set by the operator based on prior simulation test data and human experience.
[0043] In one possible implementation, the method further includes: After detecting the completion of the engraving, a transmission power curve is generated based on all the aforementioned transmission powers; By comparing the emission power curve and the laser power control curve, the control error is determined.
[0044] In the embodiments described in this specification, after completing one engraving according to the engraving path, the cloud server will also construct an emission power curve based on the actual emission power and compare it with the laser power control curve to determine whether there are still control errors. If there are control errors, the cloud server will consider the control errors in subsequent control processes and further adjust the laser power control curve in subsequent engraving processes.
[0045] The following will be combined with the appendix Figure 2 This application provides a detailed description of the engraving control device for cigar wrappers provided in its embodiments. It should be noted that... Figure 2 The engraving control device shown is used to perform the present application. Figure 1 The methods shown in the embodiments are for illustrative purposes only, illustrating the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 1 The example shown.
[0046] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of a cigar wrapper engraving control device provided in an embodiment of this application. Figure 2 As shown, the device includes: The acquisition module 201 is used to acquire the wrapper information and engraving content information of the target cigar to be engraved, and to determine the laser power range based on the wrapper information. The wrapper information includes the wrapper material and the wrapper thickness. The calculation module 202 is used to determine the carving path of the laser emission object based on the carving content information, calculate the path area ratio of the judgment area corresponding to each carving point in the carving path, and determine the laser power corresponding to each carving point according to the path area ratio and the laser power range. The control module 203 is used to construct a laser power control curve based on the position sequence and the laser power of each laser, and to control the emission power of the laser emitting object on the engraving path according to the laser power control curve.
[0047] In one possible implementation, the acquisition module 201 is specifically used for: Based on the wrapper information, the wrapper strength information of the target cigar is determined, the initial deformation strength and the wrapper breakage strength of the wrapper are determined according to the wrapper strength information, and the laser power range is determined according to the initial deformation strength and the wrapper breakage strength of the wrapper.
[0048] In one possible implementation, the computing module 202 is specifically used for: Determine the moving speed of the laser-emitting object, and determine the judgment area corresponding to the engraving point in the engraving path based on the moving speed. The moving speed is inversely proportional to the area of the judgment area. Calculate the path area percentage for each of the judgment regions.
[0049] In one possible implementation, the computing module 202 is further configured to: The laser power selection ratio is determined based on the path area ratio, and the laser power corresponding to each engraving point is determined within the laser power range based on the laser power selection ratio.
[0050] In one possible implementation, the computing module 202 is further configured to: The number of overlapping nodes in the judgment area is determined, and the laser power selection ratio is obtained by weighting the path area ratio and the number of nodes.
[0051] In one possible implementation, the control module 203 is specifically used for: The adjustment time is determined based on the moving speed of the laser emitting object. The laser power control curve is shifted forward by the adjustment time in the time direction, and the emission power of the laser emitting object on the engraving path is controlled according to the adjusted laser power control curve.
[0052] In one possible implementation, the device further includes: The generation module is used to generate a transmission power curve based on all the transmission powers after detecting the carving completion information; The comparison module is used to compare the emission power curve and the laser power control curve to determine the control error.
[0053] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0054] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.
[0055] See Figure 3 It shows a schematic diagram of the structure of an electronic device according to an embodiment of this application, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 3As shown, the electronic device 300 may include: at least one processor 301, at least one network interface 304, user interface 303, memory 305, and at least one communication bus 302.
[0056] The communication bus 302 is used to enable communication between these components.
[0057] The user interface 303 may include a display screen and a camera. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0058] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0059] The processor 301 may include one or more processing cores. The processor 301 connects to various parts within the electronic device 300 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling data stored in the memory 305. Optionally, the processor 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 301 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 301.
[0060] The memory 305 may include random access memory (RAM) or read-only memory. Optionally, the memory 305 may include a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned processor 301. Figure 3 As shown, the memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0061] exist Figure 3 In the illustrated electronic device 300, the user interface 303 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 301 can be used to call the cigar wrapper engraving control application stored in the memory 305 and specifically perform the following operations: Obtain the wrapper information and engraving content information of the target cigar to be engraved, and determine the laser power range based on the wrapper information, which includes the wrapper material and wrapper thickness; Based on the engraving content information, the engraving path of the laser emission object is determined, the path area ratio of the judgment area corresponding to each engraving point in the engraving path is calculated, and the laser power corresponding to each engraving point is determined according to the path area ratio and the laser power range. A laser power control curve is constructed based on the position sequence and the laser power of each laser, and the emission power of the laser emitting object on the engraving path is controlled according to the laser power control curve.
[0062] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0063] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0064] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0065] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0066] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0067] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0068] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0069] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0070] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for controlling the carving of cigar wrappers, characterized in that, The method includes: Obtain the wrapper information and engraving content information of the target cigar to be engraved, and determine the laser power range based on the wrapper information, which includes the wrapper material and wrapper thickness; Based on the engraving content information, the engraving path of the laser emission object is determined. The path area ratio of the judgment area corresponding to each engraving point in the engraving path is calculated respectively. The laser power corresponding to each engraving point is determined according to the path area ratio and the laser power range. The higher the path area ratio, the more fragile the judgment area is, and the lower the output laser power. A laser power control curve is constructed based on the position sequence and the laser power of each laser, and the emission power of the laser emitting object on the engraving path is controlled according to the laser power control curve.
2. The method according to claim 1, characterized in that, Determining the laser power range based on the eggplant wrapper information includes: Based on the wrapper information, the wrapper strength information of the target cigar is determined, the initial deformation strength and the wrapper breakage strength of the wrapper are determined according to the wrapper strength information, and the laser power range is determined according to the initial deformation strength and the wrapper breakage strength of the wrapper.
3. The method according to claim 1, characterized in that, The step of calculating the path area ratio within the judgment area corresponding to each carving point in the carving path includes: Determine the moving speed of the laser-emitting object, and determine the judgment area corresponding to the engraving point in the engraving path based on the moving speed. The moving speed is inversely proportional to the area of the judgment area. Calculate the path area percentage for each of the judgment regions.
4. The method according to claim 1, characterized in that, The step of determining the laser power corresponding to each engraving point based on the path area ratio and the laser power range includes: The laser power selection ratio is determined based on the path area ratio, and the laser power corresponding to each engraving point is determined within the laser power range based on the laser power selection ratio.
5. The method according to claim 4, characterized in that, The step of determining the laser power selection ratio based on the path area ratio includes: The number of overlapping nodes in the judgment area is determined, and the laser power selection ratio is obtained by weighting the path area ratio and the number of nodes.
6. The method according to claim 1, characterized in that, The step of controlling the emission power of the laser emitting object on the engraving path according to the laser power control curve includes: The adjustment time is determined based on the moving speed of the laser emitting object. The laser power control curve is shifted forward by the adjustment time in the time direction, and the emission power of the laser emitting object on the engraving path is controlled according to the adjusted laser power control curve.
7. The method according to claim 1, characterized in that, The method further includes: After detecting the completion of the engraving, a transmission power curve is generated based on all the aforementioned transmission powers; By comparing the emission power curve and the laser power control curve, the control error is determined.
8. A carving control device for cigar wrappers, characterized in that, The device includes: The acquisition module is used to acquire the wrapper information and engraving content information of the target cigar to be engraved, and to determine the laser power range based on the wrapper information, wherein the wrapper information includes the wrapper material and the wrapper thickness. The calculation module is used to determine the carving path of the laser emission object based on the carving content information, calculate the path area ratio of the judgment area corresponding to each carving point in the carving path, and determine the laser power corresponding to each carving point according to the path area ratio and the laser power range; the higher the path area ratio, the more fragile the judgment area, and the lower the output laser power. The control module is used to construct a laser power control curve based on the position sequence and the laser power of each laser, and to control the emission power of the laser emitting object on the engraving path according to the laser power control curve.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as claimed in any one of claims 1-7.
Citation Information
Patent Citations
Online adjusting device of tipping paper air permeability
CN103056529A
Laser processing method
CN115990716A
