Flow acquisition circuit and ultrasonic water meter based on analog switch

By using an analog switch-based flow acquisition circuit in the ultrasonic water meter to control the transducer path, the problem of flow metering data easily distorted due to key switch control in the prior art is solved, and low-latency and high-reliability flow acquisition is achieved.

CN119779426APending Publication Date: 2025-04-08NINGBO WATER METER (GRP) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411879255.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In existing ultrasonic water meters, the key switch control transducer easily leads to jitter and delay, resulting in the flow metering data being easily distorted.

Method used

The flow acquisition circuit based on the analog switch is adopted, and the first analog switch or the second analog switch is controlled through the main control chip, and is connected to the two transducer paths respectively to achieve control of the target transducer path and reduce delay.

Benefits of technology

Through the control of analog switches, the delay in flow acquisition is reduced, the reliability of flow metering data is improved, and data is easily distorted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119779426A_ABST
    Figure CN119779426A_ABST
Patent Text Reader

Abstract

The present invention provides a flow acquisition circuit and an ultrasonic water meter based on an analog switch, which relate to the technical field of ultrasonic water meter measurement, and include: a main control chip, an analog switch and a transducer connected in sequence; wherein the analog switch includes a first analog switch and a second analog switch, the first analog switch or the second analog switch is respectively connected to two transducer paths, and each transducer path includes an upstream transducer and a downstream transducer; the main control chip, when a preset condition is met, controls the target transducer path to work through the first analog switch or the second analog switch; the upstream transducer and the downstream transducer in the target transducer path send the flight time of sending and receiving ultrasonic waves to the main control chip through the first analog switch or the second analog switch, so that the main control chip obtains the flow value; thereby alleviating the technical problem that the flow metering data is easily distorted in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of ultrasonic water meter measurement, and in particular to a flow acquisition circuit based on an analog switch and an ultrasonic water meter. Background Art

[0002] In current flow detection applications of ultrasonic water meters, a key switch is generally used to control the transducer to achieve flow detection. However, when the transducer is switched through the key switch, jitter will occur, resulting in a certain delay, making the flow measurement data easily distorted. Summary of the invention

[0003] The purpose of the present invention is to provide a flow acquisition circuit and an ultrasonic water meter based on an analog switch, so as to alleviate the technical problem that the flow measurement data is easily distorted in the prior art.

[0004] In a first aspect, an embodiment of the present invention provides a flow acquisition circuit based on an analog switch, comprising:

[0005] A main control chip, an analog switch and a transducer connected in sequence; wherein the analog switch comprises a first analog switch and a second analog switch, the first analog switch or the second analog switch is respectively connected to two transducing paths, and each transducing path comprises an upstream transducer and a downstream transducer;

[0006] The main control chip controls the target transducer path to work through the first analog switch or the second analog switch when a preset condition is met;

[0007] The upstream transducer and the downstream transducer in the target transducer path send the flight time of sending and receiving ultrasonic waves to the main control chip through the first analog switch or the second analog switch, so that the main control chip obtains the flow value.

[0008] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation of the first aspect, wherein the main control chip sends a first control signal to the first analog switch or the second analog switch to enable the first analog switch or the second analog switch, and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch or the second analog switch and enter a working state.

[0009] In combination with the first aspect, an embodiment of the present invention provides a second possible implementation of the first aspect, which further includes a boost circuit; the boost circuit is connected to the main control chip and is used to boost the second control signal output by the main control chip.

[0010] In combination with the first aspect, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the boost circuit is connected to the first analog switch or the second analog switch, and is used to send the second control signal after boost processing to the first analog switch or the second analog switch, so as to drive the upstream transducer or the downstream transducer in the target transducer path corresponding to the first analog switch or the second analog switch to emit ultrasonic waves.

[0011] In combination with the first aspect, an embodiment of the present invention provides a fourth possible implementation of the first aspect, wherein the first low-power consumption module is further included, which is connected to the main control chip and the first analog switch respectively; the first low-power consumption module includes a first latch and a first field effect transistor;

