Method and system for monitoring and alarming displacement of goods in container

文档序号:756542 发布日期:2021-04-06 浏览:12次 中文

阅读说明:本技术 一种货箱内货物位移监测报警方法及系统 (Method and system for monitoring and alarming displacement of goods in container ) 是由 刘海霞 孙国兵 陈霄楠 赵云洋 韩佳佳 张蕾 胡蓉 李艳慧 彭绮雯 曹蓓蓓 罗运 于 2020-12-30 设计创作,主要内容包括:本发明公开了一种货箱内货物位移监测报警方法及系统,涉及车辆运输领域,该方法包括以下步骤:为划分的每个货箱区域布置监测该货箱区域货物的多个传感器;在预设的时间周期内,利用对应的传感器采集每个货箱区域内的货物高度数据;计算每个货箱区域中相邻传感器获取的货物高度数据的差值,在所述差值超过预设阈值时定位对应位置并报警。本发明能避免驾驶员分心去关注货箱内部情况,且实现成本较低。(The invention discloses a method and a system for monitoring and alarming displacement of goods in a container, which relate to the field of vehicle transportation and comprise the following steps: arranging a plurality of sensors for monitoring goods in each container area; in a preset time period, acquiring cargo height data in each cargo box area by using a corresponding sensor; and calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and positioning the corresponding position and giving an alarm when the difference value exceeds a preset threshold value. The invention can avoid the driver from paying attention to the internal condition of the container, and has lower realization cost.)

1. A cargo displacement monitoring and alarming method in a cargo box is characterized by comprising the following steps:

arranging a plurality of sensors for monitoring goods in each container area;

in a preset time period, acquiring cargo height data in each cargo box area by using a corresponding sensor;

and calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and positioning the corresponding position and giving an alarm when the difference value exceeds a preset threshold value.

2. The displacement monitoring and alarming method for cargo in a cargo box according to claim 1, wherein a plurality of sensors for monitoring cargo in the cargo box area are arranged for each divided cargo box area, and the method comprises the following steps:

determining the number of container areas needing to be divided according to the height condition of the goods;

a plurality of sensors arranged in a matrix are arranged for each cargo box area, and the coordinates of each sensor are recorded.

3. The method for monitoring and alarming the displacement of the goods in the container as claimed in claim 2, wherein the step of calculating the difference value of the height data of the goods obtained by the adjacent sensors in each container area, and when the difference value exceeds a preset threshold value, positioning the corresponding position and alarming comprises the following steps:

calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all sensors which are adjacent to the sensor to be detected in an eight-communication mode or four-communication mode;

when the difference value exceeds a preset threshold value, outputting and displaying the coordinate of the sensor to be detected, and alarming;

and when the difference value does not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point position until all the sensors to be detected in the container area are traversed.

4. The method for monitoring and alarming displacement of goods in a container as claimed in claim 3, wherein after traversing all sensors to be tested in the container area, the method further comprises:

judging whether an alarm point location exists;

if the alarm point position does not exist, ending the alarm, and collecting, calculating and judging the cargo height data of the container area again;

if the alarm point position exists, after the preset time is delayed, the height data of the goods in the container area are collected, calculated and judged again.

5. The method for monitoring and alarming displacement of goods in a container as claimed in claim 4, wherein the method further comprises:

a termination command is set to avoid the acquisition, calculation and judgment of cargo height data for the cargo box area from entering a dead cycle.

6. The method for monitoring and alarming displacement of cargoes in the cargo box according to claim 1, wherein before the corresponding sensors are used for collecting the height data of the cargoes in each cargo box area, the method further comprises the step of paving a sound-absorbing material on the top of the cargo box.

7. The utility model provides an interior goods displacement monitoring alarm system of packing box which characterized in that includes:

the data acquisition unit comprises a plurality of sensors which are arranged for each divided container area and used for monitoring the goods in the container area, and the sensors are used for acquiring the height data of the goods in each container area within a preset time period;

the control unit is used for receiving the cargo height data, calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and outputting a positioning signal and an alarm signal when the difference value exceeds a preset threshold value;

