Automatic weighing and reshaping judgment device and method for static rail weighbridge
By installing four sets of proximity switches and a video AI module on a static track scale, precise detection of vehicle position is achieved, solving the problem of low automation in existing technologies and improving weighing efficiency and accuracy.
Patent Information
- Application Number
- CN202511584373.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-01-16
AI Technical Summary
Existing static rail scale weighing systems have low automation, low work efficiency, high workload for weighing personnel, and a need to prevent human intervention and cheating.
Employing four sets of proximity switches and a video AI module, the vehicle's position is determined by counting proximity switches and combined with video AI positioning to achieve accurate detection of the vehicle on the weighing platform and automatically complete the vehicle weighing.
It improves the automation of vehicle weighing, reduces human intervention, and enhances weighing efficiency and accuracy.
Smart Images

Figure CN121346949A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle weighing technology, and in particular to an automatic weighing and type determination device and method for static rail scales. Background Technology
[0002] In static rail scale weighing, the conditions for vehicle weighing are as follows: the instrument reads the vehicle's weight signal, the infrared limit device determines the vehicle's position on the weighing platform, and the vehicle number and model information are read from the label on the bottom of the car. The weighing system integrates these phenomena into the weighing interface, and the weighing personnel and shunting operator confirm the completion of the weighing task for one car. With the development of network technology, the signal information that meets the vehicle weighing conditions is uploaded to a remote centralized terminal via Ethernet. The remote weighing personnel determine the position of the weighing platform transition block and the vehicle, the vehicle number, model, and weight information marked on the car, etc., through the video embedded in the weighing system. The serial port server (not limited by the communication line length, converting serial port signals into Ethernet signals) collects the on-site instrument weight signal, collects the vehicle number and model information from the label on the bottom of the car, and interacts with the shunting operator through on-site IP phone or voice intercom function in the monitoring video to complete the weighing task for one car. The weighing personnel have changed from local weighing to remote weighing, and the communication method between the weighing personnel and the shunting operator has changed from face-to-face to telephone or voice intercom, effectively preventing personnel cheating and ensuring the security and reliability of weighing data. Both of the above weighing modes suffer from high workload for weighing personnel and low levels of automation and efficiency. Summary of the Invention
[0003] To address the aforementioned problems, the present invention aims to provide a static track scale automatic weighing remodeling judgment device and method.
[0004] A static track scale automatic weighing re-type judgment device includes:
[0005] The weighbridge has an inlet track transition block on one side and an outlet track transition block on the other side.
[0006] Both the inbound and outbound track transition blocks are equipped with proximity switches.
[0007] Preferably, the first front proximity switch is installed on the track transition block at the vehicle exit end, and is used to determine whether the wheel has passed the first front proximity switch and count it;
[0008] The second front proximity switch is installed on the track transition block at the departure end of the vehicle. It is used to determine whether the wheel has passed the second front proximity switch and to count the number of passes.
[0009] Preferably, the first rear proximity switch is installed on the track transition block at the vehicle entry end, and is used to determine whether the wheel has passed the first rear proximity switch and count it;
[0010] The second rear proximity switch is installed on the track transition block at the vehicle entry end. It is used to determine whether the wheel has passed the second rear proximity switch and to count the number of passes.
[0011] Preferably, it further includes:
[0012] The first photoelectric limit switch is installed on the track transition block at the vehicle entry end;
[0013] The second photoelectric limit switch is installed on the track transition block at the departure end.
[0014] Preferably, a weighing failure alarm is issued when the first photoelectric limit switch or the second photoelectric limit switch is blocked by a wheel.
[0015] This invention also provides a method for determining the reshape of an automatic static track scale, comprising:
[0016] When the driver parks the vehicle on the weighbridge and does not obstruct the first photoelectric limit switch or the second photoelectric limit switch, the first count value M1 of the first front proximity switch, the second count value M2 of the second front proximity switch, the third count value M3 of the first rear proximity switch and the fourth count value M4 of the second rear proximity switch are obtained.
[0017] The vehicle is judged to meet the weighing conditions based on the first count value M1, the second count value M2, the third count value M3, and the fourth count value M4. When the vehicle meets the weighing conditions, a message indicates that the weighing was successful.
[0018] Preferably, the weighing conditions are met when M2 = M1, M4 = M3, and M4 = M2 - 4, indicating successful weighing;
[0019] When M2 = M1 and M4 = M3-1, the weighing conditions are not met. The count will be restarted, and a message will be displayed indicating that the vehicle cannot be weighed automatically. Please adjust the vehicle position.
[0020] When M2 = M1, M4 = M3, and M2 = M4-2, the weighing conditions are not met, and the wheel is pressing on or passing over the fourth photoelectric limit switch.
[0021] When M2 = M1, M4 = M3 + 1, and M2 = M3, the weighing conditions are not met, and the count must be repeated.
[0022] When M2 = M1 = M4 + 2 = M3 + 2, the weighing conditions are met, and the weighing is successful.
[0023] When M2 mod 4 ≠ 0, the weighing fails, indicating a weighing failure and issuing an alarm.
[0024] Preferably, when the front wheels of the vehicle completely exceed the track transition block at the vehicle exit end, when adjustment is needed, the weighing condition is met when M3 = M4 = 4, M2 = M1 = 6 or when M3 = M4 = 4, M2 = 5, M1 = 6, and the vehicle adjustment is successful.
[0025] Preferably, when the front wheels of the vehicle exceed the second front side proximity switch, when adjustment is needed, the weighing condition is not met when M2 = M1 = M3 or M2 = 3, M1 = 2; the weighing condition is met when M2 = 4, M1 = 2 or M2 = M4 = 4.
[0026] Preferably, when weighing fails, the video AI module is used to identify the vehicle length information D and the distance W between the vehicle and the transition block. When L > W + D, it proves that the vehicle is fully on the scale; if L < W + D, it proves that the vehicle is not fully on the scale, where L is the scale length.
[0027] According to the specific embodiments provided by the present invention, the following technical effects of the present invention are disclosed:
[0028] The present invention relates to a novel judgment device and method for automatic weighing of a static rail scale. Compared with the prior art, the present invention can accurately detect the position of the wheels through 4 proximity switches and a video AI module, improving the weighing efficiency of the vehicle.
[0029] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given below and are described in detail in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0031] Figure 1 It is a structural diagram of a novel judgment device for automatic weighing of a static rail scale provided by the present invention;
[0032] Figure 2 It is the first weighing process schematic diagram provided by the present invention;
[0033] Figure 3 It is the second weighing process schematic diagram provided by the present invention;
[0034] Figure 4 It is the third weighing process schematic diagram provided by the present invention;
[0035] Figure 5 It is the fourth weighing process schematic diagram provided by the present invention;
[0036] Figure 6 This is a schematic diagram of the video AI positioning process provided by the present invention;
[0037] Figure 7 This is a schematic diagram of the video AI judgment process provided by the present invention.
[0038] Symbol explanation:
[0039] 1. Outgoing track transition block; 2. First front proximity switch; 3. Second front proximity switch; 4. First rear proximity switch; 5. Second rear proximity switch; 6. Incoming track transition block. Detailed Implementation
[0040] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0041] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0042] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0043] Please see Figure 1-7 A static track scale automatic weighing re-type judgment device, comprising:
[0044] The weighbridge has an inbound track transition block 6 on one side and an outbound track transition block 1 on the other side; a first photoelectric limit switch is installed on the inbound track transition block; and a second photoelectric limit switch is installed on the outbound track transition block.
[0045] Both the inbound track transition block 6 and the outbound track transition block 1 are equipped with proximity switches.
[0046] Furthermore, the proximity switch includes:
[0047] The first front proximity switch 2 is installed on the track transition block 1 at the vehicle exit end, and is used to determine whether the wheel has passed the first front proximity switch 2 and count it.
[0048] The second front proximity switch 3 is installed on the track transition block 1 at the vehicle exit end, and is used to determine whether the wheel has passed the second front proximity switch and count it.
[0049] The first rear proximity switch 4 is installed on the track transition block 6 at the vehicle entry end, and is used to determine whether the wheel has passed the first rear proximity switch and count it.
[0050] The second rear proximity switch 5 is installed on the track transition block 6 at the vehicle entry end and is used to determine whether the wheel has passed the second rear proximity switch 5 and to count the number of passes.
[0051] Two sets of proximity switches are installed on the transition blocks of the rails on both sides of the weighing platform. The switch quantity server receives the closing signals generated by the four sets of switches when the wheels pass through the proximity switches. The system collects the closing signals of the two front DI points and the two rear DI points received by the switch quantity server. High-level language programming code implements the counting of the four DI point closing signals. The counting of the two front DI point closing signals determines that the previous car has completely left the platform, and the counting of the two rear DI point closing signals determines that the current car is fully on the weighing platform. The system logic determines the position of the vehicle on the weighing platform. The serial port server collects the weight signal from the field instrument and collects the car number and model information from the label on the bottom of the car. The system weight module logic calculates the steady-state weight of the instrument output value within a given threshold (within 0.5%), and the system car number recognition module logic determines the car number and model information of the current car being weighed. The weighing condition signal is obtained through Ethernet. The weighing task of one car is completed without human intervention. The automatic weighing result is fed back to the shunting operator through the large screen display and voice alarm indicator, realizing the automatic weighing of one car on a static rail scale. If a vehicle moves forward or backward due to inertia, and one wheel moves to the outside of the transition block and then back to the inside, the switch server collects the signals from the front and rear proximity switches respectively. The system performs redundant logic judgments on the counting of the front and rear proximity switches and analyzes the count of the four proximity switch closing signals. In response to the above situation, the vehicle number recognition module records the vehicle number and vehicle type information of the vehicle being weighed using a bubble sort algorithm and logical calculations. This enables automatic weighing of one car. When at least one wheel of the vehicle moves to the outside of the transition block and then back to the inside, preparing for weighing, if the system's automatic weighing judgment of the four DI point closing signal counts is not met, the automatic weighing system and the video AI positioning system (positioning of the vehicle's stopping position on the weighing platform) exchange signals through the switch server. The automatic weighing system sends a signal to the video AI positioning system through the switch quantity server DO [2]. After receiving the signal, the video AI positioning system uses high-level language code to capture three video images, compares the vehicle's edge position, and determines the vehicle's position in the weighing area of the weighing platform. The video AI positioning system then sends a signal to the automatic weighing system through the switch quantity server DO [3]. After receiving the signal, the automatic weighing system analyzes the signal content and realizes automatic weighing of one carriage. After weighing, the automatic weighing system resets the switch quantity server DO point to the initial state, waiting for the next interaction between the two systems.
[0052] In the video AI positioning system of the present invention, the OpenCV open-source computer vision library is used for image processing. At the same time, the principle of similar triangles is applied to achieve accurate distance measurement. An image capture area is set on the weighing platform. When the vehicle completely enters the area, an image is captured, and a total of 3 images are captured. By comparing the edge positions of the vehicle, it is judged whether the vehicle is in motion or parked for weighing. The vehicle model information is read through a vehicle number reader. The vehicle length information D recorded in the database (the vehicle length is measured on-site for different vehicle models to establish a vehicle model information database) is queried through the collected vehicle model, and combined with the calculated distance W between the vehicle and the transition block, the size relationship between the sum of the two distances and the weighing platform length (L) is judged, so as to judge whether the vehicle is completely on the weighing platform for weighing. If L>W+D, it proves that the vehicle is completely on the weighing platform; if L<W+D, it proves that the vehicle is not completely on the weighing platform.
[0053] As Figure 2-7 shown, four groups of proximity switches are installed. Through the counting signals of the proximity switches, it is judged whether the vehicle meets the weighing conditions.
[0054] The automatic weighing programming logic is as follows:
[0055] Further research is carried out on the recognition mechanism of the train car body position, and a practical vehicle position recognition model is developed.
[0056] Weighing condition for the first car: The vehicle is on the weighing platform, the first car body does not block the light source, the vehicle number is scanned normally, after the car body stops stably, the instrument is in a steady state, and the first weighing is carried out at this time.
[0057] M1, M2, M3, and M4 are count values used to judge whether each car body is completely on the weighing platform.
[0058] When M2 mod 4 = 0:
[0059] (1) When M2 = M1, M4 = M3, and M4 = M2 - 4, it meets the weighing conditions, the instrument data is collected, and it is prompted that the weighing is successful.
[0060] (2) When M2 = M1 and M4 = M3 - 1, it does not meet the weighing conditions, re-count, and prompt: Unable to weigh automatically, please adjust the vehicle position.
[0061] (3) When M2 = M1, M4 = M3, and M2 = M4 - 2, it does not meet the weighing conditions, and the wheels press on or over M4.
[0062] (4) When M2 = M1, M4 = M3 + 1, and M2 = M3, it does not meet the weighing conditions, re-count, and at this time the vehicle reverses and presses on M4.
[0063] (5) When M2 = M1 = M4 + 2 = M3 + 2, it meets the weighing conditions, and it is prompted that the weighing is successful. At this time, the vehicle reverses to the normal position.
[0064] When M2 mod 4≠0, the scale cannot be used, and a weighing failure message is displayed, which is then sent to the large screen display and the voice alarm indicator.
[0065] The weighing conditions for the next car after it is put on the weighbridge are as follows: First, the car must not block the light source. At the same time, the car number must be scanned normally, the car must be stationary, and the instrument must be in a stable state for automatic weighing. Under normal circumstances, the shunting operator clicks the button to start counting for the first car. The counting mechanism for the second car is: M2=M1=M4=M3=4, and the weighing principle is the same as above.
[0066] The principle of weighing under abnormal conditions:
[0067] When the vehicle is reversing, the position is adjusted so that M3 = M4 = 4, meaning the vehicle behind will not run over M3 and M4.
[0068] (1) Adjustment of the wheel after it is placed on the platform: M2 = M1 = 6; meets the weighing conditions.
[0069] (2) Adjustment of the wheel after it is placed on the platform: M2=5, M1=6; meets the weighing conditions.
[0070] Adjustments after a single round of releases:
[0071] A. M2 = M1 = M3 does not meet the weighing requirements.
[0072] B. M2 = 3, M1 = 2, which does not meet the weighing conditions.
[0073] C.M2=4, M1=2, meets the weighing conditions.
[0074] D.M2=M4=4, which meets the weighing requirements.
[0075] Video AI localization programming approach: Image processing is performed using the OphenCV open-source computer vision library. Simultaneously, the principle of similar triangles is applied to achieve accurate distance measurement. The computer's focal length was calculated through preliminary experiments.
[0076] ① Place an object with a real width of W and take a picture.
[0077] ② Measure the distance D from the object to the camera.
[0078] ③ Write a program to measure the width of objects in the image in pixels P.
[0079] ④ Calculate the focal length F = (P·D) / W
[0080] ⑤ Go to the site to determine the camera installation location and the distance D1 from the carriage to the camera.
[0081] ⑥ The distance between the vehicle photographed by the on-site camera and the sign (pixel P1) is determined by testing the program.
[0082] ⑦ The distance between the carriage and the marker can be calculated using the formula W = (D1·P1) / F
[0083] An image capture area is set on the scale. Once the entire vehicle has entered the area, three images are captured. By comparing the vehicle's edge position, it is determined whether the vehicle is moving or in the process of being weighed. Vehicle model information is read through vehicle number recognition. The vehicle length information D is then retrieved from the database based on the vehicle model. Combined with the calculated distance W between the vehicle and the transition block, the relationship between the sum of these two distances and the scale length (L) is determined to ascertain whether the vehicle has fully entered the scale.
[0084] Compared with existing technologies, the present invention has the following advantages:
[0085] This invention involves installing two sets of proximity switches on the transition blocks on both sides of the weighbridge platform. A switch quantity server receives four sets of closed switch signals generated when wheels pass through the proximity switches. The system uses thread programming to receive, judge, and calculate the four sets of closed proximity switch signals. The switch quantity server counts the closed signals at the two front DI points to determine if the previous vehicle has completely left the platform, and counts the closed signals at the two rear DI points to determine if the current vehicle is fully on the weighbridge platform. The system logic determines the vehicle's position on the weighbridge platform. The system weight module calculates the steady-state weight of the instrument output value within a given threshold (within 0.5%). The system vehicle number recognition module records the vehicle number and vehicle type information of the vehicle being weighed using a bubble sort algorithm and logical calculations, achieving automatic weighing of one car. If the vehicle moves forward or backward beyond the transition block position due to inertia, and one wheel moves to the outside of the transition block and then back to the inside, the system completes redundant logic judgments for the front and rear sets of proximity switch counts, achieving automatic weighing of one car. If at least one wheel of a vehicle moves outside the transition block and then back inside, failing to meet the system's automatic weighing criteria of counting the four DI point closure signals, the automatic weighing system interacts in real time with the video AI positioning system. The system collects and analyzes the interaction results to achieve automatic weighing of one carriage. In this invention, the system employs thread programming to address the loss of four sets of switch quantity closure signals, the inability to automatically weigh due to one wheel moving back and forth on the weighing platform, and the inability to automatically weigh due to at least one wheel exceeding the transition block. The equipment is simple to install and can be programmed using a high-level language for automatic weighing. It plays a significant role in improving vehicle weighing accuracy, weighing efficiency, and reducing manual intervention.
[0086] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A static rail scale automatic call retype judging device, characterized in that, The application relates to a weighing platform, which comprises: a weighing platform, one side of which is provided with an entry end rail transition block, and the other side of which is provided with an exit end rail transition block; the entry end rail transition block and the exit end rail transition block are both provided with proximity switches.
2. The static rail scale automatic call retype judging device according to claim 1, characterized in that, a first front side proximity switch arranged on the exit end rail transition block and used for judging whether a wheel passes through the first front side proximity switch and counting; a second front side proximity switch arranged on the exit end rail transition block and used for judging whether a wheel passes through the second front side proximity switch and counting.
3. The static rail scale automatic call retype judging device according to claim 2, characterized in that, a first rear side proximity switch arranged on the entry end rail transition block and used for judging whether a wheel passes through the first rear side proximity switch and counting; a second rear side proximity switch arranged on the entry end rail transition block and used for judging whether a wheel passes through the second rear side proximity switch and counting.
4. The static rail scale automatic call retype judging device according to claim 3, characterized in that, The application further comprises: a first photoelectric limit switch arranged on the entry end rail transition block; a second photoelectric limit switch arranged on the exit end rail transition block.
5. The static rail scale automatic call retype judging device according to claim 4, characterized in that, When the first photoelectric limit switch or the second photoelectric limit switch is blocked by a wheel, a weighing failure alarm is sent out.
6. A static rail scale automatic reweigh type judgment method based on the static rail scale automatic reweigh type judgment device of any one of claims 1-5, characterized in that, The application comprises: when a driver parks a vehicle on the weighing platform and does not block the first photoelectric limit switch or the second photoelectric limit switch, a first counting value M1 of the first front side proximity switch, a second counting value M2 of the second front side proximity switch, a third counting value M3 of the first rear side proximity switch and a fourth counting value M4 of the second rear side proximity switch are acquired; whether the vehicle meets a weighing condition is judged according to the first counting value M1, the second counting value M2, the third counting value M3 and the fourth counting value M4, and when the vehicle meets the weighing condition, weighing success is prompted.
7. The static rail scale automatic weighing type judgment method according to claim 6, characterized in that, when M2 mod 4=0, M2=M1, M4=M3, M4=M2-4, the weighing condition is met, and weighing success is prompted; when M2 mod 4=0, M2=M1, M4=M3-1, the weighing condition is not met, recalculation is carried out, and automatic weighing failure is prompted, and the vehicle position is adjusted; when M2 mod 4=0, M2=M1, M4=M3, M2=M4-2, the weighing condition is not met, and the wheel is prompted to press or pass through the fourth photoelectric limit switch; when M2 mod 4=0, M2=M1, M4=M3+1, M2=M3, the weighing condition is not met, and recalculation is carried out; when M2 mod 4=0, M2=M1=M4+2=M3+2, the weighing condition is met, and weighing success is prompted; when M2 mod 4 is not equal to 0, weighing failure is prompted, and an alarm is sent out.
8. The static rail scale automatic call retype judging method of claim 6, wherein, When the front wheels of the vehicle completely pass through the exit end rail transition block and need to be adjusted, when M3=M4=4, M2=M1=6 or when M3=M4=4, M2=5, M1=6, the weighing condition is met, and the vehicle adjustment is successful.
9. The method of claim 6, wherein the method further comprises: When the front wheels of the vehicle pass through the second front side proximity switch and need to be adjusted, when M2=M1=M3 or M2=3, M1=2, the weighing condition is not met; when M2=4, M1=2 or M2=M4=4, the weighing condition is met.
10. The method of claim 6, wherein the method further comprises: When the weighing fails, the video AI module is used to identify the vehicle length information D and the distance W between the vehicle and the excess block. When L>W+D, it proves that the vehicle is completely on the scale; if L