[0012] The main control chip sends the output first level signal to the first latch to control the on and off of the first field effect transistor, the first analog switch, and the enable state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch.

[0013] In combination with the first aspect, an embodiment of the present invention provides a fifth possible implementation of the first aspect, wherein, when the preset condition is not met, the main control chip outputs a high level, the first latch is in a low level state, the first field effect transistor is controlled to be turned off, and the first analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch are in a disabled state and a non-working state;

[0014] When the preset conditions are met, the main control chip outputs a low level, the first latch is in a high level state, the first field effect transistor is controlled to be turned on, and the first analog switch and the upstream transducer and downstream transducer in the target transducer path corresponding to the first analog switch are in an enabled state and a working state.

[0015] In combination with the first aspect, an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the device further includes a second low-power module connected to the main control chip and the second analog switch respectively; the second low-power module includes a second latch and a second field effect transistor;

[0016] The main control chip sends the output second level signal to the second latch to control the on and off of the second field effect transistor, the second analog switch, and the enable state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch.

[0017] In combination with the first aspect, an embodiment of the present invention provides a seventh possible implementation of the first aspect, wherein, when the preset condition is not met, the main control chip outputs a high level, the second latch is in a low level state, the second field effect transistor is controlled to be turned off, and the second analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch are in a disabled state and a non-working state;

[0018] When the preset conditions are met, the main control chip outputs a low level, the second latch is in a high level state, the second field effect transistor is controlled to be turned on, and the second analog switch and the upstream transducer and downstream transducer in the target transducer path corresponding to the second analog switch are in an enabled state and a working state.

[0019] In combination with the first aspect, an embodiment of the present invention provides an eighth possible implementation of the first aspect, wherein the main control chip controls the target transducer path to operate when a flow detection signal sent by the sensor is received or a preset time period is reached; wherein the preset condition is receiving a flow detection signal sent by the sensor or reaching a preset time period.

[0020] In a second aspect, an embodiment of the present invention further provides an ultrasonic water meter, comprising the flow acquisition circuit based on the analog switch as described above, and also comprising a water meter body.

[0021] The embodiment of the present invention provides a flow collection circuit and ultrasonic water meter based on analog switches, which respectively realize the control of the target transduction path and the target transducer in each transduction path by the main control chip through two analog switches, so as to realize flow collection on the basis of low latency effect, thereby ensuring the reliability of the flow collection results.

[0022] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 A schematic diagram of a flow acquisition circuit based on an analog switch provided in an embodiment of the present invention;

[0026] Figure 2 A circuit diagram of a converter provided by an embodiment of the present invention;

[0027] Figure 3 A schematic diagram of a low-power branch circuit of a flow acquisition circuit based on an analog switch provided by an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of a low-power branch circuit of another flow acquisition circuit based on an analog switch provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] Research has found that the time delay caused by the key switch switching the transducer will affect the reliability of flow detection.

[0031] Based on this, the flow acquisition circuit and ultrasonic water meter based on analog switches provided in the embodiments of the present invention can ensure the response speed and reduce the delay time through the analog switches, thereby improving the technical problem that the existing flow measurement data is easily distorted.

[0032] The following is a detailed description through examples.

[0033] The present application provides a flow acquisition circuit based on an analog switch, comprising a main control chip, an analog switch and a transducer connected in sequence; wherein the analog switch comprises a first analog switch and a second analog switch, the first analog switch or the second analog switch is respectively connected to two transducing paths, and each transducing path comprises an upstream transducer and a downstream transducer;

[0034] The main control chip controls the target transducer path to work through the first analog switch or the second analog switch when a preset condition is met;

[0035] The upstream transducer and the downstream transducer in the target transducer path send the flight time of sending and receiving ultrasonic waves to the main control chip through the first analog switch or the second analog switch, so that the main control chip obtains the flow value.