a display unit for receiving the positioning signal to display positioning position information;

and the alarm unit is used for giving an alarm when receiving the alarm signal.

8. The displacement monitoring and warning system for cargo within a cargo box of claim 7 wherein the control unit is configured to:

calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all sensors which are adjacent to the sensor to be detected in an eight-communication mode or four-communication mode;

when the difference value exceeds a preset threshold value, outputting the recorded coordinates of the sensor to be tested to the display unit, and driving the alarm unit to alarm;

and when the difference value does not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point position until all the sensors to be detected in the container area are traversed.

9. The system for monitoring and alarming displacement of cargo in a cargo box according to claim 8, wherein the control unit, after traversing all the sensors to be tested in the area of the cargo box, is further configured to:

judging whether an alarm point location exists;

if the alarm point position does not exist, controlling the alarm unit to end the alarm, and driving the data acquisition unit to acquire the cargo height data of the container area again so as to calculate and judge again;

if the alarm point position exists, after the preset time is delayed, the data acquisition unit is driven to acquire the cargo height data of the container area again so as to calculate and judge again.

10. The displacement monitoring and warning system for cargo in a cargo box as defined in claim 9 wherein: the control unit is further configured to set a termination command to avoid the acquisition, calculation, and judgment of cargo height data for the cargo box area from entering a dead cycle.

Technical Field

The invention relates to the field of vehicle transportation, in particular to a method and a system for monitoring and alarming displacement of goods in a container.

Background

In recent years, with the development of the logistics industry, the transportation needs using vehicles with cargo box transportation have kept growing rapidly. However, as a relatively quick and convenient transportation method, when some dangerous goods and important instruments are transported by the container, the safety of the transported goods needs to be considered. When the vehicle is in a sharp turn or in a sharp brake, the transported goods in the container are in danger of toppling over, and unexpected results can be generated if the goods are not processed in time.

In order to solve the above problems, in the prior art, a monitoring platform is disposed inside a car, and the monitoring platform includes a FLASH memory chip, a real-time projection device, and a field playing device. When the voice playing platform is used, the real-time projection equipment is arranged at the top of the carriage and used for projecting the congestion conditions of each preset area in real time facing the ground of the carriage, and the field playing equipment is arranged in the carriage and used for playing the voice playing files related to the congestion conditions of each preset area.

However, the commercial vehicle industry is not mature in this way, is limited by the technical level and cost factors, and cannot be used on trucks in large-scale commercial applications. Moreover, the scheme of arranging the light source and the camera in the carriage requires the driver to pay attention to the internal situation of the carriage, and in addition, because the real-time projection equipment needs to be used, the performance requirement on a computer processor is high, so that the cost is high.

Disclosure of Invention

Aiming at the defects in the prior art, the invention provides the method for monitoring and alarming the displacement of the goods in the container, which can avoid the driver from being distracted to pay attention to the internal condition of the container and has low cost.

In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:

a method for monitoring and alarming displacement of goods in a container comprises the following steps:

arranging a plurality of sensors for monitoring goods in each container area;

in a preset time period, acquiring cargo height data in each cargo box area by using a corresponding sensor;

and calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and positioning the corresponding position and giving an alarm when the difference value exceeds a preset threshold value.

In some embodiments, arranging a plurality of sensors for monitoring cargo in each of the cargo box areas includes:

determining the number of container areas needing to be divided according to the height condition of the goods;

a plurality of sensors arranged in a matrix are arranged for each cargo box area, and the coordinates of each sensor are recorded.

In some embodiments, calculating a difference value of cargo height data obtained by adjacent sensors in each cargo box area, and locating and alarming a corresponding position when the difference value exceeds a preset threshold value comprises:

calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all sensors which are adjacent to the sensor to be detected in an eight-communication mode or four-communication mode;

when the difference value exceeds a preset threshold value, outputting and displaying the coordinate of the sensor to be detected, and alarming;

and when the difference value does not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point position until all the sensors to be detected in the container area are traversed.

In some embodiments, after traversing all the sensors to be tested in the container area, the method further includes:

judging whether an alarm point location exists;

