Circuit testing device and circuit testing method

By integrating the circuit detection equipment of the charging unit and the data acquisition unit on the data acquisition unit mainboard, the problems of complex and high cost of circuit detection in the existing technology are solved, simple and accurate circuit fault detection is achieved, the cost is reduced and the detection efficiency is improved.

CN114720845BActive Publication Date: 2025-09-23GOLDCARD HIGH TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110004893.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-04
Publication Date
2025-09-23
Estimated Expiration
2041-01-04

AI Technical Summary

Technical Problem

The fault detection of existing circuit detection equipment is complex to implement, and the addition of an anti-disconnection detection module results in high costs.

Method used

The circuit detection device consists of a charging unit and a data acquisition unit. It charges the equivalent capacitors of the flow meter and data acquisition unit, collects the online voltage, and determines the connection status. It is integrated on the data acquisition unit motherboard, eliminating the need to disassemble the flow meter or add an anti-disconnection detection module.

Benefits of technology

It achieves simple and accurate circuit fault detection, reduces costs, improves detection efficiency and intelligence, and reduces manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114720845B_ABST
    Figure CN114720845B_ABST
Patent Text Reader

Abstract

The present application provides a circuit detection device and a circuit detection method for detecting faults in a connection circuit between a flow meter and a data collector. The data collector includes a microcontroller unit, a charging unit, and a data collection unit, and the charging unit and the data collection unit are respectively connected to the microcontroller unit; the charging unit is used to charge the equivalent capacitor of the flow meter and the data collection unit through the connection circuit between the flow meter and the data collection unit according to the working status of the data collection unit; the data collection unit is used to collect the online voltage on the connection circuit; the microcontroller unit is used to receive the online voltage and judge the connection status of the connection circuit according to the online voltage. There is no need to specially install or disassemble the flow meter, the circuit detection is simple to implement, and there is no need to add an anti-disconnection detection module, thereby reducing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of gas equipment, and in particular to a circuit detection device and a circuit detection method. Background Art

[0002] Measurement is the eye of industrial production. Flow measurement is one of the components of metrology science and technology. It is closely related to the national economy, national defense construction, and scientific research. Doing this work well plays an important role in ensuring product quality, improving production efficiency, and promoting the development of science and technology. Especially in today's era of energy crisis and increasing automation of industrial production, the status and role of flow meters in the national economy are more obvious.

[0003] At present, data collection and transmission of various flow meters are realized through data collectors. Data collectors collect data information of industrial flow meters and provide them with working voltage for data transmission. Data transmission and connection between flow meters and data collectors are generally carried out through transmission lines. Faults may occur during data collection by circuit detection equipment. Usually, the flow meter is disassembled and the anti-disconnection detection module is installed inside the flow meter to detect disconnection faults.

[0004] However, in the prior art, the fault detection of circuit detection equipment is complicated to implement, and the addition of an anti-disconnection detection module is costly. Summary of the Invention

[0005] The present application provides a circuit detection device and a circuit detection method to solve the technical problems in the prior art that the fault detection of the circuit detection device is complicated to implement and an anti-disconnection detection module is added, resulting in high costs.

[0006] In a first aspect, the present application provides a circuit detection device for detecting a fault in a connection circuit between a flow meter and a data collector, wherein the data collector includes a microcontroller unit, a charging unit, and a data collection unit, wherein the charging unit and the data collection unit are respectively connected to the microcontroller unit;

[0007] The charging unit is used to charge the equivalent capacitance of the flow meter and the data collector through the connection circuit of the flow meter and the data collector according to the working state of the data collector;

[0008] The data acquisition unit is used to collect the line voltage on the connection circuit;

[0009] The micro control unit is used to receive the online voltage and determine the connection status of the connection circuit according to the online voltage.

[0010] Here, the circuit detection device of the embodiment of the present application can be used to detect faults in the connection circuit between the flow meter and the data collector, wherein the circuit detection device is composed of a charging unit and a data acquisition unit, and the charging unit and the data acquisition unit are respectively connected to the microcontroller unit (MCU) of the data collector, so as to realize connection with the data collector and connection with the flow meter connected to the data collector. The charging unit can charge the equivalent capacitor of the flow meter and the data collector according to the working status of the data collector, and the data acquisition unit is used to collect the online voltage on the connection circuit. If the voltage value collected by the data acquisition unit after the charging unit charges the equivalent capacitor is too small and is less than the second preset threshold value, then it can be accurately judged that the connection circuit has a fault and the circuit connection is broken. The charging unit and the data acquisition unit here can be integrated on the main board of the data collector, without the need for special installation or disassembly of the flow meter. The circuit detection is simple to implement, and there is no need to add an anti-disconnection detection module, thereby reducing costs.

