Self-service weighing control system based on MCU
Through the weighing module, feature aggregation module and mode switching module of the MCU self-service weighing control system, goods with unstable shapes are identified and processed, which solves the problem of weighing errors caused by goods with unstable shapes in the existing technology and improves the weighing system. accuracy and efficiency.
Patent Information
- Application Number
- CN202410828804.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Existing technology cannot effectively identify and handle weighing errors caused by goods with unstable forms, and cannot flexibly match weighing modes for goods with different forms, affecting the accuracy and efficiency of the weighing system.
A self-service weighing control system based on MCU is designed, including a weighing module, a feature aggregation module and a mode switching module. The cargo morphology analysis unit determines whether the goods are morphologically unstable, and the continuous collection unit draws a histogram to determine the cargo category. The mode switching module adjusts the weighing waiting time or collection period according to the morphological instability influence characterization parameters to determine the final vehicle weight value.
It achieves independent identification of the fluctuation characteristics of weighing values, accurately identifies goods of different forms, improves the accuracy and efficiency of the weighing system, reduces weighing errors, and adapts to the weighing modes of goods of different forms.
Smart Images

Figure CN118464169B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of transport weighing, and in particular to a self-service weighing control system based on MCU. Background Art
[0002] Vehicle transport weighing is widely needed in logistics transportation, overload detection, and park monitoring. With the vigorous development of my country's logistics industry, manned vehicle weighing systems cause waste of manpower. As the performance of MCU microcontrollers integrating various sensor functions continues to improve, the self-service weighing system based on microcontroller control can perform detailed analysis of data to achieve accurate weighing of different types of goods, greatly improving the quality of social and economic development. The continuous in-depth research of technicians in related fields has continuously improved the vehicle weighing system in complex application scenarios.
[0003] For example, Chinese patent publication number: CN106197633A, the invention discloses a vehicle weighing method, a vehicle weighing device and a vehicle weighing system. By setting the parameters of the upper weighing threshold and the lower weighing threshold and the minimum weighing time in the control module, the control module only analyzes and records the data within the time interval corresponding to the upper weighing threshold and the lower weighing threshold, which effectively reduces the amount of data and improves efficiency; the weighing results, weighing data files and digital photos are combined to form a weighing file, and the wireless communication submodule sends the weighing file to the remote end module, and the remote end module is a cloud server or a mobile communication terminal.
[0004] The prior art still has the following problems:
[0005] The prior art does not consider improving the weighing method for goods with unstable shapes. The prior art cannot autonomously identify the shape of goods based on the fluctuation characteristics of the weighing values, cannot analyze the differences in weighing errors caused by goods with unstable shapes, and cannot flexibly match weighing modes for goods with different shapes, which is not conducive to the accuracy and efficiency of the weighing system. Summary of the invention
[0006] To this end, the present invention provides a self-service weighing control system based on MCU to overcome the problems in the prior art that the cargo shape cannot be autonomously identified based on the fluctuation characteristics of the weighing value, the difference in weighing errors caused by cargo with unstable shapes cannot be analyzed, and the weighing mode cannot be flexibly matched to cargoes of different shapes.
[0007] To achieve the above object, the present invention provides a self-service weighing control system based on MCU, which includes:
[0008] The weighing module comprises a weighing scale for weighing the vehicle to obtain the vehicle weight value and a vehicle speed detection unit arranged on one side of the weighing scale for detecting the vehicle speed;
[0009] a feature aggregation module, which is connected to the weighing module and includes a cargo shape analysis unit and a continuous collection unit, wherein the cargo shape analysis unit is used to determine the degree of fluctuation of the vehicle weight value within a preset weighing waiting time to determine whether there is any cargo with unstable shape among the cargo loaded on the vehicle;
[0010] The continuous collection unit is used to draw a histogram of the vehicle weight value based on the vehicle weight values of the vehicle carrying the unstable cargo at several moments, and determine the category of the unstable cargo based on the data distribution characteristics of the histogram;
[0011] Wherein, the data distribution characteristics are determined based on the frequency of vehicle weight values in different numerical intervals;
[0012] A mode switching module, connected to the feature aggregation module, is used to select different weighing modes based on the category of the unstable cargo, including:
[0013] Calculating a morphological instability influence characterization parameter based on the vehicle speed and the frequency difference value of the vehicle weight value in the histogram to adjust the weighing waiting time of the vehicle on the weighing module, and determining the final output vehicle weight value based on the average value of the vehicle weight value within a preset collection period after the weighing waiting time;
[0014] Alternatively, the duration of the vehicle weight value collection period is adjusted based on the frequency difference value, and the final output vehicle weight value is determined based on the average value of the vehicle weight value within the collection period.
[0015] Furthermore, the cargo form analysis unit is also used to obtain vehicle weight values corresponding to several moments within the weighing waiting time to calculate the vehicle weight value standard deviation, and compare the vehicle weight value standard deviation with a preset vehicle weight value standard deviation threshold;
[0016] If the vehicle weight value standard deviation is greater than the vehicle weight value standard deviation threshold, the cargo shape analysis unit determines that the cargo loaded on the vehicle has unstable shape.
[0017] Furthermore, the continuous collection unit draws a histogram of the vehicle weight value with the vehicle weight value as the horizontal axis and the frequency of the vehicle weight value within a preset numerical interval as the vertical axis, wherein adjacent numerical intervals in several numerical intervals are separated by preset numerical intervals.
[0018] Furthermore, the continuous collection unit is further used to determine the frequency of vehicle weight values in each numerical interval in the histogram, determine the position of the numerical interval corresponding to the maximum frequency of the vehicle weight value on the horizontal axis as the reference position, and determine whether the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position;
[0019] If the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position, the continuous collection unit determines that the category of the unstable shape cargo is regular explicit cargo;
[0020] If the frequency of the vehicle weight values within each numerical interval is not symmetrically distributed about the reference position, the continuous collection unit determines that the category of the unstable shape cargo is regular weakly dominant cargo.
[0021] Further, the mode switching module selects different weighing modes based on the category of the unstable cargo;
[0022] If the category of the unstable morphology goods is regular explicit goods, the mode switching module selects to calculate the morphology instability impact characterization parameter based on the vehicle speed and the frequency difference value of the vehicle weight value in the histogram to adjust the weighing waiting time of the vehicle on the weighing module, and determines the final output vehicle weight value based on the average value of the vehicle weight value in the preset collection period after the weighing waiting time;
[0023] If the category of the unstable morphological goods is regular weakly dominant goods, the mode switching module selects the duration of the vehicle weight value collection period to be adjusted based on the frequency difference value, and determines the final output vehicle weight value based on the average vehicle weight value within the collection period.
[0024] Furthermore, the mode switching module is also used to determine the maximum frequency and the minimum frequency based on the frequency of the vehicle weight values in each numerical interval in the histogram, and determine the difference between the maximum frequency and the minimum frequency as the frequency difference value of the vehicle weight values in the histogram.
[0025] Furthermore, the mode switching module calculates the morphological instability impact characterization parameter according to the following formula:
[0026] ;
[0027] Wherein, K is the parameter characterizing the morphological instability, Nc a is the frequency difference value of the vehicle weight value in the histogram, Nc0 is the preset frequency difference reference value, V a is the maximum vehicle speed, V0 is the preset vehicle speed reference value, μ is the frequency difference weight coefficient, β is the vehicle speed weight coefficient, and e is a constant.
[0028] Furthermore, the mode switching module adjusts the weighing waiting time of the vehicle on the weighing module based on the morphological instability impact characterization parameter, and the weighing waiting time is positively correlated with the morphological instability impact characterization parameter.
[0029] Furthermore, the mode switching module is further used to adjust the duration of the vehicle weight value collection period based on the frequency difference value, and the duration of the vehicle weight value collection period is positively correlated with the frequency difference value.
[0030] Furthermore, the weighing module also includes a license plate recognition unit installed at the entrance of the scale and a display unit installed at the exit of the scale, wherein the license plate recognition unit is used to recognize the license plate information of the vehicle, and the display unit is used to display the final output vehicle weight value and license plate information.
[0031] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention sets a weighing module, a feature aggregation module and a mode switching module, determines whether there is unstable cargo in the cargo loaded on the vehicle through a cargo morphology analysis unit, draws a histogram of the vehicle weight value through a continuous collection unit, determines the category of unstable cargo based on the data distribution characteristics of the histogram, and selects different weighing modes based on the category of unstable cargo through the mode switching module, including adjusting the weighing waiting time of the vehicle on the weighing module by calculating the characterization parameters of the influence of morphological instability, determining the final output vehicle weight value based on the average value of the vehicle weight value within a preset collection period, or adjusting the duration of the collection period of the vehicle weight value based on the frequency difference value, and determining the final output vehicle weight value based on the average value of the vehicle weight value within the collection period, thereby realizing autonomous identification of cargo morphology based on the fluctuation characteristics of the weighing value, matching corresponding weighing modes to cargo of different forms, and improving the accuracy and efficiency of the weighing system.
[0032] In particular, the present invention determines whether there are unstable goods among the goods loaded on the vehicle by setting up a cargo shape analysis unit. In the actual vehicle weighing process, after an empty vehicle or a vehicle loaded with stable goods enters the preset position of the scale, the unstable reading of the scale caused by the unstable body will be significantly weakened after a period of time. However, the unstable goods will make it difficult for the body to regain stability in a short time due to its own shaking. The present invention obtains the fluctuation degree of the vehicle weight value within the preset weighing waiting time, and can determine the cargo whose fluctuation degree of the vehicle weight value within the preset weighing waiting time exceeds a preset value as unstable cargo. Furthermore, it is convenient to automatically identify the cargo shape according to the fluctuation characteristics of the weighing value, and automatically enter the weighing mode for unstable cargo.
[0033] In particular, the present invention draws a histogram of vehicle weight values through a continuous acquisition unit. The histogram of vehicle weight values can clearly display the frequency of vehicle weight values within the numerical range of each vehicle weight value in the unstable weighing scale value, which is convenient for analyzing the data distribution law according to the frequency of the vehicle weight values displayed by the weighing scale.
[0034] In particular, the present invention determines the category of unstable goods through a continuous acquisition unit. In the actual vehicle weighing process, the unstable goods may be liquid goods or livestock that are difficult to keep still. The shaking of the liquid goods is due to the change in the vehicle's driving speed and the shaking of the liquid surface caused by braking on the scale. The shaking of the vehicle body caused by the shaking has a certain regularity, that is, shaking along the front and back of the vehicle. Therefore, the fluctuation of the scale value caused by the liquid goods is also regular. On the contrary, the shaking of the vehicle body caused by livestock that are difficult to keep still is irregular, and the fluctuation of the scale value caused by the shaking of the vehicle body is irregular. The present invention determines the category of unstable goods through the data distribution characteristics of the histogram, thereby achieving further differentiation of the weighing errors caused by unstable goods.
[0035] In particular, the present invention calculates the characterization parameters of the influence of morphological instability under the condition that the vehicle body shakes in a certain regularity through the mode switching module. In the unstable state of the vehicle body caused by the shaking of liquid cargo, the greater the difference in the detected vehicle weight values, the greater the degree of vehicle shaking caused by the characterization. The greater the detected vehicle speed before the vehicle stops on the scale, the more likely it is that the vehicle body will shake after the vehicle stops on the scale. The present invention combines the two factors in calculation and digitizes the degree of vehicle body fluctuation that is difficult to characterize.
[0036] In particular, the present invention adjusts the weighing waiting time of the vehicle on the weighing module when the body shaking has a certain regularity through the mode switching module. In the actual vehicle weighing process, an effective measure to ensure the weighing accuracy when the body shaking has a certain regularity is to select weighing data after the body shaking reaches the expected level according to the shaking degree of the different body. The present invention prolongs the weighing waiting time, delays the weighing start time for vehicles with severe body shaking, and discards the data collected during the period of severe body shaking within the weighing waiting time, thereby matching different weighing modes according to the difference in weighing errors caused by analyzing the unstable morphology of goods, thereby improving the accuracy and efficiency of the weighing system.
[0037] In particular, the present invention uses a mode switching module to adjust the duration of the vehicle weight collection period based on the frequency difference value when the vehicle body shakes irregularly. When the vehicle body shakes possibly due to activities of livestock and other conditions that cause the vehicle body to be unstable, the vehicle weight collection period is extended and the number of data involved in the calculation is increased to ensure that the collected data fits the actual vehicle weight. Different weighing modes are matched according to the difference in weighing errors caused by analyzing morphologically unstable goods, thereby improving the accuracy and efficiency of the weighing system. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a system block diagram of a self-service weighing control system based on MCU according to an embodiment of the present invention;
[0039] Figure 2 is a functional block diagram of a feature aggregation module according to an embodiment of the present invention;
[0040] Figure 3 A logic flow chart of a cargo shape analysis unit according to an embodiment of the present invention for determining whether there is cargo with unstable shape among cargo loaded on a vehicle;
[0041] Figure 4 A schematic diagram of a regular explicit cargo according to an embodiment of the present invention;
[0042] Figure 5 This is a schematic diagram of regular weakly dominant goods according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0045] It should be noted that, in the description of the present invention, terms such as "upper", "front", "rear", "inside", etc. indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0046] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installation" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] See also Figures 1 to 3 As shown, Figure 1 is a system block diagram of a self-service weighing control system based on MCU according to an embodiment of the present invention. Figure 2 is a functional block diagram of a feature aggregation module according to an embodiment of the present invention. Figure 3 The present invention is a logic flow chart of the cargo shape analysis unit of the embodiment of the present invention determining whether the cargo loaded on the vehicle has unstable shape cargo. The present invention is a self-service weighing control system based on MCU, which includes:
[0048] The weighing module comprises a weighing scale for weighing the vehicle to obtain the vehicle weight value and a vehicle speed detection unit arranged on one side of the weighing scale for detecting the vehicle speed;
[0049] a feature aggregation module, which is connected to the weighing module and includes a cargo shape analysis unit and a continuous collection unit, wherein the cargo shape analysis unit is used to determine the degree of fluctuation of the vehicle weight value within a preset weighing waiting time to determine whether there is any cargo with unstable shape among the cargo loaded on the vehicle;
[0050] The continuous collection unit is used to draw a histogram of the vehicle weight value based on the vehicle weight values of the vehicle carrying the unstable cargo at several moments, and determine the category of the unstable cargo based on the data distribution characteristics of the histogram;
[0051] Wherein, the data distribution characteristics are determined based on the frequency of vehicle weight values in different numerical intervals;
[0052] A mode switching module, connected to the feature aggregation module, is used to select different weighing modes based on the category of the unstable cargo, including:
[0053] Calculating a morphological instability influence characterization parameter based on the vehicle speed and the frequency difference value of the vehicle weight value in the histogram to adjust the weighing waiting time of the vehicle on the weighing module, and determining the final output vehicle weight value based on the average value of the vehicle weight value within a preset collection period after the weighing waiting time;
[0054] Alternatively, the duration of the vehicle weight value collection period is adjusted based on the frequency difference value, and the final output vehicle weight value is determined based on the average value of the vehicle weight value within the collection period.
[0055] Specifically, those skilled in the art can understand that the weighing waiting time t1 is a period of time starting from the moment when the vehicle arrives at the preset weighing position of the scale. Its setting purpose is to avoid the numerical fluctuation of the vehicle weight value caused by the shaking of the vehicle body, resulting in the inability to collect the accurate vehicle weight value. It will not be repeated here. Preferably, the value range of the weighing waiting time t1 can be [2,5], and the unit is s.
[0056] Specifically, the present invention does not limit the specific structure of the weighing scale, which includes a weighing analog signal acquisition unit and an A / D conversion unit. The A / D conversion unit converts the analog signal of the weighing analog signal acquisition unit into a digital signal. The weighing scale is widely used in scenarios such as overload detection and will not be described in detail here.
[0057] Specifically, the present invention does not limit the specific structure of the vehicle speed detection unit. Preferably, it can be a laser speed meter or a radar speed meter, which is the prior art and will not be described in detail here.
[0058] Specifically, those skilled in the art can understand that the collection period t2 is a period of time starting from the end time of the weighing waiting time t1, and its setting purpose is to obtain a certain amount of data samples within a certain period of time to calculate the final output vehicle weight value. Preferably, the value range of the collection period t2 can be [3,5], and the unit is s.
[0059] Specifically, the present invention does not limit the specific structure of the mode switching module, which may be a processor integrated on a single-chip microcomputer that internally stores relevant program algorithms. This is a prior art and will not be described in detail here.
[0060] For more details, please refer to Figure 3 As shown, it is a logic flow chart of the cargo shape analysis unit of an embodiment of the present invention for determining whether there is unstable cargo in the cargo loaded on the vehicle, and the cargo shape analysis unit is also used to obtain the vehicle weight values corresponding to several moments within the weighing waiting time to calculate the vehicle weight value standard deviation, and compare the vehicle weight value standard deviation Ga with a preset vehicle weight value standard deviation threshold Ga0;
[0061] If the vehicle weight value standard deviation Ga is less than or equal to the vehicle weight value standard deviation threshold Ga0, the cargo shape analysis unit determines that there is no cargo with unstable shape among the cargo loaded on the vehicle;
[0062] If the vehicle weight value standard deviation Ga is greater than the vehicle weight value standard deviation threshold Ga0, the cargo shape analysis unit determines that the cargo loaded on the vehicle has unstable shape.
[0063] In an embodiment of the present invention, the value of the vehicle weight standard deviation threshold Ga0 is determined based on the specifications and accuracy of the scale. Preferably, for a scale with a specification of 10,000 kg, the value range can be [20, 50], in kg.
[0064] Specifically, the present invention determines whether there are unstable goods among the goods loaded on the vehicle by setting a cargo shape analysis unit. In the actual vehicle weighing process, after an empty vehicle or a vehicle loaded with stable goods drives into the preset position of the scale, the unstable reading of the scale caused by the unstable vehicle body will be significantly weakened after a period of time. However, the unstable goods will make it difficult for the vehicle body to regain stability in a short time due to its own shaking. The present invention obtains the fluctuation degree of the vehicle weight value within the preset weighing waiting time, and can determine the goods whose fluctuation degree of the vehicle weight value within the preset weighing waiting time exceeds a preset value as unstable goods. Furthermore, it is convenient to automatically identify the cargo shape according to the fluctuation characteristics of the weighing value, and automatically enter the weighing mode for unstable goods.
[0065] Specifically, the continuous collection unit draws a histogram of the vehicle weight value with the vehicle weight value G as the horizontal axis and the frequency N of the vehicle weight value within a preset numerical range as the vertical axis, wherein adjacent numerical ranges in several numerical ranges are separated by preset numerical intervals.
[0066] Preferably, the preset numerical interval can be set by a person skilled in the art according to the specifications of the scale. Preferably, the numerical interval has a value range of [20, 40], and the interval unit is kg.
[0067] Specifically, the present invention draws a histogram of vehicle weight values through a continuous acquisition unit. The histogram of vehicle weight values can clearly display the frequency of vehicle weight values within the numerical range of each vehicle weight value in the unstable weighing scale value, which is convenient for analyzing the data distribution law according to the frequency of the vehicle weight values displayed by the weighing scale.
[0068] Specifically, see Figure 4 as well as Figure 5 As shown, Figure 4 Schematic diagram of regular explicit goods in an embodiment of the present invention, Figure 5 Schematic diagram of goods with weak regularity according to an embodiment of the present invention, wherein the continuous collection unit is further used to determine the frequency of vehicle weight values in each numerical interval in the histogram, determine the position of the numerical interval corresponding to the maximum frequency of the vehicle weight value on the horizontal axis as the reference position A, and determine whether the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position A;
[0069] If the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position A, the continuous collection unit determines that the category of the unstable cargo is regular explicit cargo;
[0070] If the frequency of the vehicle weight values within each numerical interval is not symmetrically distributed about the reference position A, the continuous collection unit determines that the category of the unstable shape cargo is regular weakly dominant cargo.
[0071] Specifically, the present invention determines the category of unstable goods through a continuous collection unit. In the actual vehicle weighing process, unstable goods may be liquid goods or livestock that are difficult to keep still. The shaking of liquid goods is due to the change in vehicle speed and the shaking of the liquid surface caused by braking on the scale. The shaking of the vehicle body is regular, that is, shaking along the front and back of the vehicle. Therefore, the fluctuation of the scale value caused by liquid goods is also regular. On the contrary, the shaking of the vehicle body caused by livestock that are difficult to keep still is irregular, and the fluctuation of the scale value caused by it is irregular. The present invention determines the category of unstable goods through the data distribution characteristics of the histogram, thereby further distinguishing the weighing errors caused by unstable goods.
[0072] Specifically, the mode switching module selects different weighing modes based on the category of the unstable cargo;
[0073] If the category of the unstable morphology goods is regular explicit goods, the mode switching module selects to calculate the morphology instability impact characterization parameter based on the vehicle speed and the frequency difference value of the vehicle weight value in the histogram to adjust the weighing waiting time of the vehicle on the weighing module, and determines the final output vehicle weight value based on the average value of the vehicle weight value in the preset collection period after the weighing waiting time;
[0074] If the category of the unstable morphological goods is regular weakly dominant goods, the mode switching module selects the duration of the vehicle weight value collection period to be adjusted based on the frequency difference value, and determines the final output vehicle weight value based on the average vehicle weight value within the collection period.
[0075] Specifically, the mode switching module is further used to determine the maximum frequency and the minimum frequency based on the frequency of the vehicle weight values in each numerical interval in the histogram, and determine the difference between the maximum frequency and the minimum frequency as the frequency difference value Nc of the vehicle weight values in the histogram. a .
[0076] Specifically, it is characterized in that the mode switching module calculates the morphological instability impact characterization parameter according to the following formula:
[0077] ;
[0078] Wherein, K is the parameter characterizing the morphological instability, Nc a is the frequency difference value of the vehicle weight value in the histogram, Nc0 is the preset frequency difference reference value, V ais the maximum vehicle speed, V0 is the preset vehicle speed reference value, μ is the frequency difference weight coefficient, β is the vehicle speed weight coefficient, μ+β=1, and e is a constant.
[0079] In the embodiment of the present invention, the frequency difference reference value Nc0 is calculated based on a pre-test, and a histogram of the vehicle weight values of vehicles with unstable cargoes of different weights traveling to the scale at different vehicle speeds is pre-tested, and the corresponding frequency difference values in different histograms are determined, and the average frequency difference value is calculated, and the average frequency difference value is determined as the frequency difference reference value Nc0, and the maximum vehicle speed V a The maximum vehicle speed obtained by the vehicle speed detection unit during the time period from when the vehicle starts to enter the weighbridge to when the vehicle stops on the weighbridge. The vehicle speed reference value V0 is the average vehicle speed in the time period from when the vehicle starts to enter the weighbridge to when the vehicle stops on the weighbridge in the historical data.
[0080] The frequency difference weight coefficient μ and the vehicle speed weight coefficient β are weight values selected by technicians in this field based on the degree of influence of frequency difference and vehicle speed in historical data on the calculation results. Preferably, the frequency difference weight coefficient μ=0.4 and the vehicle speed weight coefficient β=0.6 can be set.
[0081] Specifically, the calculation process of the morphological instability effect characterization parameter K can refer to the following embodiment;
[0082] Example 1
[0083] Taking light trucks as an example, the value interval range is 30;
[0084] ;
[0085] From the data in the above table, we can know that the frequency difference value Nc of vehicle weight value is a =51-30=20;
[0086] The preset frequency difference reference value Nc0=20, the maximum vehicle speed V a =6m / s, the preset vehicle speed reference value V0=5m / s;
[0087] Under the existing data conditions, .
[0088] Example 2
[0089] Taking medium-duty trucks as an example, the value interval range is 25;
[0090] ;
[0091] From the data in the above table, we can know that the frequency difference value Nc of vehicle weight value is a =55-25=30;
[0092] The preset frequency difference reference value Nc0=20, the maximum vehicle speed V a =7m / s, the preset vehicle speed reference value V0=5m / s;
[0093] Under the existing data conditions, .
[0094] Specifically, the present invention calculates the parameters characterizing the influence of morphological instability when the vehicle body shakes in a certain regularity through a mode switching module. When the vehicle body is unstable due to the shaking of liquid cargo, the greater the difference in the detected vehicle weight values, the greater the degree of vehicle shaking caused by the characterization. The greater the detected vehicle speed before the vehicle stops on the scale, the more likely it is that the vehicle body will shake after the vehicle stops on the scale. The present invention combines the two factors in calculation and digitizes the degree of vehicle body fluctuation that is difficult to characterize.
[0095] Specifically, the mode switching module adjusts the weighing waiting time t1 of the vehicle on the weighing module based on the morphological instability influence characterization parameter, and the weighing waiting time t1 is positively correlated with the morphological instability influence characterization parameter K.
[0096] Specifically, the present invention adjusts the weighing waiting time of the vehicle on the weighing module when the body shaking has a certain regularity through the mode switching module. In the actual vehicle weighing process, an effective measure to ensure the weighing accuracy when the body shaking has a certain regularity is to select weighing data after the body shaking reaches the expected level according to the degree of shaking of the different body. The present invention extends the weighing waiting time, delays the start of weighing for vehicles with severe body shaking, and discards the data collected during the period of severe body shaking within the weighing waiting time, thereby matching different weighing modes according to the difference in weighing errors caused by analyzing the unstable morphology of goods, thereby improving the accuracy and efficiency of the weighing system.
[0097] Specifically, the mode switching module is further configured to determine the frequency difference value Nc based on the frequency difference value Nc. a The duration of the vehicle weight value collection period t2 is adjusted, and the duration of the vehicle weight value collection period t2 is positively correlated with the frequency difference value.
[0098] Specifically, the present invention uses a mode switching module to adjust the duration of the vehicle weight collection period based on the frequency difference value when the vehicle body shakes irregularly. When the vehicle body shakes possibly due to activities of livestock and other activities that cause the vehicle body to be unstable, the vehicle weight collection period is extended and the amount of data involved in the calculation is increased to ensure that the collected data fits the actual vehicle weight. This achieves matching of different weighing modes based on the difference in weighing errors caused by analyzing morphologically unstable goods, thereby improving the accuracy and efficiency of the weighing system.
[0099] Specifically, the weighing module also includes a license plate recognition unit installed at the entrance of the scale and a display unit installed at the exit of the scale. The license plate recognition unit is used to identify the license plate information of the vehicle, and the display unit is used to display the final output vehicle weight value and license plate information.
[0100] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0101] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. The self-service weighing control system based on MCU is characterized by: include: The weighing module comprises a weighing scale for weighing the vehicle to obtain the vehicle weight value and a vehicle speed detection unit arranged on one side of the weighing scale for detecting the vehicle speed; a feature aggregation module, which is connected to the weighing module and includes a cargo shape analysis unit and a continuous collection unit, wherein the cargo shape analysis unit is used to determine the degree of fluctuation of the vehicle weight value within a preset weighing waiting time to determine whether there is any cargo with unstable shape among the cargo loaded on the vehicle; The continuous collection unit is used to draw a histogram of the vehicle weight value based on the vehicle weight values of the vehicle carrying the unstable cargo at several moments, and determine the category of the unstable cargo based on the data distribution characteristics of the histogram; Wherein, the data distribution characteristics are determined based on the frequency of vehicle weight values in different numerical intervals; The continuous collection unit draws a histogram of the vehicle weight value with the vehicle weight value as the horizontal axis and the frequency of the vehicle weight value within a preset value interval as the vertical axis, wherein adjacent value intervals in a plurality of value intervals are separated by a preset value interval; The continuous collection unit is further used to determine the frequency of vehicle weight values in each numerical interval in the histogram, determine the position of the numerical interval corresponding to the maximum frequency of the vehicle weight value on the horizontal axis as the reference position, and determine whether the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position; If the frequency of the vehicle weight values in each numerical interval is symmetrically distributed about the reference position, the continuous collection unit determines that the category of the unstable shape cargo is regular explicit cargo; If the frequency of the vehicle weight values in each numerical interval is not symmetrically distributed about the reference position, the continuous collection unit determines that the category of the unstable shape cargo is regular weakly dominant cargo; A mode switching module, connected to the feature aggregation module, is used to select different weighing modes based on the category of the unstable cargo, including: If the category of the unstable morphology goods is regular explicit goods, the mode switching module selects to calculate the morphology instability impact characterization parameter based on the vehicle speed and the frequency difference value of the vehicle weight value in the histogram to adjust the weighing waiting time of the vehicle on the weighing module, and determines the final output vehicle weight value based on the average value of the vehicle weight value in the preset collection period after the weighing waiting time; If the category of the unstable morphological goods is regular weakly dominant goods, the mode switching module selects a duration of a collection period for adjusting the vehicle weight value based on the frequency difference value, and determines a final output vehicle weight value based on an average value of the vehicle weight value within the collection period; The mode switching module is further used to determine a maximum frequency and a minimum frequency based on the frequency of the vehicle weight values in each numerical interval in the histogram, and determine the difference between the maximum frequency and the minimum frequency as the frequency difference value of the vehicle weight values in the histogram; The mode switching module calculates the morphological instability impact characterization parameter according to the following formula: , Wherein, K is the parameter characterizing the morphological instability, Nc a is the frequency difference value of the vehicle weight value in the histogram, Nc0 is the preset frequency difference reference value, V a is the maximum vehicle speed, V0 is the preset vehicle speed reference value, μ is the frequency difference weight coefficient, β is the vehicle speed weight coefficient, and e is a constant.
2. The MCU-based self-service weighing control system according to claim 1 is characterized in that: The cargo form analysis unit is also used to obtain vehicle weight values corresponding to several moments within the weighing waiting time to calculate the vehicle weight value standard deviation, and compare the vehicle weight value standard deviation with a preset vehicle weight value standard deviation threshold; If the vehicle weight value standard deviation is greater than the vehicle weight value standard deviation threshold, the cargo shape analysis unit determines that the cargo loaded on the vehicle has unstable shape.
3. The MCU-based self-service weighing control system according to claim 1, characterized in that: The mode switching module adjusts the weighing waiting time of the vehicle on the weighing module based on the morphological instability impact characterization parameter, and the weighing waiting time is positively correlated with the morphological instability impact characterization parameter.
4. The MCU-based self-service weighing control system according to claim 1, characterized in that: The mode switching module is further used to adjust the duration of the vehicle weight value collection period based on the frequency difference value, and the duration of the vehicle weight value collection period is positively correlated with the frequency difference value.
5. The MCU-based self-service weighing control system according to claim 1, characterized in that: The weighing module also includes a license plate recognition unit installed at the entrance of the scale and a display unit installed at the exit of the scale, wherein the license plate recognition unit is used to recognize the license plate information of the vehicle, and the display unit is used to display the final output vehicle weight value and license plate information.