if the alarm point position does not exist, ending the alarm, and collecting, calculating and judging the cargo height data of the container area again;

if the alarm point position exists, after the preset time is delayed, the height data of the goods in the container area are collected, calculated and judged again.

In some embodiments, the method further comprises:

a termination command is set to avoid the acquisition, calculation and judgment of cargo height data for the cargo box area from entering a dead cycle.

In some embodiments, before the step of collecting the cargo height data in each cargo box area by using the corresponding sensor, the step of laying a sound absorbing material on the top of the cargo box is further included.

The second aspect of the invention is to provide the cargo displacement monitoring and alarming system in the cargo box, which can avoid the driver from paying attention to the internal condition of the cargo box with distraction and has lower cost.

In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:

an in-container cargo displacement monitoring and alarming system, comprising:

the data acquisition unit comprises a plurality of sensors which are arranged for each divided container area and used for monitoring the goods in the container area, and the sensors are used for acquiring the height data of the goods in each container area within a preset time period;

the control unit is used for receiving the cargo height data, calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and outputting a positioning signal and an alarm signal when the difference value exceeds a preset threshold value;

a display unit for receiving the positioning signal to display positioning position information;

and the alarm unit is used for giving an alarm when receiving the alarm signal.

In some embodiments, the control unit is configured to:

calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all sensors which are adjacent to the sensor to be detected in an eight-communication mode or four-communication mode;

when the difference value exceeds a preset threshold value, outputting the recorded coordinates of the sensor to be tested to the display unit, and driving the alarm unit to alarm;

and when the difference value does not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point position until all the sensors to be detected in the container area are traversed.

In some embodiments, after traversing all of the sensors to be tested in the container area, the control unit is further configured to:

judging whether an alarm point location exists;

if the alarm point position does not exist, controlling the alarm unit to end the alarm, and driving the data acquisition unit to acquire the cargo height data of the container area again so as to calculate and judge again;

if the alarm point position exists, after the preset time is delayed, the data acquisition unit is driven to acquire the cargo height data of the container area again so as to calculate and judge again.

In some embodiments, the control unit is further configured to set a termination command to avoid the collection, calculation, and determination of cargo height data for the cargo box area entering a dead cycle.

Compared with the prior art, the invention has the advantages that:

according to the method for monitoring and alarming the displacement of the goods in the container, the difference value of the height data of the goods acquired by the adjacent sensors in each container area is calculated, and when the difference value exceeds a preset threshold value, a corresponding position is positioned and an alarm is given. Compared with the scheme that the light source and the camera device are arranged in the cargo box, the invention does not need a driver to pay attention to the internal condition of the cargo box, and can concentrate on driving. Moreover, the calculation involved in the invention is only related processing of the cargo height data, and the performance requirement of the processor is lower on the premise of the same response speed.

Drawings

FIG. 1 is a flow chart of a displacement monitoring and alarming method for cargo in a cargo box according to an embodiment of the invention;

FIG. 2 is a flowchart of step S1 according to an embodiment of the present invention;

FIG. 3 is a flowchart of step S3 according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of the arrangement of sensors in an embodiment of the present invention;

fig. 5 is a block diagram of a displacement monitoring and alarming system for goods in a container in the embodiment of the invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Referring to fig. 1, an embodiment of the present invention provides a method for monitoring and alarming displacement of cargo in a cargo box, including the following steps:

s1, arranging a plurality of sensors for monitoring goods in each divided container area.

Specifically, referring to fig. 2, step S1 includes:

s11, determining the number of container areas needing to be divided according to the height condition of the goods.

S12, arranging a plurality of sensors in a matrix arrangement for each container area, and recording the coordinates of each sensor.

It should be noted that the arrangement of the sensors in this embodiment is determined based on the height of the cargo in the cargo box, for example, cargo a and cargo B with different heights are stacked in the cargo box, and in this case, there are two sets of sensors, one for monitoring cargo a and the other for monitoring cargo B.

It will be appreciated that if there is only one cargo, then the number of cargo box areas is 1. In addition, the number of container areas may be divided not based on the kind of the cargo but based on the actual stacking of the cargo.

