A liquefied gas filling control method and system
Through the universal protocol communication between the electronic filling scale and the backend, the cylinder information verification and automatic filling during the liquefied gas filling process are realized, which solves the problem of lack of verification in traditional filling, improves efficiency and safety, and reduces costs. cost.
Patent Information
- Application Number
- CN202410107530.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-01-25
AI Technical Summary
There is a lack of cylinder information verification in the traditional liquefied gas filling process, which results in expired or unqualified gas cylinders being filled normally, posing safety hazards, low filling efficiency and high costs.
By configuring the universal protocol communication between the electronic filling scale and the backend, scanning the unique identification of the gas bottle to obtain information, judging the status of the gas bottle, and automatically controlling the filling process according to the status to avoid abnormal gas bottle filling, improve filling efficiency, and reduce manual labor quantity.
It realizes cylinder information verification and automatic filling, improves filling efficiency, reduces manual labor, avoids abnormal filling, ensures the safety and standardization of the filling process, and reduces transformation costs.
Smart Images

Figure CN117889347B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of liquefied gas filling control, and in particular to a liquefied gas filling control method and system. Background Art
[0002] As a commonly used fuel gas, liquefied gas is carried in liquefied gas cylinders during daily use. After the liquefied gas cylinders are used up, they are uniformly refilled and recycled at the gas station. In the traditional gas station filling process, manual filling is mainly adopted, and the filling workers use the filling gun of the electronic filling scale to fill the gas. The gas station usually does not check the quality, filling records, service life and other information of the gas cylinders. As a result, expired, scrapped, and substandard gas cylinders can also be filled normally, which brings safety hazards to the filling and gas use process. On the other hand, the filling process also requires manual control by the filling workers, resulting in low filling efficiency and high labor costs.
[0003] There is an integrated filling device in the prior art, which integrates a barcode scanner, an inflation gun and a communication module, and sets a unique identification with the gas cylinder information on the gas cylinder. The filling device communicates with the background system through the communication module. When inflating, the gas cylinder information can be obtained by scanning the unique identification with the barcode scanner, and the gas cylinder data of the background system can be called to determine whether the gas cylinder is in a normal state. For gas cylinders in a normal state, they can be automatically filled according to the filling amount. This device can trace the source and confirm the information of the gas cylinder, avoid filling abnormal gas cylinders, and realize automatic filling. However, in actual application, since existing gas stations use a large number of electronic filling scales, if this integrated filling device is applied in batches, a large number of electronic filling scales need to be replaced, and the transformation cost is extremely high, which will also cause unnecessary waste of equipment. Therefore, the actual application of this solution is difficult and costly. Summary of the invention
[0004] In order to solve the problems existing in the above-mentioned prior art, the purpose of the present disclosure is to provide a liquefied gas filling control method and system. The present disclosure can be modified based on the existing electronic filling scale, can realize the verification of gas cylinder information during the liquefied gas filling process, avoid abnormal gas cylinder filling, and can realize automatic filling, which helps to improve the filling efficiency and reduce the amount of manual labor.
[0005] A liquefied gas filling control method disclosed in the present disclosure comprises the following steps:
[0006] S01. Configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend through a common protocol;
[0007] S02, scanning the unique mark on the body of the liquefied gas cylinder, obtaining the cylinder information and uploading the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information;
[0008] S03. If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process is ended;
[0009] If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given that the status of the gas cylinder is abnormal.
[0010] Preferably, in step S01, each electronic filling scale is uniquely numbered, and the general protocol format includes a start character, a scale number field, a function code, a length field, a data area and a check code in sequence, the function code is used to indicate the instruction function, the data area is used to configure the status of the electronic filling scale, and the check code is used to perform instruction verification.
[0011] Preferably, in step S01, each time the backend sends a status configuration instruction to the electronic filling scale, the electronic filling scale generates a reply instruction according to its current status and uploads it to the backend;
[0012] A response cycle Rcy is preset in the backend. After the backend sends a status configuration instruction to the electronic filling scale, if the backend receives a reply instruction uploaded by the corresponding electronic filling scale within the response cycle Rcy, and the status of the electronic filling scale indicated by the reply instruction is consistent with the status configuration instruction sent, it is judged that the status setting is successful, otherwise it is judged that the status setting fails.
[0013] Preferably, the status configuration instructions include a lock position, a chain position, a mark position, an anti-theft position, a waiting position, a work number flag position, a filling flag position and a task control position;
[0014] The lock position is used to indicate whether the electronic filling scale has entered a lock state. In the lock state, the electronic filling scale cannot perform any operation.
[0015] The interlocking position is used to indicate whether the electronic filling scale has entered an interlocking state. In the interlocking state, the work number switch of the electronic filling scale is turned on, and the electronic filling scale allows the gas valve to be opened for filling only after the gas cylinder is identified as a normal gas cylinder;
[0016] The calibration position is used to indicate whether the electronic filling scale allows calibration of weight;
[0017] The anti-theft position is used to indicate whether the electronic filling scale is in an anti-theft state;
[0018] The standby position is used to indicate whether the electronic filling scale is in a chain state and is ready to display the weight of the weighing platform;
[0019] The work number flag is used to indicate whether there is a work number;
[0020] The filling flag is used to indicate whether the electronic filling scale is in a filling state;
[0021] The task control bit is used to indicate whether the electronic filling scale is in the invoicing mode.
[0022] Preferably, in the anti-theft state, a change threshold G_thr of the weight of the scale is preset, the real-time weight of the electronic filling scale is obtained and saved as time series data, and the time delay weight difference ΔG of the real-time weight of the scale is calculated. t , delay weight difference ΔG t Indicates the difference between the current weight of the scale and the previous weight of the scale, if:
[0023] |ΔG t |≥G_thr,
[0024] If the condition is not met, the anti-theft alarm is triggered, the electronic filling scale closes the gas valve and issues an anti-theft alarm. If the condition is not met, the real-time weighing platform weight is continuously monitored.
[0025] Preferably, in the anti-theft state, a time threshold T_thr for the air intake interval is preset, and the cumulative time value T_cv during which the weight of the scale does not change after the electronic filling scale opens the air valve is counted. When T_cv≥T_thr, the air valve of the electronic filling scale is closed.
[0026] Preferably, when issuing the status configuration instruction, the backend sets the response period Rcy of the current status configuration instruction according to the number of status bits p required to be changed in the current status configuration instruction, wherein the number of status bits p is positively correlated with the response period Rcy.
[0027] Preferably, the state bit number p and the response period Rcy satisfy:
[0028] Rcy=k*p+b,k>0,
[0029] Among them, k represents the proportionality coefficient and b is a constant;
[0030] Alternatively, the preset response cycle Rcy has n successively increasing cycle values Rcy1, Rcy2, ..., Rcy n , a number of integers N1, N2...N whose values increase in sequence and correspond one to one with the period value n , where n≤p, then the state bit number p and the response period Rcy satisfy:
[0031]
[0032] Preferably, in step S03, in the process of controlling the electronic filling scale to fill the gas cylinder according to the filling information, the change value ΔQ of the gas filling amount of the electronic filling scale in a filling period T_inf and the change value Δg of the weight of the liquefied gas cylinder are obtained, and the change coefficient ρ of the gas filling amount in the filling period T_inf is calculated respectively. Q And the coefficient of variation of the weight of the liquefied gas cylinder ρ g :
[0033]
[0034]
[0035] Calculate the coefficient of change of inflation volume ρ Q Coefficient of variation with the weight of the liquefied gas cylinder ρ g The absolute difference |Δρ| is determined to determine whether the obtained absolute difference |Δρ| satisfies or is greater than or equal to a preset coefficient of change threshold ρ_thr. If so, it is determined that the inflation process is abnormal and inflation is terminated; otherwise, it is determined that the inflation process is normal.
[0036] The present invention discloses a liquefied gas filling control system, which applies the liquefied gas filling control method as described above, and comprises:
[0037] Backend,
[0038] Electronic filling scale,
[0039] A control module, which is arranged at the electronic filling scale and is connected to the electronic filling scale signal, and the control module is connected to the backend for communication;
[0040] The backend is used to configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend;
[0041] The electronic filling scale scans the unique mark on the liquefied gas cylinder, obtains the cylinder information and uploads the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information;
[0042] If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process ends;
[0043] If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given that the status of the gas cylinder is abnormal.
[0044] The advantages of the liquefied gas filling control method and system disclosed in the present invention are:
[0045] 1. The present disclosure configures a general protocol for communication between an electronic filling scale and a back-end according to the requirements of the filling process, so that the back-end can issue instructions to the electronic filling scale through the general protocol, and the electronic filling scale can report instructions to the electronic filling scale through the general protocol, thereby realizing the back-end verification of information of the filling cylinder and the control of instructions such as the filling amount during the filling process, which can avoid abnormal filling of the cylinder and realize automatic filling, which is helpful to improve the filling efficiency and reduce the manual labor. The present disclosure can be applied based on the existing electronic filling scale of the gas station, without replacing the existing filling scale equipment of the gas station, with low application difficulty and low transformation cost, and is easier to promote and apply;
[0046] 2. The general protocol format disclosed in the present invention is applicable to the communication process between the electronic filling scale and the backend, and can realize various required functional controls of the electronic filling scale. It has high versatility and can be adapted to various models of electronic filling scales.
[0047] 3. The state configuration instructions of the general protocol disclosed in the present invention can set various states for the electronic filling scale. In the interlocking state, the electronic filling scale can enter the network control state, which cannot be controlled at the terminal and can only be filled according to the control instructions sent by the background end. This state can effectively prevent manual violations and erroneous operations at the gas station end, and ensure the standardization and safety of the filling process;
[0048] 4. The present disclosure can configure the electronic filling scale to an anti-theft state. In the anti-theft state, by monitoring the weight of the electronic filling scale, if the change value of the weight of the scale is greater than a preset threshold, it indicates that the scale has an abnormal situation, triggering an anti-theft alarm for anti-theft prompts, thereby enabling the electronic filling scale to have anti-theft monitoring and alarm functions;
[0049] 5. The background end of the present disclosure is configured with a response cycle for the electronic filling scale. Whether the status configuration of the electronic filling scale is successful is determined by judging the reply instruction uploaded by the electronic filling scale within the response cycle, so as to grasp the status of each electronic filling scale in the system. Furthermore, the present disclosure also reasonably sets the response cycle of this status configuration according to the number of status bits required to be changed in each status configuration instruction issued. When the number of status bits required to be changed is large, the response cycle of this time is appropriately extended so that the electronic filling scale has sufficient time to complete the status change and report it, which can effectively reduce the situation where the status change data of the electronic filling scale is not accurately collected due to a short response cycle, so that the system can collect the status data of each electronic filling scale more accurately and comprehensively, and can maintain a high communication efficiency;
[0050] 6. The present invention analyzes the inflation process by obtaining the inflation volume change value and the liquefied gas cylinder weight change value in the same period of time during the filling process, which can effectively identify leakage, inflation gun detachment and other phenomena, and is conducive to the safety monitoring of the filling process. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a step flow chart of a liquefied gas filling control method described in this embodiment. DETAILED DESCRIPTION
[0052] like Figure 1 As shown, a liquefied gas filling control method disclosed in the present disclosure comprises the following steps:
[0053] S01. Configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend through a common protocol;
[0054] Specifically, in step S01, each electronic filling scale is uniquely numbered. Before the electronic filling scale of the gas station is used for the first time, it needs to be numbered, starting from 1, and numbered in sequence from small to large. Then, a control module with the same number is connected in the explosion-proof box of the electronic filling scale. The control module is responsible for forwarding instructions from the backend or the electronic filling scale;
[0055] After the filling system of the present embodiment is started, all control module numbers (i.e., the numbers of the electronic filling scales) will be registered with the background end, which will be used for the background end to poll the control modules for data; after the electronic filling scale is turned on, the electronic filling scale version number will be automatically returned. The filling system pre-stores the version numbers of the electronic filling scales and their corresponding status configuration instructions. After receiving the electronic filling scale version number, the background end will set the electronic filling scale according to the previously configured status configuration instructions, so that the background end can control the electronic filling scale to perform filling and other actions through instructions.
[0056] The general protocol format includes a start character, a scale number field, a function code, a length field, a data area and a check code in sequence. The function code is used to indicate the instruction function, the data area is used to configure the state of the electronic filling scale, and the check code is used to perform instruction verification. Exemplarily, the general protocol format is as follows:
[0057]
[0058] Length: 5+n (excluding the start character);
[0059] Start character (4 bits): 4-digit hexadecimal [0xAA]; fixed value is [0xAA, 0xAA, 0xAA, 0xAA].
[0060] Scale number (1 digit): Scale number (1-99), converted to hexadecimal [0x01~0x63];
[0061] Function code (1 digit): 1 digit hexadecimal [0xFF];
[0062] Length check (1 bit): length (1-255), converted to hexadecimal [0x01~0xFF];
[0063] The length check is calculated in bytes, which is the total length of scale number (1 bit) + function code (1 bit) + data length (1 bit) + data area (n bits) + check code (2 bits).
[0064] Data area (n bits): variable length;
[0065] Check code (2 digits): Check code (0-65535), converted to hexadecimal [0x~0xFF0xFF];
[0066] The checksum is calculated by byte, starting from the scale number (inclusive) to the data area (including the data in the data area).
[0067] The instructions in the protocol include: querying the version number of the electronic filling scale, setting the status of the electronic filling scale, setting the work number, querying the customer number, querying the filling gear, sending the gas cylinder label, valve opening instruction, filling record upload, operation status display, heartbeat instruction, etc. This protocol can be used for all types of electronic filling scales as long as they are connected. The communication protocol data format is hexadecimal, and two communication interfaces of TTL and RS232 are provided to the electronic filling scale. The communication parameters are: baud rate: 19200, data bit: 8bit, parity check: NONE: stop bit: 1bit; the data instruction check code algorithm is checksum.
[0068] The above-mentioned status setting process mainly includes the status configuration instructions sent by the backend to the electronic filling scale, and the reply instructions uploaded by the electronic filling scale to the backend after completing the status setting.
[0069] Following the general protocol format above, the status configuration instructions sent by the backend are as follows:
[0070]
[0071] The reply instructions uploaded by the electronic filling scale are as follows:
[0072]
[0073] The state configuration instructions include a lock position, a chain position, a mark position, an anti-theft position, a waiting position, a work number position, a filling position and a task control position;
[0074] The lock position is used to indicate whether the electronic filling scale has entered a lock state. In the lock state, the electronic filling scale cannot perform any operation.
[0075] The interlocking position is used to indicate whether the electronic filling scale has entered an interlocking state. In the interlocking state, the work number switch of the electronic filling scale is turned on, and the electronic filling scale allows the gas valve to be opened for filling only after the gas cylinder is identified as a normal gas cylinder;
[0076] The calibration position is used to indicate whether the electronic filling scale allows calibration of weight;
[0077] The anti-theft position is used to indicate whether the electronic filling scale is in an anti-theft state;
[0078] The standby position is used to indicate whether the electronic filling scale is in a chain state and is ready to display the weight of the weighing platform;
[0079] The work number flag is used to indicate whether there is a work number;
[0080] The filling flag is used to indicate whether the electronic filling scale is in a filling state;
[0081] The task control bit is used to indicate whether the electronic filling scale is in the invoicing mode; the invoicing mode means that the invoicing system is used to issue invoices, and the electronic filling scale fills according to the settings of the invoicing form. The non-invoicing mode means that the invoicing system is not turned on, and there is no limit on the filling quantity.
[0082] The general protocol formats used above are:
[0083] The data area of the electronic filling scale (1 byte) is represented from left to right in binary: lock + interlock + calibration + anti-theft + waiting to be displayed + work number flag + filling flag + task control bit (referring to the invoicing flag):
[0084] Scale number (1 digit): Scale No. 15 (0x0F);
[0085] Function code: [s] to hexadecimal [0x73]; [S] to hexadecimal [0x53];
[0086] Electronic filling scale status (XX): locked + interlocked + calibrated + anti-theft + waiting to be displayed + work number flag + filling flag + task control bit (S[8]=11111111), converted to hexadecimal [0xFF];
[0087] S[7] 1st bit lock bit: [1] electronic filling scale [lock], others set to [0];
[0088] Locking effect: After the electronic filling scale is locked, the keypad is locked, code scanning becomes invalid, and no operation can be performed.
[0089] S[6] The second bit of the chaining position: [1] means [chaining], [0] means [normal];
[0090] Interlocking effect: After the electronic filling scale enters [Interlocking], the work number switch is automatically turned on. The electronic filling scale is allowed to open the gas valve for inflation only after it identifies the gas cylinder as a normal gas cylinder.
[0091] S[5] The third digit is marked: [1] means that weight calibration is allowed, [0] means that weight calibration is not allowed;
[0092] S[4] The 4th anti-theft bit: [1] means [anti-theft status is on], [0] means [anti-theft status is off];
[0093] S[3] 5th position: In the interlocking state, [1] means that the scale weight is displayed in the standby state, and [0] means that the scale weight is not displayed in the standby state;
[0094] S[2] 6th bit: [1] indicates that there is a [job number], [0] indicates that there is no [job number];
[0095] S[1] bit 7: [1] indicates charging, [0] indicates standby state;
[0096] S[0] bit 8: [1] indicates invoicing mode, [0] indicates non-invoicing mode.
[0097] Among them, in the anti-theft state, a change threshold G_thr of the weight of the scale is preset, such as 1kg, the real-time scale weight of the electronic filling scale is obtained and saved as time series data, and the time delay weight difference ΔG of the real-time scale weight is calculated t , delay weight difference ΔG t Indicates the difference between the current weight of the scale and the previous weight of the scale, if:
[0098] |ΔG t |≥G_thr,
[0099] If the condition is not met, the anti-theft alarm is triggered, the electronic filling scale closes the gas valve and issues an anti-theft alarm. If the condition is not met, the real-time weighing platform weight is continuously monitored.
[0100] At the same time, the anti-theft state also presets a time threshold T_thr for the air intake interval, and counts the cumulative time value T_cv of the electronic filling scale opening the air valve but the weight of the scale does not change. When T_cv≥T_thr is satisfied, the air valve of the electronic filling scale is closed. The principle of this step is: under normal filling conditions, after the electronic filling scale opens the air valve to inflate, the weight of the gas cylinder will gradually increase, that is, the weight of the scale will gradually increase. If after a period of time after the air valve is opened, such as 10s, it is detected that the number of scales has not changed, it is judged that "gas theft" may occur (inserting the air gun into the gas cylinder outside the scale to fill), and the air valve will be automatically closed at this time, and an anti-theft alarm will be issued.
[0101] This step is used to detect the sudden change of the weight of the electronic filling scale and the air intake after the air valve is opened. When the sudden change is greater than the preset threshold, or there is no air intake for a long time after the air valve is opened, it indicates that the electronic filling scale may have an abnormal situation and trigger an anti-theft alarm.
[0102] After the backend sends a status configuration instruction to the electronic filling scale to set the status, it is necessary to confirm whether the status of the electronic filling scale is configured according to the issued instruction and the configuration is successful. Therefore, in step S01, each time the backend sends a status configuration instruction to the electronic filling scale, the electronic filling scale generates a reply instruction according to its current status and uploads it to the backend;
[0103] In the specific monitoring process, the response cycle needs to be limited as follows:
[0104] A response cycle Rcy is preset in the backend. After the backend sends a status configuration instruction to the electronic filling scale, if the backend receives a reply instruction uploaded by the corresponding electronic filling scale within the response cycle Rcy, and the status of the electronic filling scale indicated by the reply instruction is consistent with the status configuration instruction sent, it is judged that the status setting is successful, otherwise it is judged that the status setting fails.
[0105] This step can be used to confirm the various status configurations of the electronic filling scale, so that the backend can understand the status of each electronic filling scale in the system.
[0106] In a specific embodiment, due to the limited computing power of the electronic filling scale, when the number of status bits that need to be changed is large, the electronic filling scale needs to first parse the status configuration instructions issued by the backend, and then change the configuration of the corresponding status according to the status configuration instructions, configure the system of the electronic filling scale to the corresponding status, and then detect the configuration status of each status that needs to be changed, generate corresponding reply instructions and upload them to the backend. This process requires a certain response time, and when the number of status bits that need to be changed is more, the time required is usually longer.
[0107] Based on the above, in this embodiment, when the backend issues the status configuration instruction, it sets the response period Rcy of this status configuration instruction according to the number of status bits p that need to be changed in this status configuration instruction, wherein the number of status bits p is positively correlated with the response period Rcy. Among them, the number of status bits p that need to be changed in this status configuration instruction specifically refers to the number of status bits that need to be changed compared with the previous state of the electronic filling scale. For example, in the above-mentioned lock bit, interlock bit, mark bit, anti-theft bit, to-be-displayed bit, work number flag bit, filling flag bit and task control bit, this status configuration instruction only needs to change the lock bit, release the lock state of the electronic filling scale, and change it to a non-locked state. The remaining bits are the same as the last time, then the number of status bits p that need to be changed in this status configuration instruction = 1.
[0108] More specifically, the state bit number p and the response period Rcy satisfy:
[0109] Rcy=k*p+b,k>0,
[0110] Among them, k represents the proportional coefficient, and b is a constant, which can be set according to parameters such as the computing power of the electronic filling scale, the communication delay between the electronic filling scale and the backend;
[0111] Alternatively, the preset response cycle Rcy has n successively increasing cycle values Rcy1, Rcy2, ..., Rcy n , a number of integers N1, N2...N whose values increase in sequence and correspond one to one with the period value n , where n≤p, then the state bit number p and the response period Rcy satisfy:
[0112]
[0113] Through the above-mentioned direct proportional function and piecewise function, the response period Rcy can be positively correlated and adjusted according to the number of state bits p that need to be changed in this state configuration instruction, so that when the number of states that need to be changed is large, the electronic filling scale has sufficient response time, and when the number of changes required is small, the background end can confirm the status of the electronic filling scale within a shorter response cycle, thereby improving communication efficiency and reducing communication resource usage.
[0114] S02, scanning the unique mark on the body of the liquefied gas cylinder, obtaining the cylinder information and uploading the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information;
[0115] In this step, the backend sends a scan code instruction to enable the electronic filling scale to identify the unique identifier of the gas cylinder and obtain the gas cylinder label information. The electronic filling scale uploads the gas cylinder label information obtained after scanning to the backend. The communication method between the electronic filling scale and the backend can use the above-mentioned general protocol, which can be understood by referring to the above description and will not be repeated here. The difference from the above-mentioned status configuration instruction is that the data area is used to store filling information such as gas cylinder label information, electronic scale status, tare weight, customer number, gear number, etc.
[0116] S03. If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process is ended;
[0117] If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given that the status of the gas cylinder is abnormal.
[0118] More specifically, since the inflation process can be unsupervised after the application of the present system, leakage or falling off of the inflation gun may occur. In order to monitor such phenomena, in the present embodiment, when the electronic filling scale is controlled to fill the gas cylinder according to the filling information, the change value ΔQ of the inflation amount of the electronic filling scale in an inflation period T_inf and the change value Δg of the weight of the liquefied gas cylinder are obtained, and the change coefficient ρ of the inflation amount in the inflation period T_inf is calculated respectively. Q And the coefficient of variation of the weight of the liquefied gas cylinder ρ g :
[0119]
[0120]
[0121] Calculate the coefficient of change of inflation volume ρ Q Coefficient of variation with the weight of the liquefied gas cylinder ρ g The absolute difference |Δρ| is determined to determine whether the obtained absolute difference |Δρ| satisfies or is greater than or equal to a preset coefficient of change threshold ρ_thr. If so, it is determined that the inflation process is abnormal and inflation is terminated; otherwise, it is determined that the inflation process is normal.
[0122] If most of the liquefied gas enters the liquefied gas cylinder during the inflation process, the inflation amount and the weight of the liquefied gas cylinder will be roughly linearly transformed. Taking into account the impact of sensor detection errors and environmental factors such as temperature on the detection data, if absolute values are compared, misjudgment is likely to occur. Therefore, in this embodiment, by calculating the conversion coefficient for comparison, the impact of sensor errors and environmental factors on the detection data can be eliminated, the misjudgment rate can be reduced, and abnormal inflation processes can be accurately detected.
[0123] This embodiment further provides a liquefied gas filling control system, which uses the liquefied gas filling control method as described above, including:
[0124] Backend,
[0125] Electronic filling scale,
[0126] A control module, which is arranged at the electronic filling scale and is connected to the electronic filling scale signal, and the control module is connected to the backend for communication;
[0127] The backend is used to configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend;
[0128] The electronic filling scale scans the unique mark on the liquefied gas cylinder, obtains the cylinder information and uploads the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information;
[0129] If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process ends;
[0130] If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given that the status of the gas cylinder is abnormal.
[0131] The system of this embodiment and the method embodiment described above are based on the same inventive concept, which can be understood with reference to the above description and will not be repeated here.
[0132] The present invention configures a general protocol for communication between an electronic filling scale and a back-end according to the requirements of the filling process, so that the back-end can issue instructions to the electronic filling scale through the general protocol, and the electronic filling scale can report instructions to the electronic filling scale through the general protocol, thereby realizing the back-end verification of information of the filling gas cylinder and the control of instructions such as the filling amount during the filling process, which can avoid abnormal filling of gas cylinders and realize automatic filling, which is helpful to improve the filling efficiency and reduce the manual labor. The present invention can be applied based on the existing electronic filling scale of the gas station without replacing the existing filling scale equipment of the gas station, has low application difficulty and low transformation cost, and is easier to promote and apply.
[0133] The universal protocol format disclosed in the present invention is applicable to the communication process between the electronic filling scale and the back-end, and can realize various required functional controls of the electronic filling scale. It has high versatility and can be adapted to various models of electronic filling scales.
[0134] The state configuration instructions of the general protocol disclosed in the present invention can set various states for the electronic filling scale. In the interlocking state, the electronic filling scale can enter the network control state, which cannot be controlled at the terminal and can only be filled according to the control instructions sent by the background end. This state can effectively prevent manual violations and erroneous operations at the gas station end, and ensure the standardization and safety of the filling process.
[0135] The present disclosure can configure the electronic filling scale to an anti-theft state. In the anti-theft state, by monitoring the weight of the scale platform of the electronic filling scale, if the change value of the scale platform weight is greater than a preset threshold, it indicates that the scale platform has an abnormal situation, and the anti-theft alarm is triggered to provide an anti-theft prompt, thereby enabling the electronic filling scale to have anti-theft monitoring and alarm functions;
[0136] The backend of the present disclosure is configured with a response cycle for the electronic filling scale. Whether the status configuration of the electronic filling scale is successful is determined by judging the reply instruction uploaded by the electronic filling scale within the response cycle, so as to grasp the status of each electronic filling scale in the system. Furthermore, the present disclosure also reasonably sets the response cycle of this status configuration according to the number of status bits required to be changed in the status configuration instruction issued each time. When the number of status bits required to be changed is large, the response cycle of this time is appropriately extended so that the electronic filling scale has sufficient time to complete the status change and report it, which can effectively reduce the situation where the status change data of the electronic filling scale is not accurately collected due to the short response cycle, so that the system can collect the status data of each electronic filling scale more accurately and comprehensively, and can maintain a high communication efficiency.
[0137] The present invention analyzes the inflation process by obtaining the inflation volume change value and the liquefied gas cylinder weight change value in the same period of time during the filling process, which can effectively identify leakage, falling off of the inflation gun and other phenomena, and is conducive to the safety monitoring of the filling process.
[0138] In the description of the present disclosure, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description. Unless otherwise specified, these directional words 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, and therefore cannot be understood as limiting the scope of protection of the present disclosure.
[0139] For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all of these changes and deformations should fall within the protection scope of the claims of the present disclosure.
Claims
1. A liquefied gas filling control method, characterized in that: The following steps are involved: S01. Configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend through a common protocol; S02, scanning the unique mark on the body of the liquefied gas cylinder, obtaining the cylinder information and uploading the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information; S03. If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process is ended; If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given indicating that the status of the gas cylinder is abnormal; In step S01, each electronic filling scale is uniquely numbered, and the general protocol format includes a start character, a scale number field, a function code, a length field, a data area, and a check code in sequence, wherein the function code is used to indicate the instruction function, the data area is used to configure the state of the electronic filling scale, and the check code is used to perform instruction verification; In step S01, each time the backend sends a status configuration instruction to the electronic filling scale, the electronic filling scale generates a reply instruction according to its current status and uploads it to the backend; A response cycle Rcy is preset in the backend. After the backend issues a status configuration instruction to the electronic filling scale, if a reply instruction uploaded by the corresponding electronic filling scale is received within the response cycle Rcy, and the status of the electronic filling scale indicated by the reply instruction is consistent with the issued status configuration instruction, it is judged that the status setting is successful, otherwise it is judged that the status setting fails; The state configuration instructions include a lock position, a chain position, a mark position, an anti-theft position, a waiting position, a work number position, a filling position and a task control position; The lock position is used to indicate whether the electronic filling scale has entered a lock state. In the lock state, the electronic filling scale cannot perform any operation. The interlocking position is used to indicate whether the electronic filling scale has entered an interlocking state. In the interlocking state, the work number switch of the electronic filling scale is turned on, and the electronic filling scale allows the gas valve to be opened for filling only after the gas cylinder is identified as a normal gas cylinder; The calibration position is used to indicate whether the electronic filling scale allows calibration of weight; The anti-theft position is used to indicate whether the electronic filling scale is in an anti-theft state; The standby position is used to indicate whether the electronic filling scale is in a chain state and is ready to display the weight of the weighing platform; The work number flag is used to indicate whether there is a work number; The filling flag is used to indicate whether the electronic filling scale is in a filling state; The task control bit is used to indicate whether the electronic filling scale is in the invoicing mode; In the anti-theft state, a change threshold G_thr of the weight of the scale is preset, the real-time weight of the electronic filling scale is obtained and saved as time series data, and the time delay weight difference ΔG of the real-time weight of the scale is calculated. t , delay weight difference ΔG t Indicates the difference between the current weight of the scale and the previous weight of the scale, if: |ΔG t |≥G_thr, If the condition is not met, the electronic filling scale will continue to monitor the real-time weight of the scale. In the anti-theft state, a time threshold T_thr for the air intake interval is preset, and a cumulative time value T_cv during which the weight of the scale does not change after the electronic filling scale opens the air valve is counted. When T_cv≥T_thr, the air valve of the electronic filling scale is closed.
2. The liquefied gas filling control method according to claim 1, characterized in that: When issuing the status configuration instruction, the backend sets the response period Rcy of the current status configuration instruction according to the number of status bits p required to be changed in the current status configuration instruction, wherein the number of status bits p is positively correlated with the response period Rcy.
3. The liquefied gas filling control method according to claim 2, characterized in that: The state bit number p and the response period Rcy satisfy: Rcy=k*p+b,k>0, Among them, k represents the proportionality coefficient and b is a constant; Alternatively, the preset response cycle Rcy has n successively increasing cycle values Rcy1, Rcy2, ..., Rcy n , a number of integers N1, N2...N whose values increase in sequence and correspond one to one with the period value n , where n≤p, then the state bit number p and the response period Rcy satisfy:
4. The liquefied gas filling control method according to any one of claims 1 to 3, characterized in that: In step S03, in the process of controlling the electronic filling scale to fill the gas cylinder according to the filling information, the change value ΔQ of the gas filling amount of the electronic filling scale in a filling period T_inf and the change value Δg of the weight of the liquefied gas cylinder are obtained, and the change coefficient ρ of the gas filling amount in the filling period T_inf is calculated respectively. Q And the coefficient of variation of the weight of the liquefied gas cylinder ρ g : Calculate the coefficient of change of inflation volume ρ Q Coefficient of variation with the weight of the liquefied gas cylinder ρ g The absolute difference |Δρ| is determined to determine whether the obtained absolute difference |Δρ| satisfies or is greater than or equal to a preset coefficient of change threshold ρ_thr. If so, it is determined that the inflation process is abnormal and inflation is terminated; otherwise, it is determined that the inflation process is normal.
5. A liquefied gas filling control system, using the liquefied gas filling control method according to any one of claims 1 to 4, characterized in that: include: Backend, Electronic filling scale, A control module, which is arranged at the electronic filling scale and is connected to the electronic filling scale signal, and the control module is connected to the backend for communication; The backend is used to configure the status of each electronic filling scale, so that each electronic filling scale communicates with the backend; The electronic filling scale scans the unique mark on the liquefied gas cylinder, obtains the cylinder information and uploads the cylinder information to the backend, and the backend determines the cylinder status according to the cylinder information; If the backend determines that the status of the gas cylinder is normal, the filling information is sent to the electronic filling scale, and the electronic filling scale is controlled to fill the gas cylinder according to the filling information. After the filling is completed, the filling data is uploaded and the filling process ends; If the status of the gas cylinder is judged to be abnormal, the filling process is terminated and a prompt is given that the status of the gas cylinder is abnormal.
Citation Information
Patent Citations
Communication method of universal communication protocol generator
CN103825870A
Liquefied gas filling scale capable of realizing steel cylinder supervision and supervision method thereof
CN111289068A
Liquefied petroleum gas cylinder interlocking control system and control method based on OCR
CN112947351A
High-purity liquid chlorine filling device and method
CN113309976A
Bottled gas intelligence filling control equipment based on internet of things
CN205507474U
