Automatic Tracking Temperature Measurement Inspection Control Method, System and Device for Confiscated Tobacco Stacks
By combining automated tracking vehicles with infrared temperature measurement and wireless communication technology, the problems of low efficiency, difficulty in data retention, and delayed response to anomalies in the traditional manual temperature measurement mode have been solved. This has enabled automated inspection and intelligent early warning of confiscated tobacco stacks, improving the efficiency and safety of warehouse management.
Patent Information
- Application Number
- CN202611145927.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-30
- Publication Date
- 2026-11-10
AI Technical Summary
Traditional manual temperature measurement methods are inefficient, difficult to retain data, have slow response to anomalies, limited coverage, and high labor costs in the storage of confiscated tobacco leaves, making it difficult to meet the requirements of large-scale warehouse management.
Temperature inspection is carried out by an automated line-following vehicle. The combination of a line-following sensing module, an infrared temperature measurement module, an ultrasonic obstacle avoidance module, a wireless communication module, and an audible and visual alarm module enables automated inspection and real-time monitoring.
It enables accurate collection and real-time data transmission of temperature data from confiscated tobacco stacks, automatically stores temperature data and triggers automatic alarms when temperatures exceed the limit, and forms standardized temperature measurement records, thereby improving inspection efficiency and safety.
Smart Images

