CN114720845A - Circuit detection device and circuit detection method - Google Patents

Circuit detection device and circuit detection method Download PDF

Info

Publication number
CN114720845A
CN114720845A CN202110004893.7A CN202110004893A CN114720845A CN 114720845 A CN114720845 A CN 114720845A CN 202110004893 A CN202110004893 A CN 202110004893A CN 114720845 A CN114720845 A CN 114720845A
Authority
CN
China
Prior art keywords
unit
circuit
connection
data acquisition
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110004893.7A
Other languages
Chinese (zh)
Inventor
杨玉杰
钱晓平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goldcard Smart Group Co Ltd
Original Assignee
Goldcard Smart Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goldcard Smart Group Co Ltd filed Critical Goldcard Smart Group Co Ltd
Priority to CN202110004893.7A priority Critical patent/CN114720845A/en
Publication of CN114720845A publication Critical patent/CN114720845A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • G01R31/2843In-circuit-testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The application provides a circuit detection device and a circuit detection method, which are used for detecting faults of a connecting circuit of a flow meter and a data acquisition unit, wherein the data acquisition unit comprises a micro control unit, a charging unit and a data acquisition unit, and the charging unit and the data acquisition unit are respectively connected with the micro control unit; the charging unit is used for charging equivalent capacitors of the flowmeter and the data collector through a connecting circuit of the flowmeter and the data collector according to the working state of the data collector; the data acquisition unit is used for acquiring the on-line voltage on the connecting circuit; and the micro control unit is used for receiving the on-line voltage and judging the connection state of the connection circuit according to the on-line voltage, the flowmeter does not need to be specially installed or disassembled, the circuit detection is simple to realize, and the cost is reduced without adding an anti-broken line detection module.

Description

