Disassembly failure encoder
By setting up volatile memory and switching circuits in the tanker encoder to prevent information tampering, the problem of inaccurate encoder counting is solved, and the accuracy of the fueling volume and data security are ensured.
Patent Information
- Application Number
- CN202420803450.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2034-04-18
AI Technical Summary
The existing tanker encoder is prone to cracking and tampering, resulting in inaccurate gas counting and affecting data security and effectiveness.
A disassembled and failed encoder was designed. By setting volatile memory and switching circuits in the encoder, it ensures that when the case cover is opened, the power supply of the volatile memory is disconnected, and the encoder cannot continue to operate, preventing information. Tamper with it, and check whether the key information is normal in real time through the microprocessor to generate an accurate output signal.
It effectively prevents the encoder information from being tampered with, ensures the accuracy of the refueling volume counting, avoids the problem of inaccurate counting, and protects the interests of gas stations and consumers.
Smart Images

Figure CN222049082U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to an encoder for a refueling machine, in particular to an encoder that fails after being disassembled. Background Art
[0002] Gas stations usually use encoders to measure the amount of fuel. The encoder uses photoelectric or magnetoelectric conversion technology to convert analog flow information into digital signals and then output them. The metering device calculates the fueling data based on the output signal of the encoder. For example, a magnetic encoder is an encoder that converts changes in the magnetic field into electrical pulses or digital signals for output. The magnetic encoder has a built-in circuit board and a rotating shaft. A magnetic sensor is set on the circuit board. A magnet is set at one end of the rotating shaft close to the magnetic sensor, and the other end is used to insert into the flow measurement transducer. When refueling, the oil pump will pressurize the refueling pipe. When oil flows through the refueling pipe, it will drive the flow measurement transducer to rotate. The flow measurement transducer drives the encoder's rotating shaft to rotate, thereby driving the magnet to rotate. After the circuit board senses the changes in the magnetic field around the magnet through the magnetic sensing chip, it outputs a pulse or digital signal. After receiving the pulse or digital signal, the metering device calculates the oil volume information and the amount.
[0003] However, the existing encoders are easy to be cracked and tampered with in terms of internal structure, hardware circuits and software programs after being opened, affecting data security and validity, resulting in the magnetic encoder being unable to accurately send pulses or digital signals, that is, the output pulse or digital signal data does not match the actual refueling volume, resulting in inaccurate counting, which cannot be discovered in time, causing the calculated refueling flow rate to be far lower than the normal refueling flow rate, causing the gas station to have an undercount of oil output, resulting in losses for the gas station, or causing the calculated refueling flow rate to be far higher than the normal refueling flow rate, damaging the interests of consumers.
[0004] The utility model aims to solve the problem that the information in the encoder is easily tampered with, so that the encoder cannot accurately send pulses or digital signals, resulting in inaccurate refueling measurement. Utility Model Content
[0005] In order to solve the above problems, the utility model provides a disassembly failure encoder, including a housing 1, a rotating shaft 2, a circuit board 3 and a disassembly failure device 4. The interior of the housing 1 is divided into an upper chamber 12 located at the upper part and a lower chamber 13 located at the lower part by a partition 11. The top of the upper chamber 12 is sealed by a housing cover 14. The rotating shaft 2 is vertically arranged in the lower chamber 13, rotatably connected to the housing 1, and a magnet 21 is arranged on the top.
[0006] The circuit board 3 is horizontally arranged in the upper cavity 12, and is located above the magnet 21. A microprocessor 31 and a magnetic sensor 32 are arranged at the position of the bottom of the circuit board 3 corresponding to the magnet 21. The disassembly failure device 4 includes a volatile memory 41, a battery 42 and a switch 43. The volatile memory 41, the battery 42 and the switch 43 are installed on the circuit board 3. The volatile memory 41 is connected to the battery 42 through the switch 43. The switch 43 is a normally open switch, which is installed on the side of the circuit board 3 facing the casing cover 14 and is pressed in a closed state by the casing cover 14 installed on the shell 1.
[0007] Preferably, it also includes a ejector pin 44, which is vertically arranged on the bottom surface of the casing cover 14 and perpendicular to the casing cover 14. The length of the ejector pin 44 is set so that when the casing cover 14 is installed on the shell 1, the lower end of the ejector pin 44 can press the switch 43 to close it, and when the casing cover 14 is opened, the lower end of the ejector pin 44 can trigger the switch 43 to open.
[0008] The utility model sets a volatile memory 41 and a switch 43 circuit on the encoder. After the housing cover 14 of the encoder is installed, the switch 43 is in a closed and conductive state, and the battery 42 supplies power to the volatile memory 41. The key information of the encoder is stored in the volatile memory 41. The microprocessor 31 checks in real time whether the key information is normal. When it is normal, the microprocessor 31 receives the induction signal generated by the magnetic sensor 32, processes it, and generates an output signal. The output signal is output to the outside by the cable 33 connected to the circuit board 3.
[0009] When the housing cover 14 of the encoder is opened, the switch 43 is turned off, the power supply of the volatile memory 41 is cut off, the key information stored in the volatile memory 41 is lost, the microprocessor 31 detects the loss of the key information, the encoder stops working and reports an error to the external circuit through the cable 33. At this time, even if the housing cover 14 is closed again, the encoder will not continue to operate because the product serial number as key information in the volatile memory 41 has been lost. Therefore, the utility model can timely detect when the housing cover 14 of the encoder is opened, prevent the information in the encoder from being tampered with, and make the encoder unable to accurately send pulses or digital signals, resulting in inaccurate counting.
[0010] Preferably, the rotating shaft 2 is rotatably connected to the housing 1 via a bearing 22, which can reduce friction resistance and improve rotation efficiency.
[0011] Preferably, a cable 33 is connected to the circuit board 3, and the cable 33 is used to transmit signals.
[0012] Preferably, a power line 34 is connected to the circuit board 3 , and the microprocessor 31 is powered from the outside via the power line 34 .
[0013] Preferably, the casing cover 14 is detachably connected to the housing 1 via bolts 15 .
[0014] Preferably, the circuit board 3 is fixedly installed in the upper cavity 12 by screws 35 .
[0015] Preferably, a connection block 16 is provided at the lower end of the housing 1, and a mounting hole 17 is provided on the connection block 16. The mounting hole 17 can be provided to facilitate fixing the encoder on the flow measurement transducer by means of bolts 15. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 .Disassemble the overall structure diagram of the failed encoder;
[0017] Figure 2 .Disassemble the top structure diagram of the failed encoder;
[0018] Figure 3 .Disassemble the failed encoder side structure diagram;
[0019] Figure 4 . Figure 2 Schematic diagram of the AA section;
[0020] Figure 5 . Figure 4 The enlarged schematic diagram at C in the middle;
[0021] Figure 6 . Figure 2 Schematic diagram of the middle BB section;
[0022] Figure 7 . Figure 3 Schematic diagram of the middle DD section;
[0023] Figure 8 . Schematic diagram of the working state when the casing cover is closed;
[0024] Fig. 9 . Schematic diagram of the working state when the casing cover is opened;
[0025] Fig.10 . Schematic diagram of the working state when the casing cover is closed in the modified example;
[0026] Fig.11 . Schematic diagram of the working status when the casing cover is opened in the modified example.
[0027] In the figure, 1. shell, 11. partition, 12. upper cavity, 13. lower cavity, 14. housing cover, 15. bolt, 16. connecting block, 17. mounting hole, 18. cable port, 2. rotating shaft, 21. magnet, 22. bearing, 3. circuit board, 31. microprocessor, 32. magnetic sensor, 33. cable, 34. power cord, 35. screw, 36. terminal, 4. disassembly failure device, 41. volatile memory, 42. battery, 43. switch, 44. ejector pin. DETAILED DESCRIPTION
[0028] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0029] like Figure 1 , Figure 2 and Figure 3 As shown, the disassembled failed encoder includes a housing 1, a rotating shaft 2, a circuit board 3 and a disassembled failed device 4.
[0030] The top of the housing 1 is provided with a housing cover 14, the side wall is provided with a cable port 18, the lower end is provided with a connection block 16, and the connection block 16 is provided with a mounting hole 17. The mounting hole 17 can be provided to facilitate the encoder to be fixedly mounted on the flow measurement transducer by bolts 15.
[0031] The interior of the housing 1 is divided into an upper chamber 12 located at the top and a lower chamber 13 located at the bottom by a partition 11. The top of the upper chamber 12 is sealed by a housing cover 14, and the bottom of the lower chamber 13 is open. Figure 4 .
[0032] The casing cover 14 is detachably connected to the housing 1 via bolts 15 .
[0033] like Figure 4 and Figure 5 As shown, the rotating shaft 2 is vertically arranged in the lower cavity 13 and is rotatably connected to the housing 1 through a bearing 22. The rotating shaft 2 can rotate freely in both directions. A magnet 21 is arranged on the top. The lower end of the rotating shaft 2 is used to be inserted into a flow measurement transducer and is driven to rotate by the fluid.
[0034] The circuit board 3 is horizontally arranged in the upper cavity 12 , and a microprocessor 31 and a magnetic sensor 32 are arranged at a position corresponding to the magnet 21 at the bottom of the circuit board 3 fixed by screws 35 .
[0035] The magnetic sensor 32 is aligned with the magnet 21 and is located directly above the magnet 21 to detect the rotation information of the magnet 21 and generate a corresponding induction signal. In this embodiment, the magnetic sensor 32 is a Hall element.
[0036] The circuit board 3 is connected to a cable 33 and a power line 34 via a terminal block 36. Figure 6 .
[0037] One end of the cable 33 is connected to the circuit board 3, and the other end extends to the outside of the housing 1 through the cable port 18 for transmitting pulses or digital signals. There are three cables 33, one for outputting pulses or digital signals, one for inputting signals, and the other for grounding.
[0038] Two power lines 34 are provided, one end of which is connected to the circuit board 3 , and the other end of which extends through the cable port 18 to the outside of the housing 1 and is connected to an external power source, so as to supply power to components such as the microprocessor 31 .
[0039] like Figure 4 , Figure 5 and Figure 7 As shown, the disassembly failure device 4 includes a volatile memory 41 , a battery 42 , a switch 43 and a ejector pin 44 . The volatile memory 41 , the battery 42 and the switch 43 are mounted on the circuit board 3 .
[0040] The volatile memory 41 is connected to the battery 42 via a switch 43 . The switch 43 is a normally open switch. In this embodiment, the switch 43 is a mechanical touch switch installed on the side of the circuit board 3 facing the housing cover 14 .
[0041] The volatile memory 41 stores key information when the power is on and the stored key information is lost when the power is off. In this embodiment, the key information is the product serial number of the encoder. In other embodiments, the key information may also be other information that can represent the identity of the encoder.
[0042] The ejector pin 44 is vertically arranged on the bottom surface of the casing cover 14 and is perpendicular to the casing cover 14. The lower end of the ejector pin 44 is aligned with the switch 43. When the casing cover 14 is installed on the shell 1, the ejector pin 44 presses the switch 43 to close it, and the volatile memory 41 is powered on. When the casing cover 14 is opened, the ejector pin 44 is disengaged from the switch 43, the switch 43 is disconnected, and the volatile memory 41 is powered off.
[0043] The length of the ejector pin 44 is set so that when the housing cover 14 is installed on the housing 1, the lower end of the ejector pin 44 can trigger the switch 43 to close, and when the housing cover 14 is opened, the lower end of the ejector pin 44 can trigger the switch 43 to open.
[0044] The ejector pin 44 can also be installed in the housing 1 through a bracket, located above the push switch 43, and can move up and down.
[0045] The microprocessor 31 receives the induction signal generated by the magnetic sensor 32 , processes it, and generates a pulse or digital signal as an output signal, which is output to the outside through a cable 33 connected to the circuit board 3 .
[0046] The microprocessor 31 checks in real time whether the key information in the volatile memory 41 is normal. If normal, the microprocessor 31 receives the induction signal generated by the magnetic sensor 32, processes it, and generates an output signal, which is output to the outside through the cable 33 connected to the circuit board 3. If the microprocessor 31 detects that the key information in the volatile memory 41 is lost, the encoder stops working and reports an error to the external circuit through the cable 33.
[0047] When using, Figure 8 As shown, after the housing cover 14 of the encoder is installed, the switch 43 is in a closed and conducting state, and the battery 42 supplies power to the volatile memory 41. After that, the product serial number of the encoder is input to the microprocessor 31 through the cable 33, and the microprocessor 31 writes the product serial number into the volatile memory 41 for storage. When the microprocessor 31 processes the sensing signal, it verifies in real time whether the product serial number is stored in the volatile memory 41. If the product serial number is stored, the microprocessor 31 processes the sensing signal to generate a pulse or digital signal as an output signal, and outputs it to the outside through the cable 33.
[0048] like Fig. 9 As shown, when the housing cover 14 of the encoder is opened, the switch 43 is disconnected, the volatile memory 41 is powered off, and the product serial number stored in the volatile memory 41 is lost. When the signal processing module in the microprocessor 31 performs signal processing, it verifies that there is no product serial number in the volatile memory 41, stops signal processing, and reports an error to the external circuit through the cable 33.
[0049] Modifications
[0050] In this modified example, the disassembly failure device 4 uses a photoelectric switch 43a as a switch, and does not have a pin 44. The other structures are exactly the same as those in the previous embodiment, and are not described here. When light is sensed, the photoelectric switch 43a is disconnected, and when light is not sensed, the photoelectric switch 43a is closed, and the circuits at both ends are connected.
[0051] like Fig.10 As shown, after the housing cover 14 of the encoder is installed, the photoelectric switch 43a cannot sense light, the photoelectric switch 43a is closed, the connection between the volatile memory 41 and the battery 42 is turned on, and the battery 42 supplies power to the volatile memory 41.
[0052] Afterwards, the product serial number of the encoder is input to the microprocessor 31 through the cable 33, and the information writing module in the microprocessor 31 writes the product serial number into the volatile memory 41 for storage. When the microprocessor 31 processes the sensing signal, it checks in real time whether the product serial number is stored in the volatile memory 41. If the product serial number is stored, the microprocessor 31 processes the sensing signal to generate a pulse or digital signal as an output signal, and outputs it to the outside through the cable 33.
[0053] like Fig.11 As shown, when the housing cover 14 is opened, light enters the shell 1. When the photoelectric switch 43a senses light in the shell 1, the photoelectric switch 43a is disconnected, the volatile memory 41 loses power supply, and the product serial number stored in the volatile memory 41 is lost. When the signal processing module in the microprocessor 31 is performing signal processing, the verification module cannot verify the product serial number in the volatile memory 41, and the signal processing module stops signal processing and reports an error to the external circuit through the cable 33.
[0054] The storage of the product serial number in the volatile memory 41 is described below.
[0055] After the encoder is installed, the switch 43 is in the on state, and the battery 42 supplies power to the volatile memory 41. The cable 33 and the power line 34 are connected to the external circuit, and the external circuit communicates with the microprocessor 31 through the cable 33, and sends the product serial number as key information to the microprocessor 31. After receiving the product serial number, the microprocessor 31 writes the product serial number into the volatile memory 41.
[0056] The utility model sets a volatile memory 41 and a switch 43 circuit on the encoder. After the housing cover 14 of the encoder is installed, the switch 43 is in a closed and conducting state, and the battery 42 supplies power to the volatile memory 41. The volatile memory 41 stores the key information of the encoder. The microprocessor 31 checks in real time whether the key information is normal. When it is normal, the microprocessor 31 receives the induction signal generated by the magnetic sensor 32, processes it, generates an output signal, and outputs it to the outside through the cable 33. After the housing cover 14 is opened, the switch 43 is turned off, and the key information of the volatile memory 41 is lost after the power is cut off. The microprocessor 31 detects that the key information is lost, stops working, and reports an error to the external circuit through the cable 33. At this time, even if the housing cover 14 is closed again, the encoder will not continue to run because the product serial number as the key information in the volatile memory 41 has been lost.
[0057] Therefore, the utility model can timely detect when the housing cover 14 of the encoder is opened, thereby preventing the information in the encoder from being tampered with, making the encoder unable to accurately send pulses or digital signals, and causing inaccurate measurement.
[0058] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims.
Claims
1. Disassemble the failed encoder, characterized in that: It comprises a housing (1), a rotating shaft (2), a circuit board (3) and a disassembly failure device (4); The interior of the housing (1) is divided into an upper chamber (12) located at the top and a lower chamber (13) located at the bottom by a partition (11), and the top of the upper chamber (12) is sealed by a housing cover (14); The rotating shaft (2) is vertically arranged in the lower chamber (13), rotatably connected to the housing (1), and a magnet (21) is arranged on the top; The circuit board (3) is horizontally arranged in the upper cavity (12) and is located above the magnet (21); a microprocessor (31) and a magnetic sensor (32) are arranged at a position on the bottom of the circuit board (3) corresponding to the magnet (21); The disassembly failure device (4) comprises a volatile memory (41), a battery (42) and a switch (43). The volatile memory (41), the battery (42) and the switch (43) are mounted on a circuit board (3); the volatile memory (41) is connected to the battery (42) via the switch (43); The switch (43) is a normally open switch, which is mounted on a side of the circuit board (3) facing the housing cover (14) and is pressed into a closed state by the housing cover (14) mounted on the housing (1).
2. The dismantled failed encoder according to claim 1, characterized in that: Also includes an ejector pin (44), The ejector pin (44) is vertically arranged on the bottom surface of the casing cover (14) and is perpendicular to the casing cover (14). The length of the ejector pin (44) is set so that when the casing cover (14) is installed on the housing (1), the lower end of the ejector pin (44) can press the switch (43) to close it, and when the casing cover (14) is opened, the lower end of the ejector pin (44) can trigger the switch (43) to open.
3. The dismantled failed encoder according to claim 2, characterized in that: The rotating shaft (2) is rotatably connected to the housing (1) via a bearing (22).
4. The dismantled failed encoder according to claim 3, characterized in that: The circuit board (3) is connected to a cable (33), and the cable (33) is used to transmit signals.
5. The dismantled failed encoder according to claim 4, characterized in that: The circuit board (3) is connected to a power line (34), and the microprocessor (31) is powered from the outside via the power line (34).
6. The dismantled failed encoder according to claim 5, characterized in that: The casing cover (14) is detachably connected to the housing (1) via bolts (15).
7. The dismantled failed encoder according to claim 6, characterized in that: The circuit board (3) is fixedly mounted in the upper cavity (12) by means of screws (35).
8. The disassembled failed encoder according to any one of claims 1 to 7, characterized in that: A connecting block (16) is provided at the lower end of the housing (1); The connection block (16) is provided with a mounting hole (17).