Figure CN123065604A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of tobacco storage monitoring equipment technology, and in particular to an automatic tracking temperature measurement and inspection control method, system and device for confiscated tobacco leaf stacks. Background Technology
[0002] As an agricultural product highly sensitive to storage conditions, the quality of tobacco leaves is closely related to temperature and humidity. During storage, tobacco leaf stacks continuously generate heat due to respiration and microbial activity. Combined with poor ventilation caused by dense stacking, this easily leads to localized high-temperature points within the stacks. Studies show that when the internal temperature of a stack exceeds 25°C, it significantly accelerates mold growth, causes the volatilization of aroma components and the oxidation of polyphenols, severely impacting the aging quality and economic value of the tobacco leaves. With the substantial increase in the volume of confiscated tobacco leaves entering storage, large quantities need to be stored in concentrated stacks. Abnormal temperature and humidity levels can easily trigger significant safety hazards such as tobacco leaf overheating, mold growth, and even spontaneous combustion. Therefore, monitoring tobacco storage temperature and ensuring warehouse safety have become core tasks in the management of confiscated materials.
[0003] Currently, temperature monitoring in confiscated tobacco storage still mainly relies on traditional manual temperature measurement methods. Specifically, warehouse staff need to use handheld temperature measuring instruments to measure the temperature of each of the multiple scattered tobacco stacks and manually record the data. However, with the continuous growth of the amount of confiscated tobacco stored and the increasing demands for standardized warehouse management, the inherent shortcomings of traditional manual temperature measurement methods are becoming increasingly apparent.
[0004] Firstly, temperature measurement efficiency is low: the confiscated tobacco warehouses have a large number of stacks distributed over a wide area, requiring warehouse staff to inspect and measure each stack individually. The inspection of large-scale stacks is extremely time-consuming. Due to limitations in the inspection cycle and staffing, temperature measurement cannot be carried out frequently and routinely, making it difficult to meet the timeliness requirements of large-scale warehouse management.
[0005] Secondly, data retention is inconvenient: Traditional manual temperature measurement uses paper-based ledgers, and the data entry process is easily affected by human factors, leading to errors. Paper records are not only difficult to preserve, but also make it difficult to achieve systematic traceability and standardized ledger management of temperature data, causing great inconvenience to quality analysis and accountability.
[0006] Third, there is a lag in anomaly response: manual inspections are inherently intermittent, making it impossible to achieve continuous 24-hour monitoring of tobacco stack temperature. When the internal temperature of the stack changes abruptly, regular manual inspections struggle to detect abnormal signals in a timely manner. The significant time delay between the occurrence of an anomaly and its discovery, and its reporting and handling, can easily miss the optimal window for addressing potential hazards.
[0007] Fourth, measurement coverage has blind spots: manual temperature measurement can usually only reach the surface or shallow layers of the tobacco stack, making it difficult to effectively measure the temperature of deeper layers inside the stack, such as 50cm, 100cm, or even deeper. Furthermore, tobacco leaf heating and mold growth often occur first inside the stack; a normal surface temperature does not necessarily indicate internal safety. In addition, manual inspection is also difficult to reach tobacco bales stacked higher up or deep within shelves.
[0008] Fifth, high and unsustainable labor costs: With the continuous increase in the amount of confiscated tobacco leaves entering the warehouse, the demand for manpower in warehouse management is constantly rising. A large amount of repetitive stack-by-stack inspection work not only consumes a lot of human resources, but it is also difficult to maintain monitoring quality and efficiency under high-intensity operations for a long time.
[0009] In summary, traditional manual temperature measurement methods have inherent shortcomings in terms of efficiency, data management, response time, coverage, and labor costs, making them unsuitable for the increasingly standardized and intelligent requirements of confiscated tobacco storage management. Although some tobacco storage units have attempted to introduce monitoring methods such as wireless temperature measuring rods and distributed sensors in recent years, these solutions mainly focus on data collection at fixed points and lack automated and systematic temperature measurement and inspection control solutions for confiscated tobacco stacking scenarios. There are still technological gaps in areas such as inspection path planning, multi-point temperature measurement coordination, automatic anomaly warning, and data closed-loop management.
[0010] Therefore, how to provide a system and method that can realize automatic tracking temperature measurement and inspection control of confiscated tobacco stacks, so as to overcome the defects of traditional manual temperature measurement mode such as low efficiency, difficulty in data retention, and delayed response to anomalies, and realize automated inspection, real-time monitoring and intelligent early warning of the temperature of confiscated tobacco stacks, is a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0011] The main objective of this invention is to provide an automatic tracking temperature measurement and inspection control method, system, and device for confiscated tobacco stacks, in order to solve the problems of low efficiency, difficulty in data retention, and delayed response to anomalies in the existing manual temperature measurement mode.
[0012] To achieve the above objectives, the present invention provides the following technical solution: An automatic tracking and temperature measurement inspection control method for confiscated tobacco stacks includes the following steps: The tracking sensor module collects the reflected light intensity signal of the preset track markers on the ground in real time. After processing by a multi-channel comparator and digital filtering, the lateral offset of the vehicle relative to the center line of the track is obtained. The lateral offset is used to form the deviation correction amount required for PID control. After being analyzed by the main control module, the deviation correction amount is converted into a direction correction command for the differential rotation of the left and right wheels of the driving module, driving the vehicle to travel along the preset path and approach each temperature measurement station in sequence. During the journey, the ultrasonic obstacle avoidance module emits a 40kHz pulse signal and receives the echo. After being measured by a timer and processed by sound speed correction, the distance data of obstacles in front of and to the side of the vehicle is obtained. The distance data forms a safe passage area judgment result. When the judgment result is less than the safe distance, an emergency braking command and a steering avoidance strategy are generated. The main control module coordinates the driving module to perform deceleration, stopping or bypassing actions to ensure that the vehicle safely reaches the current temperature measurement station. After the vehicle arrives at the temperature measurement station, the infrared temperature measurement module receives the infrared energy radiated from each measuring point on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack, and the temperature matrix data is uploaded to the main control module. The main control module receives temperature matrix data from multiple points on the stack, and generates an over-limit warning sign after comparing it point by point with the built-in temperature rise rate threshold and absolute temperature limit. The over-limit warning sign forms the start trigger signal for the audible and visual alarm module and the priority reporting instruction for the wireless communication module. The audible and visual alarm module receives the start-up trigger signal, and after signal shaping and drive amplification, generates a buzzer excitation pulse and an LED constant current drive current. The buzzer excitation pulse and LED constant current drive current form an audible alarm and a high-brightness red and blue alternating flashing warning. At the same time, the wireless communication module packages the temperature matrix data of the current temperature measurement station, the vehicle's operating status code, the abnormal alarm event stamp, and the equipment self-test information from the main control module. After protocol stack encapsulation and RF modulation processing, it forms a data frame conforming to the LoRa or 4G transmission protocol. The data frame forms a reliable uplink between the main control module and the management terminal. The data is forwarded by the base station to achieve real-time cloud storage of temperature measurement data and automatic ledger generation. The main control module maintains the alarm output of the audible and visual alarm module according to the continuous status of the over-limit warning sign until the temperature drops or a reset command is received from the management terminal via the wireless communication module. After completing temperature measurement, early warning, and data upload at the current station, the main control module continues to generate direction correction commands based on the lateral offset updated in real time by the tracking sensor module. This drives the trolley to leave the current station along the preset path and proceed to the next temperature measurement station, repeating the process until all tobacco stacks on all preset paths within the warehouse are inspected. Throughout the process, the power supply module provides the required operating power to each module after the nominal voltage output from the lithium battery pack is converted from DC to DC and linearly regulated. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module. When the remaining capacity is lower than the threshold, the main control module controls the trolley to automatically return to the charging position.
[0013] To achieve the above objectives, the present invention also provides the following technical solution: An automatic tracking and temperature measurement inspection control system for confiscated tobacco stacks includes: The main control module receives path offset data uploaded by the tracking sensing module, temperature values output by the infrared temperature measurement module, obstacle distance information fed back by the ultrasonic obstacle avoidance module, and management terminal instructions transmitted back by the wireless communication module. After comprehensive processing by the built-in decision algorithm, it generates vehicle operating status parameters. The vehicle operating status parameters form the speed and steering control signals of the walking drive module, the start-up timing instructions of the infrared temperature measurement module, the trigger threshold settings of the audible and visual alarm module, and the data upload priority strategy of the wireless communication module. Each execution module works together to complete the fully automated tracking temperature measurement inspection operation of the warehouse according to the timing logic issued by the main control module. The tracking sensor module is used to collect the reflected light intensity signal of the ground preset track markers. After being processed by a multi-channel comparator and digital filtering, the lateral offset of the car relative to the center line of the track is obtained. The lateral offset is used to form the deviation correction amount required for PID adjustment. After being analyzed by the main control module, it is converted into the direction correction command for the differential rotation of the left and right wheels of the driving module 5, so as to ensure that the car travels smoothly along the preset path and stops accurately at each temperature measurement point. The infrared temperature measurement module is used to receive the infrared energy radiated from each measuring point on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack. After comparison with the temperature rise rate threshold and absolute temperature limit preset by the main control module, an over-limit warning sign is generated, which serves as the basis for judging the activation of the audible and visual alarm module and the priority reporting of the wireless communication module. The ultrasonic obstacle avoidance module is used to emit a 40kHz pulse signal and receive the echo. After timer measurement and sound speed correction processing, the distance data of obstacles in front of and to the side of the vehicle is obtained. The distance data forms a safe passage area determination result. When the determination result is less than the safe distance, an emergency braking command and steering avoidance strategy are generated. The main control module coordinates the driving module to perform deceleration, stop or bypass actions to avoid the risk of collision with fixed facilities, tobacco stacks and temporary storage in the warehouse. The drive module receives the target speed value and steering angle command from the main control module. After PWM pulse width modulation and motor closed-loop speed regulation, it obtains the real-time drive voltage of the left and right DC geared motors. The real-time drive voltage forms the hub speed difference and travel direction angle. Combined with the mileage accumulation data fed back by the encoder, it realizes the omnidirectional movement of the car in the narrow passage of the warehouse, such as uniform speed forward, fixed point parking, right angle turn and reverse parking. The power supply module is used to convert the nominal voltage output by the lithium battery pack into a DC-DC step-down converter and linear voltage regulator to obtain the digital level required by the main control module, the analog power required by the infrared temperature sensor, the power required by the drive motor, and the radio frequency power required by the wireless communication module. The stable output voltage of each module forms an independent and interference-resistant power supply circuit. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module to support the car's continuous temperature measurement and inspection operation at multiple frequencies around the clock. The wireless communication module is used to encapsulate the tobacco stacking temperature data, trolley operation status code, abnormal alarm event stamp, and equipment self-test information packaged by the main control module into data frames conforming to the LoRa or 4G transmission protocol after protocol stack encapsulation and radio frequency modulation processing. The data frames form a reliable uplink between the module and the management terminal, and the data is forwarded by the base station to realize real-time cloud storage of temperature measurement data and automatic generation of ledgers. At the same time, it receives parameter configuration instructions issued by the management terminal and forwards them to the main control module for execution. The audible and visual alarm module receives temperature over-limit warning signals or equipment fault signals from the main control module. After signal shaping and drive amplification, it generates buzzer excitation pulses and LED constant current drive current. The buzzer excitation pulses and LED constant current drive current form an audible alarm and a high-brightness red and blue alternating flashing warning. Combined with the main control module's continuous alarm strategy until the temperature drops or manual confirmation reset, it provides immediate emergency alerts to warehouse personnel.
[0014] To achieve the above objectives, the present invention also provides the following technical solution: An electronic device includes a processor and a memory coupled to the processor, the memory storing program instructions executable by the processor; when the processor executes the program instructions stored in the memory, it implements the above-described automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks.
[0015] To achieve the above objectives, the present invention also provides the following technical solution: A storage medium storing program instructions, which, when executed by a processor, implement the above-described automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks.
[0016] This invention accurately collects the surface and side temperatures of tobacco leaf stacks and transmits the data back in real time; its compact size adapts to the gaps between stacks and has basic obstacle avoidance safety functions; it automatically stores temperature measurement data, automatically alarms when the temperature exceeds the limit, and forms a standardized temperature measurement log. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating the steps of an embodiment of the automatic tracking and temperature measurement inspection control method for confiscated tobacco stacks according to the present invention. Figure 2 This is a functional module diagram of an embodiment of the automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks of the present invention. Figure 3 This is a functional module diagram of an embodiment of the automatic tracking temperature measurement and inspection control device for confiscated tobacco stacks of the present invention. Figure 4 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention; Figure 5 This is a schematic diagram of the structure of one embodiment of the storage medium of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0019] The terms "first," "second," and "third" used in this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this invention are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the accompanying drawings). If the specific orientation changes, the directional indications will change accordingly. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0020] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of phrases in various places throughout the specification does not necessarily refer to the same embodiment, nor are they independent or alternative embodiments mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0021] This invention utilizes automatic tracking, infrared temperature measurement, and wireless transmission technologies to design a small intelligent inspection vehicle that replaces manual labor in performing temperature measurement of stacked tobacco leaves, thus addressing shortcomings in management and control and ensuring the safe storage of confiscated tobacco leaves. like Figure 1 As shown, this embodiment provides an example of an automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks. In this embodiment, the automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks specifically includes the following steps: Step S1: The tracking sensor module collects the reflected light intensity signal of the preset track markers on the ground in real time. After processing by a multi-channel comparator and digital filtering, the lateral offset of the car relative to the center line of the track is obtained. The lateral offset is used to form the deviation correction amount required for PID control. After being analyzed by the main control module, the deviation correction amount is converted into a direction correction command for the differential rotation of the left and right wheels of the driving module, driving the car to travel along the preset path and approach each temperature measurement station in sequence. During the journey, the ultrasonic obstacle avoidance module emits a 40kHz pulse signal and receives the echo. After being measured by a timer and processed by sound speed correction, the distance data of obstacles in front of and to the side of the car is obtained. The distance data is used to form a safe passage area judgment result. When the judgment result is less than the safe distance, an emergency braking command and a steering avoidance strategy are generated. The main control module coordinates the driving module to perform deceleration, stopping or bypassing actions to ensure that the car safely reaches the current temperature measurement station. Step S2: After the trolley arrives at the temperature measurement station, the infrared temperature measurement module receives the infrared energy radiated from each measuring point on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack, and the temperature matrix data is uploaded to the main control module. Step S3: The main control module receives the temperature matrix data of multiple points in the stack, and generates an over-limit warning sign after comparing it point by point with the built-in temperature rise rate threshold and absolute temperature limit; the over-limit warning sign forms the start trigger signal of the audible and visual alarm module and the priority reporting instruction of the wireless communication module. Step S4: The audible and visual alarm module receives the start trigger signal, and after signal shaping and drive amplification, generates a buzzer excitation pulse and an LED constant current drive current. The buzzer excitation pulse and LED constant current drive current form an audible alarm and a high-brightness red and blue alternating flashing warning. At the same time, the wireless communication module packages the temperature matrix data of the current temperature measurement station, the vehicle's operating status code, the abnormal alarm event stamp, and the equipment self-test information from the main control module. After protocol stack encapsulation and RF modulation processing, it forms a data frame conforming to the LoRa or 4G transmission protocol. The data frame forms a reliable uplink between the main control module and the management terminal. The data is forwarded by the base station to realize real-time cloud storage of temperature measurement data and automatic ledger generation. The main control module maintains the alarm output of the audible and visual alarm module according to the continuous status of the over-limit warning sign until the temperature drops or a reset command is received from the management terminal via the wireless communication module. Step S5: After completing the temperature measurement, early warning, and data upload at the current station, the main control module continues to generate direction correction commands based on the lateral offset updated in real time by the tracking sensor module. This drives the trolley to leave the current station along the preset path and proceed to the next temperature measurement station. Steps S2 to S4 are repeated until the inspection of all tobacco stacks on all preset paths in the warehouse is completed. Throughout the process, the power supply module provides the required operating power to each module after the nominal voltage output from the lithium battery pack is converted from DC to DC and linearly regulated. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module. When the remaining capacity is lower than the threshold, the main control module controls the trolley to automatically return to the charging position.
[0022] The system includes: **Pre-set track markers on the ground:** Path marking strips or lines pre-laid on the floor of the confiscated tobacco warehouse, serving as a visual reference for the vehicle's tracking. Their reflective properties differ significantly from the warehouse floor material, ensuring the tracking sensor module can stably identify the driving path under warehouse lighting conditions. **Reflected light intensity signal:** The light emitted by the infrared emitter of the tracking sensor module, reflected by the pre-set track markers, and captured by the receiver, is an electrical signal reflecting the relative position of the vehicle and the track markers. **Multi-channel comparator and digital filtering:** The reflected light intensity signals collected from multiple channels are compared with a reference voltage, and a digital filtering algorithm removes noise components caused by high-frequency electromagnetic interference and light fluctuations in the warehouse environment, resulting in a stable and reliable track position discrimination signal. **Track centerline:** The geometric centerline of the pre-set track markers, serving as the target reference line for the vehicle's tracking. The vehicle must maintain its centerline aligned with this centerline during operation to achieve precise tracking along the preset path. Lateral Offset: The vertical distance deviation between the geometric center of the vehicle's tracking sensing module and the center line of the preset trajectory marker on the ground. The magnitude and direction of the offset reflect the degree of deviation of the vehicle from the target path and are the basic input parameters for direction correction. PID Control: The lateral offset is amplified sequentially by a proportional element, eliminated by an integral element to eliminate steady-state error, and predicted by a derivative element to predict the trend of change. This is then synthesized into a control quantity used to correct the vehicle's driving direction, enabling the vehicle to smoothly approach and maintain its position on the trajectory center line in the confiscated tobacco warehouse environment. Deviation Correction: The direction correction value output after PID control calculation, used to offset the lateral offset. The magnitude of the value determines the steering amplitude, and the sign determines the steering direction. Direction Correction Command: The main control module interprets the deviation correction value into the specific differential speed value of the left and right wheels of the driving module and issues an execution command to drive the robot chassis to perform the corresponding steering action, bringing the vehicle back to the trajectory center line. Temperature Measurement Stop Points: Based on the layout of the confiscated tobacco stacks within the warehouse, several parking and temperature measurement points are planned along a preset trajectory. The vehicle must stop precisely at each stop to ensure the infrared temperature measurement module is directly aligned with the designated measurement area of the tobacco stack. Timer Measurement and Sound Velocity Correction Processing: The time difference between the transmission and reception of the ultrasonic wave is measured using an internal timer in the main control module. The sound velocity is then corrected and compensated in real-time based on the warehouse ambient temperature to eliminate the impact of temperature changes on ranging accuracy. Safe Passage Zone Determination Result: A Boolean value is obtained by comparing the measured obstacle distance with a preset safe distance threshold in the main control module. The determination result includes two states: passable and requiring avoidance. Safe Distance: A preset obstacle distance threshold in the main control module that allows the vehicle to continue moving. This threshold is set in conjunction with the stacking pattern of the confiscated tobacco stacks and the width of the warehouse aisle. If the distance is less than this threshold, a collision risk is considered.Emergency braking command and steering avoidance strategy: When a collision risk is detected, the main control module generates an emergency stop command and a steering control scheme to replan a temporary detour path to avoid collisions with confiscated tobacco stacks, fixed facilities, or temporary stockpiles. Infrared energy: The infrared electromagnetic wave energy radiated outwards by the surface of the confiscated tobacco stack due to its own temperature. The strength of the energy is positively correlated with the surface temperature of the stack, which is the physical basis of infrared non-contact temperature measurement. Thermopile sensor conversion and internal compensation algorithm processing: The thermopile sensor converts the received infrared radiation energy into a weak voltage signal, and then the internal temperature compensation algorithm corrects the measurement drift caused by the ambient temperature to obtain a voltage value that accurately reflects the surface temperature of the tobacco stack. Multi-point temperature matrix data of the stack: After the host computer of the trolley measures the temperature of multiple spatial points on the surface of the tobacco stack at a single temperature measurement station, a set of temperature values with a row and column distribution structure is formed. The matrix comprehensively reflects the surface temperature distribution of the tobacco stack corresponding to the station point. Temperature rise rate threshold and absolute temperature limit: Two types of temperature risk judgment benchmarks are pre-stored in the main control module. The former is used to identify abnormally rapid temperature rise trends in tobacco stacks, and the latter is used to determine whether the temperature has reached or exceeded the maximum permissible temperature for safe storage of tobacco. The two are used together to distinguish between gradual heating hazards and sudden high-temperature risks. Over-limit warning flag: Flag information generated by the main control module after determining that the temperature at any measuring point exceeds the temperature rise rate threshold or absolute temperature limit. The flag is a logical true value used to trigger subsequent alarms and priority upload processes. Priority reporting command: Simultaneously with generating the over-limit warning flag, the main control module sends a scheduling command to the wireless communication module to interrupt the current transmission task and prioritize the transmission of alarm data packets, ensuring that abnormal temperature information is uploaded with the highest efficiency in the security management of confiscated tobacco warehouses. Signal shaping and drive amplification processing: The low-voltage trigger signal output by the main control module is waveform shaped and amplified to convert it into an excitation signal capable of directly driving the buzzer and LED light-emitting devices to meet the drive power requirements of the audible and visual alarm devices. Buzzer excitation pulse and LED constant current drive: The pulse voltage signal generated after shaping and amplification is used to drive the buzzer to sound, and the constant current is used to drive the LED to emit a bright warning light. The two work together to produce an integrated sound and light alarm effect. Vehicle operation status code, abnormal alarm event stamp, and equipment self-test information: The vehicle operation status code is a digital identifier reflecting the current driving mode, speed level, and station number; the abnormal alarm event stamp is a time sequence tag recording the time when the temperature exceeded the limit; the equipment self-test information includes health self-diagnostic data such as the operating voltage and communication status of each functional module. Protocol stack encapsulation and RF modulation processing: The data to be uploaded is packaged and encapsulated layer by layer according to the data frame format of LoRa or 4G communication protocols, and the baseband signal is modulated into an RF signal of the corresponding frequency band to achieve reliable wireless transmission of data in the complex electromagnetic environment of the confiscated tobacco warehouse.Continuous Status: The main control module monitors the over-limit warning sign in real time. As long as the warning sign is not cleared, the main control module continuously outputs trigger signals to the audible and visual alarm module, keeping the alarm working uninterrupted. Reset Command: A clearing command issued by the management terminal via the wireless communication module is used to clear the over-limit warning sign in the main control module and terminate the audible and visual alarm after manual confirmation that the hazard has been eliminated. Inspection Task of Tobacco Stacks: The trolley traverses all temperature measurement points along a preset path, completing the entire process of temperature data collection, over-limit judgment, warning reporting, and abnormal alarm for all confiscated tobacco stacks in the warehouse. DC-DC Step-Down Conversion and Linear Stabilization: The higher DC voltage output from the lithium battery pack is first reduced to the different voltage levels required by each module by a switching DC-DC converter, and then further filtered by a linear regulator to produce multiple stable operating power supplies required by the main control chip, sensors, drive motor, and wireless communication module, so as to meet the differentiated requirements of each module of the trolley in the confiscated tobacco warehouse for power supply voltage and ripple noise.
[0023] Preferably, in this embodiment, the lateral offset obtained after the reflected light intensity signal is processed by a multi-channel comparator and digital filtering is combined with the PID control mechanism to form a deviation correction amount. The deviation correction amount is converted into a direction correction command for the differential rotation of the left and right wheels, realizing the stable extraction of the tracking signal in a complex light and noise environment and the precise closed-loop following of the power output of the walking mechanism. The ultrasonic obstacle avoidance module emits pulse signals and receives echoes. The distance data obtained after timer measurement and sound speed correction processing establishes a safe passage area judgment threshold for the vehicle based on physical space. The judgment mechanism is combined with the tracking closed-loop control of the lateral offset, realizing the coordinated control of preset trajectory navigation and active avoidance of sudden obstacles during the movement process approaching the temperature measurement station, ensuring the physical accessibility and driving safety of the mobile platform in the narrow passage of the warehouse where confiscated tobacco leaves are densely stacked. The infrared energy received by the infrared temperature measurement module is converted by the thermopile sensor and processed by the internal compensation algorithm to obtain the actual temperature values of each measuring point. The temperature matrix data of the stack formed by the temperature values is combined with the point-by-point comparison logic of the temperature rise rate threshold and the absolute temperature limit built into the main control module to generate an over-limit warning sign. The sign not only serves as a trigger signal to activate the audible and visual alarm module, but also as a priority reporting instruction of the wireless communication module. This realizes the same-source linkage between local physical warning and remote emergency data transmission at the trigger source, ensuring that hidden thermal states such as internal heat accumulation or abnormal surface temperature rise of confiscated tobacco stacks can be captured in a timely manner and reported to the management decision-making end. After receiving the trigger signal, the audible and visual alarm module generates a buzzer excitation pulse and LED constant current drive current through signal shaping and drive amplification, forming a composite physical output of high-loudness sound alarm and high-brightness red and blue alternating flashing warning. The maintenance state of its alarm output is logically controlled by the main control module according to the continuous state of the over-limit warning sign, and forms an authorization interaction with the management terminal through the reset command issued by the wireless communication module, realizing a dual control mechanism of maintaining local abnormal state and remote intervention to remove it. The wireless communication module encapsulates temperature matrix data, vehicle operation status codes, abnormal alarm event stamps, and equipment self-test information through a protocol stack and radio frequency modulation to form data frames that conform to the transmission protocol. The reliable uplink established by the data frames is forwarded by the base station to realize real-time cloud storage of temperature measurement data and automatic generation of ledgers, directly mapping the thermal detection results of the physical layer to the asset record and traceability management system of the information layer.The main control module continuously generates direction correction commands based on the real-time updated lateral offset of the tracking sensor module to drive the trolley to traverse each station along the preset path in a cyclic execution mechanism. This is combined with the power supply module's autonomous power management mechanism, which provides power to each module after the lithium battery pack output voltage is converted from DC to DC and linearly regulated, and the remaining capacity is collected in real time by the power monitoring chip to control the trolley to automatically return to the charging position. This achieves the connection between continuous task execution along the preset path in the entire warehouse and autonomous energy replenishment in the low power state. It completes the closed-loop control and operation guarantee of the temperature measurement and inspection task of the entire area of the confiscated tobacco stack, from path navigation, thermal field data collection, abnormal state identification, local strong warning and remote priority reporting, to autonomous return to charging.
[0024] Furthermore, the process in step S1 where the deviation correction amount is parsed by the main control module and converted into a direction correction command for the differential rotation of the left and right wheels of the driving module specifically includes the following steps: Step S11: The main control module performs numerical analysis on the deviation correction amount, and maps the magnitude and sign of the deviation correction amount to the speed difference and differential rotation direction between the left and right drive wheels of the drive module, respectively. After mapping processing, the differential control parameters of the left and right wheels are obtained. Step S12: The main control module converts the differential speed control parameters of the left and right wheels into real-time drive voltage values for the left and right drive motors via PWM pulse width modulation. The real-time drive voltage values form the direction correction command for the differential rotation of the left and right wheels of the driving module, driving the robot chassis to perform the corresponding steering action, so that the car returns to the center line of the trajectory and drives along the preset path to each temperature measurement station.
[0025] The numerical analysis process involves the main control module performing numerical reading and sign discrimination on the received deviation correction values. The magnitude and sign of the deviation correction are extracted from the unified deviation data and used as independent input parameters for differential speed calculation and steering direction determination. Magnitude and Sign: These are two attributes of the deviation correction. Magnitude represents the degree to which the vehicle deviates from the trajectory centerline, determining the magnitude of the steering correction; the sign represents the direction of deviation, determining the direction of the steering correction. Speed Difference and Differential Rotation Direction: The magnitude of the deviation correction is mapped to the speed difference between the left and right drive wheels, and the sign is mapped to the deflection direction of the differential rotation. These two parameters together constitute the core control parameters guiding the vehicle's steering motion. Differential Control Parameters: These are control parameters formed by combining the speed difference and the differential rotation direction. The parameters include the target speed values for the left and right drive wheels and their relative relationships, serving as input for subsequent PWM modulation. PWM Pulse Width Modulation: The main control module generates pulse width modulation signals with corresponding duty cycles based on the target speeds of each wheel in the differential control parameters. This allows for independent control of the left and right drive motor speeds by adjusting the effective value of the drive voltage. Real-time Drive Voltage Value: The instantaneous voltage amplitude applied to the left and right drive motors after PWM pulse width modulation. The voltage value is dynamically updated according to changes in deviation correction, ensuring that the trolley can adjust its power output in real time based on path deviation during its tracking movement in the confiscated tobacco warehouse. Direction Correction Command: An execution command containing the real-time drive voltage values of the left and right drive motors. After the command is sent to the drive module, it drives the robot chassis to perform corresponding steering actions, enabling the trolley to travel along the preset trajectory centerline in the narrow passages of the densely stacked confiscated tobacco warehouse. This avoids misalignment with the temperature measurement station or collisions with the tobacco stacks due to trajectory deviation. The trolley returns to the center line of the trajectory: After the driving module executes the direction correction command, the trolley's driving direction deviates accordingly. The geometric center of its tracking sensing module gradually approaches and coincides with the center line of the preset trajectory marker on the ground, providing positional assurance for the trolley to accurately stop at each temperature measurement station and for the infrared temperature measurement module to be aligned with the set measurement area of the tobacco stack.
[0026] Preferably, in this embodiment, the main control module performs numerical analysis and mapping processing on the deviation correction amount, converting the magnitude and sign of the deviation correction amount into the speed difference and differential rotation direction between the left and right drive wheels, respectively. This mapping relationship ensures that the steering correction amplitude is linearly correlated with the lateral offset, and the steering direction is consistent with the offset orientation, thus forming differential control parameters that match the current trajectory deviation state. The differential control parameters are converted into real-time drive voltage values for the left and right drive motors via PWM pulse width modulation. The pulse width modulation mechanism quantizes the digital control parameters into continuous voltage adjustment signals, achieving stepless smooth adjustment of the drive motor speed and avoiding sudden changes in motor torque and chassis vibration caused by step voltage switching. The direction correction command formed by the real-time drive voltage values drives the robot chassis to perform corresponding steering actions. The angular velocity of the steering action is proportional to the magnitude of the deviation correction amount, and the steering direction strictly corresponds to the sign, allowing the robot to gradually return to the trajectory centerline with controllable curvature during travel, while simultaneously eliminating accumulated lateral offset. The complete conversion link from the deviation signal to the differential voltage ensures the real-time and accurate transmission of position error to the drive force in the tracking closed-loop control system. This enables the trolley to maintain stable tracking accuracy in the warehouse passage where confiscated tobacco stacks are densely distributed, and to accurately reach each temperature measurement station along the preset path. This provides the infrared temperature measurement module with a consistent fixed-point measurement position, ensuring the spatial consistency of multi-point temperature matrix data acquisition.
[0027] Furthermore, the process of generating an emergency braking command and steering avoidance strategy when the determination result is less than the safe distance in step S1 specifically includes the following steps: Step S13: The main control module performs status recognition on the safe passage area determination result, performs difference calculation between the Boolean value of the determination result and the preset safe distance threshold, and obtains the collision risk level parameter after difference quantization; wherein, the collision risk level parameter is used to characterize the degree of approach between the current obstacle and the car and the emergency level of the required response; Step S14: The main control module matches and queries the collision risk level parameters with the built-in avoidance decision table, and obtains the corresponding avoidance strategy scheme after the decision table mapping process; wherein, the avoidance strategy scheme includes the timing parameters of braking force level, deceleration duration, detour angle and re-return path. Step S15: The main control module converts the avoidance strategy into an execution command sequence for the driving module via the command encoder. The execution command sequence forms an emergency braking command and a steering avoidance strategy, which drives the robot chassis to perform deceleration, stopping, or circling actions. This allows the robot to actively avoid collisions with tobacco stacks, fixed facilities, and temporary storage items in the narrow passage of the confiscated tobacco warehouse. After safely passing through the obstacle area, the robot returns to the preset trajectory and continues to travel towards the current temperature measurement station.
[0028] The system includes the following components: **State Recognition:** The main control module logically judges the Boolean values of the safe passage area determination results, distinguishing between "passable" and "needs to be avoided" states, providing input conditions for subsequent difference calculations. **Boolean Value and Preset Safe Distance Threshold Difference Calculation:** After converting the Boolean values in the safe passage area determination results into corresponding distance values, a subtraction operation is performed with the preset safe distance threshold within the main control module. This subtraction, after quantization, yields a continuous value reflecting the degree of obstacle approach, serving as the quantitative basis for collision risk classification. **Collision Risk Level Parameter:** The output is a graded value after difference quantization. This parameter, in discrete level form, represents the spatial approach degree between the obstacle and the vehicle, and the required emergency level of the response, used to match the corresponding avoidance scheme in the avoidance decision table. **Built-in Avoidance Decision Table:** A multi-level avoidance strategy mapping table pre-stored within the main control module. Indexed by the collision risk level parameters, the table stores avoidance scheme configuration information such as braking force, deceleration duration, detour angle, and return path timing parameters for each risk level. Decision table mapping processing: The main control module uses the collision risk level parameter as the query address, traverses each record entry in the built-in avoidance decision table and retrieves the matching record row. After reading the table entries and extracting the data, it obtains the complete avoidance scheme configuration corresponding to the current risk level. Avoidance strategy scheme: The avoidance scheme configuration data set extracted after decision table mapping processing. The scheme includes timing parameters such as braking force level, deceleration duration, deflection angle, and return path, which are used to guide the drive module to execute the corresponding avoidance actions. Timing parameters of braking force level, deceleration duration, deflection angle, and return path: These are the four execution parameters included in the avoidance strategy scheme. The braking force level controls the magnitude of braking force during deceleration, the deceleration duration controls the duration of braking action, the deflection angle controls the deviation of the vehicle's steering to avoid obstacles, and the timing parameters of the return path control the time and path transition method when the vehicle returns to the preset trajectory after completing the avoidance. The four parameters work together to complete the entire process control from obstacle detection to resumption of tracking. Execution Command Sequence: This sequence converts the parameters in the obstacle avoidance strategy into a set of control commands that the driving module can execute. The command sequence is arranged chronologically and includes deceleration commands, steering commands, detour commands, and return commands, forming a continuous flow of action commands. Emergency Braking Command and Steering Avoidance Strategy: These are the core command combinations in the execution command sequence used to deal with sudden collision risks. The emergency braking command controls the vehicle to decelerate or stop rapidly to suppress forward inertia. The steering avoidance strategy controls the vehicle to deviate from its original trajectory according to the planned detour angle to avoid collisions with confiscated tobacco stacks, fixed facilities, and temporary storage items. Together, these two commands enable the vehicle to safely pass through the obstacle area in the narrow passage of the confiscated tobacco warehouse and return to the preset trajectory to continue driving towards the current temperature measurement station.
[0029] Preferably, in this embodiment, the main control module performs state recognition on the safe passage area determination result. The recognition process calculates the difference between the Boolean value of the determination result and a preset safe distance threshold. After quantization of the difference, a collision risk level parameter is obtained. This collision risk level parameter transforms the continuous change in the physical distance between the obstacle and the moving platform into a discrete, multi-level risk representation. This enables the system to quantitatively distinguish the degree of approach, avoiding frequent false triggering and reset oscillations of the actuator caused by measurement noise or instantaneous fluctuations in densely packed confiscated tobacco stacks, which is a problem with single-threshold-based switch response mechanisms. The main control module matches the collision risk level parameter with a built-in avoidance decision table, and obtains the corresponding avoidance strategy scheme after decision table mapping processing. The decision table mapping mechanism establishes a rigid correspondence between the quantified risk level and the preset multi-dimensional control scheme. The output avoidance strategy scheme simultaneously includes timing parameters such as braking force level, deceleration duration, deflection angle, and re-return path. The multi-parameter synchronous output mechanism ensures that the deceleration during braking intervention, the deflection amplitude during steering execution, and the start time of the return to the preset trajectory all exhibit a stepped, differentiated response according to the risk level. This guarantees that, under limited clearance conditions between confiscated tobacco stacks and fixed facilities, the severity of the avoidance maneuver is precisely matched to the urgency level of obstacle approach, preventing vehicle roll or cargo loosening due to excessive braking force, and also preventing secondary collisions caused by insufficient deflection angle. The main control module converts the avoidance strategy into an execution command sequence for the drive module via a command encoder. This execution command sequence forms a time-sequential control flow of emergency braking commands and steering avoidance strategies. The command encoder decomposes multi-dimensional strategy parameters, including braking force, duration, deflection angle, and return timing, into serial command frames that the motor drive module can parse frame by frame, driving the chassis to perform deceleration, stopping, or path reversal actions. The serialized execution mechanism ensures that the three action stages—braking response, steering avoidance, and path return—are strictly connected according to a preset time sequence on the time axis, avoiding conflicts in control parameters at the execution boundaries of each action stage. The mechanism of automatically returning to the preset trajectory after obstacle avoidance is recoupled with the tracking closed-loop control, enabling the mobile platform to restore the original path reference after safely passing through the obstacle area in the warehouse with dense stacks of confiscated tobacco leaves. This maintains the accuracy of the coordinates of the current temperature measurement station position and ensures the spatial repeatability of the temperature data obtained by the subsequent infrared temperature measurement module at the preset measurement point position.
[0030] Furthermore, the process of obtaining the actual temperature value of each measuring point after conversion and internal compensation algorithm processing by the thermopile sensor in step S2 specifically includes the following steps: Step S21: The thermopile sensor of the infrared temperature measurement module receives the infrared energy radiated from each measuring point on the surface of the tobacco stack. The thermopile sensor converts the infrared radiation energy into a weak analog voltage signal, and the weak analog voltage signal forms an original voltage value sequence reflecting the surface temperature of each measuring point. The original voltage value sequence is used to characterize the initial electrical response corresponding to the radiation intensity of each spatial point on the surface of the tobacco stack. Step S22: The signal conditioning circuit of the infrared temperature measurement module amplifies and performs analog-to-digital conversion on the original voltage value sequence. After amplification and analog-to-digital conversion, the original digital temperature values of each measurement point are obtained, and the original digital temperature values form a temperature dataset to be calibrated. The temperature dataset to be calibrated is used as the input data source of the internal compensation algorithm, which is used to eliminate the measurement drift of the thermopile sensor caused by ambient temperature fluctuations. Step S23: The main control module calls the built-in internal compensation algorithm to perform point-by-point drift correction processing on the temperature dataset to be corrected. After drift correction processing, the actual temperature value of each measuring point is obtained. The actual temperature value of each measuring point forms a stacked multi-point temperature matrix data. The stacked multi-point temperature matrix data is used as the data basis for the main control module to perform point-by-point comparison with the built-in temperature rise rate threshold and absolute temperature upper limit, so as to generate the flag information used to trigger the warning of excessive temperature of confiscated tobacco stacks.
[0031] Infrared energy refers to the infrared electromagnetic wave energy emitted by each measuring point on the surface of the confiscated tobacco stack due to its own thermal radiation. The radiation intensity of this energy is proportional to the fourth power of the surface temperature of the tobacco stack, serving as the physical signal source for the infrared temperature measurement module to achieve non-contact temperature detection. Weak analog voltage signal: This is the microvolt-level voltage output converted from the received infrared radiation energy by the thermopile sensor. The voltage amplitude is linearly related to the incident infrared radiation intensity, representing the most basic electrical signal form in the signal processing chain of the infrared temperature measurement module. Raw voltage value sequence: This is the set of voltage values formed by arranging the weak analog voltage signals output from multiple measuring points after conversion by the thermopile sensor according to the measurement sequence. This sequence has not yet undergone amplification and correction processing and is used as input for subsequent signal conditioning. Amplification and analog-to-digital conversion: The signal conditioning circuit amplifies the weak analog voltage signal to the full-scale range of the analog-to-digital converter (ADC). The ADC then quantizes the amplified analog voltage into a digital quantity. The raw digital temperature value obtained after amplification and quantization provides a calculable numerical form for subsequent correction. Internal Compensation Algorithm: An ambient temperature drift correction algorithm pre-installed in the main control module. This algorithm utilizes the thermistor built into the thermopile sensor to detect the sensor's ambient temperature and performs reverse compensation calculations on the raw digital temperature value based on the thermopile output's characteristic curve as a function of ambient temperature, thus eliminating the impact of ambient temperature fluctuations on measurement accuracy. Point-by-Point Drift Correction Processing: The raw digital temperature values of each measuring point in the dataset to be corrected are sequentially input into the internal compensation algorithm. The ambient temperature drift is independently calculated and subtracted for each measuring point. After point-by-point correction, the actual temperature value of each measuring point is obtained, ensuring the accuracy and consistency of multi-point temperature data on the tobacco stack surface. Actual Temperature Value: The true temperature value of each measuring point obtained after point-by-point drift correction processing by the internal compensation algorithm. This value eliminates measurement errors caused by ambient temperature fluctuations and sensor temperature rise, and represents the final measurement result characterizing the temperature state of each spatial point on the surface of the confiscated tobacco stack. Multi-point temperature matrix data of tobacco stacks: After sequentially measuring the temperature of multiple spatial points on the surface of the tobacco stack corresponding to the same temperature measurement station, the actual temperature values of each measurement point are arranged according to spatial coordinates to form a matrix structured temperature dataset. The matrix data fully presents the surface temperature field distribution of the tobacco stack covered by the station, which is used for subsequent point-by-point comparison with the built-in threshold of the main control module to identify local overheating or abnormal temperature rise points.
[0032] The main control module acquires the analog voltage signal across the NTC thermistor built into the thermopile sensor through a built-in analog-to-digital converter. After analog-to-digital conversion, it obtains the digital voltage value of the thermistor. Based on the voltage divider circuit principle, the main control module calculates the current resistance value of the NTC thermistor from the digital voltage value and the known voltage divider resistor value. Using the current resistance value as an index, the main control module calls the NTC thermistor resistance-temperature lookup table pre-stored in the memory for lookup calculation. When the current resistance value falls between two adjacent calibrated resistance values in the lookup table, the sensor's ambient temperature value is calculated using linear interpolation.
[0033] During the sensor factory calibration phase, the thermopile sensor is placed at multiple different ambient temperature points, such as 0℃, 10℃, 20℃, 25℃, 30℃, 40℃, and 50℃, and kept at a constant temperature until the sensor's own temperature reaches thermal equilibrium with the ambient temperature. The output voltage value of the thermopile sensor to the same standard blackbody radiation source or target object of known temperature is recorded at each ambient temperature point. The main control module uses ambient temperature as the abscissa and thermopile output voltage as the ordinate to perform curve fitting on the data from multiple calibration points, such as quadratic polynomial fitting or piecewise linear fitting, to generate a drift characteristic curve that characterizes the change of thermopile output voltage with ambient temperature. The fitting parameters of the characteristic curve, such as polynomial coefficients or piecewise inflection point coordinates, are pre-stored in the main control module's memory in the form of a lookup table or function parameters.
[0034] During the actual temperature measurement of the confiscated tobacco stacks, the main control module acquires the current ambient temperature value of the sensor in real time according to the method in step one. The main control module uses the current ambient temperature value as input, calls the fitting parameters of the pre-stored drift characteristic curve, and calculates the voltage drift of the thermopile caused by the change in ambient temperature. The main control module subtracts the voltage drift from the original digital temperature value in the temperature dataset to be corrected obtained in step S22, which is the digital value corresponding to the actual output voltage of the thermopile, to obtain the corrected voltage value after inverse compensation. The main control module calculates the actual temperature value of each measuring point according to the calibration relationship between the corrected voltage value and the temperature, that is, the Stefan-Boltzmann law relationship that the thermopile response voltage is proportional to the fourth power of the target object temperature.
[0035] Preferably, in this embodiment, the thermopile sensor receives infrared energy radiated from each measuring point on the surface of the tobacco stack and converts it into a weak analog voltage signal. This conversion process establishes a direct physical correspondence between infrared radiation intensity and electrical response, thus making the original voltage value sequence the initial characterization of the radiation intensity at each spatial point on the stack surface. The signal conditioning circuit amplifies the original voltage value sequence, increasing the amplitude of the weak signal to reach the input dynamic range resolvable by the analog-to-digital converter (ADC). The ADC process discretizes the continuous analog signal into digital raw temperature values, forming a dataset of temperatures to be corrected. The establishment of this dataset provides a standardized digital input for subsequent compensation algorithms, offering a structured data source for the correction process. The internal compensation algorithm uses the dataset as input and performs drift correction processing on the point-by-point data. The correction process utilizes the algorithm's built-in ambient temperature reference channel or compensation model to separate the offset component caused by ambient temperature fluctuations from the digital raw values of each measuring point. This offset component is then removed through point-by-point correction to obtain the actual temperature value corresponding to the true surface temperature of each measuring point. The point-by-point calibration mechanism ensures that the systematic deviation between the temperature value output by the thermopile sensor and the actual physical temperature of the tobacco stack surface is effectively suppressed throughout the measurement cycle, avoiding overall drift and local distortion of measurement values caused by diurnal temperature variations or differences in ventilation conditions within the warehouse. The actual temperature values at each measuring point are spatially arranged to form a multi-point temperature matrix data of the stack. This matrix data organizes the corrected temperature values into a two-dimensional or three-dimensional array structure according to the spatial coordinates of the measuring points, providing the main control module with a data foundation for direct point-by-point calculations. The point-by-point comparison operation between the matrix data and the built-in temperature rise rate threshold and absolute temperature upper limit utilizes both spatial distribution information and corrected absolute amplitude information. This allows the generation of over-limit warning signs to depend on the absolute temperature value of each measuring point and its relative change trend with surrounding measuring points, thus triggering warnings in the early stages of localized heat accumulation and temperature rise in the confiscated tobacco stack. Simultaneously, it effectively reduces false alarms caused by temperature jumps at individual measuring points due to environmental interference. The complete signal link formed from the infrared radiation reception and the corrected matrix data ensures the accuracy and spatial integrity of the thermal field distribution data on the surface of the confiscated tobacco stacks, providing a quantitative basis with environmental robustness and spatial resolution for subsequent early warning judgments.
[0036] Furthermore, the process of generating an over-limit warning flag in step S3 by comparing it point-by-point with the built-in temperature rise rate threshold and absolute temperature upper limit specifically includes the following steps: Step S31: The main control module receives the stacked multi-point temperature matrix data, parses the actual temperature value of each measuring point and extracts the current temperature value and corresponding timestamp information of each measuring point. After parsing and extraction, the current temperature value and timestamp set of each measuring point are obtained. The current temperature value and timestamp set are used to characterize the latest temperature status and acquisition time label of each spatial point at the temperature measurement station. Step S32: The main control module uses the timestamp of each measuring point as an index to retrieve the historical temperature value of each measuring point from the historical temperature buffer in the previous inspection cycle. After performing a difference operation between the current temperature value and the historical temperature value, it divides the result by the time interval. After difference and time normalization processing, the current temperature rise rate value of each measuring point is obtained. The current temperature rise rate value forms the temperature rise rate sequence of each measuring point. Among them, the temperature rise rate sequence is used to characterize the temperature change trend of each measuring point per unit time; Step S33: The main control module compares the current temperature value of each measuring point in the stacked multi-point temperature matrix data with the built-in absolute temperature upper limit point by point to obtain the absolute upper limit exceedance judgment result for each measuring point; at the same time, it compares the current temperature rise rate value of each measuring point in the temperature rise rate sequence with the built-in temperature rise rate threshold point by point to obtain the rate exceedance judgment result for each measuring point; the absolute upper limit exceedance judgment result and the rate exceedance judgment result form a comprehensive comparison result set for each measuring point. Step S34: The main control module performs a logical OR operation on the comprehensive comparison result set of each measuring point. If the absolute upper limit judgment result or the rate over-limit judgment result of any measuring point is true, a logical truth value flag bit representing the temperature abnormality of the temperature measurement station is generated. The logical truth value flag bit forms an over-limit warning flag. The over-limit warning flag is used as the start-up trigger signal of the audible and visual alarm module and the priority reporting instruction of the wireless communication module to trigger the same-source linkage warning and emergency data upload for the abnormal temperature of the confiscated tobacco stack.
[0037] The system uses timestamps as indexes: The system time recorded by the main control module when collecting temperature data at each measuring point is used as the search keyword. Historical temperature records from the previous inspection cycle corresponding to the timestamp are retrieved from the historical temperature cache, serving as the time alignment benchmark for temperature rise rate calculation. The historical temperature cache is a dedicated storage area allocated within the main control module. It stores the temperature data collected by each temperature measuring point in each inspection cycle, along with the corresponding timestamps, in chronological order according to the measuring point number. This provides a historical comparison data source for temperature rise rate calculation, reflecting the temperature evolution of each spatial point in the confiscated tobacco stack over time. The absolute upper limit exceedance judgment result is a logical judgment value output after comparing the current temperature value of each measuring point in the multi-point temperature matrix data of the stack with the preset absolute temperature upper limit within the main control module. A true judgment value indicates that the current temperature of the measuring point has reached or exceeded the maximum permissible temperature for safe storage of confiscated tobacco, posing a risk of sudden high temperatures. Temperature rise rate threshold: A preset limit in the main control module for the amount of temperature change per unit time used to identify abnormally rapid temperature rise trends. The threshold is set according to the allowable temperature rise rate during the normal aging process of confiscated tobacco stacks, and is used to distinguish between normal respiration heat production and abnormal heat storage and temperature rise in tobacco leaves. Rate exceedance judgment result: A logical judgment value output after comparing the current temperature rise rate value of each measuring point with the preset temperature rise rate threshold in the main control module. A true judgment value indicates that the temperature rise rate of the measuring point exceeds the normal range per unit time, posing a potential risk of gradual heating. Logical OR operation: A logical OR operation is performed on the absolute upper limit exceedance judgment result and the rate exceedance judgment result for the same measuring point. If either is true, the overall judgment result is true, used to comprehensively capture abnormal surface temperatures of confiscated tobacco stacks, including points that have reached dangerously high temperatures and points that, although not reaching the upper limit, have abnormal temperature rise trends, preventing missed judgments due to a single judgment dimension. Logical Truth Flag: A single Boolean flag generated by a logical OR operation. A true value indicates that at least one temperature measurement point is abnormal at the current temperature monitoring station. This flag serves as the core control signal for triggering subsequent alarm and reporting processes. Synchronous Alarm and Emergency Data Upload: Based on the same logical truth flag, the system simultaneously activates the audible and visual alarm module to output a local physical warning and triggers the wireless communication module to interrupt its current transmission task and prioritize reporting abnormal temperature data to the management terminal. Both actions are synchronized at the same trigger source, ensuring that information on abnormal temperatures in confiscated tobacco stacks can be simultaneously transmitted to the management terminal through both local sensing and remote data transmission channels.
[0038] Preferably, in this embodiment, after receiving the multi-point temperature matrix data of the tobacco stack, the main control module parses the actual temperature value of each measuring point and extracts the current temperature value and corresponding timestamp information. The parsing and extraction operation binds the spatially distributed temperature data with time attributes, forming a data structure containing time-stamped dimensions, providing an input source with sampling time markers for subsequent time series analysis. The main control module retrieves the historical temperature value of the previous inspection cycle from the historical temperature buffer using the timestamp of each measuring point as an index, and performs a difference operation between the current temperature value and the historical temperature value, then divides it by the time interval. This operation normalizes the temperature change between adjacent inspection cycles on the time axis, obtaining the current temperature rise rate value of each measuring point. The temperature rise rate sequence characterizes the instantaneous dynamic characteristics of the heat accumulation rate at each spatial point on the surface of the tobacco stack, enabling the system to obtain a quantitative measurement capability of temperature change trends, rather than being limited to the observation of static amplitudes. The main control module compares the current temperature value of each measuring point in the multi-point temperature matrix data of the stacked tobacco leaves with the built-in absolute temperature upper limit point by point. Simultaneously, it compares the current temperature rise rate value of each measuring point in the temperature rise rate sequence with the built-in temperature rise rate threshold point by point. This dual-parameter parallel point-by-point comparison mechanism completes the synchronous and independent determination of the temperature amplitude and trend dimensions within the same processing cycle. The absolute upper limit exceedance determination result reflects whether each measuring point has reached the critical thermal safety boundary, while the rate exceedance determination result reflects whether each measuring point has entered an abnormal heating process. These two determinations are not interchangeable but complementary. The comprehensive comparison result set formed by these two sets of paired determination results simultaneously contains static limit violation information and dynamic abnormal trend information. The dual-channel independent determination structure allows the rate channel to detect slow temperature rises on the surface of confiscated tobacco stacks caused by localized oxidation and fermentation or self-heating due to moisture before the absolute temperature reaches the upper limit. Meanwhile, instantaneous temperature jumps caused by environmental radiation or conduction from nearby heat sources can be intercepted by the amplitude channel. The main control module performs a logical OR operation on the comprehensive comparison results set of each measuring point. If the absolute upper limit or rate exceeding judgment result of any measuring point is true, a logical truth value flag representing temperature anomaly is generated. The logical OR operation rule ensures that a single-point, single-channel abnormal event is sufficient to trigger the global warning flag setting, ensuring that any abnormal mode at any spatial location on the surface of the confiscated tobacco stack can independently activate the response mechanism without being masked by other normal measuring points. The logical truth value flag directly serves as the same source output for the activation trigger signal of the audible and visual alarm module and the priority reporting command of the wireless communication module. It simultaneously maps the thermal anomaly detection results inside the stack to the local physical warning channel and the remote data transmission channel at the same moment the judgment is completed, eliminating the response delay caused by intermediate protocol conversion or state re-parsing. This achieves synchronous linkage between local audible and visual alarms and remote emergency data uploads driven by abnormal events, ensuring that the risk information of temperature exceeding the limit or abnormal rise in the confiscated tobacco stack is obtained by the field execution unit and the management decision-making end simultaneously with the shortest possible delay.
[0039] like Figure 2As shown, this embodiment also provides an embodiment of an automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks. In this embodiment, the automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks is applied to the automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks as described in the above embodiment. The automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks includes a main control module 1, a tracking sensing module 2, an infrared temperature measurement module 3, an ultrasonic obstacle avoidance module 4, a drive walking module 5, a power supply module 6, a wireless communication module 7, and an audible and visual alarm module 8, which are connected in sequence. The main control module 1 receives path offset data uploaded by the tracking sensor module 2, temperature values output by the infrared temperature measurement module 3, obstacle distance information fed back by the ultrasonic obstacle avoidance module 4, and management terminal instructions transmitted back by the wireless communication module 7. After comprehensive processing by the built-in decision algorithm, it generates vehicle operation status parameters. These parameters form the speed and steering control signals of the walking drive module 5, the start-up timing instructions of the infrared temperature measurement module 3, the trigger threshold settings of the audible and visual alarm module 8, and the data upload priority strategy of the wireless communication module 7. Each execution module coordinates according to the timing logic issued by the main control module 1 to complete the fully automated tracking temperature measurement and inspection operation in the warehouse. The tracking sensor module 2 collects the reflected light intensity signals of the preset track markers on the ground. After processing by a multi-channel comparator and digital filtering, it obtains the lateral offset of the vehicle relative to the center line of the track. The lateral offset forms the deviation correction amount required for PID adjustment. After being parsed by the main control module 1, it is converted into the direction correction instructions for the differential rotation of the left and right wheels of the walking module 5, ensuring that the vehicle travels smoothly along the preset path and stops accurately at each temperature measurement point. Infrared temperature measurement module 3 receives infrared energy radiated from various measuring points on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack. After comparison with the temperature rise rate threshold and absolute temperature limit preset by the main control module 1, an over-limit warning sign is generated, which serves as the basis for the activation of the audible and visual alarm module 8 and the priority reporting by the wireless communication module 7. Ultrasonic obstacle avoidance module 4 emits a 40kHz pulse signal and receives the echo. After measurement by a timer and sound speed correction processing, the distance data of obstacles in front of and to the side of the vehicle is obtained. The distance data forms a safe passage area determination result. When the determination result is less than the safe distance, an emergency braking command and steering avoidance strategy are generated. The main control module 1 coordinates the driving module 5 to perform deceleration, stopping or bypassing actions to avoid the risk of collision with fixed facilities, tobacco stacks and temporary storage items in the warehouse. The drive module 5 receives the target speed and steering angle commands from the main control module 1. After PWM pulse width modulation and closed-loop speed regulation of the motor, it obtains the real-time drive voltage for the left and right DC geared motors. The real-time drive voltage forms the hub speed difference and travel direction angle. Combined with the mileage accumulation data fed back by the encoder, it enables the vehicle to move forward at a constant speed, stop at a fixed point, make right-angle turns, and reverse into the warehouse through narrow passages. The power supply module 6 converts the nominal voltage output from the lithium battery pack into digital power required by the main control module 1, analog power required by the infrared temperature sensor, power required by the drive motor, and radio frequency power required by the wireless communication module 7 after DC-DC step-down conversion and linear regulation. The stable output voltage of each module forms an independent and interference-resistant power supply circuit. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module to support the vehicle's continuous temperature measurement and inspection operations at multiple frequencies around the clock.The wireless communication module 7 is used to encapsulate the tobacco stacking temperature data, trolley operation status code, abnormal alarm event stamp, and equipment self-test information packaged by the main control module 1 into data frames conforming to the LoRa or 4G transmission protocol after protocol stack encapsulation and radio frequency modulation processing. The data frames form a reliable uplink between the module and the management terminal. The data is then forwarded by the base station to achieve real-time cloud storage of temperature measurement data and automatic ledger generation. At the same time, it receives parameter configuration instructions issued by the management terminal and forwards them to the main control module 1 for execution. The audible and visual alarm module 8 is used to receive temperature over-limit warning signals or equipment fault signals issued by the main control module 1. After signal shaping and drive amplification, it generates buzzer excitation pulses and LED constant current drive current. The buzzer excitation pulses and LED constant current drive current form an audible alarm and a high-brightness red and blue alternating flashing warning. Combined with the continuous alarm strategy of the main control module 1 until the temperature drops or manual confirmation reset, it realizes the immediate danger alert to warehouse personnel.
[0040] Preferably, this embodiment achieves intelligent inspection and management of confiscated tobacco stacks through the systematic collaboration of various modules. The comprehensive technical effects resulting from the integration of the various modules are as follows: The main control module achieves dynamic optimization and configuration of the entire system's operating parameters through multi-source data fusion and decision-making algorithms; as the control center, it coordinates the execution of tasks by various functional modules according to preset logic, ensuring the timeliness and reliability of inspection operations. The tracking sensing module constructs a path tracking system based on the photoelectric detection principle, maintaining the inspection vehicle's stable travel along the preset trajectory through real-time deviation correction; it overcomes interference from the warehouse ground environment, ensuring the tracking accuracy of the inspection vehicle on complex paths. The infrared temperature measurement module adopts a non-contact measurement method to achieve distributed monitoring of the temperature field on the stack surface; continuous acquisition and analysis of temperature matrix data provides an objective basis for assessing the safety status of tobacco storage. The ultrasonic obstacle avoidance module establishes a spatial perception system, ensuring the safe passage of the inspection vehicle in narrow passages through real-time ranging and safety strategy determination; it effectively reduces the risk of collisions between equipment and storage facilities. The drive module utilizes closed-loop control technology to achieve omnidirectional movement, meeting the inspection vehicle's requirements for precise positioning and fixed-point stopping in the warehouse environment. Its steering control algorithm ensures the stability of the equipment's movement in complex paths. The power supply module adopts a multi-channel independent voltage regulation design, providing stable operating power to all units of the system. The power monitoring function supports continuous operation of the equipment, ensuring the sustainable execution of inspection tasks. The wireless communication module establishes a two-way data transmission channel, enabling real-time uploading of temperature data and equipment status, while simultaneously receiving remote control commands, providing technical support for centralized monitoring of the warehouse management system. The audible and visual alarm module uses a multi-mode warning strategy to promptly report abnormal status information; its dual visual and auditory alarm mechanism ensures that warehouse personnel can quickly respond to abnormal temperature situations.
[0041] In summary, the integrated functionality of the modules in this embodiment forms a complete automated inspection system, effectively solving the problems of low efficiency and discontinuous data in manual inspections, and improving the level of intelligence in the storage management of confiscated tobacco leaves. The overall system design meets the specific requirements of the tobacco industry for monitoring the storage environment.
[0042] like Figure 3 As shown, this embodiment also provides an embodiment of an automatic tracking temperature measurement and inspection control device for confiscated tobacco stacks. In this embodiment, the automatic tracking temperature measurement and inspection control device for confiscated tobacco stacks is applied to the automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks as described in the above embodiment. The automatic tracking temperature measurement and inspection control device for confiscated tobacco stacks includes: a controller 9, a multi-channel infrared reflective photoelectric sensor 10, a thermopile infrared temperature sensor 11, an ultrasonic transceiver probe 12, a motor driver 13, a lithium battery pack 14, a LoRa RF chip and antenna or a 4G communication module and antenna 15, and a buzzer and LED indicator 16.
[0043] The controller 9 can use an STM32 series microcontroller chip and its peripheral circuits. Multiple ADC input pins are connected to the analog voltage output terminals of each channel of the multi-channel infrared reflective photoelectric sensor 10, as well as the voltage divider output terminal of the NTC thermistor inside the thermopile infrared temperature sensor 11. Its I²C or SPI communication pin is connected to the digital interface of the thermopile infrared temperature sensor 11. Its GPIO output pin and timer capture input pin are connected to the Trig trigger terminal and Echo echo terminal of the ultrasonic transceiver probe 12, respectively. Its timer PWM output pin and GPIO direction control pin are connected to the PWM input and direction control terminal of the motor driver 13. Its timer encoder input pin is connected to the encoder signal fed back by the motor driver 13. Its UART or SPI communication pin is connected to the data interface of the LoRa RF chip and antenna or the 4G communication module and antenna 15. Its GPIO output pin is connected to the drive input terminal of the buzzer and LED indicator 16 through a transistor or MOSFET amplification and drive circuit, respectively. Its power supply pin receives the various working voltages of the lithium battery pack 14 after DC-DC conversion and linear regulation.
[0044] The multi-channel infrared reflective photoelectric sensor 10, consisting of an array of multiple infrared emitting tubes and infrared receiving tubes paired together, is installed at the bottom front of the vehicle chassis. The analog voltage output terminals of each channel are connected to the corresponding ADC input pins of the controller 9. Its power supply positive terminal and ground wire are connected to the regulated analog power supply and common ground of the lithium battery pack 14, respectively.
[0045] The thermopile infrared temperature sensor 11, with its built-in thermopile detection element and NTC thermistor, is mounted on the gimbal bracket on the top of the vehicle. Its digital interface I²C / SPI is connected to the corresponding communication pin of the controller 9, and the voltage divider output of its NTC thermistor is connected to the ADC input pin of the controller 9. Its power supply pin is connected to the 5V analog power supply after voltage regulation of the lithium battery pack 14.
[0046] The ultrasonic transceiver probe 12 is installed at the front and sides of the vehicle. Its Trig pin is connected to the GPIO output of the controller 9, and its Echo pin is connected to the timer capture input of the controller 9. Its power supply is connected to the 5V power supply of the lithium battery pack 14 after voltage regulation.
[0047] The motor driver 13 includes an H-bridge power amplifier circuit and left and right DC geared motors, each equipped with a Hall encoder mounted on the chassis of the vehicle. Its PWM input pin and direction control pin are respectively connected to the timer PWM output and GPIO direction control terminal of the controller 9; its encoder A / B phase signal output terminal is connected to the timer encoder input pin of the controller 9; its power supply input terminal is connected to the 12V power supply of the lithium battery pack 14 after DC-DC conversion.
[0048] The lithium battery pack 14 is installed in the middle of the vehicle chassis, and its output is connected to the input of the DC-DC buck converter and the linear regulator. The outputs of the buck converter and the linear regulator are respectively connected to the controller 9 (3.3V), the multi-channel infrared reflective photoelectric sensor 10 (5V), the thermopile infrared temperature sensor 11 (5V), the ultrasonic transceiver probe 12 (5V), the power supply terminal of the motor driver 13 (12V), the LoRa RF chip and antenna or the 4G communication module and antenna 15 (3.3V), and the buzzer and LED indicator 16 (5V or 3.3V, depending on the device specifications). The power monitoring chip is connected in series in the battery output circuit, and its data output terminal is connected to the ADC or I²C interface of the controller 9.
[0049] The LoRa RF chip and antenna or 4G communication module and antenna 15 are installed on the top of the vehicle. Its UART or SPI data interface is connected to the corresponding communication pin of the controller 9; its power supply pin is connected to the 3.3V RF power supply after voltage regulation of the lithium battery pack 14; the antenna is connected to the RF output terminal of the RF chip or module through a feed line.
[0050] The buzzer and LED indicator 16 are installed on the top of the car. The driver input terminal (positive terminal) of the buzzer is connected to the GPIO output pin of the controller 9 through a transistor or MOSFET amplifier circuit. The common anode or common cathode of the LED indicator (red and blue dual color) is connected to the GPIO output pin of the controller 9 through a current limiting resistor and a driver transistor. Their power supply terminals are respectively connected to the corresponding voltages after the lithium battery pack 14 is regulated. The buzzer is usually 5V, and the LED is usually 3.3V or 5V.
[0051] After power-on reset, controller 9 initializes each peripheral interface sequentially according to a preset timing sequence. It acquires tracking sensor signals and NTC temperature signals via ADC, reads infrared temperature measurement digital values via I²C / SPI, captures ultrasonic echo times via timer, transmits and receives wireless data via UART / SPI, controls motor speed and direction via PWM and GPIO, and controls audible and visual alarms via GPIO. Controller 9's built-in decision algorithm fuses multi-source input data to generate vehicle operating status parameters, coordinating each execution module with timing logic to complete the entire process of tracking, stationary temperature measurement, temperature determination, anomaly warning, and data upload. Each infrared emitter emits infrared light to illuminate the ground, which is reflected by preset track markers or white marking strips and received by corresponding receivers. The intensity of the reflected light varies with the relative position of the sensor centerline and the track marker centerline. Each receiver converts the light intensity into an analog voltage signal and outputs it to the ADC pin of controller 9. Controller 9 performs multi-channel comparator and digital filtering on the multiple signals to extract the lateral offset of the vehicle relative to the track centerline, which serves as the basic input for PID adjustment and direction correction.
[0052] The sensor receives infrared energy radiated from various measuring points on the surface of the confiscated tobacco stack. The thermopile detection element converts the infrared radiation energy into a weak analog voltage signal, which is amplified and converted from analog to digital by the internal signal conditioning circuit to generate a digital raw temperature value. This raw value is then output to the controller 9 via the I²C / SPI interface. Simultaneously, the internal NTC thermistor detects the ambient temperature of the sensor itself, and its voltage division value is acquired by the ADC of the controller 9. The controller 9 calculates the ambient temperature based on the NTC resistance value, calls the pre-stored thermopile drift characteristic curve, and performs reverse compensation correction on the digital raw temperature value to obtain the actual temperature value of each measuring point, thus forming a multi-point temperature matrix data of the stack.
[0053] The controller 9 sends a high-level pulse of more than 10μs to the Trig pin via GPIO, triggering the probe to emit a 40kHz ultrasonic pulse. After the pulse is emitted, the probe switches to receiving mode and waits for the echo signal. When the echo arrives, the Echo pin outputs a high level, and the duration of the high level is proportional to the distance to the obstacle. The timer of the controller 9 captures the duration of this high level and calculates the distance data of obstacles in front of and to the side of the vehicle based on the speed of sound and after correction for ambient temperature. The controller 9 compares the distance with a preset safety threshold and generates a safe passage zone determination result. When the distance is less than the threshold, an emergency braking command and a steering avoidance strategy are generated.
[0054] The controller 9 sends out the target speed value and steering angle command, and outputs pulse signals with different duty cycles through PWM pulse width modulation. The motor driver 13 converts the PWM signal into real-time drive voltage for the left and right motors, and switches the motor forward and reverse directions according to the level of the direction control pin. The encoder provides real-time feedback on the motor speed and direction of rotation, forming a closed-loop speed regulation. The hub speed difference and travel direction angle generated by the drive voltage, together with the encoder mileage accumulation data, enable the car to perform omnidirectional movements such as uniform speed forward movement, fixed-point parking, right-angle turns, and reversing into the warehouse in narrow passages.
[0055] The lithium battery pack 14 outputs a nominal voltage, such as 12V or 7.4V, which is stepped down to the different voltage levels required by each module by a DC-DC step-down converter, and then further filtered out by a linear regulator to form multiple independent and interference-resistant power supply circuits. The power monitoring chip collects the battery voltage and current in real time, calculates the remaining capacity, and uploads it to the controller 9 in digital form. When the remaining capacity is lower than the preset threshold, the controller 9 controls the car to automatically return to the charging position to realize autonomous energy replenishment management.
[0056] The controller 9 packages the tobacco stack temperature data, trolley operation status code, abnormal alarm event stamp, and equipment self-test information that need to be uploaded into a data frame and sends it to the wireless communication module via UART or SPI. The wireless communication module encapsulates the data according to the LoRa or 4G protocol stack and performs radio frequency modulation, converts it into radio frequency signals of the corresponding frequency band, and radiates it out through the antenna to establish a reliable uplink with the management terminal. The data is forwarded by the base station to realize real-time cloud storage of temperature measurement data and automatic generation of ledgers. At the same time, the wireless communication module receives parameter configuration instructions issued by the management terminal, demodulates them, and then forwards them to the controller 9 for execution via the data interface.
[0057] When controller 9 generates a temperature over-limit warning sign or equipment fault signal, it outputs a high-level trigger signal through GPIO. After signal shaping and amplification, the signal drives a buzzer to produce an audible alarm of over 85dB. At the same time, it drives red and blue LEDs to flash alternately with PWM signals of different frequencies, forming a bright red and blue alternating flashing warning. Controller 9 maintains the alarm output according to the continuous state of the over-limit warning sign until the temperature drops back to a safe range or a reset command is received from the management terminal. At this time, controller 9 cancels the GPIO output and stops the alarm, realizing dual control of local abnormal state maintenance and remote intervention cancellation.
[0058] The trolley in this embodiment can autonomously travel along a preset track in the warehouse, automatically collecting temperature data from multiple angles on the tobacco leaf stacks, avoiding obstacles in real time, issuing an immediate warning if the temperature exceeds the standard, and wirelessly uploading and storing the data. This device effectively solves the problems of large blind spots, high operational risks, low efficiency, and non-standard data management inherent in traditional manual temperature measurement. It can conduct 24 / 7 inspections of confiscated tobacco leaf stacks, promptly preventing the risk of tobacco leaf heating, mold, and spontaneous combustion. Its compact structure is suitable for narrow warehouse aisles, and its simple operation makes it suitable for daily safety management in tobacco confiscated storage.
[0059] like Figure 4 As shown, this embodiment provides an embodiment of an electronic device. In this embodiment, the electronic device 17 includes a processor 171 and a memory 172 coupled to the processor 171.
[0060] The memory 172 stores program instructions for implementing the automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to any of the above embodiments.
[0061] The processor 171 is used to execute program instructions stored in the memory 172 to perform automatic tracking and temperature measurement inspection control of confiscated tobacco stacks.
[0062] The processor 171 can also be referred to as a CPU (Central Processing Unit). The processor 171 may be an integrated circuit chip with signal processing capabilities. The processor 171 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor, a processor, or any conventional processor.
[0063] Furthermore, Figure 5This is a schematic diagram of the structure of a storage medium according to an embodiment of this application. The storage medium 18 of this embodiment stores program instructions 181 capable of implementing all the methods described above. The program instructions 181 can be stored in the storage medium in the form of a software product, including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.
[0064] In the several embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods 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 an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0065] Furthermore, the functional units in the various embodiments of the present invention 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 units described above can be implemented in hardware or as software functional units. The above are merely embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
[0066] The specific embodiments of the invention have been described in detail above, but these are merely examples, and the invention is not limited to the specific embodiments described above. For those skilled in the art, any equivalent modifications or substitutions to the invention are also within the scope of this invention. Therefore, all equivalent transformations, modifications, and improvements made without departing from the spirit and principles of this invention should be included within the scope of this invention.
Claims
1. A method for automatic tracking, temperature measurement, and inspection control of confiscated tobacco leaf stacks, characterized in that, The automatic tracking and temperature measurement inspection and control method for confiscated tobacco stacks includes: Tracking and driving control: Control the car to travel along the preset path to each temperature measurement station. During the journey, detect obstacles in front of and to the side of the car in real time and perform avoidance actions until the car reaches the current temperature measurement station. Stationary infrared temperature measurement and data acquisition: After the trolley arrives at the temperature measurement stationary point, it performs non-contact infrared temperature measurement on multiple points on the surface of the tobacco stack to obtain temperature data at each measurement point. Temperature Exceedance Judgment and Warning Flag Generation: Compare temperature data with preset thresholds to generate a warning flag indicating whether the current station temperature exceeds the limit; Abnormal alarm and remote data transmission: Based on the warning signs, selectively activate audible and visual alarms and / or wirelessly upload temperature data to the management terminal; Continuous inspection and path switching: After completing the temperature measurement and subsequent processing at the current temperature measurement station, the vehicle is driven to the next temperature measurement station along the preset path, repeating the process of infrared temperature measurement and data acquisition at the station until abnormal alarms and remote data transmission are completed, until all the inspection tasks of the preset path are completed.
2. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 1, characterized in that, The tracking sensor module collects the reflected light intensity signal of the preset track markers on the ground in real time. After processing by a multi-comparator and digital filtering, the lateral offset of the vehicle relative to the center line of the track is obtained. The deviation correction amount required for PID adjustment is formed from the lateral offset. After the deviation correction amount is analyzed by the main control module, it is converted into a direction correction command for the differential rotation of the left and right wheels of the driving module, which drives the car to travel along the preset path and approach each temperature measurement station in sequence. During the travel, the ultrasonic obstacle avoidance module emits a 40kHz pulse signal and receives the echo. After the timer measures and the sound speed is corrected, the distance data of obstacles in front of and to the side of the car is obtained. Distance data forms a safe passage zone determination result. When the determination result is less than the safe distance, an emergency braking command and steering avoidance strategy are generated. The main control module coordinates and drives the walking module to perform deceleration, stop or detour actions, and the car safely reaches the current temperature measurement station.
3. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 2, characterized in that, The temperature measurement stations are several parking temperature measurement points planned along a preset trajectory, based on the layout of the confiscated tobacco stacks in the warehouse. When the vehicle reaches the parking temperature measurement location, it needs to stop so that the infrared temperature measurement module is directly facing the set measurement area of the tobacco stack.
4. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 1, characterized in that, After the vehicle arrives at the temperature measurement station, the infrared temperature measurement module receives the infrared energy radiated from each measuring point on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack, and the temperature matrix data is uploaded to the main control module.
5. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 4, characterized in that, The process of obtaining the actual temperature values of each measuring point after conversion and internal compensation algorithm processing by the thermopile sensor includes the following steps: The thermopile sensor of the infrared temperature measurement module receives the infrared energy radiated from each measuring point on the surface of the tobacco stack. The thermopile sensor converts the infrared radiation energy into a weak analog voltage signal, which forms a sequence of original voltage values reflecting the surface temperature of each measuring point. The signal conditioning circuit of the infrared temperature measurement module amplifies and converts the original voltage value sequence to analog-to-digital. After amplification and analog-to-digital conversion, the original digital temperature value of each measuring point is obtained. The original digital temperature value forms the temperature dataset to be corrected. The main control module calls the built-in internal compensation algorithm to perform point-by-point drift correction on the temperature dataset to be corrected. After drift correction, the actual temperature value of each measuring point is obtained, and the actual temperature value of each measuring point forms a stacked multi-point temperature matrix data.
6. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 1, characterized in that, The main control module receives temperature matrix data from multiple points on the stack, and generates an over-limit warning sign after comparing it point by point with the built-in temperature rise rate threshold and absolute temperature limit. The over-limit warning sign forms the start trigger signal for the audible and visual alarm module and the priority reporting instruction for the wireless communication module.
7. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 1, characterized in that, The sound and light alarm module receives the start trigger signal, and after signal shaping and drive amplification, it generates a buzzer excitation pulse and an LED constant current drive current. The buzzer excitation pulse and the LED constant current drive current form a sound alarm and a bright red and blue alternating flashing warning. Meanwhile, the wireless communication module encapsulates the temperature matrix data of the current temperature measurement station, the vehicle's running status code, the abnormal alarm event stamp, and the equipment self-test information packaged by the main control module into a data frame that conforms to the transmission protocol after protocol stack encapsulation and radio frequency modulation processing. The data frame forms a reliable uplink between the management terminal and the base station, and the real-time cloud storage of temperature measurement data and automatic generation of ledgers are realized through base station forwarding. The main control module maintains the alarm output of the audible and visual alarm module based on the continuous status of the over-limit warning sign until the temperature drops or a reset command is received from the management terminal via the wireless communication module.
8. The automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks according to claim 1, characterized in that, After completing the temperature measurement, early warning and data upload of the current station, the main control module continues to generate direction correction instructions based on the lateral offset updated in real time by the tracking sensor module, driving the trolley to leave the current station along the preset path and go to the next temperature measurement station, repeating the process until the inspection task of all tobacco stacks on all preset paths in the warehouse is completed. The power supply module converts the nominal voltage output by the lithium battery pack into a DC-DC step-down converter and then into a linear regulator to provide the operating power required by each module. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module. When the remaining capacity is lower than the threshold, the main control module controls the car to automatically return to the charging position.
9. An automatic tracking temperature measurement and inspection control system for confiscated tobacco stacks, applied to the automatic tracking temperature measurement and inspection control method for confiscated tobacco stacks as described in any one of claims 1 to 8, characterized in that, The automatic tracking and temperature measurement inspection control system for confiscated tobacco stacks includes: The main control module receives path offset data uploaded by the tracking sensor module, temperature values output by the infrared temperature measurement module, obstacle distance information fed back by the ultrasonic obstacle avoidance module, and management terminal instructions transmitted back by the wireless communication module. After comprehensive processing by the built-in decision algorithm, it generates vehicle operating status parameters. The vehicle operating status parameters form the speed and steering control signals of the walking drive module, the start-up timing instructions of the infrared temperature measurement module, the trigger threshold settings of the audible and visual alarm module, and the data upload priority strategy of the wireless communication module. Each execution module works together to complete the fully automated tracking temperature measurement inspection operation of the warehouse according to the timing logic issued by the main control module. The tracking sensor module is used to collect the reflected light intensity signal of the ground preset track markers. After being processed by a multi-channel comparator and digital filtering, the lateral offset of the car relative to the center line of the track is obtained. The lateral offset is used to form the deviation correction amount required for PID adjustment. After being analyzed by the main control module, it is converted into the direction correction command for the differential rotation of the left and right wheels of the driving module, ensuring that the car travels smoothly along the preset path and stops accurately at each temperature measurement point. The infrared temperature measurement module is used to receive the infrared energy radiated from each measuring point on the surface of the tobacco stack. After conversion by the thermopile sensor and processing by the internal compensation algorithm, the actual temperature value of each measuring point is obtained. The actual temperature values form a multi-point temperature matrix data of the stack. After comparison with the temperature rise rate threshold and absolute temperature limit preset by the main control module, an over-limit warning sign is generated, which serves as the basis for judging the activation of the audible and visual alarm module and the priority reporting of the wireless communication module. The ultrasonic obstacle avoidance module is used to emit a 40kHz pulse signal and receive the echo. After timer measurement and sound speed correction processing, the distance data of obstacles in front of and to the side of the vehicle is obtained. The distance data forms a safe passage area determination result. When the determination result is less than the safe distance, an emergency braking command and steering avoidance strategy are generated. The main control module coordinates the driving module to perform deceleration, stop or bypass actions to avoid the risk of collision with fixed facilities, tobacco stacks and temporary storage in the warehouse. The drive module receives the target speed value and steering angle command from the main control module. After PWM pulse width modulation and motor closed-loop speed regulation, it obtains the real-time drive voltage of the left and right DC geared motors. The real-time drive voltage forms the hub speed difference and the direction angle of travel. Combined with the mileage accumulation data fed back by the encoder, it realizes the omnidirectional movement of the car in the narrow passage of the warehouse, such as uniform speed forward, fixed point parking, right angle turn and reverse parking. The power supply module is used to convert the nominal voltage output by the lithium battery pack into a DC-DC step-down converter and then into a linear regulator to obtain the digital level required by the main control module, the analog power required by the infrared temperature sensor, the power required by the drive motor, and the radio frequency power required by the wireless communication module. Each module has an independent and interference-resistant power supply circuit formed by the stable output voltage of each circuit. The remaining capacity data is collected in real time by the power monitoring chip and uploaded to the main control module to support the car's continuous temperature measurement and inspection operation at multiple frequencies around the clock. The wireless communication module is used to encapsulate the tobacco stacking temperature data, trolley operation status code, abnormal alarm event stamp, and equipment self-test information packaged by the main control module into data frames conforming to the LoRa or 4G transmission protocol after protocol stack encapsulation and radio frequency modulation processing. The data frames form a reliable uplink between the module and the management terminal, and the data is forwarded by the base station to realize real-time cloud storage of temperature measurement data and automatic generation of ledgers. At the same time, it receives parameter configuration instructions issued by the management terminal and forwards them to the main control module for execution. The audible and visual alarm module receives temperature over-limit warning signals or equipment fault signals from the main control module. After signal shaping and drive amplification, it generates buzzer excitation pulses and LED constant current drive current. The buzzer excitation pulses and LED constant current drive current form an audible alarm and a high-brightness red and blue alternating flashing warning. Combined with the main control module's continuous alarm strategy until the temperature drops or manual confirmation reset, it provides immediate emergency alerts to warehouse personnel.
10. An automatic tracking and temperature measurement inspection control device for confiscated tobacco stacks, applied to the automatic tracking and temperature measurement inspection control method for confiscated tobacco stacks as described in any one of claims 1 to 8, characterized in that, The automatic tracking and temperature measurement inspection control device for confiscated tobacco stacks includes: a controller; The controller connects to the analog voltage output terminals of each channel of the multi-channel infrared reflective photoelectric sensor, as well as the voltage divider output terminal of the NTC thermistor inside the thermopile infrared temperature sensor; its I²C or SPI communication pin connects to the digital interface of the thermopile infrared temperature sensor; its GPIO output pin and timer capture input pin connect to the Trig trigger terminal and Echo echo terminal of the ultrasonic transceiver probe, respectively; its timer PWM output pin and GPIO direction control pin connect to the PWM input and direction control terminal of the motor driver; its timer encoder input pin connects to the encoder signal fed back by the motor driver; its UART or SPI communication pin connects to the data interface of the LoRa RF chip and antenna or the 4G communication module and antenna; its GPIO output pin connects to the driver input terminals of the buzzer and LED indicator via transistor or MOSFET amplification and driving circuits, respectively; its power supply pin receives the various operating voltages of the lithium battery pack after DC-DC conversion and linear regulation.