[0011] Optionally, a timing unit is also included;

[0012] The timing unit is connected to the MCU;

[0013] The timing unit is used to provide a clock signal to the MCU to control the charging time of the charging unit.

[0014] Here, the circuit detection device provided in the embodiment of the present application also includes a timing unit, which is used to provide a clock signal for the MCU, so that the MCU can send control instructions to each module according to the clock signal, and can also control the charging time of the charging unit. The data acquisition unit can accurately collect the online voltage according to the charging time and charging cycle of the charging unit, and can also automatically collect the online voltage according to the clock signal, further improving the accuracy of circuit detection, improving the efficiency and intelligence of voltage detection, and simplifying the acquisition steps.

[0015] Optionally, the charging unit is a charging time measurement unit CTMU.

[0016] Here, the Charge Time Measurement Unit (CTMU) serves as a versatile on-chip constant current source, applying stable current source pulses to the connected circuit. The CTMU is low-cost and, as a microcontroller peripheral, can be directly connected to the data acquisition device without the need for additional hardware or disassembly of the existing flow meter circuit. This saves costs, simplifies implementation, and further improves the accuracy of current detection.

[0017] Optionally, a calibration unit is also included;

[0018] The calibration unit is connected to the charging unit;

[0019] The calibration unit is used to calibrate the current output by the charging unit.

[0020] Here, the circuit detection device provided in the embodiment of the present application also includes a calibration unit, which can calibrate the current output by the charging unit, thereby achieving precise control of the charging unit, reducing the impact of the output current error of the charging unit on the detection result, and further improving the accuracy of current detection.

[0021] Optionally, the calibration unit includes a precision resistor.

[0022] Here, the embodiment of the present application uses a precision resistor as a calibration unit to calibrate the charging unit, further improving the accuracy of current detection.

[0023] Optionally, an alarm unit may also be included;

[0024] The alarm unit is connected to the MCU;

[0025] The alarm unit is used to issue an alarm according to the connection status of the connection circuit.

[0026] Here, the circuit detection device provided in the embodiment of the present application also includes an alarm unit, which can alarm according to the connection status of the connection circuit. For example, when a fault is detected in the connection circuit, a sound alarm is issued through a buzzer, a sound module, etc., or an alarm light is issued through an indicator light to prompt that the current circuit connection has a fault, which is convenient for the staff to repair the fault and reduce the loss caused by the fault.

[0027] Optionally, a communication unit is further included;

[0028] The communication unit is connected to the MCU;

[0029] The communication unit is configured to send the connection status of the connection circuit to a terminal or a server.

[0030] Here, the circuit detection device of the embodiment of the present application also includes a communication unit, which can be used to transmit data and send the connection status of the connection circuit to the terminal or server, so that the terminal and server can control the circuit according to the connection status, thereby improving the safety of the circuit, reducing the losses caused by circuit failures, and improving user experience.

[0031] Optionally, a display unit is also included;

[0032] The display unit is connected to the MCU;

[0033] The display unit is used to display the connection status of the connection circuit.

[0034] Here, the circuit detection device provided in the embodiment of the present application also includes a display unit, which can display the connection status of the connected circuit, making it easier for staff to understand the actual working conditions and fault information of the circuit, monitor the circuit according to the circuit and faults, and further improve the user experience.

[0035] In a second aspect, an embodiment of the present application provides a circuit detection method, comprising:

[0036] Charge the equivalent capacitance of the flow meter and data logger;

[0037] Obtaining an in-line voltage on the connection circuit;

[0038] The connection state of the connection circuit is determined according to the line voltage.

[0039] Optionally, determining the connection status of the connection circuit according to the line voltage includes:

[0040] If the collected voltage value is greater than a first preset threshold, determining that the connection state of the connection circuit is a normal connection;