In some preferred embodiments, the sensors may be arranged in a matrix arrangement, typically on top of the cargo box. The coordinates of each sensor may also be recorded in order to facilitate the positioning of subsequent steps.

And S2, acquiring the height data of the goods in each goods box area by using the corresponding sensor in a preset time period.

Preferably, ultrasonic distance sensors may be employed to collect cargo height data. In addition, before the corresponding sensors are used for collecting the height data of the cargos in each cargo box area, the method also comprises the step of paving sound absorption materials on the top of the cargo box.

And S3, calculating the difference value of the height data of the cargos acquired by the adjacent sensors in each cargo box area, and positioning the corresponding position and giving an alarm when the difference value exceeds a preset threshold value.

In this embodiment, the calculation may be performed by using a control Unit, for example, an MCU (micro controller Unit).

Specifically, referring to fig. 3, step S3 includes:

and S31, calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all sensors which are adjacent to each other in eight-communication mode or four-communication mode.

And S32, outputting and displaying the coordinates of the sensor to be detected when the difference value exceeds a preset threshold value, and alarming.

And S33, when the difference value does not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point until all the sensors to be detected of the container area are traversed.

Referring to fig. 4, the divided cargo box area number is 1 for illustration, and at this time, a total of 40 sensors in 4 rows and 10 columns are disposed on the top of the cargo box, it is understood that the number of sensors may be reasonably selected according to the situation, and the embodiment is not limited herein. In this embodiment, the adjacent sensor of each sensor may be an eight-connected adjacent (upper, lower, left, right, upper left, upper right, lower left, and lower right positions of the sensor), and further may be a four-connected adjacent (upper, lower, left, and right positions of the sensor) sensor for saving the calculation resources, or further defined as a sensor at a lower, right, and lower right position as an adjacent sensor.

And then, calculating the difference value of the height data of the goods acquired by the sensor to be detected and the adjacent sensor, and if the difference value exceeds a threshold value, indicating that the difference between the data acquired by the point position or the area where the sensor to be detected is located and the periphery is overlarge, judging that the goods in the container are not flat and have a dumping risk. If the data of the point position or the area where the sensor to be detected is located is changed sharply once and is stable within a period of time, the situation that the goods in the container are toppled over can be judged. At this time, the alarm unit will give an alarm to remind the driver. Meanwhile, the coordinates of the sensor are recorded, so that the area with risks can be positioned, and then the positioning information is displayed through the display unit, so that the driver can conveniently handle the positioning information.

It can be understood that if the threshold is not exceeded, which indicates that the cargo in the point location or area where the sensor to be measured is located is normal, the next sensor to be measured can be calculated and judged until all the sensors to be measured are traversed, that is, 40 sensors in total in 4 rows and 10 columns. In addition, in order to further save the calculation resources, if the sensors defined as the lower, right and lower right positions are adjacent sensors, the traversal can be considered when the number of calculations reaches the total number of sensors-the length of the last row-the length of the last column + 1.

In addition, after traversing all the sensors to be measured in the container area, the method further comprises the following steps:

judging whether an alarm point location exists; if the alarm point position does not exist, ending the alarm, and collecting, calculating and judging the cargo height data of the container area again; if the alarm point position exists, after the preset time is delayed, the height data of the goods in the container area are collected, calculated and judged again.

It is worth to be noted that the time delay is carried out for a certain time, so as to save the operation resources and reduce the detection frequency to a set value, the step of collecting the cargo height data is returned to the initial step after the time delay is finished, and then the difference value calculation is carried out again and whether the difference value exceeds the threshold value is judged to form a cycle.

In order to prevent program crash and other consequences caused by entering the dead loop, in a preferred embodiment, a termination command is set back to avoid the acquisition, calculation and judgment of cargo height data of the container area entering the dead loop. It will be appreciated that the program will remain looping until a termination command is received, implementing a continuous dynamic monitoring function.