Circuit detection device and circuit detection method
Technical Field
The application relates to the technical field of gas equipment, in particular to a circuit detection device and a circuit detection method.
Background
Metering is on the eye of industrial production. The flow measurement is one of the components of the measurement science and technology, has close relation with national economy, national defense construction and scientific research, has important functions on ensuring the product quality, improving the production efficiency and promoting the development of the science and technology after the work is done, and particularly has more obvious position and function in the national economy in the current times that the energy crisis and the industrial production automation degree are higher and higher.
Data acquisition and transmission of various flowmeters are realized through data acquisition unit at present, and data acquisition unit provides operating voltage when data transmission for it when gathering industrial flowmeter's data information, generally carries out data transmission and connection through the transmission line between flowmeter and the data acquisition unit, in circuit check out test set collection data process, probably breaks down, unpacks the flowmeter usually apart, will prevent that the broken string detection module from installing in flowmeter inside carries out broken string fault detection.
However, in the prior art, the fault detection of the circuit detection equipment is complex to realize, and a disconnection-preventing detection module is added, so that the cost is high.
Disclosure of Invention
The application provides a circuit detection device and a circuit detection method, which aim to solve the technical problems that in the prior art, the fault detection of the circuit detection device is complex, and a disconnection-preventing detection module is additionally arranged, so that the cost is high.
In a first aspect, the present application provides a circuit detection device for detecting a fault of a connection circuit of a flow meter and a data collector, where the data collector includes a micro control unit, a charging unit, and a data acquisition unit, and the charging unit and the data acquisition unit are connected to the micro control unit respectively;
the charging unit is used for charging equivalent capacitors of the flowmeter and the data collector through a connecting circuit of the flowmeter and the data collector according to the working state of the data collector;
the data acquisition unit is used for acquiring the voltage on the line on the connecting circuit;
and the micro control unit is used for receiving the on-line voltage and judging the connection state of the connection circuit according to the on-line voltage.
Here, the circuit detection device of the embodiment of the present application may be configured to detect a fault of a connection circuit between a flow meter and a data collector, where the circuit detection device includes a charging Unit and a data collection Unit, the charging Unit and the data collection Unit are respectively connected to a Micro Controller Unit (MCU) of the data collector, and may be connected to the data collector and the flow meter connected to the data collector, the charging Unit may charge an equivalent capacitor of the flow meter and the data collector according to a working state of the data collector, the data collection Unit is configured to collect an on-line voltage on the connection circuit, if a voltage value collected by the data collection Unit after the charging Unit charges the equivalent capacitor is too small and is smaller than a second preset threshold, it may be accurately determined that the connection circuit has a fault, and the circuit connection is broken, where the charging Unit and the data collection Unit may be integrated on a main board of the data collector, the flowmeter does not need to be specially installed or disassembled, the circuit detection is simple to realize, a disconnection-preventing detection module does not need to be added, and the cost is reduced.
Optionally, the system further comprises a timing unit;
the timing unit is connected with the MCU;
and the timing unit is used for providing a clock signal for the MCU and controlling the charging time of the charging unit.
Here, the circuit detection device that this application embodiment provided still includes the timing unit, the timing unit is used for providing clock signal for MCU, MCU according to clock signal to each module control command of being convenient for, can also control the charging time of charging unit, the data acquisition unit can be according to the charging time of charging unit, charge cycle etc. can carry out accurate ground wire on voltage collection, also can be according to clock signal automatic acquisition line on voltage, circuit detection's accuracy has further been improved, voltage detection's efficiency and intellectuality have been improved, the collection step has been simplified.
Optionally, the charging unit is a charging time measuring unit CTMU.
Here, Charge Time Measurement Unit (CTMU) is as a multi-functional on-chip constant current source, can exert stable current source pulse to connecting circuit, and CTMU is with low costs, and as the peripheral hardware of singlechip, can directly be connected with data collection station, need not plus unnecessary hardware structure, also need not to take apart current meter circuit, saves the cost, realizes simply, has also further improved current detection's accuracy.
Optionally, the system further comprises a calibration unit;
the calibration unit is connected with the charging unit;
the calibration unit is used for calibrating the current output by the charging unit.
Here, the circuit detection device that this application embodiment provided still includes calibration unit, and calibration unit can calibrate the electric current of charging unit output to the realization is to the accurate control of charging unit, has reduced the influence that the charging unit output current error caused the testing result, has further improved current detection's accuracy.
Optionally, the calibration unit comprises a precision resistor.
Here, the embodiment of the application adopts the precision resistor as the calibration unit, and the charging unit is calibrated, so that the accuracy of current detection is further improved.
Optionally, the system further comprises an alarm unit;
the alarm unit is connected with the MCU;
and the alarm unit is used for alarming according to the connection state of the connection circuit.
Here, the circuit detection device that this application embodiment provided still includes alarm unit, and alarm unit can report to the police to the connection status of connecting circuit, for example when detecting that connecting circuit breaks down, carries out audible alarm through bee calling organ, sound module etc. or carries out the alarm lamp through the pilot lamp for the suggestion is gone wrong in the current circuit connection, and the staff of being convenient for maintains to the trouble, in order to reduce the loss that the trouble arouses.
Optionally, the system further comprises a communication unit;
the communication unit is connected with the MCU;
and the communication unit is used for sending the connection state of the connection circuit to a terminal or a server.
Here, the circuit detection device of the embodiment of the application further includes a communication unit, and data transmission can be performed through the communication unit, and the connection state of the connection circuit is sent to the terminal or the server, so that the terminal and the server can control the circuit according to the connection state, the safety of the circuit is improved, the loss caused by circuit faults is reduced, and the user experience is improved.
Optionally, the system further comprises a display unit;
the display unit is connected with the MCU;
the display unit is used for displaying the connection state of the connection circuit.
Here, the circuit detection equipment that this application embodiment provided still includes the display element, and the display element can show the connection status of connecting circuit, and the staff of being convenient for masters the actual behavior and the fault information of circuit, monitors the circuit to circuit and trouble, has further improved user experience.
In a second aspect, an embodiment of the present application provides a circuit detection method, including:
charging equivalent capacitors of the flowmeter and the data acquisition unit;
acquiring the on-line voltage on the connecting circuit;
and judging the connection state of the connection circuit according to the voltage on the line.
Optionally, the determining the connection state of the connection circuit according to the voltage on the line includes:
if the acquired voltage value is larger than a first preset threshold value, determining that the connection state of the connection circuit is normal connection;
and if the acquired voltage value is smaller than a second preset threshold value, determining that the connection state of the connection circuit is open circuit.
Optionally, after determining that the connection state of the connection circuit is an open circuit if the voltage value is not collected within the preset time, the method further includes:
and prompting that the circuit connection is in failure.
The circuit detection device and the circuit detection method provided by the embodiment of the application can be used for detecting the faults of a connecting circuit of a flow meter and a data acquisition Unit, wherein the circuit detection device consists of a charging Unit and a data acquisition Unit, the charging Unit and the data acquisition Unit are respectively connected with a Micro Controller Unit (MCU) of the data acquisition Unit, the connection with the data acquisition Unit and the connection with the flow meter connected with the data acquisition Unit can be realized, the charging Unit can charge equivalent capacitors of the flow meter and the data acquisition Unit according to the working state of the data acquisition Unit, the data acquisition Unit is used for acquiring online voltage on the connecting circuit, if the voltage value acquired after the charging Unit charges the equivalent capacitors is too small and is smaller than a second preset threshold value, the fault of the connecting circuit can be accurately judged, and the circuit connection is broken, the charging unit and the data acquisition unit can be integrated on the data acquisition unit mainboard, a flowmeter does not need to be specially installed or disassembled, circuit detection is simple to realize, a disconnection-preventing detection module does not need to be added, and cost is reduced.
Drawings
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 disclosure.
Fig. 1 is a schematic structural diagram of a circuit detection device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a configuration of a CTMU module inside a single chip microcomputer according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a current pulse provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another circuit detection device provided in an embodiment of the present application;
fig. 5 is a schematic circuit structure diagram of a circuit detection device according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a circuit detection method according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, 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 with reference to the accompanying drawings in the preferred embodiments of the present application. In the drawings, the same or similar reference numerals denote the same or similar components or components having the same or similar functions throughout. The described embodiments are a subset of the embodiments in the present application and not all embodiments in the present application. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the description of the present application, it should be noted that unless otherwise specifically stated or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may for example be fixed or indirectly connected through intervening media, or may be interconnected between two elements or may be in the interactive relationship between two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Metering is on the eye of industrial production. The flow measurement is one of the components of the measurement science and technology, has close relation with national economy, national defense construction and scientific research, has important functions on ensuring the product quality, improving the production efficiency and promoting the development of the science and technology after the work is done, and particularly has more obvious position and function in the national economy in the current times that the energy crisis and the industrial production automation degree are higher and higher.
Data acquisition and transmission of various present flowmeters are realized through data acquisition unit, data acquisition unit provides operating voltage when data transmission for it when gathering industrial flowmeter's data information, generally carry out data transmission and connection through the transmission line between flowmeter and the data acquisition unit, in circuit check out test set data acquisition in-process, probably break down, can cause unable collection flowmeter data if flowmeter and data acquisition unit's wiring disconnection, for example, the user maliciously cuts out gas flowmeter and data acquisition unit connecting wire and steals gas, and also can lead to unable data collection because the flowmeter trouble also can lead to, difficult location problem, in order to detect whether there is the exercise problem between flowmeter and the data acquisition unit, the flowmeter need be taken apart usually, will prevent that the broken string detection module installs and carry out broken string fault detection inside the flowmeter.
However, in the prior art, the flowmeter needs to be disassembled, the fault detection of the circuit detection equipment is complex, and a disconnection-preventing detection module is added, so that the cost is high.
In order to solve the above technical problems, an embodiment of the present application provides a circuit detection device and a circuit detection system, where the circuit detection device in the embodiment of the present application may be used to detect a fault of a connection circuit between a flow meter and a data collector, where the circuit detection device is composed of a charging unit and a data collection unit, the charging unit and the data collection unit are respectively connected to an MCU of the data collector, and may implement connection with the data collector and connection with the flow meter connected to the data collector, the charging unit may charge equivalent capacitors of the flow meter and the data collector according to a working state of the data collector, the data collection unit is used to collect an on-line voltage on the connection circuit, and if a voltage value collected after the charging unit charges the equivalent capacitors is too small and is smaller than a second preset threshold, it may be accurately determined that the connection circuit has a fault, the circuit connection opens circuit, and the charging unit and the data acquisition unit here can be integrated on the data acquisition unit mainboard, need not special installation or unpack apart the flowmeter, and the circuit detects and realizes simply, need not to increase moreover and prevents disconnected line detection module, the cost is reduced.
The circuit detection device provided by the embodiment of the present application is described in detail with reference to specific embodiments.
Fig. 1 is a schematic structural diagram of a circuit detection device according to an embodiment of the present application, and as shown in fig. 1, the circuit detection device is configured to detect a fault of a connection circuit between a flow meter 103 and a data collector 104, where the data collector 104 includes: MCU1041, charging unit 101 and data acquisition unit 102 are connected with MCU1041 respectively.
And the charging unit 101 is used for charging the equivalent capacitors of the flow meter 103 and the data collector 104 through the connecting circuit of the flow meter and the data collector according to the working state of the data collector 104.
Here, the connecting circuit of the flow meter and the data collector connects the equivalent capacitance of the flow meter and the data collector, the equivalent capacitance is charged by the charging unit, and the data collecting unit can collect the voltage of the equivalent capacitance and/or the connecting circuit.
Here, the connection circuit in this embodiment of the application is used to connect the flowmeter and the data collector, and the connection circuit is used to realize data acquisition and transmission between the flowmeter and the data collector, and is also used to charge the equivalent capacitors of the flowmeter and the data collector through the connection circuit.
The equivalent capacitance refers to capacitance embodied by a plurality of capacitances or a circuit or an electronic device in a specific circuit, and the capacitance can be measured by the capacitance, for example, the equivalent capacitance can be calculated by connecting a plurality of capacitances in parallel, and the capacitance can also be calculated in the circuit by using a capacitive component, in the embodiment of the application, the capacitance is equivalent to the capacitance of the flow meter and the data acquisition unit.
Optionally, the charging unit is a charging time measuring unit CTMU.
The inside external CTMU module of joinable of singlechip, CTMU module can utilize the current source to charge the electric capacity.
The CTMU serves as a multifunctional on-chip constant current source and can apply stable current source pulse to the connecting circuit, the CTMU is low in cost, and as a peripheral of the single chip microcomputer, the CTMU can be directly connected with a data acquisition unit without adding extra hardware structures or disassembling an existing flow meter circuit, cost is saved, implementation is simple, and accuracy of current detection is further improved.
And the data acquisition unit 102 is used for acquiring the voltage on the line on the connecting circuit.
Optionally, the data acquisition unit may be an Analog quantity acquisition module (AD module), and the AD module may be configured to sample the voltage on the line.
Optionally, the system may further include a comparator, the AD module and the CTMU may jointly implement measurement of the online voltage, and the MCU detects whether there is a disconnection fault between the flow meter and the data collector according to the collected online voltage.
The MCU1041 is configured to receive an on-line voltage, and determine a connection state of the connection circuit according to the on-line voltage.
Optionally, the MCU connection is further configured to detect whether the data collector is in a data collecting state.
Here, this application embodiment can detect data collection station's operating condition, charges to connecting circuit according to follow-up module data collection station's operating condition that charges, has avoided the influence of the voltage and current of data collection station's during operation to circuit fault detection time, has further improved the accuracy of circuit detection, need not artifical the judgement, has improved the intellectuality and the convenience of circuit detection.
Optionally, a timing unit is further included.
The timing unit is connected with the MCU.
And the timing unit is used for providing a clock signal for the MCU so that the MCU realizes the functions of charging, data acquisition and discharging according to the clock signal.
Here, the circuit detection device that this application embodiment provided still includes the timing unit, the timing unit is used for providing clock signal for MCU, MCU sends control command to each module according to clock signal of being convenient for, can also control the charging time of charging unit, so that MCU realizes charging according to clock signal, data acquisition and discharge function, the data acquisition unit can be according to the charging time of charging unit, voltage acquisition on accurate ground wire can be carried out to charging cycle etc., also can be according to clock signal automatic acquisition on-line voltage, circuit detection's accuracy has further been improved, voltage detection's efficiency and intellectuality have been improved, the collection step has been simplified.
Optionally, the system further comprises an alarm unit;
the alarm unit is connected with the MCU;
and the alarm unit is used for giving an alarm according to the connection state of the connection circuit.
Here, the circuit detection device that this application embodiment provided still includes alarm unit, and alarm unit can report to the police to the connection status of connecting circuit, for example when detecting that connecting circuit breaks down, carries out audible alarm through bee calling organ, sound module etc. or carries out the alarm lamp through the pilot lamp for the suggestion is gone wrong in the current circuit connection, and the staff of being convenient for maintains to the trouble, in order to reduce the loss that the trouble arouses.
Optionally, the system further comprises a communication unit;
the communication unit is connected with the MCU;
and the communication unit is used for sending the connection state of the connection circuit to the terminal or the server.
Here, the circuit detection device of the embodiment of the application further includes a communication unit, and data transmission can be performed through the communication unit, and the connection state of the connection circuit is sent to the terminal or the server, so that the terminal and the server can control the circuit according to the connection state, the safety of the circuit is improved, the loss caused by circuit faults is reduced, and the user experience is improved.
Optionally, the system further comprises a display unit;
the display unit is connected with the MCU;
and the display unit is used for displaying the connection state of the connection circuit.
Alternatively, the display unit may be a liquid crystal display or a (Light-Emitting Diode, LED).
Here, the circuit detection equipment that this application embodiment provided still includes the display element, and the display element can show the connection status of connecting circuit, and the staff of being convenient for masters the actual behavior and the fault information of circuit, monitors the circuit to circuit and trouble, has further improved user experience.
In a possible implementation mode, the flowmeter is generally connected with a data collector through a 485 bus, the collector sends an instruction to the flowmeter through the 485 bus at intervals to read the metering data of the flowmeter, store and upload the metering data to a remote server, and at the moment, if the flowmeter is in fault or the 485 bus is disconnected or the contact is poor, the data cannot be read, so that the fault reason can be analyzed by detecting the state of the 485 bus. When the data acquisition unit does not execute the acquisition task, the current source pulse is applied to the charging unit on the 485 bus, the current source can charge the input equivalent capacitor of the 485 chip of the flowmeter, the voltage on the bus is sampled through the data acquisition module after the current source pulse is charged for a period of time, then the current source pulse is stopped and the current source pulse is discharged to the capacitor, when the bus is in a normal connection state, the data acquisition module connected with the MCU of the data acquisition unit can sample a certain voltage value, when the bus is disconnected, the voltage cannot be sampled by the data acquisition module, the cycle is repeated, the bus connection state can be detected in real time and continuously, and the disconnection alarm can be provided according to the bus connection state.
In a possible implementation manner, in the embodiment of the present application, the CTMU module is used as a charging unit, and sampling is performed by matching with a timer and an AD module, and accordingly, fig. 2 is a schematic configuration diagram of the CTMU module inside the single chip microcomputer provided in the embodiment of the present application, and fig. 3 is a schematic current pulse diagram provided in the embodiment of the present application, as shown in fig. 2, the CTMU module is automatically controlled by using the internal timer to generate a current pulse, and the CTMU module is configured to control the internal AD module to automatically detect a voltage on a detection pin at the moment when a charging cycle is completed (for example, a sampling point in fig. 3), that is, a charging voltage of an external capacitor at the moment, for example, detection is performed when a pulse falling edge in fig. 3. In fig. 3, T1 is a charging time of the current source to the capacitor, T2 is a discharging time, and T1 and T2 are set according to a size of the external capacitor, which is not specifically limited in the embodiment of the present application, wherein the charging time may be relatively short when the external capacitor is small, and the inside of the CTMU module automatically controls the conduction of the internal MOS transistor to the ground to discharge in the T2 time period. The connection state can be detected in two ways at this time:
the first alternative is as follows: before the data acquisition unit is powered on, the flow meter is ensured to be in a normal connection state, at the moment, power-on software acquires a voltage value as a voltage reference value V1 of the bus in the normal connection state, and when the 485 bus is disconnected, the voltage V2 on the pin 2 is less than V1.
Alternatively, the capacitance C is calculated by sampling the voltage value V, the current source driving time T1, and the current value I after the driving current value is calibrated (the output current is multiplied by the calibration coefficient K), using the formula I ═ C × dV/dT1, and compared 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 to be disconnected.
The circuit detection device of the embodiment of the application can be used for detecting faults of a connecting circuit of a flowmeter and a 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 with a Micro Controller Unit (MCU) of the data collector, the connection with the data collector and the connection with the flowmeter connected with the data collector can be realized, the charging Unit can charge equivalent capacitors of the flowmeter and the data collector according to the working state of the data collector, the data acquisition Unit is used for acquiring on-line voltage on the connecting circuit, if the voltage value acquired after the charging Unit charges the equivalent capacitors is too small and is smaller than a second preset threshold value, the fault of the connecting circuit can be accurately judged, the circuit connection is broken, and the charging Unit and the data acquisition Unit can be integrated on a data collector mainboard, the flowmeter does not need to be specially installed or disassembled, the circuit detection is simple to realize, a disconnection-preventing detection module does not need to be added, and the cost is reduced.
In a possible implementation manner, the gas detection apparatus provided in the embodiment of the present application further includes a calibration unit, and correspondingly, fig. 4 is a schematic structural diagram of another circuit detection device provided in the embodiment of the present application, as shown in fig. 4, the circuit detection device is configured to detect a fault of a connection circuit between the flow meter 103 and the data collector 104, and includes: the charging unit 101, the data acquisition unit 102 and the calibration unit 201, the charging unit 101 and the data acquisition unit 102 are respectively connected with the MCU1041 of the data acquisition unit 104, and the calibration unit 401 is connected with the charging unit 101.
A calibration unit 401, configured to calibrate the current output by the charging unit.
Optionally, the calibration unit comprises a precision resistor.
The calibration unit in this application embodiment includes accurate resistance, and the charging unit can carry out ground connection through accurate resistance, and the voltage that detects is solved the current value through accurate resistance and is compared with theoretical charging current value, obtains proportionality coefficient or deviation value to the realization carries out the purpose of calibration to actual charging current value, calibrates the charging unit, has further improved current detection's accuracy.
Optionally, fig. 5 is a schematic circuit structure diagram of a circuit detection device provided in an embodiment of the present application, as shown in fig. 5, the circuit structure of the circuit detection device is used for detecting faults of a connecting circuit of a flow meter 103 and a data collector 104, and comprises a charging unit 101 and a data collecting unit 102, wherein the charging unit 101 and the data collecting unit 102 are connected with an MCU of the data collector in a mode of being integrated on a singlechip of the data collector 104, a charging unit 101 in the data collector 104 outputs current pulses to be connected to an A end or a B end (the A end is taken as an example in the figure) of a bus through one pin (the pin 2 is taken as an example in the figure), the other pin is taken as a calibration end (the pin 1 is taken as in the figure) to calibrate the output current of a CTMU module through a precision resistor 501, it will be appreciated that the circuit also includes other components after the precision resistor, which are not specifically shown in fig. 5.
The circuit detection equipment that this application embodiment provided still includes calibration unit, and calibration unit can calibrate the electric current of the unit output that charges to the realization has reduced the influence that the unit output current error that charges caused the testing result to the accurate control of the unit that charges, has further improved current detection's accuracy.
Optionally, fig. 6 is a schematic flow chart of the circuit detection method provided in the embodiment of the present application, and the circuit detection method in fig. 6 may be applied to the MCU of the data collector, as shown in fig. 6, where the method includes:
s601: and charging equivalent capacitors of the flowmeter and the data acquisition unit.
S602: an on-line voltage on the connection circuit is obtained.
S603: and judging the connection state of the connection circuit according to the on-line voltage.
Optionally, determining the connection state of the connection circuit according to the voltage on the line includes: if the acquired voltage value is larger than a first preset threshold value, determining that the connection state of the connection circuit is normal connection; and if the acquired voltage value is smaller than a second preset threshold value, determining that the connection state of the connection circuit is open circuit.
It can be understood that, the first preset threshold and the second preset threshold herein may be determined according to practical situations, and the first preset threshold and the second preset threshold are not specifically limited in this application, and may be the same value or different values.
Alternatively, the connection state of the circuit may be determined by detecting the capacitance voltage in the charged flow meter.
Optionally, after the collected voltage value is smaller than a second preset threshold, determining that the connection state of the connection circuit is an open circuit, the method further includes:
and prompting that the circuit connection fails.
Here, the current flow meter connection line can be informed of being in the disconnected state through a man-machine interaction mode or a remote communication mode such as a liquid crystal display.
Optionally, the circuit connection may be prompted to fail by at least one of the alarm unit, the communication unit, and the display unit in the above embodiments, specifically, a sound may be emitted by the alarm unit or an alarm may be given by an indicator lamp, the notification information may be sent to the user terminal or the server by the communication unit, or the notification information may be displayed by the display unit.
For example, if the connection state of the circuit is determined to be open, a failure of the circuit connection is indicated, and the indication information may be information such as "the connection state of the circuit is open" or "the circuit connection failure".
This application embodiment is through charging connecting circuit, detects connecting circuit's signal and confirms the connection state of circuit, can the accurate determination flowmeter and data collection station between whether have the trouble of opening a circuit, has improved fault detection's accuracy, convenience and efficiency.
The embodiment of the application further provides a circuit detection system, which comprises a flowmeter, a data acquisition unit and the circuit detection equipment which is connected with the MCU of the data acquisition unit and is provided with the embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A circuit detection device is used for detecting faults of a connecting circuit of a flow meter and a data acquisition unit, and is characterized in that the data acquisition unit comprises a micro control unit, a charging unit and a data acquisition unit, wherein the charging unit and the data acquisition unit are respectively connected with the micro control unit;
the charging unit is used for charging equivalent capacitors of the flowmeter and the data acquisition unit through a connecting circuit of the flowmeter and the data acquisition unit according to the working state of the data acquisition unit;
the data acquisition unit is used for acquiring the voltage on the line on the connecting circuit;
and the micro control unit is used for receiving the on-line voltage and judging the connection state of the connection circuit according to the on-line voltage.
2. The circuit detection device of claim 1, further comprising a timing unit;
the timing unit is connected with the micro control unit;
the timing unit is used for providing a clock signal for the micro control unit so that the micro control unit can realize the functions of charging, data acquisition and discharging according to the clock signal.
3. The circuit detection device of claim 1, wherein the charging unit is a Charging Time Measurement Unit (CTMU).
4. The circuit testing device of claim 1, further comprising a calibration unit;
the calibration unit is connected with the charging unit;
the calibration unit is used for calibrating the current output by the charging unit.
5. The circuit detection apparatus according to any one of claims 1 to 4, further comprising an alarm unit;
the alarm unit is connected with the micro control unit;
and the alarm unit is used for alarming according to the connection state of the connection circuit.
6. The circuit detecting device according to any one of claims 1 to 4, further comprising a communication unit;
the communication unit is connected with the micro control unit;
and the communication unit is used for sending the connection state of the connection circuit to a terminal or a server.
7. The circuit detecting device according to any one of claims 1 to 4, further comprising a display unit;
the display unit is connected with the micro control unit;
the display unit is used for displaying the connection state of the connection circuit.
8. A current sensing method, comprising:
charging equivalent capacitors of the flowmeter and the data acquisition unit;
acquiring the on-line voltage on the connecting circuit;
and judging the connection state of the connection circuit according to the voltage on the line.
9. The method of claim 8, wherein determining the connection status of the connection circuit according to the line voltage comprises:
if the acquired voltage value is larger than a first preset threshold value, determining that the connection state of the connection circuit is normal connection;
and if the acquired voltage value is smaller than a second preset threshold value, determining that the connection state of the connection circuit is open circuit.
10. The method according to claim 9, wherein after determining that the connection status of the connection circuit is open if the collected voltage value is less than a second preset threshold, the method further comprises:
and prompting that the circuit connection is in failure.
CN202110004893.7A 2021-01-04 2021-01-04 Circuit detection device and circuit detection method Pending CN114720845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110004893.7A CN114720845A (en) 2021-01-04 2021-01-04 Circuit detection device and circuit detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110004893.7A CN114720845A (en) 2021-01-04 2021-01-04 Circuit detection device and circuit detection method