[0041] If the collected voltage value is less than a second preset threshold, it is determined that the connection state of the connection circuit is open.

[0042] Optionally, after determining that the connection state of the connection circuit is open if no voltage value is collected within the preset time, the method further includes:

[0043] Indicates that a circuit connection failure has occurred.

[0044] The circuit detection device and circuit detection method provided in the embodiments of the present application, the circuit detection device can be used to detect faults in the connection circuit between the flow meter and the data collector, wherein the circuit detection device is composed of a charging unit and a data acquisition unit, the charging unit and the data acquisition unit are respectively connected to the microcontroller unit (MCU) of the data collector, and can realize connection with the data collector and connection with the flow meter connected to the data collector, the charging unit can charge the equivalent capacitors of the flow meter and the data collector according to the working status of the data collector, the data acquisition unit is used to collect the online voltage on the connection circuit, if the voltage value collected after the charging unit charges the equivalent capacitor is too small, less than the second preset threshold, then it can be accurately determined that the connection circuit has a fault and the circuit connection is broken, the charging unit and the data acquisition unit here can be integrated on the mainboard of the data collector, without the need for special installation or disassembly of the flow meter, the circuit detection is simple to implement, and there is no need to add an anti-disconnection detection module, thereby reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0046] Figure 1 A schematic diagram of the structure of a circuit detection device provided in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of the configuration of a CTMU module inside a single-chip microcomputer provided in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of a current pulse provided in an embodiment of the present application;

[0049] Figure 4 A schematic structural diagram of another circuit detection device provided in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of the circuit structure of a circuit detection device provided in an embodiment of the present application;

[0051] Figure 6 A flow chart of a circuit detection method provided in an embodiment of the present application.

[0052] The above drawings illustrate specific embodiments of the present disclosure, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of the present disclosure to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below in conjunction with the drawings in the preferred embodiments of the present application. In the drawings, the same or similar reference numerals throughout represent the same or similar parts or parts with the same or similar functions. The described embodiments are part of the embodiments of the present application, not all of the embodiments. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain the present application, and should not be understood as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The embodiments of the present application are described in detail below in conjunction with the drawings.

[0054] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood broadly. For example, they may refer to a fixed connection, an indirect connection via an intermediate medium, internal communication between two components, or an interaction between two components. Those skilled in the art will understand the specific meanings of these terms in this application based on specific circumstances.

[0055] Measurement is the eye of industrial production. Flow measurement is one of the components of metrology science and technology. It is closely related to the national economy, national defense construction, and scientific research. Doing this work well plays an important role in ensuring product quality, improving production efficiency, and promoting the development of science and technology. Especially in today's era of energy crisis and increasing automation of industrial production, the status and role of flow meters in the national economy are more obvious.

[0056] At present, data collection and transmission of various flow meters are realized through data collectors. Data collectors collect data information of industrial flow meters and provide them with working voltage for data transmission. Data transmission and connection are generally carried out between flow meters and data collectors through transmission lines. During the data collection process of circuit detection equipment, faults may occur. If the connection between the flow meter and the data collector is disconnected, the flow meter data cannot be collected. For example, if a user maliciously cuts the connection line between the gas flow meter and the data collector to steal gas, and the flow meter failure will also lead to the inability to collect data, it is difficult to locate the problem. In order to detect whether there is a training problem between the flow meter and the data collector, it is usually necessary to disassemble the flow meter and install the anti-disconnection detection module inside the flow meter to detect the disconnection fault.

[0057] However, in the prior art, the flow meter needs to be disassembled, the circuit detection equipment fault detection is complicated to implement, and an anti-disconnection detection module is added, which is costly.

[0058] In order to solve the above technical problems, the embodiments of the present application provide a circuit detection device and a circuit detection system. The circuit detection device of the embodiments of the present application can be used to detect faults in the connection circuit between the flow meter and the data collector, wherein the circuit detection device is composed of a charging unit and a data acquisition unit, and the charging unit and the data acquisition unit are respectively connected to the MCU of the data collector, so as to realize connection with the data collector and connection with the flow meter connected to the data collector. The charging unit can charge the equivalent capacitor of the flow meter and the data collector according to the working status of the data collector, and the data acquisition unit is used to collect the online voltage on the connection circuit. If the voltage value collected after the charging unit charges the equivalent capacitor is too small and is less than the second preset threshold, then it can be accurately judged that the connection circuit has a fault and the circuit connection is broken. The charging unit and the data acquisition unit here can be integrated on the mainboard of the data collector, without the need for special installation or disassembly of the flow meter. The circuit detection is simple to implement, and there is no need to add an anti-disconnection detection module, thereby reducing costs.