[0036] In a preferred embodiment of practical application, two analog switches are used to respectively realize the control of the target transducer path and the target transducer in each transducer path by the main control chip, so as to realize flow collection based on low latency effect, thereby ensuring the reliability of flow collection results.

[0037] An analog switch is a device specifically used for electronic switching, designed to conduct or isolate analog signals, including voltage and current signals, to support a variety of analog applications. It should be noted that analog switches are different from load switches, which can withstand larger currents because of their smaller on-resistance. The main function of an analog switch is to provide a cost-effective solution by performing time-division multiplexing when system interface resources are insufficient. Analog switches are used in four-channel ultrasonic water meters to control the transmission and switching of signals, ensuring that ultrasonic signals from different channels can be effectively measured.

[0038] Figure 1 A schematic diagram of a flow acquisition circuit based on an analog switch provided in an embodiment of the present invention.

[0039] Reference Figure 1 The main control chip mspfr6007 controls the target transducer path to work when receiving the flow detection signal sent by the sensor or reaching the preset time period. The preset condition is receiving the flow detection signal sent by the sensor or reaching the preset time period.

[0040] In actual applications, when the main control chip detects water flow through a flow or pressure sensor, the preset condition is met, and an acquisition signal is sent to control the target transducer in the target transducer path to start the emission of ultrasonic waves. The main control chip can also set a periodic time interval and send an acquisition signal to control the target transducer in the target transducer path to start the emission of ultrasonic waves to ensure regular flow measurement.

[0041] The acquisition signal can be sent from the CH0_OUT pin and the CH1_OUT pin of the main control chip, and transmitted to the EN end of the first analog switch U1 and the second analog switch U2 respectively, so as to control the analog switch, enable the target transducer and select the working mode;

[0042] For example, the working mode can be selected (cocurrent mode or countercurrent mode), and the main control chip will send a corresponding acquisition signal to start the target transducer in the target transducer path to apply the ultrasonic signal for measurement.

[0043] Exemplarily, the main control chip sends a first control signal to the first analog switch or the second analog switch to enable the first analog switch or the second analog switch, and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch or the second analog switch and enter a working state.

[0044] The CH0_IN pin and the CH1_IN pin are used to transmit the flight time and other data of the target transducer back to the main control chip. The UP3 pin and DOWN3 pin, UP4 pin and DOWN4 pin of the analog switch are interfaces for connecting the corresponding transducers. There are two UP3 pins and two DOWN3 pins in the first analog switch U1, which are connected to two transducers respectively. Under the action of the mode selection signal of the EN pin, the corresponding pins are triggered to control the operation of the transducer; if the UP3 pin works, it means that the first analog switch allows the upstream transducer to transmit ultrasonic signals, and if the DOWN3 pin works, it means that the first analog switch allows the downstream transducer to receive ultrasonic signals. Similarly, the UP4 pin and DOWN4 pin in the second analog switch U2 have the same function.

[0045] Among them, Figure 2 As shown, a transducer path includes an upstream transducer UP3 and a downstream transducer DOWM3 located at the upstream and downstream positions of the current circuit; in actual applications, a four-channel ultrasonic water meter has four transducer paths, that is, eight transducers. Two transducers in the same transducer path are placed at opposite positions to transmit and receive ultrasonic signals. The time difference between receiving and transmitting ultrasonic signals is the flight time difference, which is used to calculate the flow rate in this time period. The function of the transducer is to transmit and receive ultrasonic signals, convert ultrasonic signals into electrical signals and then transmit them back to the first analog switch or the second analog switch. The first analog switch or the second analog switch then transmits the signal to the main control chip through the CH0_IN pin and the CH1_IN pin to calculate the flight time difference, and then calculate the flow rate.

[0046] According to the acquisition signal of the main control chip, the first analog switch or the second analog switch can be controlled to switch different transducing paths (channels), thereby realizing the selection of different channels.