In summary, in the method for monitoring and alarming the displacement of the goods in the container, the difference value of the height data of the goods acquired by the adjacent sensors in each container area is calculated, and when the difference value exceeds the preset threshold value, the corresponding position is positioned and an alarm is given. Compared with the scheme that the light source and the camera device are arranged in the cargo box, the invention does not need a driver to pay attention to the internal condition of the cargo box, and can concentrate on driving. Moreover, the calculation involved in the invention is only related processing of the cargo height data, and the performance requirement of the processor is lower on the premise of the same response speed.

Meanwhile, as shown in fig. 5, the invention also provides a cargo displacement monitoring and alarming system in the cargo box, which comprises a data acquisition unit, a control unit, a display unit and an alarming unit.

The data acquisition unit comprises a plurality of sensors which are arranged for each divided container area and used for monitoring the goods in the container area, and the sensors are used for acquiring the height data of the goods in each container area within a preset time period.

The control unit is used for receiving the cargo height data, calculating the difference value of the cargo height data acquired by the adjacent sensors in each cargo box area, and outputting a positioning signal and an alarm signal when the difference value exceeds a preset threshold value.

The display unit is used for receiving the positioning signal to display positioning position information, and the alarm unit is used for giving an alarm when receiving the alarm signal.

Specifically, the data acquisition unit in the present embodiment includes a sensor and an analog-to-digital conversion unit, where the sensor may be an ultrasonic distance sensor. The control unit can be a micro control unit MCU which is packaged with an input/output interface I/O port, a memory RAM and a central processing unit CPU. In the embodiment, signals are continuously acquired through the ultrasonic distance sensors, the signals are processed through the analog-to-digital conversion unit and then are accessed to the I/O port of the MCU, and the CPU polls the I/O port at a set frequency so as to convert parallel data into serial data.

In a time period, if data acquired by a point position or an area where a certain sensor to be detected is located is too large in difference with the periphery, the cargo in the container can be judged to be uneven, and the risk of dumping is high. If the data of the point position or the area where the sensor to be detected is located is changed sharply once and is stable within a period of time, the situation that the goods in the container are toppled over can be judged. At the moment, the MCU sends an alarm signal and a positioning signal to the alarm unit and the display unit, and the alarm unit gives an alarm to remind a driver. Meanwhile, the coordinates of the sensor are recorded, so that the area with risks can be positioned, and then the positioning information is displayed through the display unit, so that the driver can conveniently handle the positioning information.

In some embodiments, the control unit is configured to:

and calculating the difference value of the cargo height data acquired by the sensor to be detected at each point position and all the sensors which are adjacent to the sensor to be detected in an eight-communication mode or four-communication mode.

And when the difference value exceeds a preset threshold value, outputting the recorded coordinates of the sensor to be detected to the display unit, and driving the alarm unit to alarm.

And when the difference values do not exceed the preset threshold value, calculating, judging and processing the sensor to be detected of the next point position until all the sensors to be detected of the container area are traversed.

In some embodiments, after traversing all of the sensors to be tested in the container area, the control unit is further configured to:

judging whether an alarm point location exists;

if the alarm point position does not exist, controlling the alarm unit to end the alarm, and driving the data acquisition unit to acquire the cargo height data of the container area again so as to calculate and judge again;

if the alarm point position exists, after the preset time is delayed, the data acquisition unit is driven to acquire the cargo height data of the container area again so as to calculate and judge again.

In some embodiments, the control unit is further configured to set a termination command to avoid the collection, calculation, and determination of cargo height data for the cargo box area entering a dead cycle.

In summary, in the cargo displacement monitoring and alarming system in the cargo box, the control unit calculates the difference value of the cargo height data obtained by the adjacent sensors in each cargo box area, and positions the corresponding position and gives an alarm when the difference value exceeds the preset threshold value. Compared with the scheme that the light source and the camera device are arranged in the cargo box, the invention does not need a driver to pay attention to the internal condition of the cargo box, and can concentrate on driving. Moreover, the calculation involved in the invention is only related processing of the cargo height data, and the performance requirement of the processor is lower on the premise of the same response speed.

In the description of the present application, it should be noted that the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are only for convenience in describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and operate, and thus, should not be construed as limiting the present application. Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are intended to be inclusive and mean, for example, that they may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.

It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:作业车辆多相机视觉系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!