[0059] The circuit detection device provided in the embodiments of the present application is described in detail below with reference to specific embodiments.

[0060] Figure 1 A schematic diagram of the structure of a circuit detection device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the circuit detection device is used to detect faults in the connection circuit between the flow meter 103 and the data collector 104. The data collector 104 includes: an MCU 1041, a charging unit 101 and a data collection unit 102. The charging unit 101 and the data collection unit 102 are respectively connected to the MCU 1041.

[0061] The charging unit 101 is used to charge the equivalent capacitance of the flow meter 103 and the data collector 104 through the connection circuit between the flow meter and the data collector according to the working status of the data collector 104.

[0062] Here, the connection circuit between the flow meter and the data collector connects the equivalent capacitors of the flow meter and the data collector, and the equivalent capacitor is charged by the charging unit. The data collection unit can collect the voltage of the equivalent capacitor and / or the connection circuit.

[0063] Here, the connecting circuit in the embodiment of the present application is used to connect the flow meter and the data collector. The connecting circuit is used to realize data acquisition and transmission between the flow meter and the data collector, and is also used to charge the equivalent capacitance of the flow meter and the data collector through the connecting circuit.

[0064] Among them, equivalent capacitance refers to the capacitance reflected by multiple capacitors or a circuit or an electronic device in a specific circuit. The capacitance can be used to measure its capacitance. For example, if we connect several capacitors in parallel, we can calculate its equivalent capacitance. For a capacitive component, we can also calculate its capacitance in the circuit. In the embodiment of this application, it refers to a capacitance equivalent to the capacitance of the flow meter and data collector.

[0065] Optionally, the charging unit is a charging time measurement unit CTMU.

[0066] The CTMU module can be connected to the microcontroller, and the CTMU module can use the current source to charge the capacitor.

[0067] Here, the CTMU, as a versatile on-chip constant current source, can apply stable current source pulses to the connected circuit. The CTMU is low-cost and, as a microcontroller peripheral, can be directly connected to the data acquisition device without the need for additional hardware or disassembly of the existing flow meter circuit. This saves costs, simplifies implementation, and further improves the accuracy of current detection.

[0068] The data acquisition unit 102 is used to acquire the line voltage on the connection circuit.

[0069] Optionally, the data acquisition unit may be an analog quantity acquisition module (AD module), and the AD module may be used to sample the voltage on the line.

[0070] Optionally, a comparator may be included. The comparator, AD module, and CTMU may jointly measure the online voltage. The MCU detects whether there is a disconnection fault between the flow meter and the data collector based on the collected online voltage.

[0071] MCU1041 is used to receive the online voltage and determine the connection status of the connection circuit according to the online voltage.

[0072] Optionally, the MCU connection is also used to detect whether the data collector is in the data collection state.

[0073] Here, the embodiment of the present application can detect the working status of the data collector and charge the connected circuit according to the working status of the subsequent charging module data collector, thereby avoiding the influence of the voltage and current of the data collector itself during operation on the circuit fault detection, further improving the accuracy of circuit detection, eliminating the need for manual judgment, and improving the intelligence and convenience of circuit detection.

[0074] Optionally, a timing unit is also included.

[0075] The timing unit is connected to the MCU.

[0076] The timing unit is used to provide a clock signal to the MCU so that the MCU can realize charging, data acquisition and discharging functions according to the clock signal.

[0077] Here, the circuit detection device provided in the embodiment of the present application also includes a timing unit, which is used to provide a clock signal for the MCU, so that the MCU can send control instructions to each module according to the clock signal. It can also control the charging time of the charging unit so that the MCU can realize charging, data acquisition and discharging functions according to the clock signal. The data acquisition unit can accurately collect the online voltage according to the charging time and charging cycle of the charging unit, and can also automatically collect the online voltage according to the clock signal, further improving the accuracy of circuit detection, improving the efficiency and intelligence of voltage detection, and simplifying the acquisition steps.

[0078] Optionally, an alarm unit may also be included;

[0079] The alarm unit is connected to the MCU;

[0080] The alarm unit is used to give an alarm according to the connection status of the connection circuit.

[0081] Here, the circuit detection device provided in the embodiment of the present application also includes an alarm unit, which can alarm according to the connection status of the connection circuit. For example, when a fault is detected in the connection circuit, a sound alarm is issued through a buzzer, a sound module, etc., or an alarm light is issued through an indicator light to prompt that the current circuit connection has a fault, which is convenient for the staff to repair the fault and reduce the loss caused by the fault.

[0082] Optionally, a communication unit is further included;

[0083] The communication unit is connected to the MCU;

[0084] The communication unit is used to send the connection status of the connection circuit to the terminal or the server.

[0085] Here, the circuit detection device of the embodiment of the present application also includes a communication unit, which can be used to transmit data and send the connection status of the connection circuit to the terminal or server, so that the terminal and server can control the circuit according to the connection status, thereby improving the safety of the circuit, reducing the losses caused by circuit failures, and improving user experience.

[0086] Optionally, a display unit is also included;

[0087] The display unit is connected to the MCU;

[0088] The display unit is used to display the connection status of the connection circuit.

[0089] Optionally, the display unit may be a liquid crystal screen or a light-emitting diode (LED).

[0090] Here, the circuit detection device provided in the embodiment of the present application also includes a display unit, which can display the connection status of the connected circuit, making it easier for staff to understand the actual working conditions and fault information of the circuit, monitor the circuit according to the circuit and faults, and further improve the user experience.

[0091] In one possible implementation, the flow meter is generally connected to the data collector via the 485 bus. The collector sends instructions to the flow meter via the 485 bus at regular intervals to read the flow meter measurement data and store and upload it to the remote server. At this time, if the flow meter fails or the 485 bus is disconnected or the contact is poor, the data cannot be read. Therefore, detecting the 485 bus status can analyze the cause of the failure. In the embodiment of the present application, when the above-mentioned data collector does not perform the collection task, a current source pulse is applied to the 485 bus through the charging unit. The current source will charge the input equivalent capacitance of the flow meter 485 chip. After charging for a period of time, the voltage on the bus is sampled through the data collection module, and then the current source is stopped and the capacitor is discharged. When the bus is in a normal connection state, the data collection module connected to the MCU of the data collector will sample a certain voltage value. When the bus is disconnected, the data collection module cannot sample the voltage. This cycle repeats, and the bus connection status can be continuously detected in real time. A disconnection alarm can also be provided based on the bus connection status.

[0092] In one possible implementation, the embodiment of the present application uses a CTMU module as a charging unit, and cooperates with a timer and an AD module for sampling. Accordingly, Figure 2 This is a schematic diagram of the configuration of a CTMU module inside a single-chip microcomputer provided in an embodiment of the present application. Figure 3 A current pulse schematic diagram provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, by configuring the internal timer to automatically control the CTMU module to generate current pulses, the CTMU module is configured to control the internal AD module when a charging cycle is completed (for example Figure 3 The sampling point) automatically detects the voltage on the detection pin at this time, that is, the charging voltage of the external capacitor, for example Figure 3 Detection is performed on the falling edge of the pulse in. Figure 3 Where T1 is the charging time of the capacitor by the current source, and T2 is the discharge time. T1 and T2 are set according to the size of the external capacitor. This embodiment of the application does not impose specific restrictions on this. When the external capacitor is small, the charging time can be relatively short. During the T2 period, the CTMU module will automatically control the internal MOS tube to conduct and discharge to ground. At this time, the connection status can be detected in two ways:

[0093] Option 1: Ensure that the flow meter is in a normal connection state before the data collector is powered on. At this time, the power-on software obtains a voltage value as the voltage reference value V1 when the bus is in a normal connection state. When the 485 bus is disconnected, the voltage V2 on pin 2 <V1。

[0094] Optional method two is to calculate the capacitance value C by sampling the voltage value V, the current source driving time T1, and the current value I after calibration (output current multiplied by the calibration coefficient K), using the formula I = C × dV / dT1, and compare it with the equivalent capacitance value on the bus. When the calculated capacitance C is smaller than the equivalent capacitance when the bus is normally connected, the bus is considered disconnected.

