Method for determining the effectiveness of a fuel dispenser encoder
By comparing the fuel flow rate value of the fuel dispenser encoder with the corrected flow rate value of the previous day, the problem of inaccurate counting caused by loose magnetic encoder magnets was solved, and fast and accurate fault detection and alarm were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-23
- Publication Date
- 2026-04-10
AI Technical Summary
Loose or detached magnets in the magnetic encoder can cause inaccurate oil refueling counts, resulting in under-counting of oil dispensed.
By correcting the average refueling flow rate for different time periods of the previous day, the corrected refueling flow rate is calculated. The current refueling flow rate is then compared with the corrected refueling flow rate for the same time period of the previous day to determine whether the encoder is malfunctioning. A threshold is set to determine whether to issue an alarm.
Quickly and accurately determine whether the encoder is faulty, eliminate the impact of reduced filter permeability on oil flow, prevent human speed control from affecting the process, and improve the accuracy of test results.
Smart Images

Figure CN117819463B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to a method and system for determining the effectiveness of a fuel dispenser encoder, and more particularly to a determination technique using software. BACKGROUND
[0002] Fuel dispensers usually use an encoder to measure the amount of fuel. The encoder uses photoelectric or magneto-electric conversion technology to encode the analog flow information into a digital signal, and the control mainboard calculates the fueling data according to the output signal of the encoder. For example, a magnetic encoder has a circuit board and a magnetic steel shaft built-in, the circuit board is provided with a magnetic sensing chip, and the magnetic steel shaft is provided with a magnetic steel at one end close to the magnetic sensing chip and the other end for insertion into the fueling pipe. When fueling, after lifting the gun, the oil pump operates to pressurize the fueling pipe, and the oil flowing through the fueling pipe drives the magnetic steel shaft to rotate, thereby driving the magnetic steel to rotate, and the circuit board outputs a pulse signal after sensing the change of the magnetic field around the magnetic steel through the magnetic sensing chip, and the metering device calculates the oil quantity information and the amount after receiving the pulse signal.
[0003] However, after a long time of work, the magnetic steel of the magnetic encoder will loosen or fall off due to the long-time rotation of the magnetic steel shaft, resulting in that the magnetic encoder cannot accurately send the pulse signal, i.e., the output pulse data is sometimes present and sometimes absent, resulting in inaccurate counting, and the calculated fueling flow rate is much lower than the normal fueling flow rate, which cannot be discovered in time, so that the fuel dispensing station appears the phenomenon of less oil counting, causing the loss of the fuel dispensing station.
[0004] The present application aims to solve the problem that the magnetic steel of the magnetic encoder loosens or falls off during fueling, resulting in that the magnetic encoder cannot accurately send the pulse signal, and the phenomenon of less oil counting appears. SUMMARY
[0005] In order to solve the above problems, the present application provides a method for determining the effectiveness of a fuel dispenser encoder, characterized in that it comprises: a first step S1 of sending a pulse signal by the encoder during gun lifting fueling; a second step S2 of calculating a fueling flow value V according to the pulse signal; a third step S3 of correcting the average fueling flow value Va of different time periods of the previous day to obtain the corrected fueling flow value Vxa of different time periods of the previous day; a fourth step S4 of determining whether the fueling flow value V is greater than or equal to the corrected fueling flow value Vxa of the same time period of the previous day, if yes, entering a fifth step S5, otherwise, entering a sixth step S6.
[0006] In the fifth step S5, if the encoder is determined to be normal, the number of encoder abnormality n is cleared, and the first step S1 is returned. In the sixth step S6, the number of encoder abnormality n is added by one. In the seventh step S7, it is determined whether the number of encoder abnormality n is greater than or equal to the threshold N. If yes, the eighth step S8 is entered. Otherwise, the first step S1 is returned. In the eighth step S8, the encoder is determined to be abnormal, an alarm is issued, the number of encoder abnormality n is cleared, and the process is ended.
[0007] The present application can quickly determine whether the encoder is abnormal by correcting the average refueling flow value of different time periods of the previous day to obtain a corrected refueling flow value of the same time period of the previous day, and comparing the refueling flow value with the corrected refueling flow value of the same time period of the previous day. When the encoder is abnormal, the output pulse signal is sometimes present and sometimes absent, which results in that the calculated refueling flow value is lower than the corrected refueling flow value of the same time period of the previous day.
[0008] Preferably, the third step S3 comprises multiplying the average refueling flow value Va of the full load period of the previous day by a correction factor f to obtain a corrected refueling flow value Vxa of the full load period of the previous day. min Preferably, the third step S3 comprises multiplying the average refueling flow value Va of the full load period of the previous day by a correction factor f to obtain a corrected refueling flow value Vxa of the full load period of the previous day. min Preferably, the third step S3 comprises multiplying the average refueling flow value Va of the full load period of the previous day by a correction factor f to obtain a corrected refueling flow value Vxa of the full load period of the previous day. max Preferably, the third step S3 comprises multiplying the average refueling flow value Va of the full load period of the previous day by a correction factor f to obtain a corrected refueling flow value Vxa of the full load period of the previous day. max ;
[0009] wherein the correction factor f is f min or f max , and f≤1
[0010] f min = Va min / Vb min
[0011] f max = Va max / Vb max
[0012] Vb min is the average refueling flow value of the full load period of the previous two days, and Vb max is the average refueling flow value of the half load period of the previous two days.
[0013] Preferably, the fourth step S4 comprises a refueling period judging step S41 for judging whether the refueling period is a full load period according to the refueling time. If yes, a full load period comparison step S42 is entered. Otherwise, a half load period comparison step S43 is entered.
[0014] In the full load period comparison step S42, it is determined whether the refueling flow value V is greater than or equal to the corrected refueling flow value Vxa of the full load period of the previous day.min If yes, go to the fifth step S5, otherwise, go to the sixth step S6.
[0015] The half-load period is compared with step S43 to determine whether the refueling flow value V is greater than or equal to the refueling correction flow value Vxa of the half-load period of the previous day max If yes, go to the fifth step S5, otherwise, go to the sixth step S6.
[0016] Preferably, the full-load period is from 6 o'clock to 10 o'clock and from 18 o'clock to 22 o'clock, and the rest of the time is the half-load period.
[0017] Preferably, the threshold value N is 10.
[0018] The present application calculates the influence coefficient of the filtering device on the refueling flow, i.e. the correction coefficient f, by comparing the refueling average flow value of the same period of the previous day with the refueling average flow value of the same period of the previous two days, obtains the refueling correction flow value Vxa of the different period of the previous day by multiplying the refueling average flow value Va of the different period of the previous day by the correction coefficient f, and compares the refueling flow value V with the refueling correction flow value Vxa of the same period of the previous day, which can exclude the influence of the decrease in the permeability of the filtering device on the refueling flow, and improve the accuracy of the detection result.
[0019] The present application compares the correction flow value of multiple refuelings with the refueling average flow value of the same period of the previous day multiple times, which can prevent the influence of artificial speed control on the refueling flow, so that whether the encoder is faulty can be accurately judged. BRIEF DESCRIPTION OF DRAWINGS
[0020] Figure 1 . Description of the fuel dispenser system;
[0021] Figure 2 . Internal structure diagram of the encoder;
[0022] Figure 3 . Flowchart of the encoder effectiveness judgment method.
[0023] In the figure, 1. encoder, 11. magnet steel shaft, 12. magnet steel, 13. circuit board, 14. magnetic sensing chip, 15. cable, 2. oil storage tank, 3. fuel dispenser, 31. fuel gun. DETAILED DESCRIPTION
[0024] The preferred embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0025] First, the refueling process of the fuel dispenser is described.
[0026] For example, the refueling process of the fuel dispenser is as follows: Figure 1As shown, the fuel dispenser 3 is connected to, for example, four fuel nozzles 31, and each fuel nozzle 31 is equipped with an encoder 1. When the fuel nozzle is raised to dispense fuel, the fuel pump inside the fuel dispenser operates, pumping fuel out of the fuel storage tank 2 and dispensing it through the fuel nozzle 31. During the dispensing process, the fuel quantity information is converted into pulse signals by the encoder 1. By processing the pulse signals, dispensing information such as fuel quantity, unit price, and total price is obtained.
[0027] like Figure 2 As shown, the encoder 1 has a built-in circuit board 13, a magnet shaft 11 and a cable 15. A magnetic sensing chip 14 is provided on the circuit board 13. The magnet shaft 11 is rotatably mounted on the encoder 1. A magnet 12 is provided at one end near the magnetic sensing chip 14, and the other end extends to the outside of the encoder 1 for insertion into the refueling pipe.
[0028] When the nozzle is lifted for refueling, the oil pump operates and pressurizes the refueling pipe. When oil flows through the refueling pipe, it drives the magnet shaft 11 to rotate, thereby driving the magnet 12 to rotate. After the circuit board 13 senses the change in the magnetic field generated by the magnet 12 through the magnetic chip 14, it generates pulse information and sends the pulse signal to the metering processor through the cable 15.
[0029] The following explains the method for determining the validity of the encoder on a fuel dispenser.
[0030] like Figure 3 As shown, the method for determining the validity of the fuel dispenser encoder includes the following steps: First step S1, when the fuel nozzle is lifted for refueling, the encoder is excited by the fuel flowing inside the refueling device, generating a pulse signal, and sending the pulse signal to the metering processor.
[0031] In the second step S2, after receiving the pulse signal, the pulse signal is calculated according to the preset parameter values corresponding to the pulse signal and information such as refueling amount and amount, to obtain the refueling flow rate value V, and the refueling flow rate value V is sent to the monitoring processor.
[0032] The third step, S3, involves the monitoring processor correcting the average refueling flow rate Va for different time periods of the previous day to obtain the corrected refueling flow rate Vxa for different time periods of the previous day, including:
[0033] The average refueling flow rate Va during the full-load period of the previous day. min Multiplying by the correction factor f yields the corrected refueling flow rate Vxa for the previous day's full-load period. min .
[0034] The average refueling flow rate Va during the half-load period of the previous day. max Multiplying by the correction factor f yields the corrected refueling flow rate Vxa for the previous day's half-load period. max .
[0035] Wherein, the correction coefficient f is f min or f max , f≤1
[0036] f min = Va min / Vb min
[0037] f max = Va max / Vb max
[0038] Vb min is the average fueling flow value of the full load period of the previous two days, Vb max is the average fueling flow value of the half load period of the previous two days.
[0039] For example, Vb min is 35L / min, Vb max is 40L / min, Va min is 34.96L / min, Va max is 39.94L / min.
[0040] f min = Va min / Vb min = 0.9989
[0041] f max = Va max / Vb max = 0.9985
[0042] Therefore, f can be set to 0.9989 or 0.9985.
[0043] Since the filter device is arranged in the fueling device, when the filter device filters the oil, the passability will decrease and the resistance to the flowability of the oil will increase with the increase of time, the fuel flow rate during fueling gradually decreases, which leads to the fueling flow rate becoming smaller and smaller. The correction coefficient can be set to calculate the normal range of the current fueling flow rate value under the influence of the filter device according to the fueling flow rate values of different time periods of the previous day.
[0044] When used for the first time, the monitoring processor does not have the average fueling flow rate values Va of different time periods of the previous day, so the average fueling flow rate values Va of different time periods of the previous day are 0. The initial value of the correction coefficient f is 1, until a new correction coefficient f is calculated.
[0045] In the fourth step S4, the monitoring processor judges whether the fueling flow rate value V is greater than or equal to the fueling correction flow rate value Vxa of the same time period of the previous day, including the following steps:
[0046] The judgment of refueling period step S41, the monitoring processor judges whether it is in full load period or half load period according to refueling time, if it is in full load period, it enters full load period comparison step S42, if it is in half load period, it enters half load period comparison step S43.
[0047] The full load period and half load period can be set according to actual situation, for example, set according to the number of refueling, when the number of refueling gun operation is greater than or equal to half of the total number of refueling gun, the period is full load period, when the number of refueling gun operation is less than half of the total number of refueling gun, the period is half load period. In the present application, the full load period is set to six to ten o'clock, and eighteen to twenty-two o'clock, and the rest of the time is half load period.
[0048] Full load period comparison step S42, the monitoring processor compares the refueling flow value V with the refueling correction flow value Vxa of the full load period of the previous day min , judges whether the refueling flow value V is greater than or equal to the refueling correction flow value Vxa of the full load period of the previous day min , if yes, it enters the fifth step S5, otherwise, it enters the sixth step S6.
[0049] Half load period comparison step S43, the monitoring processor compares the refueling flow value V with the refueling correction flow value Va of the half load period of the previous day max , judges whether the refueling flow value V is greater than or equal to the refueling correction flow value Va of the half load period of the previous day max , if yes, it enters the fifth step S5, otherwise, it enters the sixth step S6.
[0050] The fifth step S5, the monitoring processor determines that the encoder is not faulty, clears the encoder exception number n, and returns to the first step S1.
[0051] The sixth step S6, the monitoring processor adds the encoder exception number n once.
[0052] The seventh step S7, the monitoring processor judges whether the encoder exception number n is greater than or equal to the threshold value N, wherein the threshold value N = 10. If yes, it enters the eighth step S8, otherwise, it returns to the first step S1.
[0053] The threshold value is set according to the actual situation of refueling, for example, set according to the number of times of artificially controlling the refueling gun to reduce the refueling flow in a certain period. In the present application, the threshold value is set to 10.
[0054] The eighth step S8, the monitoring processor determines that the encoder is faulty, issues an alarm, clears the encoder exception number n, and ends.
[0055] The following is illustrated by examples:
[0056] Vb min is 35L / min, Vb max is 40L / min, Va min is 34.96L / min, Va max is 39.94L / min, N=10.
[0057] At 9:58 am when the gun is lifted for refueling, the encoder generates a pulse signal, and the pulse signal is sent to the metering processor, and the metering processor calculates the refueling flow value V as 34.8L / min. The monitoring processor receives the refueling flow value V, calculates the correction coefficient f as 0.9989, and calculates the refueling correction flow value Vxa min is 34.92L / min, and the refueling correction flow value Vxa max is 39.90L / min, it is judged that the full load period is in the full load period, and it is judged that the refueling flow value V is 34.8L / min, which is less than the refueling correction flow value Vxa min is 34.92L / min, the encoder exception number n is added by one, n=1, it is judged that the encoder exception number n is less than the threshold value 10, and the next time the gun is lifted for refueling.
[0058] At 10:02 am when the gun is lifted for refueling, the encoder generates a pulse signal, and the pulse signal is sent to the metering processor, and the metering processor calculates the refueling flow value V as 41L / min. The monitoring processor receives the refueling flow value V, calculates the correction coefficient f as 0.9985, and calculates the refueling correction flow value Vxa min is 34.90L / min, and the refueling correction flow value Vxa max is 39.88L / min, it is judged that the half load period is in the half load period, and it is judged that the refueling flow value V is 41L / min, which is greater than the refueling correction flow value Vxa max is 39.88L / min, it is determined that the encoder is not faulty, the encoder exception number n is cleared, and the next time the gun is lifted for refueling.
[0059] When the encoder is abnormal, the output pulse signal is sometimes present and sometimes absent, which causes the calculated refueling flow value to be lower than the refueling correction flow value of the same period of the previous day. The application compares the refueling flow value with the refueling correction flow value of the same period of the previous day, so that whether the encoder is faulty can be quickly judged.
[0060] The influence coefficient of the filtering device on the refueling flow, i.e. the correction coefficient f, is calculated by comparing the average refueling flow value of the same period of the previous day with the average refueling flow value of the same period of the previous two days. The average refueling flow value of the previous day is multiplied by the correction coefficient f to obtain the corrected refueling flow value Vxa of the different period of the previous day, so as to eliminate the influence of the decrease in the permeability of the filtering device on the refueling flow. The refueling flow value V is compared with the corrected refueling flow value Vxa of the same period of the previous day, so as to improve the accuracy of the detection result.
[0061] The corrected refueling flow value of the multiple refuelings is compared with the average refueling flow value of the same period of the previous day, so as to prevent the influence of human speed control on the refueling flow, and thus accurately determine whether the encoder is faulty.
[0062] It should be noted that the above embodiments illustrate the application rather than limit the application, and alternative embodiments can be designed by those skilled in the art without departing from the scope of the appended claims.
Claims
1. A method for determining the validity of a fuel dispenser encoder, characterized in that, include, In the first step (S1), when the nozzle is raised for refueling, the encoder sends a pulse signal; The second step (S2) is to calculate the refueling flow rate V based on the pulse signal. The third step (S3) is to correct the average refueling flow rate Va for different time periods of the previous day to obtain the corrected refueling flow rate Vxa for different time periods of the previous day. Step 4 (S4): Determine whether the refueling flow rate V is greater than or equal to the refueling correction flow rate Vxa of the same period of the previous day. If yes, proceed to step 5 (S5); otherwise, proceed to step 6 (S6). Step 5 (S5): Determine that the encoder is fault-free, clear the encoder error count n to zero, and return to step 1 (S1). Step 6 (S6): Increment the encoder error count n by one. Step 7 (S7): Determine whether the number of encoder anomalies n is greater than or equal to the threshold N. If yes, proceed to step 8 (S8); otherwise, return to step 1 (S1). Step 8 (S8): Identify encoder malfunction, issue an alarm, reset the encoder malfunction count n to zero, and end the process. Step 3 (S3) includes retrieving the average refueling flow rate Va from the previous day's full-load period. min Multiply by the correction factor f for the full load period min The corrected refueling flow rate Vxa for the full-load period of the previous day is obtained. min The average refueling flow rate Va during the half-load period of the previous day. max Multiply by the correction factor f for the half-load period max The corrected refueling flow rate Vxa for the previous day's half-load period was obtained. max ; Wherein, the correction coefficient f min and f max All ≤1 f min =Go min / Vb min ; f max =Go max / Vb max ; Vb min This represents the average refueling flow rate during the full-load period of the previous two days, Vb max This represents the average refueling flow rate during the half-load period of the previous two days. The full-load periods are from 6:00 to 10:00 and from 18:00 to 22:00, with the remaining time being half-load periods.
2. The method for determining the validity of the fuel dispenser encoder according to claim 1, characterized in that, The fourth step (S4) includes, The refueling time period determination step (S41) determines whether it is in the full load period based on the refueling time. If it is, proceed to the full load period comparison step (S42); otherwise, proceed to the half load period comparison step (S43). In the full-load period comparison step (S42), determine whether the refueling flow rate value V is greater than or equal to the refueling correction flow rate value Vxa of the previous day's full-load period. min If yes, proceed to step five (S5); otherwise, proceed to step six (S6). In the half-load period comparison step (S43), determine whether the refueling flow rate value V is greater than or equal to the refueling correction flow rate value Vxa of the previous day's half-load period. max If yes, proceed to step five (S5); otherwise, proceed to step six (S6).
3. The method for determining the validity of the fuel dispenser encoder according to claim 1, characterized in that, The threshold N is 10.
Citation Information
Patent Citations
Fuel leakage monitoring method for fuel machine of gas station
CN106276767A
Oiling machine system with self-checking function and self-checking method of oiling machine system
CN115973987A