Early warning method and device for online moisture detection quality of tobacco shreds
By establishing the corresponding relationship between the color value threshold range and the moisture content of cut tobacco standard samples, and using visual inspection and Lab color mode data, the impact of cut tobacco color differences on the detection results was solved, and the accuracy and reliability of online moisture detection of cut tobacco were improved.
Patent Information
- Application Number
- CN202410522376.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-06
AI Technical Summary
The existing online infrared moisture meter of cut tobacco is affected by the color difference of cut tobacco during the detection process, which leads to a decrease in the accuracy of moisture content detection. Especially when the color range of cut tobacco in the same batch is large, it affects the accuracy of the detection results.
By establishing the corresponding relationship between the color value threshold range and the moisture content of the standard sample of cut tobacco, using visual detection methods and Lab color mode data, the color value of the cut tobacco is detected, and compared with the threshold range of the standard sample, an abnormal moisture alarm is issued to avoid color The impact of changes on test results.
It effectively avoids the impact of color changes of cut tobacco on the accuracy of moisture content detection, improves the accuracy and reliability of detection, and ensures the reliability and consistency of cut tobacco moisture detection.
Smart Images

Figure CN118603898A
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection technology, and more specifically, to an early warning method and device for online moisture detection quality of cut tobacco. Background Art
[0002] The online infrared moisture meter for cut tobacco uses the principle of infrared light absorption to detect the moisture in the material. The moisture meter emits infrared light of a specific wavelength. When the infrared light irradiates the material, the water molecules in the material will absorb part of the energy of the infrared light. The more water the material contains, the more it absorbs. By measuring the reduction in reflected light, the moisture content of the material can be calculated.
[0003] In order to eliminate the interference of other factors on moisture measurement, the three-wavelength method is generally used, that is, one wavelength that is strongly absorbed by water (measurement wavelength) and two wavelengths that are not absorbed too strongly by water (reference wavelengths). By detecting and calculating the energy ratio of the reflected light of these three wavelengths, more accurate moisture measurement results can be obtained.
[0004] However, in actual application, online moisture meters are inevitably affected by tobacco color differences, that is, when tobacco color changes, its tobacco moisture content test results are usually affected. Sometimes the same batch of tobacco has a large color range, which may have a significant impact on the tobacco moisture content test results, thereby affecting the accuracy of tobacco moisture content detection. Summary of the invention
[0005] The present application provides an early warning method and device for online moisture detection quality of cut tobacco, establishes a correspondence between the color value threshold range of a standard cut tobacco sample and the threshold range of moisture content of the same type of cut tobacco, thereby performing online detection of the moisture content of the cut tobacco by detecting the color value of the cut tobacco, thereby avoiding the influence of the color change of the cut tobacco on the accuracy of the moisture content detection of the cut tobacco.
[0006] The present application provides an early warning method for online moisture detection quality of cut tobacco, comprising:
[0007] Performing online tobacco color value detection on the tobacco on the production line to obtain a first detection result;
[0008] Comparing the first detection result with a color value threshold range of a standard sample of cut tobacco of the same type, wherein the color value threshold range of the standard sample of cut tobacco corresponds to a threshold range of moisture content of the cut tobacco of the same type;
[0009] If the first detection result exceeds the color value threshold range of the tobacco standard sample, an abnormal moisture alarm of the tobacco is issued.
[0010] Preferably, the early warning method for online moisture detection quality of cut tobacco also includes:
[0011] Performing tobacco color value testing on each type of tobacco standard sample to obtain a second test result;
[0012] Based on the second detection result and the corresponding tobacco moisture content threshold of the tobacco standard sample, the correspondence between the color value threshold range of the tobacco standard sample of the type and the threshold range of the tobacco moisture content is determined.
[0013] Preferably, the tobacco color value is detected by visual detection method.
[0014] Preferably, in visual detection, an active light source with a wavelength greater than 400 nm is used.
[0015] Preferably, the color value threshold range of the standard cut tobacco sample adopts Lab color mode data, including the maximum threshold and the minimum threshold of the three channels L, a and b.
[0016] The present application also provides an early warning device for online moisture detection quality of tobacco, comprising a tobacco color value detection component, a processor and an alarm, wherein the output end of the tobacco color value detection component is connected to the processor, and the processor is connected to the alarm;
[0017] The tobacco color value detection component is used to take a picture of the tobacco on the production line to obtain a first picture;
[0018] The processor is used to receive the first image output by the tobacco color value detection component, process the first image, obtain a first detection result, and compare the first detection result with the color value threshold range of the tobacco standard sample of the same type; wherein the color value threshold range of the tobacco standard sample corresponds to the threshold range of the moisture content of the tobacco of the same type;
[0019] The alarm is used to issue an alarm for abnormal moisture content in tobacco when the first detection result exceeds the color value threshold range of the tobacco standard sample.
[0020] Preferably, the tobacco color value detection component includes an active light source and a camera.
[0021] Preferably, the active light source is a light source with a wavelength greater than 400 nm.
[0022] Preferably, the processor is used to convert the image output by the tobacco color value detection component into Lab color mode data.
[0023] Preferably, the tobacco color value detection component is also used to perform tobacco color value detection on the tobacco standard sample to obtain a second detection result;
[0024] The processor is further used to count the color value threshold range in the second detection result, and establish a corresponding relationship between the color value threshold range of the same type of tobacco standard sample and the threshold range of the moisture content of the tobacco.
[0025] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0027] Figure 1 A flow chart of the early warning method for online moisture detection quality of cut tobacco provided in this application;
[0028] Figure 2 A structural diagram of the early warning device for online moisture detection quality of cut tobacco provided in this application;
[0029] Figure 3 This is a structural diagram of an example of an early warning device for online moisture detection quality of cut tobacco provided in this application. DETAILED DESCRIPTION
[0030] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0031] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0032] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0033] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0034] The present application provides an early warning method and device for online moisture detection quality of cut tobacco, establishes a correspondence between the color value threshold range of a standard cut tobacco sample and the threshold range of moisture content of the same type of cut tobacco, thereby performing online detection of the moisture content of the cut tobacco by detecting the color value of the cut tobacco, thereby avoiding the influence of the color change of the cut tobacco on the accuracy of the moisture content detection of the cut tobacco.
[0035] like Figure 1 As shown, the early warning method for online moisture detection quality of cut tobacco provided by the present application includes:
[0036] S110: Performing online tobacco color value detection on the tobacco on the production line to obtain a first detection result.
[0037] As an embodiment, a visual detection method is used to detect the color value of tobacco.
[0038] Preferably, in visual detection, an active light source with a wavelength greater than 400nm is used to assist the camera in taking pictures, preferably an active light source with a wavelength of 580nm-650nm.
[0039] Preferably, the active light source is a yellow light source.
[0040] Preferably, a CMOS camera is used to take pictures.
[0041] On the basis of the above, as an embodiment, the color value threshold range of the standard tobacco sample adopts Lab color mode data, including the maximum threshold and minimum threshold of the three channels L, a, and b.
[0042] In specific operation, after taking a picture of the tobacco on the production line, the picture is processed to obtain the color value data of the three channels L, a, and b.
[0043] S120: Compare the first detection result with the color value threshold range of the standard tobacco sample of the same type.
[0044] The color value threshold range of the standard tobacco sample corresponds to the threshold range of the moisture content of the same type of tobacco. Therefore, if the first detection result exceeds the color value threshold range of the standard tobacco sample, the moisture content of the tobacco also exceeds the corresponding threshold range.
[0045] In the above-mentioned embodiment in which Lab color mode data is used to represent color values, the color value data of the three channels L, a, and b in the first detection result are compared with the maximum threshold and minimum threshold of the three channels L, a, and b of the standard sample of the same type of tobacco. If the color value data of one of the channels exceeds the range specified by the maximum threshold and the minimum threshold corresponding to the channel, the moisture content of the tobacco exceeds the corresponding threshold range.
[0046] S130: If the first detection result exceeds the color value threshold range of the standard tobacco sample, an abnormal tobacco moisture alarm is issued to remind production line personnel to check for abnormal tobacco moisture content.
[0047] Preferably, the early warning method for online moisture detection quality of cut tobacco further includes establishing a relational database, which records the corresponding relationship between the color value threshold range of each type of cut tobacco standard sample and the threshold range of the moisture content of the cut tobacco. Specifically, establishing the relational database includes the following steps:
[0048] P1: Conduct tobacco color value testing on each type of tobacco standard sample to obtain a second test result.
[0049] P2: Based on the second detection result and the corresponding tobacco moisture content threshold of the standard tobacco sample, determine the correspondence between the color value threshold range of the standard tobacco sample of the type and the threshold range of the tobacco moisture content.
[0050] During the specific operation, the standard tobacco sample is photographed, and after image processing, the maximum value, minimum value, average value, median value and other data of the three channels L, a and b are obtained and stored in the corresponding document; then the color parameter data and moisture content data of each type of tobacco standard sample are counted, and the corresponding relationship between the color value threshold range of the same type of tobacco standard sample and the threshold range of tobacco moisture content is determined to form a relational database.
[0051] Based on the above-mentioned early warning method for online moisture detection quality of cut tobacco, the present application also provides an early warning device for online moisture detection quality of cut tobacco. Figure 2 As shown, the early warning device for online tobacco moisture detection quality includes a tobacco color value detection component 210 , a processor 220 and an alarm 230 . The output end of the tobacco color value detection component 210 is connected to the processor 220 , and the processor 220 is connected to the alarm 230 .
[0052] The tobacco color value detection component 210 is used to take a picture of the tobacco on the production line to obtain a first picture.
[0053] As an example, Figure 2 As shown, the tobacco color value detection component 210 includes an active light source 2101 and a camera 2102. The active light source 2101 is used to illuminate the tobacco to be tested, and the auxiliary camera 2102 is used to take pictures of the tobacco.
[0054] As an embodiment, the active light source 2101 uses a light source with a wavelength greater than 400 nm, preferably a light source of 580 nm-650 nm.
[0055] Preferably, the active light source 2101 is a yellow light source.
[0056] Preferably, the camera 2102 is a CMOS camera.
[0057] The processor 220 is used to receive the first picture of the tobacco shreds transmitted by the camera 2102, process the first picture, obtain a first detection result, and compare the first detection result with the color value threshold range of the tobacco shreds standard sample of the same type. The color value threshold range of the tobacco shreds standard sample corresponds to the threshold range of the moisture content of the tobacco shreds of the same type.
[0058] As an embodiment, the processor is used to convert the image output by the tobacco color value detection component into Lab color mode data.
[0059] As an embodiment, the processor is a K210 processor, which has powerful computing performance and rich development libraries, and can realize system development conveniently and quickly.
[0060] The alarm 230 is used to issue an alarm for abnormal moisture content in tobacco when the first detection result exceeds the color value threshold range of the tobacco standard sample.
[0061] Preferably, the tobacco color value detection component 210 is also used to take a photo of the tobacco standard sample to obtain a second picture; the processor is also used to receive the second picture output by the tobacco color value detection component, process the second picture to obtain a second detection result, and count the color value threshold range in the second detection result, and establish a correspondence between the color value threshold range of the same type of tobacco standard sample and the threshold range of the tobacco moisture content, so as to establish a relational database.
[0062] Figure 3 An example of an early warning device for online moisture detection quality of cut tobacco is shown, which includes a housing 370, a pluggable SD card 360, a processor and an alarm arranged in the housing 370, and a camera 310, an active light source 320, a display screen 330, a series of function buttons, a working indicator light 350 and an SD card indicator light arranged on the housing 370. A power input interface and a power switch are also provided on the housing 370. Among them, the camera 310 and the active light source 320 constitute a cut tobacco color value detection component.
[0063] The SD card 360 is used to store the above-mentioned relational database, the first picture, the first detection result, the second picture, the second detection result, etc., to facilitate the transfer of data. The processor is connected to the SD card 360, the camera 310 and the function button, and is used to process the data and realize the function corresponding to the function button. The alarm is connected to the processor, and is used to issue an alarm prompt under the control of the processor.
[0064] In particular, among the function buttons, the tobacco type button is used to display the color value threshold range of each type of tobacco standard sample through the display screen. The export data button is used to transfer the data processed by the processor to the SD card. The statistical information is used to count the color value threshold range in the second test result of the tobacco standard sample when establishing a relational database. The start measurement button is used to control the active light source 320 and the camera 310 to perform color value detection on the tobacco. Specifically, after the system starts the camera 310 to shoot, the display screen 330 displays the shooting picture in real time. Adjust the device orientation so that the area to be detected is inside the white box of the display screen 330, click the start measurement button, and the system can start taking pictures and storing pictures and color values.
[0065] Based on the above functions, Figure 3The early warning device for online moisture detection quality of tobacco shown can select two modes: measurement mode and camera mode. The measurement mode is used to perform online tobacco color value detection on the tobacco production line, and the camera mode is used to perform tobacco color value detection on tobacco standard samples to establish a relational database.
[0066] Figure 3 The early warning device for online moisture detection quality of cut tobacco shown can simultaneously provide statistical data of cut tobacco standard samples and online cut tobacco color value measurement for the establishment of a relational database, thereby improving the convenience of online cut tobacco moisture detection.
[0067] Although some specific embodiments of the present application have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting the scope of the present application. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present application. The scope of the present application is defined by the appended claims.
Claims
1. A method for early warning of online moisture detection quality of cut tobacco, characterized in that: include: Performing online tobacco color value detection on the tobacco on the production line to obtain a first detection result; Comparing the first detection result with a color value threshold range of a standard sample of shredded tobacco of the same type, wherein the color value threshold range of the standard sample of shredded tobacco corresponds to a threshold range of moisture content of shredded tobacco of the same type; If the first detection result exceeds the color value threshold range of the tobacco standard sample, an abnormal moisture alarm of the tobacco is issued.
2. The early warning method for online moisture detection quality of cut tobacco according to claim 1 is characterized in that: Also includes: Performing tobacco color value testing on each type of tobacco standard sample to obtain a second test result; Based on the second detection result and the tobacco moisture content threshold of the corresponding tobacco standard sample, a corresponding relationship between the color value threshold range of the tobacco standard sample of the type and the tobacco moisture content threshold range is determined.
3. The early warning method for online moisture detection quality of cut tobacco according to claim 1, characterized in that: The visual inspection method is used to detect the color value of tobacco.
4. The early warning method for online moisture detection quality of cut tobacco according to claim 3 is characterized in that: In visual inspection, an active light source with a wavelength greater than 400nm is used.
5. The early warning method for online moisture detection quality of cut tobacco according to claim 1, characterized in that: The color value threshold range of the standard cut tobacco sample adopts Lab color mode data, including the maximum threshold and the minimum threshold of the three channels L, a and b.
6. An early warning device for online moisture detection quality of tobacco, characterized in that: It comprises a tobacco color value detection component, a processor and an alarm, wherein the output end of the tobacco color value detection component is connected to the processor, and the processor is connected to the alarm; The tobacco color value detection component is used to take a picture of the tobacco on the production line to obtain a first picture; The processor is used to receive a first image output by the tobacco color value detection component, process the first image, obtain a first detection result, and compare the first detection result with a color value threshold range of a tobacco standard sample of the same type; wherein the color value threshold range of the tobacco standard sample corresponds to a threshold range of moisture content of the tobacco of the same type; The alarm is used to issue an alarm for abnormal moisture content in cut tobacco when the first detection result exceeds the color value threshold range of the cut tobacco standard sample.
7. The early warning device for online moisture detection quality of tobacco according to claim 6, characterized in that: The tobacco color value detection component includes an active light source and a camera.
8. The early warning device for online moisture detection quality of cut tobacco according to claim 7, characterized in that: The active light source is a light source with a wavelength greater than 400 nm.
9. The early warning device for online moisture detection quality of cut tobacco according to claim 6, characterized in that: The processor is used to convert the image output by the tobacco color value detection component into Lab color mode data.
10. The early warning device for online moisture detection quality of cut tobacco according to claim 6, characterized in that: The tobacco color value detection component is also used to perform tobacco color value detection on the tobacco standard sample to obtain a second detection result; The processor is further used to count the color value threshold range in the second detection result, and establish a corresponding relationship between the color value threshold range of the same type of tobacco standard sample and the threshold range of the tobacco moisture content.