Publications (1)

Publication Number Publication Date
CN114720845A true CN114720845A (en) 2022-07-08

Family

ID=82233876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110004893.7A Pending CN114720845A (en) 2021-01-04 2021-01-04 Circuit detection device and circuit detection method

Country Status (1)

Country Link
CN (1) CN114720845A (en)

Similar Documents

Publication Publication Date Title
CN105203980B (en) A kind of power quality self-checking system and its self checking method
CN103698691B (en) Electric car bridge board automatic testing calibration method
CN112540224A (en) Meter reading machine and detection method of ammeter data
CN205067714U (en) Single -phase electric energy meter calibrating installation and single -phase electric energy meter credible test platform that resets
CN104914376A (en) Digital circuit state detection circuit and digital circuit state detection method
CN114124071A (en) Open circuit detection method, circuit, device, electronic equipment and storage medium
CN214150955U (en) Circuit detection device and circuit detection system
CN113155222A (en) NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof
CN114720845A (en) Circuit detection device and circuit detection method
CN102220966A (en) Liquid pump control system
CN109870834B (en) Liquid crystal glass power-up detection system
CN202720285U (en) Detection system of electric power terminal
CN211148838U (en) Air conditioner internal unit testing device
CN111505531A (en) Board card test system
CN208568035U (en) A kind of combined type alarm sensor on measuring instrument
CN110780260A (en) System and method for checking electric energy error of direct current charger
CN110736950A (en) Online testing system and method for battery management system
CN109444803A (en) A kind of automatic calibration of electric energy meter system wiring column pressure test method and device
CN101430348B (en) State detection apparatus and state detection method
CN210181038U (en) Simple engine oil quality detection device
CN212675078U (en) Insulation monitoring device based on direct current system
CN104062673A (en) Nuclear analyzer self-diagnosis system
CN212008830U (en) Input power supply detection circuit and input power supply detection equipment
CN104991222B (en) metering automation terminal quality evaluation system
CN208653467U (en) It is a kind of based on infrared inclination alarming device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination