Real-time mileage optimization system and method
By comparing the voltage signals of each mileage wheel in real time and selecting the pulse signal with the maximum voltage signal as the target signal, the problem of mileage wheel error accumulation and poor real-time performance in pipeline detection is solved, and mileage optimization with fast response and high real-time performance is achieved.
Patent Information
- Application Number
- CN202411194407.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the error accumulation of the mileage wheel during the pipeline inspection process is large, resulting in a cumbersome calculation process and poor real-time performance. Especially in the case of multiple mileage wheels, the time sampling method has a large amount of data and is processed offline, and the output of the mileage sampling method is The results are poor in real-time.
Design a real-time mileage optimization system, convert the pulse signal of the mileage wheel into a voltage signal through the conversion circuit, and use the comparison circuit and the selection circuit to compare the voltage signals of each mileage wheel in turn, and select the pulse signal corresponding to the maximum value of the voltage signal as the target signals to achieve real-time optimization at the hardware level.
The calculation complexity is reduced, the mileage changes are quickly responded to, the real-time performance of mileage optimization is improved, and the output results are more continuous and accurate.
Smart Images

Figure CN118706149A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mileage wheel optimization in pipelines, and in particular to a real-time mileage optimization system and method. Background Art
[0002] Long-distance pipelines are prone to cracks, corrosion, thinning of pipe walls and other defects due to long-term exposure to complex and harsh environments. Therefore, it is necessary to use in-pipeline detectors to conduct internal inspection and defect location of the pipeline. The odometer wheel is a device fixed on the detector. It rolls along the pipeline wall during the inspection process. Every time the odometer wheel rotates a certain angle and the detector travels a certain distance, the sensor installed on the odometer wheel sends a pulse signal to calculate the relative position of the detector. However, due to the complex conditions in the pipeline, the odometer wheel may slip or fail during rotation, resulting in errors in odometer measurement. The longer the detection distance, the greater the accumulated error. In order to reduce the errors caused by slippage or failure, some detectors install 3 or 4 odometer wheels along the radial circumference of the pipeline. Each odometer wheel will send a pulse signal during rotation and carry the running speed information of the in-pipeline detector. Therefore, it is necessary to select one of the signals with the smallest error as the odometer signal for tracking.
[0003] There are two main methods for optimizing the mileage of multiple mileage wheels: one is the time sampling method, which samples at a certain frequency and stores the mileage data of several channels of the detector. After the operation is completed, the algorithm is used in the data processing software to optimize the mileage of several channels offline. By cutting the mileage data in a certain time period, the channel with the largest mileage difference in each time period is selected as the final mileage in this time period. The other is the mileage sampling method, which counts the mileage pulses of several channels of the running detector in a certain time period through a single-chip microcomputer or FPGA module, compares the count values of several channels, and uses the pulse of the mileage wheel with the largest count value as the driving pulse, and the mileage of the mileage wheel is used as the optimal mileage. However, for time sampling, due to the processing of offline data, the amount of data collected is large, making the calculation process more cumbersome, and the mileage pulse signal actually transmitted to the sensor is not the optimal mileage pulse signal; for mileage sampling, the optimal mileage output of the next time period can only be determined by the count value of the previous time period, so that the output optimal mileage result is poor in real time. Summary of the invention
[0004] The present application provides a real-time mileage optimization system and method to solve the problem of cumbersome calculation process and poor real-time performance when optimizing mileage.
[0005] In a first aspect, the present application provides a real-time mileage optimization system, which is applied to a mileage wheel set consisting of at least three mileage wheels, including: A conversion circuit electrically connected to each mileage wheel, the conversion circuit being configured to: convert a pulse signal output by the mileage wheel into a voltage signal; A comparison circuit electrically connected to the conversion circuit, the comparison circuit being configured to: obtain voltage signals output by the conversion circuits corresponding to the two mileage wheels, and output the larger voltage signal to the selection circuit; a selection circuit electrically connected to the mileage wheel, the comparison circuit, and the conversion circuit respectively; the selection circuit is configured to: output a comparison pulse signal to the conversion circuit according to the voltage signal output by the comparison circuit and the pulse signal output by the mileage wheel; the comparison pulse signal is the pulse signal of the mileage wheel corresponding to the larger voltage signal; The conversion circuit is further configured to: convert the comparison pulse signal into a comparison voltage signal; The comparison circuit is further configured to: compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; The selection circuit is further configured to use the pulse signal of the odometer wheel corresponding to the maximum value of the voltage signal as the target pulse signal.
[0006] Optionally, it also includes a power supply circuit, which is electrically connected to the conversion circuit, the comparison circuit, and the selection circuit respectively.
[0007] Optionally, when the number of the mileage wheels is equal to three, the system includes: a first conversion circuit, a second conversion circuit, a first comparison circuit, a second comparison circuit, a first selection circuit, and a second selection circuit; The two mileage wheels are electrically connected to the input end of the first comparison circuit through the two first conversion circuits respectively; the output end of the first comparison circuit is electrically connected to the input end of the first selection circuit, and the input end of the first selection circuit is also electrically connected to the two mileage wheels respectively; The third mileage wheel is electrically connected to the input end of the second comparison circuit through the third first conversion circuit; the input end of the second conversion circuit is electrically connected to the output end of the first selection circuit, and the output end of the second conversion circuit is electrically connected to the input end of the second comparison circuit; the output end of the second comparison circuit is electrically connected to the input end of the second selection circuit, and the input end of the second selection circuit is also electrically connected to the first selection circuit and the third mileage wheel respectively, and the output end of the second selection circuit is used to output the target pulse signal.
[0008] Optionally, the conversion circuit includes a conversion chip, a first resistor, a second resistor, a third resistor, a fourth resistor, a variable resistor, a first capacitor, and a second capacitor. The current output pin of the conversion chip is connected to the comparison circuit, and the current output pin is grounded through the first resistor and the first capacitor; the reference current pin of the conversion chip is grounded through the variable resistor; the frequency output pin and the ground pin of the conversion chip are grounded; the resistor / capacitor pin of the conversion chip is connected to the power supply circuit through the second resistor, and the resistor / capacitor pin is grounded through the second capacitor; the threshold input pin of the conversion chip is connected to one of the mileage wheels, and the threshold input pin is connected to the power supply circuit through the third resistor; the comparator input pin of the conversion chip is connected to the power supply circuit through the fourth resistor; and the power supply pin of the conversion chip is connected to the power supply circuit.
[0009] Optionally, the conversion circuit also includes a third capacitor, a fourth capacitor and a fifth resistor, the threshold input pin is connected to the mileage wheel through the third capacitor, the power supply pin is grounded through the fourth capacitor; and the comparator input pin is grounded through the fifth resistor.
[0010] Optionally, the comparison circuit includes a comparison chip and a current limiting resistor, the voltage output pin of the comparison chip is connected to the selection circuit, the first input pin and the second input pin of the comparison chip are respectively connected to the conversion circuit, the power supply pin of the comparison chip is connected to the power supply circuit, one end of the current limiting resistor is connected to the voltage output pin, and the other end of the current limiting resistor is connected to the power supply circuit.
[0011] Optionally, the selection circuit includes a selection chip and a voltage-stabilizing capacitor, the first pin and the second pin of the selection chip are respectively connected to the mileage wheel, the selection pin of the selection chip is connected to the comparison circuit, the power supply pin of the selection chip is connected to the power supply circuit, one end of the voltage-stabilizing capacitor is connected to the power supply pin of the selection chip, and the other end of the voltage-stabilizing capacitor is grounded.
[0012] A second aspect of the present application provides a real-time mileage optimization method, using the system described in the first aspect, the method comprising: Get the pulse signal output by the mileage wheel; Converting the pulse signal output by the mileage wheel into a voltage signal; Obtaining voltage signals corresponding to the two mileage wheels, and outputting the larger voltage signal to the selection circuit; According to the larger voltage signal and the pulse signal of the odometer wheel, the pulse signal of the odometer wheel corresponding to the larger voltage signal is input into the conversion circuit to obtain a comparison voltage signal; Comparing the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; The odometer wheel pulse signal corresponding to the maximum value of the voltage signal is used as the target pulse signal.
[0013] Optionally, when the number of the mileage wheels is equal to three, the method further includes: Acquire a first pulse signal and a second pulse signal output by two odometer wheels; Convert the first pulse signal into a first voltage signal and the second pulse signal into a second voltage signal through a first conversion circuit, and output the first voltage signal and the second voltage signal to a first comparison circuit; Compare the first voltage signal and the second voltage signal by the first comparison circuit, and output the larger voltage signal as a first result voltage signal to the first selection circuit; Outputting a first comparison pulse signal through a first selection circuit according to the first result voltage signal, the first pulse signal, and the second pulse signal; the first comparison pulse signal is a pulse signal of the mileage wheel corresponding to the first result voltage signal; converting the first comparison pulse signal into a first comparison voltage signal through a second conversion circuit; Obtaining a third pulse signal output by the third odometer; converting the third pulse signal into a third voltage signal through a third first conversion circuit, and outputting the third voltage signal to the second comparison circuit; Compare the first comparison voltage signal and the third voltage signal by the second comparison circuit, and output the larger voltage signal as the second result voltage signal to the second selection circuit; A target pulse signal is outputted through a second selection circuit according to the second result voltage signal, the first comparison pulse signal, and the third pulse signal.
[0014] The present application provides a real-time mileage optimization system and method, the system comprising: a conversion circuit connected to each mileage wheel, a comparison circuit connected to the conversion circuit, and a selection circuit connected to the mileage wheel, the comparison circuit, and the conversion circuit. The conversion circuit is used to convert the pulse signal output by the mileage wheel into a voltage signal; the comparison circuit is used to obtain the voltage signal output by the conversion circuit, and output the larger voltage signal to the selection circuit; the selection circuit is used to output the comparison pulse signal to the conversion circuit according to the voltage signal output by the comparison circuit and the pulse signal output by the mileage wheel; the conversion circuit is also used to convert the comparison pulse signal into a comparison voltage signal; the comparison circuit is also used to compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel group in sequence to obtain the maximum value of the voltage signal corresponding to all mileage wheels; the selection circuit is also used to use the pulse signal of the mileage wheel corresponding to the maximum value of the voltage signal as the target pulse signal. By comparing the data of the mileage wheels in the pipeline in sequence through hardware connection, the complexity of the calculation can be reduced, the change of mileage can be quickly responded to, the comparison result can be output in real time, and the real-time performance of mileage optimization can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0016] Figure 1 A schematic diagram of the time-mileage curves of different mileage wheels during mileage sampling provided in this application; Figure 2 A schematic diagram of the real-time mileage optimization system structure provided for this application; Figure 3 A schematic diagram of the structure of a real-time mileage optimization system when the number of mileage wheels provided for this application is equal to three; Figure 4 A schematic diagram of the conversion circuit structure provided for this application; Figure 5 A flowchart of the real-time mileage optimization method provided in this application. DETAILED DESCRIPTION
[0017] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0018] When optimizing mileage through time sampling, the amount of data collected is large due to the processing of offline data, making the calculation process more complicated, and the mileage pulse signal actually transmitted to the sensor is not the optimal mileage pulse signal. When optimizing mileage through mileage sampling, the optimal mileage pulse signal output for the next time period can only be determined by the count value of the previous time period, see Figure 1 , Figure 1 The three curves in are the time-mileage curves of the three mileage wheels. When sampling mileage, a certain period of time will be recorded, such as the three mileage changes within Tk, and their sizes will be compared. The mileage with the largest change will be taken as the preferred mileage output for the time period Tk+1. Similarly, the mileage with the largest change in the time period Tk+1 will be taken as the preferred mileage output for the time period Tk+2. It can be seen that the preferred mileage output in this time period is determined by the results of the previous time period, which makes the output of the preferred mileage results less real-time.
[0019] In order to solve the problem that the calculation process is cumbersome and the real-time performance is poor when optimizing the mileage, some embodiments of the present application provide a real-time mileage optimization system, which is applied to a mileage wheel set composed of at least three mileage wheels, see Figure 2 , the system includes: A conversion circuit electrically connected to each mileage wheel, the conversion circuit being configured to: convert a pulse signal output by the mileage wheel into a voltage signal; A comparison circuit electrically connected to the conversion circuit, the comparison circuit being configured to: obtain voltage signals output by the conversion circuits corresponding to the two mileage wheels, and output a larger voltage signal to the selection circuit; A selection circuit electrically connected to the odometer wheel, the comparison circuit, and the conversion circuit; the selection circuit is configured to: output a comparison pulse signal to the conversion circuit according to the voltage signal output by the comparison circuit and the pulse signal output by the odometer wheel; wherein the comparison pulse signal is a pulse signal of the odometer wheel corresponding to the larger voltage signal; The conversion circuit is further configured to: convert the comparison pulse signal into a comparison voltage signal; The comparison circuit is further configured to: compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; The selection circuit is further configured to use the pulse signal of the odometer wheel corresponding to the maximum value of the voltage signal as the target pulse signal.
[0020] It can be understood that the odometer wheel corresponding to the target pulse signal has the fastest rotation speed and the largest frequency, and this odometer wheel is the preferred odometer wheel, and the mileage traveled by this odometer wheel is the preferred mileage.
[0021] The system provided by the present application optimizes the mileage wheels in the mileage wheel group in the pipeline by means of hardware connection. The pulse signals of the two mileage wheels are first converted into voltage signals for comparison, and the voltage of the mileage wheel with the larger voltage is output, and the pulse signal of the corresponding mileage wheel is output according to the output voltage signal; then the mileage wheel is compared with the next mileage wheel by the same method until the mileage wheel with the fastest frequency corresponding to the output pulse signal is output. The system is built with pure hardware. Since the data for each calculation and comparison are two, the time required for calculation is short, and it can respond quickly to the change of mileage and output the comparison results in real time, which can reduce the complexity of calculation and improve the calculation speed. The collected mileage wheel data is continuous real-time data, which can improve the real-time performance of the output preferred mileage. In addition, since the system does not require special algorithms and the establishment of mathematical models, it can be used as an independent module and is easy to embed.
[0022] In some embodiments, the system further includes a power supply circuit, which is electrically connected to the conversion circuit, the comparison circuit, and the selection circuit, respectively, and is used to provide an operating voltage for the conversion circuit, the comparison circuit, and the selection circuit.
[0023] Below Figure 3 Take the system of this application as an example to describe it. Figure 3 , when the number of mileage wheels is equal to three, the system includes: a first conversion circuit, a second conversion circuit, a first comparison circuit, a second comparison circuit, a first selection circuit, and a second selection circuit. The two mileage wheels are electrically connected to the input end of the first comparison circuit through the two first conversion circuits respectively; the output end of the first comparison circuit is electrically connected to the input end of the first selection circuit, and the input end of the first selection circuit is also electrically connected to the two mileage wheels respectively. The third mileage wheel is electrically connected to the input end of the second comparison circuit through the third first conversion circuit; the input end of the second conversion circuit is electrically connected to the output end of the first selection circuit, and the output end of the second conversion circuit is electrically connected to the input end of the second comparison circuit; the output end of the second comparison circuit is electrically connected to the input end of the second selection circuit, and the input end of the second selection circuit is also electrically connected to the first selection circuit and the third mileage wheel respectively, and the output end of the second selection circuit is used to output the target pulse signal.
[0024] For example, Figure 3In the embodiment, the odometer wheel 1 and the odometer wheel 2 are electrically connected to the first comparison circuit through the first conversion circuit respectively. The first conversion circuit converts the pulse signal A1 of the odometer wheel 1 into the voltage signal V1 and converts the pulse signal A2 of the odometer wheel 2 into the voltage signal V2. The first comparison circuit obtains the voltage signal V1 and the voltage signal V2 of the two odometer wheels, compares them, and outputs the comparison result voltage signal SEL12 to the first selection circuit, wherein the result voltage signal SEL12 is the larger value of the voltage signal V1 and the voltage signal V2. The first selection circuit is connected to the odometer wheel 1 and the odometer wheel 2 respectively, and can select which odometer wheel's pulse signal to output, that is, the comparison pulse signal Ax, according to the received result voltage signal SEL12. It should be noted that in order to finally output the result as a pulse signal, the result voltage signal SEL12, the pulse signal A1, and the pulse signal A2 are input to the first selection circuit, so that the first selection circuit can output the comparison pulse signal Ax, and provide a selectable pulse signal for the second selection circuit.
[0025] The odometer wheel 3 is electrically connected to the second comparison circuit through the first conversion circuit. The first conversion circuit converts the pulse signal A3 of the odometer wheel 3 into a voltage signal V3. The second conversion circuit converts the comparison pulse signal Ax output by the first selection circuit into a comparison voltage signal Vx. The second comparison circuit obtains the comparison voltage signal Vx with a larger voltage signal in the odometer wheel 1 and the odometer wheel 2, and the voltage signal V3 of the odometer wheel 3, and then compares them, and outputs the comparison result voltage signal SELx3 to the second selection circuit, wherein the result voltage signal SELx3 is the larger value of the comparison voltage signal Vx and the voltage signal V3. The second selection circuit is connected to the first selection circuit and the odometer wheel 3, respectively, and can output the pulse signal of the odometer wheel corresponding to the result voltage signal SELx3, that is, the target pulse signal, according to the received result voltage signal SELx3, and the comparison pulse signal Ax and the pulse signal A3, that is, the mileage optimization can be performed according to the odometer wheel corresponding to the target pulse signal. The above system can reduce the complexity of calculation by first comparing the voltage signals of mileage wheel 1 and mileage wheel 2, and then comparing the comparison result with mileage wheel 3, so as to quickly respond to changes in mileage, output the comparison result in real time, and improve the real-time performance of mileage optimization.
[0026] See also Figure 4, the conversion circuit includes a conversion chip, a first resistor RL, a second resistor Rt, a third resistor R5, a fourth resistor R8, a variable resistor Rs, a first capacitor C9, and a second capacitor Ct. In some embodiments, the conversion chip may be an LM331 chip. The current output pin IOUT of the conversion chip is connected to the comparison circuit, and the current output pin IOUT is grounded through the first resistor RL and the first capacitor C9; the reference current pin IREF of the conversion chip is grounded through the variable resistor Rs; the frequency output pin FOUT and the ground pin GND of the conversion chip are grounded; the resistor / capacitor pin R / C of the conversion chip is connected to the terminal VCC1 of the power circuit through the second resistor Rt, and the resistor / capacitor pin R / C is grounded through the second capacitor Ct; the threshold input pin THRESH is connected to one of the mileage wheels, and the threshold input pin THRESH is connected to the terminal VCC1 of the power circuit through the third resistor R5; the comparator input pin COMPIN of the conversion chip is connected to the power circuit through the fourth resistor R8; the power supply pin VCC of the conversion chip is connected to the terminal VCC1 of the power circuit.
[0027] The threshold input pin THRESH is used to obtain the pulse signal A of one of the mileage wheels, the third resistor R5 is used to stabilize the power supply voltage, and the current output pin IOUT is used to output the voltage signal V to the comparison circuit. The resistor / capacitor pin R / C is used for filtering input, the first capacitor C9 is charged and discharged through the first resistor RL, the terminal VCC1 of the power circuit charges the second capacitor Ct through the second resistor Rt, and the second capacitor Ct is charged and discharged through the second resistor Rt. The first capacitor C9 and the second capacitor Ct are used for filtering, which can remove noise and interference, provide a stable reference voltage for the circuit, and improve the conversion accuracy. The comparator input pin COMPIN is a voltage input terminal, which is related to the stability of the voltage as a feedback loop. The fourth resistor R8 connected in series with the comparator input pin COMPIN is used to stabilize the power supply voltage. The frequency output pin FOUT is a frequency output terminal. In some embodiments, a fixed resistor R9 can also be connected in series between the reference current pin IREF and the variable resistor Rs to adjust the error caused by the second resistor Rt, the second capacitor Ct and the first resistor RL.
[0028] The conversion circuit also includes a third capacitor C5, a fourth capacitor C3 and a fifth resistor R7. The threshold input pin THRESH is connected to the mileage wheel through the third capacitor C5, and the third capacitor C5 is used to filter out harmonics; the power supply pin VCC is grounded through the fourth capacitor C3, and the fourth capacitor C3 is used to store voltage; the comparator input pin COMPIN is grounded through the fifth resistor R7, and the fifth resistor R7 is used for voltage division.
[0029] The comparison circuit includes a comparison chip and a current limiting resistor. The first input pin and the second input pin of the comparison chip are respectively connected to the conversion circuit for receiving the voltage signal output by the conversion circuit; the voltage output pin of the comparison chip is connected to the selection circuit for outputting a larger voltage signal. The power supply pin of the comparison chip is connected to the power supply circuit, one end of the current limiting resistor is connected to the voltage output pin, and the other end of the current limiting resistor is connected to the power supply circuit. In some embodiments, the comparison chip can be an LM293D chip, which can compare the size of the input voltage signal and select the larger voltage signal for output.
[0030] The selection circuit includes a selection chip and a voltage-stabilizing capacitor. The first pin and the second pin of the selection chip are respectively connected to the mileage wheel, the selection pin of the selection chip is connected to the comparison circuit, the power supply pin of the selection chip is connected to the power supply circuit, one end of the voltage-stabilizing capacitor is connected to the power supply pin of the selection chip, and the other end of the voltage-stabilizing capacitor is grounded. In some embodiments, the selection chip can be a SN74LVC2G157 chip, which can output a pulse signal corresponding to a larger voltage signal according to the input voltage signal and pulse signal. By comparing with different mileage wheels in turn, the pulse signal finally output is the target pulse signal, and the corresponding mileage wheel is the preferred mileage wheel, and the mileage traveled by the mileage wheel is the preferred mileage.
[0031] Some embodiments of the present application also provide a real-time mileage optimization method, using the system provided by some of the above embodiments, see Figure 5 , methods include: S1: Get the pulse signal output by the mileage wheel; S2: Convert the pulse signal output by the mileage wheel into a voltage signal; S3: Obtaining voltage signals corresponding to the two mileage wheels, and outputting the larger voltage signal to the selection circuit; S4: According to the larger voltage signal and the pulse signal of the odometer wheel, the pulse signal of the odometer wheel corresponding to the larger voltage signal is input into the conversion circuit to obtain a comparison voltage signal; S5: Compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; S6: The odometer pulse signal corresponding to the maximum value of the voltage signal is used as the target pulse signal.
[0032] The above method is exemplified when the number of odometer wheels is three, and the method includes: S10: Acquire a first pulse signal and a second pulse signal output by two odometer wheels; S20: converting the first pulse signal into a first voltage signal, converting the second pulse signal into a second voltage signal through a first conversion circuit, and outputting the first voltage signal and the second voltage signal to a first comparison circuit; S30: Compare the first voltage signal and the second voltage signal by a first comparison circuit, and output the larger voltage signal as a first result voltage signal to a first selection circuit; S40: outputting a first comparison pulse signal through a first selection circuit according to the first result voltage signal, the first pulse signal, and the second pulse signal; the first comparison pulse signal is a pulse signal of the mileage wheel corresponding to the first result voltage signal; S50: converting the first comparison pulse signal into a first comparison voltage signal through a second conversion circuit; S60: Acquire a third pulse signal output by the third odometer wheel; S70: converting the third pulse signal into a third voltage signal through a third first conversion circuit, and outputting the third voltage signal to the second comparison circuit; S80: Compare the first comparison voltage signal and the third voltage signal by a second comparison circuit, and output the larger voltage signal as a second result voltage signal to a second selection circuit; S90: Outputting a target pulse signal according to the second result voltage signal, the first comparison pulse signal, and the third pulse signal through the second selection circuit.
[0033] It can be seen from the above technical solutions that the embodiment of the present application provides a real-time mileage optimization system and method, the system includes: a conversion circuit connected to each mileage wheel, a comparison circuit connected to the conversion circuit, and a selection circuit connected to the mileage wheel, the comparison circuit, and the conversion circuit. The conversion circuit is used to convert the pulse signal output by the mileage wheel into a voltage signal; the comparison circuit is used to obtain the voltage signal output by the conversion circuit, and output the larger voltage signal to the selection circuit; the selection circuit is used to output the comparison pulse signal to the conversion circuit according to the voltage signal output by the comparison circuit and the pulse signal output by the mileage wheel; the conversion circuit is also used to convert the comparison pulse signal into a comparison voltage signal; the comparison circuit is also used to compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel group in sequence to obtain the maximum value of the voltage signal corresponding to all mileage wheels; the selection circuit is also used to use the pulse signal of the mileage wheel corresponding to the maximum value of the voltage signal as the target pulse signal. By comparing the data of the mileage wheels in the pipeline in sequence through hardware connection, the complexity of the calculation can be reduced, the change of mileage can be quickly responded to, the comparison result can be output in real time, and the real-time performance of mileage optimization can be improved.
[0034] Similar parts between the embodiments provided in this application can be referenced to each other. The specific implementation methods provided above are only a few examples under the general concept of this application and do not constitute a limitation on the protection scope of this application. For those skilled in the art, any other implementation methods expanded based on the scheme of this application without creative work belong to the protection scope of this application.
Claims
1. A real-time mileage optimization system, applied to a mileage wheel set consisting of at least three mileage wheels, characterized in that: include: A conversion circuit electrically connected to each mileage wheel, the conversion circuit being configured to: convert a pulse signal output by the mileage wheel into a voltage signal; A comparison circuit electrically connected to the conversion circuit, the comparison circuit being configured to: obtain voltage signals output by the conversion circuits corresponding to the two mileage wheels, and output the larger voltage signal to the selection circuit; a selection circuit electrically connected to the mileage wheel, the comparison circuit, and the conversion circuit respectively; the selection circuit is configured to: output a comparison pulse signal to the conversion circuit according to the voltage signal output by the comparison circuit and the pulse signal output by the mileage wheel; the comparison pulse signal is the pulse signal of the mileage wheel corresponding to the larger voltage signal; The conversion circuit is further configured to: convert the comparison pulse signal into a comparison voltage signal; The comparison circuit is further configured to: compare the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; The selection circuit is further configured to use the pulse signal of the odometer wheel corresponding to the maximum value of the voltage signal as the target pulse signal.
2. The real-time mileage optimization system according to claim 1, characterized in that: It also includes a power supply circuit, which is electrically connected to the conversion circuit, the comparison circuit, and the selection circuit respectively.
3. The real-time mileage optimization system according to claim 1, characterized in that: When the number of the mileage wheels is equal to three, the system includes: a first conversion circuit, a second conversion circuit, a first comparison circuit, a second comparison circuit, a first selection circuit, and a second selection circuit; The two mileage wheels are electrically connected to the input end of the first comparison circuit through the two first conversion circuits respectively; the output end of the first comparison circuit is electrically connected to the input end of the first selection circuit, and the input end of the first selection circuit is also electrically connected to the two mileage wheels respectively; The third mileage wheel is electrically connected to the input end of the second comparison circuit through the third first conversion circuit; the input end of the second conversion circuit is electrically connected to the output end of the first selection circuit, and the output end of the second conversion circuit is electrically connected to the input end of the second comparison circuit; the output end of the second comparison circuit is electrically connected to the input end of the second selection circuit, and the input end of the second selection circuit is also electrically connected to the first selection circuit and the third mileage wheel respectively, and the output end of the second selection circuit is used to output the target pulse signal.
4. The real-time mileage optimization system according to claim 2, characterized in that: The conversion circuit includes a conversion chip, a first resistor, a second resistor, a third resistor, a fourth resistor, a variable resistor, a first capacitor, and a second capacitor. The current output pin of the conversion chip is connected to the comparison circuit, and the current output pin is grounded through the first resistor and the first capacitor; the reference current pin of the conversion chip is grounded through the variable resistor; the frequency output pin and the ground pin of the conversion chip are grounded; the resistor / capacitor pin of the conversion chip is connected to the power supply circuit through the second resistor, and the resistor / capacitor pin is grounded through the second capacitor; the threshold input pin of the conversion chip is connected to one of the mileage wheels, and the threshold input pin is connected to the power supply circuit through the third resistor; the comparator input pin of the conversion chip is connected to the power supply circuit through the fourth resistor; and the power supply pin of the conversion chip is connected to the power supply circuit.
5. The real-time mileage optimization system according to claim 4, characterized in that: The conversion circuit also includes a third capacitor, a fourth capacitor and a fifth resistor, the threshold input pin is connected to the mileage wheel through the third capacitor, the power supply pin is grounded through the fourth capacitor; and the comparator input pin is grounded through the fifth resistor.
6. The real-time mileage optimization system according to claim 2, characterized in that: The comparison circuit includes a comparison chip and a current limiting resistor, the voltage output pin of the comparison chip is connected to the selection circuit, the first input pin and the second input pin of the comparison chip are respectively connected to the conversion circuit, the power supply pin of the comparison chip is connected to the power supply circuit, one end of the current limiting resistor is connected to the voltage output pin, and the other end of the current limiting resistor is connected to the power supply circuit.
7. The real-time mileage optimization system according to claim 2, characterized in that: The selection circuit includes a selection chip and a voltage-stabilizing capacitor, the first pin and the second pin of the selection chip are respectively connected to the mileage wheel, the selection pin of the selection chip is connected to the comparison circuit, the power supply pin of the selection chip is connected to the power supply circuit, one end of the voltage-stabilizing capacitor is connected to the power supply pin of the selection chip, and the other end of the voltage-stabilizing capacitor is grounded.
8. A real-time mileage optimization method, characterized in that: Using the system described in any one of claims 1 to 7, the method comprises: Get the pulse signal output by the mileage wheel; Converting the pulse signal output by the mileage wheel into a voltage signal; Obtaining voltage signals corresponding to the two mileage wheels, and outputting the larger voltage signal to the selection circuit; According to the larger voltage signal and the pulse signal of the odometer wheel, the pulse signal of the odometer wheel corresponding to the larger voltage signal is input into the conversion circuit to obtain a comparison voltage signal; Comparing the comparison voltage signal with the voltage signals corresponding to the remaining mileage wheels in the mileage wheel set in sequence to obtain the maximum value of the voltage signals corresponding to all mileage wheels; The odometer wheel pulse signal corresponding to the maximum value of the voltage signal is used as the target pulse signal.
9. The real-time mileage optimization method according to claim 8, characterized in that: When the number of the mileage wheels is equal to three, the method further includes: Acquire a first pulse signal and a second pulse signal output by two odometer wheels; Convert the first pulse signal into a first voltage signal and the second pulse signal into a second voltage signal through a first conversion circuit, and output the first voltage signal and the second voltage signal to a first comparison circuit; Compare the first voltage signal and the second voltage signal by the first comparison circuit, and output the larger voltage signal as a first result voltage signal to the first selection circuit; Outputting a first comparison pulse signal through a first selection circuit according to the first result voltage signal, the first pulse signal, and the second pulse signal; the first comparison pulse signal is a pulse signal of the mileage wheel corresponding to the first result voltage signal; converting the first comparison pulse signal into a first comparison voltage signal through a second conversion circuit; Obtaining a third pulse signal output by the third odometer; converting the third pulse signal into a third voltage signal through a third first conversion circuit, and outputting the third voltage signal to the second comparison circuit; Compare the first comparison voltage signal and the third voltage signal by the second comparison circuit, and output the larger voltage signal as the second result voltage signal to the second selection circuit; A target pulse signal is outputted through a second selection circuit according to the second result voltage signal, the first comparison pulse signal, and the third pulse signal.
Citation Information
Patent Citations
Mileage measuring device and method of in-pipeline detector
CN104048164A
Mileage triggering device of vehicle-mounted ground penetrating radar
CN112985449A
Running-distance calculating apparatus for vehicle
JP1991130614A
