Original data black box of oiling machine
By setting up the original data black box on the tanker and recording the refueling volume and time in real time, the problems of cheating and tax evasion of the tanker measurement are solved, the accuracy of the tanker measurement and data reliability are achieved, and a digital supervision service system is built.
Patent Information
- Application Number
- CN202510626971.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2025-07-22
AI Technical Summary
Existing tankers are prone to tampering with data in the background, resulting in problems of metering cheating and tax evasion.
Design a raw data black box of the tanker, including the main control circuit, pulse signal acquisition circuit, clock circuit, Bluetooth circuit, voltage stabilization circuit and storage circuit, record the refueling amount and time information in real time, and connect it to the external reader through the Bluetooth circuit to provide data analysis and verification functions.
The accuracy of the tanker measurement and data reliability have been achieved, a digital full data supervision service system has been built, administrative efficiency has been improved, and the problems of metrology cheating and tax evasion have been solved.
Smart Images

Figure CN120356276A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fuel dispensers, and particularly to a black box for original data of a fuel dispenser. Background Art
[0002] A black box is a device used to record data for subsequent viewing and data investigation and analysis. For example, the black box on an airplane is used to record the flight status information of the airplane and the sounds in the cockpit, and these data are used to help accident investigators reconstruct the critical moments during the flight and provide important clues about the cause of the accident.
[0003] With the continuous development of the social economy and the increasing number of motor vehicles, the number of gas stations in some large and medium-sized cities or their surrounding areas is also increasing day by day. As an important part of gas stations, there are numerous domestic fuel dispensers of different brands and models at present. However, the existing fuel dispensers are prone to tampering with refueling data in the background, causing problems such as measurement cheating, and avoiding the supervision of regulatory authorities. Summary of the Invention
[0004] Objective of the present invention: In order to overcome the defects of the prior art, the present invention provides a black box for original data of a fuel dispenser, which can record information such as refueling volume and refueling time in real time, facilitate subsequent supervision, and solve measurement cheating, tax evasion, etc. from the source.
[0005] Technical solution of the present invention: A black box for original data of a fuel dispenser includes a main control circuit, a pulse signal acquisition circuit, a clock circuit, a Bluetooth circuit, a voltage stabilization circuit, and a storage circuit; Among them, The pulse signal acquisition circuit monitors the level change of the line, calculates the fuel volume according to the pulse quantity, transmits the fuel volume to the main control circuit, and the main control circuit outputs it to the storage circuit to store the data in the storage circuit; The storage circuit records the refueling time and the refueling volume; The clock circuit provides accurate and stable timing signals for timing query; The Bluetooth circuit inserts an external reader to read the data record stored in the storage circuit for analysis and verification; The voltage stabilization circuit provides the required voltage for each circuit to ensure the stable operation of each circuit; The main control circuit controls and manages other circuits. The input end of the main control circuit is connected to the pulse signal acquisition circuit, the clock circuit, and the voltage stabilization circuit, and the output end of the main control circuit is connected to the Bluetooth circuit and the storage circuit. The pulse signal acquisition circuit is connected to the encoder and the main board of the fuel dispenser.
[0006] Further setting, the main control circuit includes a main control module, a resistor R3, a resistor R4, a resistor R9, a resistor R11, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, and a crystal Y2. Both ends of the crystal Y2 and the resistor R9 are connected to the main control module. One end of the capacitors C13 and C14 is connected to the resistor R9, and the other end is grounded. The capacitors C5, C6, C7, and C8 are connected in parallel, and one end is connected to one end of the resistor R3, and the other end is grounded. The other end of the resistor R3 is connected to the main control module. The capacitors C11 and C12 are connected in parallel, and one end is connected to the main control module, and the other end is grounded. One end of the resistor R4 is connected to the capacitor C11, and the other end is connected to the power supply. One end of the resistor R11 is connected to the main control module, and the other end is grounded.
[0007] Further setting, the pulse signal acquisition circuit includes an optocoupler switch O1, an optocoupler switch O2, a resistor R17, a resistor R18, a resistor R19, and a resistor R20. One end of the optocoupler switch O1 is connected to the resistor R17, an encoder, and the main board of the oil engine. The other end of the optocoupler switch O1 is connected to the main control module through the resistor R18. The other end of the resistor R17 is connected to the encoder. One end of the optocoupler switch O2 is connected to the resistor R19, the encoder, and the main board of the oil engine. The other end of the optocoupler switch O2 is connected to the main control module through the resistor R20. The other end of the resistor R19 is connected to the resistor R17.
[0008] Further setting, the clock circuit includes a clock module, a resistor R16, a resistor R21, and a resistor R23. The clock module is connected to the main control module. One ends of the resistor R16, the resistor R21, and the resistor R23 are all connected to the clock module, and the other end of the resistor R21 is grounded. The other ends of the resistor R16 and the resistor R23 are connected to the power supply.
[0009] Further setting, the Bluetooth circuit includes a Bluetooth module and a communication indicator module, an indicator status module, a capacitor C9, a capacitor C10, a crystal Y1, a resistor R12, and a resistor R13 connected to the Bluetooth module. The Bluetooth module is connected to the main control module. The communication indicator module includes a resistor R5, a resistor R6, a resistor R7, a resistor R8, an LED2, and an LED3. Both ends of the resistor R6 are respectively connected to both ends of the LED2. Both ends of the resistor R8 are respectively connected to both ends of the LED3. One end of the resistor R5 is connected to the LED3. One end of the resistor R7 is connected to the LED3. The other ends of the resistor R5 and the resistor R7 are connected to the power supply. The other ends of the LED2 and the LED3 are both connected to the Bluetooth module. The indicator status module includes an LED4 and a resistor R10. One end of the LED4 is connected to the Bluetooth module, and the other end is connected to one end of the resistor R10. The other end of the resistor R10 is grounded.
[0010] Further setting: The voltage stabilizing circuit includes a voltage stabilizing module, resistor R1, capacitor C1, capacitor C2, capacitor C3, capacitor C4, and LED5. One end of capacitor C1 and capacitor C2 is connected to the input end of the voltage stabilizing module, and the other end is grounded. One end of capacitor C3 and capacitor C4 is connected to the output end of the voltage stabilizing module, and the other end is connected to LED5. One end of resistor R1 is connected to LED5, and the other end is connected to the output end of the voltage stabilizing module.
[0011] Further setting: The storage circuit includes a storage module, resistor R22, and capacitor C19. The storage module is connected to the main control module. One end of resistor R22 is connected to the storage module, and the other end is connected to the power supply. One end of capacitor C19 is connected to the storage module, and the other end is grounded.
[0012] With the above technical solution, by setting a black box between the fuel nozzle on the fuel dispenser and the main board of the fuel dispenser to judge the metering of the fuel dispenser, the metering accuracy of the fuel dispenser is high. It can not only solve the pain points such as metering fraud and tax evasion from the source, but also build a digital full-data supervision service system, greatly improving administrative efficiency. And this black box is compatible with fuel dispenser equipment of different manufacturers. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is the circuit frame of the overall specific embodiment of the present invention.
[0014] Figure 2 It is the circuit diagram of the main control circuit of the specific embodiment of the present invention; Figure 3 It is the circuit diagram of the Bluetooth module of the specific embodiment of the present invention; Figure 4 It is the circuit diagram of the communication indicator module of the specific embodiment of the present invention; Figure 5 It is the circuit diagram of the indicator status module of the specific embodiment of the present invention; Figure 6 It is the circuit diagram of the clock circuit of the specific embodiment of the present invention; Figure 7 It is the circuit diagram of the storage circuit of the specific embodiment of the present invention; Figure 8 It is the circuit diagram of the pulse signal acquisition circuit of the specific embodiment of the present invention; Figure 9 It is the circuit diagram of the voltage stabilizing circuit of the specific embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0015] The following will clearly and completely describe the technical solutions in this embodiment in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.
[0016] As Figures 1-9 shown, an original data black box of a fuel dispenser includes a main control circuit, a pulse signal acquisition circuit, a clock circuit, a Bluetooth circuit, a voltage stabilization circuit, and a storage circuit; Among them, The pulse signal acquisition circuit monitors the level change of the line, calculates the fuel volume according to the pulse quantity, transmits the fuel volume to the main control circuit, and is output by the main control circuit to the storage circuit to store the data in the storage circuit; The storage circuit records the refueling time and the refueling volume; The clock circuit provides accurate and stable timing signals for timing query; The Bluetooth circuit inserts an external reader to read the data record stored in the storage circuit for analysis and verification; The voltage stabilization circuit provides the required voltage for each circuit to ensure the stable operation of each circuit; The main control circuit controls and manages other circuits. The input end of the main control circuit is connected to the pulse signal acquisition circuit, the clock circuit, and the voltage stabilization circuit. The output end of the main control circuit is connected to the Bluetooth circuit and the storage circuit. The pulse signal acquisition circuit is connected to the encoder and the oil machine main board on the fuel dispenser.
[0017] Further setting, the main control circuit includes a main control module, a resistor R3, a resistor R4, a resistor R9, a resistor R11, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, and a crystal Y2. The main control module uses STM32F103C8T6. Both ends of the crystal Y2 and the resistor R9 are connected to the main control module. One end of the capacitor C13 and the capacitor C14 is connected to the resistor R9, and the other end is grounded. The capacitors C5, C6, C7, and C8 are connected in parallel, and one end is connected to one end of the resistor R3, and the other end is grounded. The other end of the resistor R3 is connected to the main control module. The capacitors C11 and C12 are connected in parallel, and one end is connected to the main control module, and the other end is grounded. One end of the resistor R4 is connected to the capacitor C11, and the other end is connected to the power supply. One end of the resistor R11 is connected to the main control module, and the other end is grounded.
[0018] Further setting: The pulse signal acquisition circuit includes optocoupler switches O1, O2, resistors R17, R18, R19, and R20. One end of optocoupler switch O1 is connected to resistor R17, the encoder, and the main board of the oil engine. The other end of optocoupler switch O1 is connected to the main control module via resistor R18. The other end of resistor R17 is connected to the encoder. One end of optocoupler switch O2 is connected to resistor R19, the encoder, and the main board of the oil engine. The other end of optocoupler switch O2 is connected to the main control module via resistor R20. The other end of resistor R19 is connected to resistor R17. P1S1 of optocoupler switch O1 and P1S2 of optocoupler switch O2 are respectively connected to P1S1 and 1S2 of the main control module.
[0019] Further setting: The clock circuit includes a clock module, resistors R16, R21, and R23. The clock module uses FM31256. The clock module is connected to the main control module. Specifically, RESET, SCL, and SDA of the clock module are connected to RESET, SCL, and SDA of the main control module. One ends of resistors R16, R21, and R23 are all connected to the clock module. And the other end of resistor R21 is grounded. The other ends of resistors R16 and R23 are connected to the power supply.
[0020] Further setting: The Bluetooth circuit includes a Bluetooth module and a communication indicator module, an indicator status module, capacitors C9, C10, crystal Y1, resistors R12, and R13 connected to the Bluetooth module. The Bluetooth module uses ECB02C. The Bluetooth module is connected to the main control module. USART1_TX and USART1_RX of the Bluetooth module are connected to USART1_TX and USART1_RX of the main control module. The communication indicator module includes resistors R5, R6, R7, R8, LED2, and LED3. Both ends of resistor R6 are respectively connected to both ends of LED2. Both ends of resistor R8 are respectively connected to both ends of LED3. One end of resistor R5 is connected to LED3. One end of resistor R7 is connected to LED3. The other ends of resistors R5 and R7 are connected to the power supply. The other ends of LED2 and LED3 are both connected to the Bluetooth module. The indicator status module includes LED4 and resistor R10. One end of LED4 is connected to the Bluetooth module, and the other end is connected to one end of resistor R10. The other end of resistor R10 is grounded.
[0021] Further setting: The voltage stabilization circuit includes a voltage stabilization module, resistor R1, capacitors C1, C2, C3, C4, and LED5. The voltage stabilization module uses AMS1117 - 3.3. One ends of capacitors C1 and C2 are connected to the input end of the voltage stabilization module, and the other ends are grounded. One ends of capacitors C3 and C4 are connected to the output end of the voltage stabilization module, and the other ends are connected to LED5. One end of resistor R1 is connected to LED5, and the other end is connected to the output end of the voltage stabilization module.
[0022] Further setting, the storage circuit includes a storage module, a resistor R22, and a capacitor C19. The storage module uses AT45DB161. The storage module is connected to the main control module. The SPI1 CS, SPI1 CLK, SPI1 MOSI, and SPI1 MISO of the storage module are connected to the SPI1 CS, SPI1 CLK, SPI1 MOSI, and SPI1 MISO of the main control module. One end of the resistor R22 is connected to the storage module, and the other end is connected to the power supply. One end of the capacitor C19 is connected to the storage module, and the other end is grounded.
[0023] With the above technical solution, by setting a black box between the fuel gun on the fuel dispenser and the main board of the fuel dispenser to judge the metering of the fuel dispenser, the metering accuracy of the fuel dispenser is high. It can not only solve the pain points such as metering cheating and tax evasion from the source, but also build a digital full-data supervision service system, greatly improving administrative efficiency. Moreover, the black box is compatible with fuel dispenser equipment of different manufacturers. Specifically, the pulse signal acquisition circuit continuously monitors the level change of the line, and calculates the fuel output according to the preset pulse equivalent. However, when it is detected that the idle time is greater than 10 seconds, the recorded refueling is stored in the storage circuit as a refueling record for subsequent verification. The storage circuit records each refueling, and records the start time, end time, and fuel volume of the refueling. The clock circuit can set the clock through the APP of the supervision department, which is convenient for time query. The APP of the supervision department reads the refueling records stored in the storage circuit through the Bluetooth interface for subsequent analysis and verification.
Claims
1. An original data black box for a fuel dispenser, characterized in that, It includes a main control circuit, a pulse signal acquisition circuit, a clock circuit, a Bluetooth circuit, a voltage stabilization circuit and a storage circuit; Among them, The pulse signal acquisition circuit monitors the level change of the line, calculates the oil quantity according to the pulse quantity, transmits the oil quantity to the main control circuit, and is output by the main control circuit to the storage circuit to store the data in the storage circuit; The storage circuit records the refueling time and the refueling quantity; The clock circuit provides accurate and stable timing signals for timing query; The Bluetooth circuit inserts an external reader to read the data records stored in the storage circuit for analysis and verification; The voltage stabilization circuit provides the required voltage for each circuit to ensure the stable operation of each circuit; The main control circuit controls and manages other circuits. The input end of the main control circuit is connected to the pulse signal acquisition circuit, the clock circuit and the voltage stabilization circuit, and the output end of the main control circuit is connected to the Bluetooth circuit and the storage circuit. The pulse signal acquisition circuit is connected to the encoder and the oil machine main board on the fuel dispenser.
2. The original data black box of the fuel dispenser according to claim 1, characterized in that, The main control circuit includes a main control module, resistor R3, resistor R4, resistor R9, resistor R11, capacitor C5, capacitor C6, capacitor C7, capacitor C8, capacitor C11, capacitor C12, capacitor C13, capacitor C14 and crystal Y2. Both ends of the crystal Y2 and resistor R9 are connected to the main control module. One end of capacitor C13 and capacitor C14 is connected to resistor R9, and the other end is grounded. Capacitor C5, capacitor C6, capacitor C7 and capacitor C8 are connected in parallel, and one end is connected to one end of resistor R3, and the other end is grounded. The other end of resistor R3 is connected to the main control module. Capacitor C11 and capacitor C12 are connected in parallel, and one end is connected to the main control module, and the other end is grounded. One end of resistor R4 is connected to capacitor C11, and the other end is connected to the power supply. One end of resistor R11 is connected to the main control module, and the other end is grounded.
3. The original data black box of the fuel dispenser according to claim 2, characterized in that, The pulse signal acquisition circuit includes optocoupler switches O1, O2, resistor R17, resistor R18, resistor R19 and resistor R20. One end of optocoupler switch O1 is connected to resistor R17, the encoder and the oil machine main board. The other end of optocoupler switch O1 is connected to the main control module through resistor R18. The other end of resistor R17 is connected to the encoder. One end of optocoupler switch O2 is connected to resistor R19, the encoder and the oil machine main board. The other end of optocoupler switch O2 is connected to the main control module through resistor R20. The other end of resistor R19 is connected to resistor R17.
4. The original data black box of the fuel dispenser according to claim 2, characterized in that, The clock circuit includes a clock module, resistor R16, resistor R21 and resistor R23. The clock module is connected to the main control module. One ends of resistor R16, resistor R21 and resistor R23 are all connected to the clock module. The other end of resistor R21 is grounded. The other ends of resistor R16 and resistor R23 are connected to the power supply.
5. The original data black box of the fuel dispenser according to claim 2, characterized in that, The Bluetooth circuit includes a Bluetooth module and a communication indicator module, an indicator status module, capacitor C9, capacitor C10, crystal Y1, resistor R12, and resistor R13 connected to the Bluetooth module. The Bluetooth module is connected to the main control module. The communication indicator module includes resistor R5, resistor R6, resistor R7, resistor R8, LED2, and LED3. Both ends of resistor R6 are respectively connected to both ends of LED2, both ends of resistor R8 are respectively connected to both ends of LED3, one end of resistor R5 is connected to LED3, one end of resistor R7 is connected to LED3, the other ends of resistor R5 and resistor R7 are connected to the power supply, and the other ends of LED2 and LED3 are both connected to the Bluetooth module. The indicator status module includes LED4 and resistor R10. One end of LED4 is connected to the Bluetooth module, and the other end is connected to one end of resistor R10. The other end of resistor R10 is grounded.
6. The original data black box of the fuel dispenser according to claim 2, characterized in that, The voltage stabilizing circuit includes a voltage stabilizing module, resistor R1, capacitor C1, capacitor C2, capacitor C3, capacitor C4, and LED5. One end of capacitor C1 and capacitor C2 is connected to the input end of the voltage stabilizing module, and the other end is grounded. One end of capacitor C3 and capacitor C4 is connected to the output end of the voltage stabilizing module, and the other end is connected to LED5. One end of resistor R1 is connected to LED5, and the other end is connected to the output end of the voltage stabilizing module.
7. The original data black box of the fuel dispenser according to claim 2, characterized in that, The storage circuit includes a storage module, resistor R22, and capacitor C19. The storage module is connected to the main control module. One end of resistor R22 is connected to the storage module, and the other end is connected to the power supply. One end of capacitor C19 is connected to the storage module, and the other end is grounded.
Citation Information
Patent Citations
ETC-based gas station charging system
CN111489494A
Gas station tax evasion prevention system and method
CN113460939A
Tax accuse tanker aircraft intelligent control ware
CN206594498U
Oiling machine signal on-line monitoring collector
CN209373398U
Data acquisition equipment of oiling machine
CN217238659U