Encoder circuit
By introducing voltage stabilization module and filter module into the encoder encoder circuit, the problem of unstable power supply of the encoder main control chip is solved, stable control and interference resistance of the input voltage are achieved, and fuel volume measurement of the refueling system is ensured. accuracy.
Patent Information
- Application Number
- CN202421308308.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2034-06-07
AI Technical Summary
The power supply circuit of the main control chip of the tanker encoder is susceptible to interference signals, resulting in instability in signal conversion and affecting the accuracy of fuel volume measurement.
An encoder circuit including a flow signal acquisition module and a voltage stabilization module is designed. The voltage stabilization chip and filtering module convert the unstable input voltage into a stable output voltage to resist noise and load changes, ensuring the encoder main control chip. stable power supply.
It effectively improves the working stability of the encoder main control chip and the accuracy of signal conversion, ensuring the reliability of fuel volume measurement of the tanker system.
Smart Images

Figure CN222319333U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of encoders, and in particular to an encoder circuit. Background Art
[0002] The fuel dispenser encoder is the core component of the fuel dispenser system. When the start button of the fuel dispenser is turned on, the system's motor is started, and gasoline enters the flow measurement converter. The encoder main control chip converts the angular displacement signal output by the flow measurement converter into an electrical pulse signal and transmits it to the metering MCU end of the fuel dispenser mainboard, thereby obtaining an accurate fuel volume. In this process, the encoder main control chip needs to be connected to the working power supply before it can enter the working state. However, due to the complexity of the connection between the devices, interference signals are often generated on the power supply circuit to interfere with the normal operation of the device. Therefore, the stability of the encoder main control chip connected to the power supply determines the accuracy of the signal conversion. Therefore, how to improve the stability of the power supply circuit of the encoder main control chip has become an urgent problem to be solved. Summary of the invention
[0003] In view of this, the present application proposes an encoder circuit suitable for improving the stability of the power supply circuit of the encoder main control chip.
[0004] According to one aspect of the present application, an encoder circuit is provided, characterized in that it includes: a flow signal acquisition module, a voltage stabilization module and an encoder main control chip;
[0005] The flow signal acquisition module is suitable for detecting the current flow of the fuel dispenser, and the output end of the flow signal acquisition module is electrically connected to the first input end of the encoder main control chip, and is used to input the detected current flow into the encoder main control chip; wherein the current flow detected by the flow signal acquisition module is represented by an angular displacement signal corresponding to the refueling amount;
[0006] The voltage stabilizing module includes: a voltage stabilizing chip and a filtering module; the input end of the voltage stabilizing chip is connected to the voltage signal, and the output end of the voltage stabilizing chip is electrically connected to the second input end of the encoder main control chip through the filtering module to provide a working voltage for the encoder main control chip;
[0007] The filtering module includes: an inductor and a capacitor; one end of the inductor is electrically connected to the output end of the voltage stabilizing chip, and the other end of the inductor is electrically connected to the second input end of the encoder main control chip; one pole of the capacitor is electrically connected to one end of the inductor connected to the encoder main control chip, and the other pole of the capacitor is grounded.
[0008] In a possible implementation, the method further includes: a storage device;
[0009] The first input end of the storage device is electrically connected to the output end of the encoder main control core.
[0010] In a possible implementation, it further includes: a backup power supply module; the output end of the backup power supply module is electrically connected to the second input end of the storage device, and is suitable for providing an operating voltage for the storage device.
[0011] In a possible implementation, the storage device uses a non-volatile memory.
[0012] In a possible implementation, the model of the voltage regulator chip is SGM6013.
[0013] Beneficial effects: The voltage stabilizing module is suitable for converting unstable input voltage into stable output voltage to supply the encoder main control chip for use, accurately controlling the output voltage, stabilizing the output voltage and resisting interference such as input voltage changes, noise and load changes. This application uses the voltage stabilizing module to filter and stabilize the voltage input to the encoder main control chip, which can effectively ensure the efficiency and stability of the power supply process, thereby ensuring the working stability of the encoder main control chip and the accuracy of signal conversion.
[0014] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.
[0016] Figure 1 A circuit diagram showing an encoder circuit according to an embodiment of the present application;
[0017] Figure 2 A circuit diagram of a flow signal acquisition module according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0018] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0019] Among them, it needs to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the utility model or simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the utility model.
[0020] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present utility model, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0021] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0022] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0023] Figure 1 FIG. 1 shows a circuit diagram of an encoder circuit according to an embodiment of the present application. Figure 1As shown, the encoder circuit includes: a flow signal acquisition module, a voltage stabilizing module 100 and an encoder main control chip U1; the flow signal acquisition module is suitable for detecting the current flow of the fuel dispenser, and the output end of the flow signal acquisition module is electrically connected to the first input end of the encoder main control chip U1, for inputting the detected current flow signal into the encoder main control chip U1; the voltage stabilizing module 100 includes: a voltage stabilizing chip U3 and a filtering module; the input end of the voltage stabilizing chip U3 is connected to the voltage signal, and the output end of the voltage stabilizing chip U3 is electrically connected to the second input end of the encoder main control chip U1 through the filtering module for providing a working voltage for the encoder main control chip U1; the filtering module includes: an inductor L1 and a capacitor E1; one end of the inductor L1 is electrically connected to the output end of the voltage stabilizing chip U3, and the other end of the inductor L1 is electrically connected to the second input end of the encoder main control chip U1; one pole of the capacitor E1 is electrically connected to one end of the inductor L1 connected to the encoder main control chip U1, and the other pole of the capacitor E1 is grounded.
[0024] Here, it should be noted that the flow signal acquisition module is suitable for collecting the amount of oil output by the fuel dispenser, and transmitting the angular displacement signal to the encoder main control chip U1. The encoder main control chip U1 converts the angular displacement signal into two corresponding pulse signals carrying the oil amount information, and outputs the two pulse signals carrying the oil amount information to the metering MCU end, and the metering MCU end then obtains the accurate fuel volume through calculation. The voltage stabilizing module 100 is suitable for converting unstable input voltage into a stable output voltage to supply the encoder main control chip U1 for use, accurately controlling the output voltage, stabilizing the output voltage and resisting interference such as changes in input voltage, noise and load changes. The present application filters and stabilizes the working voltage input to the encoder main control chip U1 through the voltage stabilizing module 100, which can effectively ensure the efficiency and stability of the power supply process, thereby ensuring the working stability of the encoder main control chip U1 and the accuracy of signal conversion.
[0025] In a possible implementation, the voltage stabilizing module 100 includes: a voltage stabilizing chip U3 and a filtering module; the input end of the voltage stabilizing chip U3 is connected to the power signal, and the output end of the voltage stabilizing chip U3 is electrically connected to the first input end of the encoder main control chip U1 through the filtering module. Further, the model of the voltage stabilizing chip U3 is SGM6013; Figure 1 As shown, the 1st pin (VIN terminal) and the 3rd pin (RUN terminal) of the voltage regulator chip U3 are connected to the voltage, and the 2nd pin (GND terminal) of the voltage regulator chip U3 is grounded; the 4th pin (VFB terminal) of the voltage regulator chip U3 is electrically connected to the 63rd pin (VDD terminal) of the encoder main control chip U1 to connect to the feedback voltage; the 5th pin (OUT terminal) of the voltage regulator chip U3 is electrically connected to the 63rd pin (VDD terminal) of the encoder main control chip U1 to output the voltage to the encoder main control chip U1.
[0026] In a possible implementation, the filtering module includes: an inductor L1 and a capacitor E1; Figure 1 As shown, one end of the inductor L1 is electrically connected to the 5th pin (OUT end) of the voltage stabilizing chip U3, and the other end of the inductor L1 is electrically connected to the 63rd pin (VDD end) of the encoder main control chip U1. One pole of the capacitor E1 is electrically connected to the connection circuit between the inductor L1 and the encoder main control chip U1, and the other pole of the capacitor E1 is grounded. It should be noted that the filter module is suitable for filtering the voltage signal output from the voltage stabilizing chip U3 to the encoder main control chip U1.
[0027] In a possible implementation, a capacitor C4 is further included; one electrode of the capacitor C4 is electrically connected to the circuit where the voltage is connected to the first pin (VIN terminal) of the voltage regulator chip U3, and the other electrode of the capacitor C4 is grounded. It should be noted that the capacitor C4 is suitable for filtering the voltage signal connected to the voltage regulator chip U3.
[0028] In a possible implementation, it further includes: a storage device U6; a first input end of the storage device U6 is electrically connected to an output end of the encoder main control core. It should be noted that the storage device U6 is suitable for storing the oil volume data output by the fuel dispenser each time.
[0029] In a possible implementation, the storage device U6 uses a non-volatile memory. It should be noted that the non-volatile memory can still retain the stored data after the power is turned off. Figure 1 As shown, the first pin (VCC2 end) and the fourth pin (GND end) of the storage device U6 are both grounded; the eighth pin (VCC1 end) of the storage device U6, i.e., the second input end of the storage device U6, is electrically connected to the backup power supply module and is suitable for accessing the backup working voltage. The first input end of the storage device U6 is the seventh pin (SCLK end), the sixth pin (I / O end) and the fifth pin (CE end) of the storage device U6; the seventh pin (SCLK end) of the storage device U6 is electrically connected to the eighth pin of the encoder main control chip U1; the sixth pin (I / O end) of the storage device U6 is electrically connected to the ninth pin of the encoder main control chip U1; the fifth pin (CE end) of the storage device U6 is electrically connected to the tenth pin of the encoder main control chip U1.
[0030] In a possible implementation, it includes: a backup power supply module; the output end of the backup power supply module is electrically connected to the second input end of the storage device U6, and is suitable for providing a working voltage for the storage device U6. Here, it should be noted that the backup power supply module is suitable for providing a working voltage for the storage device U6 after power failure, ensuring that the storage device U6 can continue to work after the encoder main control chip U1 is powered off.
[0031] In a possible implementation, the backup power supply module is a battery. Figure 1As shown, the negative electrode of the battery BTI is grounded, and the positive electrode of the battery BT1 is electrically connected to the 8th pin (VCC1 terminal) of the storage device U6 to realize power supply to the storage device U6.
[0032] In a possible implementation, it further includes: a switch device JP1; the backup power supply module is electrically connected to the storage device U6 via the switch device JP1, one end of the switch device JP1 is electrically connected to the positive electrode of the battery BT1, and one end of the switch device JP1 is electrically connected to the 8th pin (VCC1 end) of the storage device U6. It should be noted that the connection and disconnection between the backup power supply module and the storage device U6 can be adjusted at any time by turning the switch device JP1 on and off.
[0033] Furthermore, in one possible implementation, the battery can be a 3.0V button battery. When the external power supply is powered off, the added button battery can power the storage device U6 alone, and the storage device U6 can continue to work normally. The switch device JP1 is a conductive spring; the conductive spring is arranged between the button battery and the storage device U6. Since the conductive spring has a conductive property, it can be used as a wire to electrically connect the button battery and the storage device U6, so as to realize the power supply from the button battery to the storage device U6.
[0034] Furthermore, in another possible implementation, the switch device JP1 is a jumper switch or a make-break switch.
[0035] In a possible implementation, the flow signal acquisition module is a sensor U4; each rotation of the mechanical transmission shaft of the flow measurement converter drives the rotation of the magnet fixed on the shaft, and the rotation of the magnet forms a change in the N and S levels of the magnet. The sensor U4 on the circuit board calculates the angle of the magnetic field change according to the change in the magnetic field, thereby determining the angle of the shaft rotation and outputting an angular displacement signal. The output end of the sensor U4 is electrically connected to the input end of the encoder main control chip U1. It should be noted that the sensor U4 uses a Hall sensor, and the 7th pin (VSS terminal) and the 8th pin (PROG terminal) of the sensor U4 are both grounded; the 16th pin and the 15th pin of the sensor U4 are connected to the working voltage; the 6th pin (Z phase) of the sensor U4 is electrically connected to the 18th pin of the processor U2 to output the number of turns data, and the 11th pin (CS terminal) of the sensor U4 is electrically connected to the 35th pin of the processor U2 to transmit the chip select signal CS; the 10th pin (CLK terminal) of the sensor U4 is electrically connected to the 34th pin of the processor U2 to transmit the clock signal CLK; the 9th pin (DO terminal) of the sensor U4 is electrically connected to the 33rd pin of the processor U2 to transmit the DO signal.
[0036] In a possible implementation, the model of processor U2 is NUC230; pins 18, 35, 34 and 33 of processor U2 are all angular displacement signal input terminals, pin 63 of processor U2 is electrically connected to voltage regulator module 100, and pins 49 and 32 of processor U2 respectively output two pulse signals converted by processor U2.
[0037] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An encoder circuit, characterized in that: include: Flow signal acquisition module, voltage stabilization module and encoder main control chip; The flow signal acquisition module is suitable for detecting the current flow of the fuel dispenser, and the output end of the flow signal acquisition module is electrically connected to the first input end of the encoder main control chip, and is used to input the detected current flow into the encoder main control chip; wherein the current flow detected by the flow signal acquisition module is represented by an angular displacement signal corresponding to the refueling amount; The voltage stabilizing module includes: a voltage stabilizing chip and a filtering module; the input end of the voltage stabilizing chip is connected to a voltage signal, and the output end of the voltage stabilizing chip is electrically connected to the second input end of the encoder main control chip through the filtering module to provide a working voltage for the encoder main control chip; The filtering module includes: an inductor and a capacitor; one end of the inductor is electrically connected to the output end of the voltage stabilizing chip, and the other end of the inductor is electrically connected to the second input end of the encoder main control chip; one pole of the capacitor is electrically connected to one end of the inductor connected to the encoder main control chip, and the other pole of the capacitor is grounded.
2. The encoder circuit according to claim 1, characterized in that Also includes: Storage device; The first input end of the storage device is electrically connected to the output end of the encoder main control core.
3. The encoder circuit according to claim 2, characterized in that: Also includes: Backup power supply module; The output end of the backup power supply module is electrically connected to the second input end of the storage device, and is suitable for providing a working voltage for the storage device.
4. The encoder circuit according to claim 3, characterized in that: The storage device adopts a non-volatile memory.
5. The encoder circuit according to claim 1, characterized in that: The model of the voltage stabilizing chip is SGM6013.