[0095] The circuit detection device of the embodiment of the present application can be used to detect faults in the connection circuit between the flow meter and the data collector, wherein the circuit detection device is composed of a charging unit and a data acquisition unit, and the charging unit and the data acquisition unit are respectively connected to the microcontroller unit (MCU) of the data collector, so as to realize connection with the data collector and connection with the flow meter connected to the data collector. The charging unit can charge the equivalent capacitors of the flow meter and the data collector according to the working status of the data collector, and the data acquisition unit is used to collect the online voltage on the connection circuit. If the voltage value collected after the charging unit charges the equivalent capacitor is too small and is less than the second preset threshold value, it can be accurately determined that the connection circuit has a fault and the circuit connection is broken. The charging unit and the data acquisition unit here can be integrated on the main board of the data collector, without the need for special installation or disassembly of the flow meter. The circuit detection is simple to implement, and there is no need to add an anti-disconnection detection module, thereby reducing costs.

[0096] In a possible implementation, the gas detection device provided in the embodiment of the present application further includes a calibration unit. Accordingly, Figure 4 A schematic diagram of another circuit detection device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the circuit detection device is used to detect faults in the connection circuit between the flow meter 103 and the data collector 104, and includes: a charging unit 101, a data acquisition unit 102 and a calibration unit 201. The charging unit 101 and the data acquisition unit 102 are respectively connected to the MCU 1041 of the data collector 104, and the calibration unit 401 is connected to the charging unit 101.

[0097] The calibration unit 401 is used to calibrate the current output by the charging unit.

[0098] Optionally, the calibration unit comprises a precision resistor.

[0099] The calibration unit in the embodiment of the present application includes a precision resistor, and the charging unit can be grounded through the precision resistor. The current value obtained by the detected voltage and the precision resistor is compared with the theoretical charging current value to obtain a proportional coefficient or a deviation value, thereby achieving the purpose of calibrating the actual charging current value. The charging unit is calibrated to further improve the accuracy of current detection.

[0100] Optional, Figure 5 A schematic diagram of the circuit structure of a circuit detection device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the circuit structure of the circuit detection device is used to detect faults in the connection circuit between the flow meter 103 and the data collector 104, including a charging unit 101 and a data acquisition unit 102. The charging unit 101 and the data acquisition unit 102 are connected to the MCU of the data collector by being integrated on the single-chip microcomputer of the data collector 104. The charging unit 101 inside the data collector 104 outputs a current pulse through one of the pins (pin 2 is taken as an example in the figure) connected to the A end or B end of the bus (end A is taken as an example in the figure), and the other pin is used as a calibration end (pin 1 in the figure) to calibrate the output current of the CTMU module through the precision resistor 501. It can be understood that the circuit also includes other components after the precision resistor. Figure 5 Not specifically shown.

[0101] The circuit detection device provided in the embodiment of the present application also includes a calibration unit, which can calibrate the current output by the charging unit, thereby achieving precise control of the charging unit, reducing the impact of the output current error of the charging unit on the detection result, and further improving the accuracy of current detection.

[0102] The embodiment of the present application further provides a circuit detection method, optionally, Figure 6 A schematic diagram of a circuit detection method provided in an embodiment of the present application is provided. Figure 6 The circuit detection method in can be applied to the MCU of the above data collector, such as Figure 6 As shown, the method includes:

[0103] S601: Charge the equivalent capacitance of the flow meter and data logger.

[0104] S602: Acquire the voltage on the line of the connection circuit.

[0105] S603: Determine the connection status of the connection circuit according to the line voltage.

[0106] Optionally, the connection status of the connection circuit is judged based on the online voltage, including: if the collected voltage value is greater than a first preset threshold, determining that the connection status of the connection circuit is a normal connection; if the collected voltage value is less than a second preset threshold, determining that the connection status of the connection circuit is a disconnection.

[0107] It can be understood that the first preset threshold and the second preset threshold here can be confirmed according to actual conditions, and this application does not impose any specific restrictions on this. The first preset threshold and the second preset threshold can be the same value or different values.

[0108] Optionally, the connection status of the circuit can also be determined by detecting the capacitor voltage in the flow meter after charging.

[0109] Optionally, after determining that the connection state of the connection circuit is open when the collected voltage value is less than the second preset threshold, the method further includes:

[0110] Indicates that a circuit connection failure has occurred.

[0111] Here, the flow meter connection line may be informed of the disconnected state through a human-machine interaction method such as a liquid crystal display or a remote communication method.

[0112] Optionally, at least one of the alarm unit, communication unit and display unit in the above embodiments can be used to prompt that a circuit connection failure has occurred. Specifically, the alarm unit can emit a sound or indicator light alarm, the prompt information can be sent to the user terminal or server through the communication unit, or the prompt information can be displayed through the display unit.

[0113] Exemplarily, if it is determined that the connection state of the circuit is open, a prompt is given that the circuit connection is faulty. The prompt information may be "the connection state of the circuit is open" or "the circuit connection is faulty".

[0114] The embodiment of the present application charges the connection circuit and detects the signal of the connection circuit to determine the connection status of the circuit, so as to accurately determine whether there is a circuit break fault between the flow meter and the data collector, thereby improving the accuracy, convenience and efficiency of fault detection.

[0115] An embodiment of the present application also provides a circuit detection system, including a flow meter and a data collector, and a circuit detection device as described in the above embodiment connected to the MCU of the data collector.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0118] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0119] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the applications disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0120] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A circuit detection device for detecting faults in the connection circuit between a flow meter and a data collector, characterized in that: The data acquisition device includes a micro control unit, a charging unit and a data acquisition unit, wherein the charging unit and the data acquisition unit are respectively connected to the micro control unit; The charging unit is used to charge the equivalent capacitance of the flow meter and the data collector through the connection circuit of the flow meter and the data collector according to the working state of the data collector; The data acquisition unit is configured to acquire the line voltage on the connection circuit when the equivalent capacitor is discharged after the charging unit charges the equivalent capacitor for a period of time and stops charging; The micro control unit is used to receive the online voltage and determine the connection status of the connection circuit according to the online voltage; If the collected voltage value is greater than a first preset threshold, the connection state of the connection circuit is determined to be a normal connection; if the collected voltage value is less than a second preset threshold, the connection state of the connection circuit is determined to be a disconnection.

2. The circuit testing device according to claim 1, characterized in that Also includes a timing unit; The timing unit is connected to the micro control unit; The timing unit is used to provide a clock signal to the micro control unit, so that the micro control unit can realize charging, data acquisition and discharging functions according to the clock signal.

3. The circuit testing device according to claim 1, characterized in that The charging unit is a charging time measurement unit CTMU.

4. The circuit testing device according to claim 1, wherein: Also included is a calibration unit; The calibration unit is connected to the charging unit; The calibration unit is used to calibrate the current output by the charging unit.

5. The circuit testing device according to any one of claims 1 to 4, characterized in that: Also includes an alarm unit; The alarm unit is connected to the micro control unit; The alarm unit is used to issue an alarm according to the connection status of the connection circuit.

6. The circuit testing device according to any one of claims 1 to 4, characterized in that: Also included is a communication unit; The communication unit is connected to the micro control unit; The communication unit is configured to send the connection status of the connection circuit to a terminal or a server.

7. The circuit testing device according to any one of claims 1 to 4, characterized in that: Also included is a display unit; The display unit is connected to the micro control unit; The display unit is used to display the connection status of the connection circuit.

8. A current detection method, used in the circuit detection device according to any one of claims 1 to 7, characterized in that: include: Charge the equivalent capacitance of the flow meter and data logger for a period of time and then stop charging; obtaining a line voltage on the connection circuit when the equivalent capacitor is discharged; The connection state of the connection circuit is determined based on the voltage on the line. If the collected voltage value is greater than a first preset threshold, the connection state of the connection circuit is determined to be a normal connection. If the collected voltage value is less than a second preset threshold, the connection state of the connection circuit is determined to be a disconnection.

9. The method according to claim 8, characterized in that After determining that the connection state of the connection circuit is open if the collected voltage value is less than a second preset threshold, the method further includes: Indicates that a circuit connection failure has occurred.

Citation Information

Patent Citations

  • Signal sampling treatment circuit

    CN108490817A

  • Circuit detection equipment and circuit detection system

    CN214150955U