[0047] The work selection mode corresponding to the acquisition signal is determined by the MCU according to the type of data currently required to be collected. For example, if you need to measure the speed of the downstream (upstream to downstream), the main control chip may select the upstream transducer to transmit the signal and the downstream transducer to receive the signal; if you need to measure the speed of the upstream (downstream to upstream), the main control chip will reversely switch the work mode selection corresponding to the acquisition signal, activate the downstream transducer to transmit, and the upstream transducer to receive; in order to measure the flow of the forward and reverse flow:

[0048] 1. Downstream control:

[0049] In downstream mode, the upstream transducer (UP) transmits an ultrasonic signal, which is transmitted to the downstream transducer (DOWN) through the water flow, and then the downstream transducer receives the echo wave signal. The acquisition signal will realize channel selection and activate the upstream transducer UP as the transmitter and the downstream transducer DOWN as the receiver. The main control chip controls the enable end of the first analog switch or the second analog switch to allow the upstream transducer to transmit the signal, while the downstream transducer is in the receiving state.

[0050] 2. Backflow control:

[0051] In the countercurrent mode, the downstream transducer (DOWN) transmits an ultrasonic signal, which propagates against the water flow to the upstream transducer (UP), and then the upstream transducer receives the echo signal. The main control chip selects the channel by collecting signals and switches to the countercurrent mode, activating the downstream transducer to transmit the signal, while the upstream transducer receives the echo signal. In this mode, the first analog switch or the second analog switch selects the downstream transducer for transmission and the upstream transducer for reception according to the working mode corresponding to the collected signal of the main control chip.

[0052] Specifically, the main control chip generates an acquisition signal for channel selection and enabling according to the target transducer path that needs to be activated currently (such as UP and DOWN or UP3 and DOWN3). Assuming that a two-bit binary signal is used for control (such as 00, 01, 10, 11), each binary value corresponds to a different transducer path. For example, 00: select UP1 and DOWN1, 01: select UP2 and DOWN2, 10: select UP3 and DOWN3, 10: select UP4 and DOWN4, etc.

[0053] This collected signal will enter the EN end of the analog switch through the CH0_OUT pin and CH1_OUT pin of the main control chip to transmit the control logic to the analog switch.

[0054] It can be understood that after the enable end of the analog switch receives the acquisition signal, it determines the current target transducer path: if the channel selection signal corresponding to the working mode is 00, the analog switch selects the upstream transducer UP and the downstream transducer DOWN as the working channel. If the channel selection signal corresponding to the working mode is 01, the analog switch selects the upstream transducer UP3 and the downstream transducer DOWN3 as the working channel, etc. Under the control of the analog switch, the target transducer path can be switched to the corresponding target transducer (upstream or downstream) to control the transmission or reception of ultrasonic signals.

[0055] As an optional embodiment, it also includes a boost circuit; the boost circuit is connected to the main control chip and is used to boost the second control signal output by the main control chip.

[0056] The CH0_OUT pin and the CH1_OUT pin are connected to a boost circuit between the main control chip and each analog switch. The boost circuit can convert the 3V control signal output by the main control chip into a 5V control signal.

[0057] Exemplarily, the boost circuit is connected to the first analog switch or the second analog switch, and is used to send the second control signal after boost processing to the first analog switch or the second analog switch to drive the upstream transducer or the downstream transducer in the target transducer path corresponding to the first analog switch or the second analog switch to emit ultrasonic waves.

[0058] In some embodiments, Figure 3 As shown, it also includes a first low-power module connected to the main control chip and the first analog switch U1 respectively; the first low-power module includes a first latch U3 and a first field effect transistor Q5;

[0059] The main control chip sends the output first level signal to the first latch to control the on-off of the first field effect tube, the first analog switch, and the enabling state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch;

[0060] like Figure 4 As shown, it also includes a second low-power module connected to the main control chip and the second analog switch U2 respectively; the second low-power module includes a second latch U4 and a second field effect transistor Q6;

[0061] The main control chip sends the output second level signal to the second latch to control the on and off of the second field effect tube, the second analog switch, and the enable state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch.

[0062] It should be noted that the circuit branch for realizing the low power consumption function includes a latch, which is used to store the current level signal sent by the main control chip for working mode selection and enabling, to ensure the stability of the signal and avoid false triggering.

[0063] A latch mechanism is used to maintain the output signal state of the main control chip, so that the main control chip enters a low-power state when the signal remains unchanged. Use a latch to control the signal state. Working principle: When the main control chip outputs a control level signal, the latch maintains the state and controls the field effect tube MOSFET to turn on or off, thereby controlling the analog switch accordingly. Once the latch captures the preset target signal of the main control chip, the main control chip can stop outputting the signal and enter a low-power mode, but the output state of the latch remains unchanged. When the control signal needs to be changed, the main control chip will output a signal again, and the latch will latch the new control level signal and drive the field effect MOSFET to change to the analog switch state. When the control state remains unchanged, the main control chip does not need to continuously output the signal, reducing power consumption.

[0064] In practical applications, when the preset conditions are not met, the main control chip outputs a high level, the first latch is in a low level state, the first field effect transistor is controlled to be turned off, and the first analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch are in a disabled state and a non-working state;

[0065] When the preset conditions are met, the main control chip outputs a low level, the first latch is in a high level state, the first field effect tube is controlled to be turned on, and the first analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch are in an enabled state and a working state;

[0066] When the preset condition is not met, the main control chip outputs a high level, the second latch is in a low level state, the second field effect transistor is controlled to be turned off, and the second analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch are in a disabled state and a non-working state;

[0067] When the preset conditions are met, the main control chip outputs a low level, the second latch is in a high level state, the second field effect transistor is controlled to be turned on, and the second analog switch and the upstream transducer and downstream transducer in the target transducer path corresponding to the second analog switch are in an enabled state and a working state.

[0068] Exemplarily, for each analog switch and circuit branch of the low power consumption function, the acquisition signal output by the main control chip, ie, the control level signal, sets the latch input state to control the power supply state of the analog switch and the transducer.

[0069] When working normally, the control level signal is set high when data needs to be collected, and the latch outputs a high level to turn on the N-channel MOS tube to power the analog switch and transducer. In low-power mode, the latch outputs a low level, the MOS tube is turned off, and the power supply is cut off to save energy.

[0070] When there is no data collection, the main control chip sets the control level signal to a high level, the latch will maintain the output low level state, the MOS tube will be turned off, and the analog switch and transducer will be disconnected from the power supply; when data collection is required, the control level signal is a low level, causing the latch to output a high level, the MOS tube to be turned on, and the device enters a normal working state.

[0071] The analog switch in the flow acquisition circuit based on analog switch provided in the present application can receive analog voltage signals, and the main control chip controls the on-off of the first analog switch or the second analog switch by outputting a control level signal. The combination of the main control chip and the analog switch is that the main control chip controls the on-off of the analog switch through the EN terminal, and the analog switch transmits the data measured by the four-way transducer to the main control chip through the CH0_IN pin and the CH1_IN pin and after passing through the RC filter circuit. The measurement data obtained in this way is smooth, low-latency, concise and efficient, reducing unnecessary additional circuits. The low-power circuit branch introduced between the main control chip and the analog switch can reduce the output signal frequency of the main control chip while maintaining the state of the analog switch, thereby significantly reducing power consumption and saving costs.

[0072] In some embodiments, an embodiment of the present invention further provides an ultrasonic water meter, comprising the flow acquisition circuit based on the analog switch as described above, and also comprising a water meter body.

[0073] This flow acquisition circuit based on the analog switch can more accurately detect water flow.

[0074] The ultrasonic water meter provided in the embodiment of the present invention has the same technical features as the flow acquisition circuit based on analog switches provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.

[0075] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0076] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0077] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0079] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0080] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the aforementioned embodiments, those of ordinary skill in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed by the present invention, or can easily conceive of changes, or make equivalent replacements for some of the technical features therein. Such modifications, changes or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention.

Claims

1. A flow collection circuit based on an analog switch, characterized in that: include: A main control chip, an analog switch and a transducer connected in sequence; wherein the analog switch comprises a first analog switch and a second analog switch, the first analog switch or the second analog switch is respectively connected to two transducing paths, and each transducing path comprises an upstream transducer and a downstream transducer; The main control chip controls the target transducer path to work through the first analog switch or the second analog switch when a preset condition is met; The upstream transducer and the downstream transducer in the target transducer path send the flight time of sending and receiving ultrasonic waves to the main control chip through the first analog switch or the second analog switch, so that the main control chip obtains the flow value.

2. The flow acquisition circuit based on analog switch according to claim 1 is characterized in that: The main control chip sends a first control signal to the first analog switch or the second analog switch to enable the first analog switch or the second analog switch, and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch or the second analog switch and put them into a working state.

3. The flow acquisition circuit based on analog switch according to claim 1 is characterized in that: It also includes a boost circuit; the boost circuit is connected to the main control chip and is used to boost the second control signal output by the main control chip.

4. The flow acquisition circuit based on analog switch according to claim 3 is characterized in that: The boost circuit is connected to the first analog switch or the second analog switch, and is used to send the second control signal after boost processing to the first analog switch or the second analog switch, so as to drive the upstream transducer or the downstream transducer in the corresponding target transducer path of the first analog switch or the second analog switch to emit ultrasonic waves.

5. The flow acquisition circuit based on analog switch according to claim 2 is characterized in that: It also includes a first low-power consumption module connected to the main control chip and the first analog switch respectively; the first low-power consumption module includes a first latch and a first field effect transistor; The main control chip sends the output first level signal to the first latch to control the on and off of the first field effect transistor, the first analog switch, and the enable state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch.

6. The flow acquisition circuit based on analog switch according to claim 5, characterized in that: When the preset condition is not met, the main control chip outputs a high level, the first latch is in a low level state, the first field effect transistor is controlled to be turned off, and the first analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the first analog switch are in a disabled state and a non-working state; When the preset conditions are met, the main control chip outputs a low level, the first latch is in a high level state, the first field effect transistor is controlled to be turned on, and the first analog switch and the upstream transducer and downstream transducer in the target transducer path corresponding to the first analog switch are in an enabled state and a working state.

7. The flow acquisition circuit based on analog switch according to claim 2 is characterized in that: It also includes a second low-power consumption module connected to the main control chip and the second analog switch respectively; the second low-power consumption module includes a second latch and a second field effect transistor; The main control chip sends the output second level signal to the second latch to control the on and off of the second field effect transistor, the second analog switch, and the enable state and working state of the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch.

8. The flow acquisition circuit based on analog switch according to claim 7, characterized in that: When the preset condition is not met, the main control chip outputs a high level, the second latch is in a low level state, the second field effect transistor is controlled to be turned off, and the second analog switch and the upstream transducer and the downstream transducer in the target transducer path corresponding to the second analog switch are in a disabled state and a non-working state; When the preset conditions are met, the main control chip outputs a low level, the second latch is in a high level state, the second field effect transistor is controlled to be turned on, and the second analog switch and the upstream transducer and downstream transducer in the target transducer path corresponding to the second analog switch are in an enabled state and a working state.

9. The flow acquisition circuit based on analog switch according to claim 1, characterized in that: The main control chip controls the target transducer path to operate when receiving a flow detection signal sent by the sensor or reaching a preset time period; wherein the preset condition is receiving a flow detection signal sent by the sensor or reaching a preset time period.

10. An ultrasonic water meter, characterized in that: It comprises a flow acquisition circuit based on an analog switch as described in any one of claims 1 to 9, and also comprises a water meter body.