CN113985085A - Water meter working current test circuit and test method - Google Patents

Water meter working current test circuit and test method Download PDF

Info

Publication number
CN113985085A
CN113985085A CN202111251556.4A CN202111251556A CN113985085A CN 113985085 A CN113985085 A CN 113985085A CN 202111251556 A CN202111251556 A CN 202111251556A CN 113985085 A CN113985085 A CN 113985085A
Authority
CN
China
Prior art keywords
test
water meter
single chip
chip microcomputer
resistor
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.)
Granted
Application number
CN202111251556.4A
Other languages
Chinese (zh)
Other versions
CN113985085B (en
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.)
Chongqing Intelligence Water Co ltd
Original Assignee
Chongqing Intelligence Water 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 Chongqing Intelligence Water Co ltd filed Critical Chongqing Intelligence Water Co ltd
Priority to CN202111251556.4A priority Critical patent/CN113985085B/en
Publication of CN113985085A publication Critical patent/CN113985085A/en
Application granted granted Critical
Publication of CN113985085B publication Critical patent/CN113985085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/20Modifications of basic electric elements for use in electric measuring instruments; Structural combinations of such elements with such instruments
    • G01R1/22Tong testers acting as secondary windings of current transformers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R15/00Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
    • G01R15/14Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
    • G01R15/18Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks using inductive devices, e.g. transformers

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The invention is suitable for the technical field of water meter detection, and provides a water meter working current test circuit and a test method, wherein the circuit comprises a single chip microcomputer, a power supply module and a test control module, the test control module is provided with a detection tool interface, the anode of the detection tool interface is connected with a test power supply, the cathode of the detection tool interface is connected with an acquisition end of the single chip microcomputer, the cathode of the detection tool interface is connected with a fifth resistor in series and then grounded, the test control module further comprises a first triode, the collector of the first triode is connected with the cathode of the detection tool interface after being connected with a sixth resistor in series, the emitter of the first triode is grounded, and the base of the first triode is connected with the test control end of the single chip microcomputer after being connected with a seventh resistor in series; the resistance of the fifth resistor is far larger than that of the sixth resistor. Through the design of a hardware circuit, the single chip microcomputer of the test tool can realize various control modes, so that the test of the wake-up current and the sleep current in a single period is realized by a simple program, and the test efficiency is improved.

Description

Water meter working current test circuit and test method
Technical Field
The invention belongs to the technical field of water meter detection, and particularly relates to a water meter working current testing circuit and a testing method.
Background
The water meter mainboard usually works when reading the meter number and uploading data, and the stable working current of the water meter mainboard is the basis for ensuring the normal execution of meter reading, and the meter number can be smoothly obtained and transmitted only if the working current is stable. The water meter mainboard has two states of awakening work and sleeping standby when reading the meter, and in order to prevent missed data, often awaken many times to guarantee to obtain at least one meter number, therefore, the work cycle of the mainboard awakening and sleeping for three times repeatedly can appear.
The existing testing means are used for completely testing the wake-up current and the sleep current of three working cycles to analyze whether the water meter mainboard is qualified, but during production and processing, the testing work of the water meter mainboard does not need to test all the working cycles actually, so that the testing efficiency is reduced. And the test tool is difficult to realize the working current test of a single period through a test program under the condition that the working mode of the water meter mainboard cannot be changed.
Therefore, a means for testing the working current of the water meter main board more efficiently is lacked.
Disclosure of Invention
In view of this, embodiments of the present invention provide a circuit and a method for testing a working current of a water meter, so that a single chip of a test fixture can implement multiple control modes through a hardware circuit design, including identifying whether a water meter motherboard is connected or not and switching a working cycle of the water meter motherboard, thereby implementing a single-cycle wake-up current and sleep current test with a simple program, and improving test efficiency.
The first aspect of the embodiment of the invention provides a water meter working current test circuit, which comprises a single chip microcomputer, a power supply module and a test control module, wherein the test control module is provided with a detection tool interface for connecting a mainboard of a water meter to be tested, the anode of the detection tool interface is connected with a test power supply, the cathode of the detection tool interface is connected with a collection end of the single chip microcomputer, the cathode of the detection tool interface is connected with a fifth resistor in series and then grounded, and the cathode of the detection tool interface is connected with a fifth capacitor in series and then grounded;
the testing control module further comprises a first triode, a collector of the first triode is connected with a sixth resistor in series and then connected with the negative electrode of the detection tool interface, an emitter of the first triode is grounded, and a base of the first triode is connected with a seventh resistor in series and then connected with a testing control end of the single chip microcomputer;
the resistance value of the fifth resistor is far larger than that of the sixth resistor.
When the design circuit detects that the tool interface is not connected with the water meter mainboard, the acquisition end of the singlechip is open circuit, and the acquired signal value is equal to or close to zero value, so that whether the water meter mainboard to be detected is accessed or not can be judged; after the access water gauge mainboard, can switch mainboard operating condition through first triode again, specifically do:
when the test control end of the singlechip is at a low level, the first triode is in a disconnected state, only the fifth resistor is connected with the water meter mainboard in series at the moment, and the fifth resistor has more partial voltage because the resistance value of the fifth resistor is very large (the fifth resistor is most preferably 10k ohms, far more and the internal resistance of the water meter mainboard, and the sixth resistor is most preferably 10 ohms), so that the voltage of the water meter mainboard is insufficient for normal work and can be regarded as a shutdown state;
when the test control end outputs a high level, the collector electrode and the emitter electrode of the first triode are conducted, the sixth resistor access circuit and the fifth resistor are connected in parallel, the total parallel resistance value of the parallel connection of the sixth resistor and the fifth resistor is reduced to be closer to the resistance value of the sixth resistor (for example, the parallel resistance value of a 10k ohm resistor and a 10 ohm resistor connected in parallel is 9.99 ohms), at the moment, the partial pressure of the parallel resistance value is smaller, and the water meter mainboard can work normally.
Therefore, whether the water meter mainboard to be tested is connected or not can be judged through the voltage value of the collection end of the single chip microcomputer, the working current of the water meter mainboard is normally collected, the water meter mainboard can be controlled to enter a normal working state or a shutdown state through the test control end, the water meter mainboard stops working after a period of test is finished, the test time is greatly saved through a simple hardware circuit design, and the test efficiency is improved.
Furthermore, the power supply module comprises a test power supply unit, a switch pin of the test power supply unit is connected with a ninth resistor in series and then connected with a test power supply control end of the single chip microcomputer, and an output pin of the test power supply unit is connected with the first inductor in series and then serves as a test power supply.
The power supply side of the test control module can be started through the single chip microcomputer, and the test power supply is powered on only when the test power supply control end gives a starting signal (low-level signal), so that the start and stop of test work can be controlled by program logic conveniently.
Furthermore, the starting detection end of the single chip microcomputer is connected with one end of a reed switch, the other end of the reed switch is connected with an input power supply of the power supply module after being connected with an eighth resistor in series, and the starting detection end of the single chip microcomputer is also connected with an eleventh resistor in series and then is grounded;
and the reed of the reed pipe is arranged at the mounting position of the main board to be tested of the test tool.
Through the design, when the water meter mainboard is installed on the mainboard installation position to be tested, the reed of the reed switch is triggered to enable the reed switch to be connected with a circuit, the starting detection end of the single chip microcomputer is electrified, the single chip microcomputer is electrified to work, and the water meter mainboard is automatically powered off when taken out, so that the whole test process can be automatically executed without manual intervention.
Furthermore, the single chip microcomputer is provided with a sleep current gear input group and a wake-up current gear input group. The test gear of the water meter mainboard to be tested can be selected in advance through an operator, and the program can judge whether the wake-up current and the sleep current of the water meter mainboard to be tested are in a qualified interval according to the set test value intervals of different gears, so that the method is suitable for water meter mainboards of more models.
Furthermore, a first test result signal end of the single chip microcomputer is connected with a first light emitting diode, a second test result signal end of the single chip microcomputer is connected with a second light emitting diode, and a work indication signal end of the single chip microcomputer is connected with a third light emitting diode.
The third light emitting diode can light after the singlechip is electrified, when the test result is qualified, the first light emitting diode lights, and when the test result is unqualified, the second light emitting diode lights, so that an operator can conveniently check the test condition.
A second aspect of the embodiments of the present invention provides a method for testing a working current of a water meter, including:
acquiring a starting signal;
starting a power supply module to electrify a detection tool interface and controlling a test control end of the single chip microcomputer to output a high level so that the potential difference between the anode and the cathode of the detection tool interface is enough to supply the mainboard of the water meter to be detected to work;
detecting whether the detection tool interface is connected with a water meter mainboard to be detected, if not, executing a test error step, and if so, entering the next step;
after the water meter mainboard to be tested is powered on and reset, acquiring an awakening state working signal and a sleeping state working signal of the water meter mainboard to be tested;
after the water meter mainboard to be tested finishes one cycle of awakening and sleeping, controlling the test control end to output a low level so as to stop the water meter mainboard to be tested;
judging whether the wake-up current and the sleep current are in a rated interval or not according to the wake-up state working signal and the sleep state working signal respectively, if the wake-up current and the sleep current are in the rated interval, executing a normal test step, otherwise, executing an error test step;
and (6) completing the test.
Through the design, the test program can be automatically operated after the water meter mainboard is installed, manual intervention is not needed in the whole process until the test is completed, the low level output by the test control end can be controlled to be executed according to the preset time, other steps are automatically realized through the circuit design and the test method, the test efficiency is improved, and meanwhile manual operation is reduced.
Furthermore, before the power-on reset of the main board of the water meter to be tested, the method further comprises the following steps of:
acquiring a sleep current gear signal;
and acquiring a wake-up current gear signal.
Most preferably, before the mainboard of the water meter to be tested is installed, an operator manually selects a test gear, and after the mainboard of the water meter to be tested is installed, the singlechip automatically acquires information of the gear and automatically executes the test step.
Furthermore, the step of detecting whether the tool interface is connected to the main board of the water meter to be detected includes:
acquiring a voltage value of an acquisition end of the single chip microcomputer;
if the voltage value is equal to or close to a zero value, the detection tool interface is not connected to the water meter mainboard to be detected, otherwise, the detection tool interface is connected to the water meter mainboard to be detected.
Whether the water meter mainboard is accessed or not is quickly judged through hardware circuit and program execution.
Further, the step of performing a test error comprises:
closing the acquisition end of the single chip microcomputer, stopping the power supply module to electrify the detection tool interface, and controlling the test control end of the single chip microcomputer to output a high level;
controlling a third light-emitting diode connected with a work indication signal end of the single chip microcomputer to light up, and controlling a second light-emitting diode connected with a second test result signal end of the single chip microcomputer to light up;
the executing test normal step comprises the following steps:
closing the acquisition end of the single chip microcomputer, stopping the power supply module to electrify the detection tool interface, and controlling the test control end of the single chip microcomputer to output a high level;
and controlling a third light-emitting diode connected with a work indication signal end of the single chip microcomputer to light up, and controlling a first light-emitting diode connected with a first test result signal end of the single chip microcomputer to light up.
Most preferably, the third led may be set to a yellow light, the first led may be set to green, and the second led may be set to red, so that the operator can recognize the test result.
Further, the step of calculating the wake-up current comprises:
acquiring a first voltage value (namely an awakening state working signal) of an acquisition end of the singlechip in an awakening state of a main board of the water meter to be tested;
dividing the first voltage value by the parallel resistance value of a fifth resistor and a sixth resistor which are connected in parallel to obtain the wake-up current;
the sleep current calculating step includes:
acquiring a second voltage value (namely a sleep state working signal) of the acquisition end of the singlechip under the sleep state of the main board of the water meter to be detected;
and dividing the second voltage value by the parallel resistance value of the fifth resistor and the sixth resistor connected in parallel to obtain the sleep current.
The collected voltage value can be converted into a current value through simple calculation, so that whether the working current is normal or not is quickly judged, and whether the water meter mainboard is qualified or not is tested.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention can judge whether the water meter mainboard to be tested is accessed or not and normally collects the working current of the water meter mainboard through the signal value of the collection end of the single chip microcomputer, and can also control the water meter mainboard to enter a normal working state or a shutdown state through the test control end, thereby stopping the water meter mainboard from working after one period of test is finished, greatly saving the test time through simple hardware circuit design and improving the test efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a single chip microcomputer part of a water meter working current testing circuit provided by an embodiment of the invention;
fig. 2 is a schematic diagram of a part of a test control module of a water meter working current test circuit according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a power supply module of a water meter operating current testing circuit according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a gear input and indicator light portion of a water meter operating current test circuit according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for testing the operating current of a water meter according to an embodiment of the present invention.
Detailed Description
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The embodiment of the invention adopts the following technical scheme:
example (b):
referring to fig. 1 and 2, the embodiment provides a water meter working current Test circuit, which includes a single chip microcomputer U1, a Power supply module and a Test control module, wherein the Test control module is provided with a Test tool interface Test1 borad for connecting with a main board of a water meter to be tested, the positive electrode of the Test tool interface Test1 borad is connected with a Test Power supply Test Power +3.3V, the negative electrode is connected with an acquisition end PC4 of the single chip microcomputer, the negative electrode is further connected in series with a fifth resistor R5 and then grounded, the preferable resistance value of the fifth resistor R5 is 10k ohms, and the negative electrode is further connected in series with a fifth capacitor C5 and then grounded;
the test control module further comprises a first triode Q1, a collector of the first triode Q1 is connected with a sixth resistor R6 in series and then connected with a negative electrode of a detection tool interface test1 borad, the preferable resistance value of the sixth resistor R6 is 10 ohms, an emitter of the first triode Q1 is grounded, and a base of the first triode Q1 is connected with a test control end PB13 of the singlechip U1 in series and then connected with a seventh resistor R7.
Referring to fig. 3, the Power supply module includes a Test Power supply unit U2, a switch pin of the Test Power supply unit U2 is connected in series with a ninth resistor R9 and then connected to a Test Power control terminal PB12 of the single chip microcomputer U1, an output pin of the Test Power supply unit U2 is connected in series with a first inductor L1 and then used as a Test Power supply Test Power +3.3V, and an input pin of the Test Power supply unit U2 is connected to an input Power + 12V.
The power supply module further comprises an MCU power supply unit U3, the input end of the MCU power supply unit U3 is connected with an input power supply +12V, and the output end of the MCU power supply unit U1 is connected with a power pin VDD of the singlechip U1.
The starting detection end PA2 of the singlechip U1 is connected with one end of a reed switch SW2, the other end of the reed switch SW2 is connected with an eighth resistor R8 in series and then connected with an input power supply +12V of a power supply module, and the starting detection end PA2 of the singlechip U1 is also connected with an eleventh resistor R11 in series and then grounded;
in the test fixture of this embodiment, reed setting of tongue tube SW2 is at the mainboard installation position that awaits measuring of test fixture, and when the water gauge mainboard that awaits measuring was installed the mainboard installation position that awaits measuring, the reed was triggered, and tongue tube SW2 switches on.
Referring to fig. 4, the one-chip microcomputer U1 is provided with a sleep current shift input group SW1 and a wake-up current shift input group SW 3.
The work indication signal end LED-Y of the single chip microcomputer U1 is connected with a third light emitting diode LED3, the first test result signal end LED-G of the single chip microcomputer U1 is connected with a first light emitting diode LED1, and the second test result signal end LED-R of the single chip microcomputer U1 is connected with a second light emitting diode LED 2.
Referring to fig. 5, the test method of the present embodiment includes:
step S1: acquiring a starting signal;
specifically, when the main board of the water meter to be tested is arranged at the installation position of the main board to be tested, the reed is triggered, the reed switch SW2 is conducted, the PA2 is electrified to be at a high level, and the single chip microcomputer U1 obtains a starting signal.
Step S2: the power supply module is started to electrify the detection tool interface test1 borad, and the test control end PB13 of the singlechip U1 is controlled to output high level;
specifically, when the PB12 outputs a low level, the Test Power +3.3V is powered on, the Test1 borad of the detection tool interface is correspondingly powered on, and the water meter mainboard can normally work after the PB13 outputs a high level.
Step S3: detecting whether the detection tool interface test1 borad is connected to a water meter mainboard to be detected, if not, executing a test error step S01, and if so, entering step S4;
whether detect and detect frock interface test1 borad and insert the water gauge mainboard that awaits measuring specifically includes:
acquiring a voltage value of a collection end PC4 of the singlechip U1;
if the voltage value is equal to or close to a zero value, the detection tool interface test1 borad is not connected to the main board of the water meter to be detected, otherwise, the detection tool interface test1 borad is connected to the main board of the water meter to be detected.
Step S4: acquiring an awakening state working signal and a sleeping state working signal of the water meter mainboard to be tested after the water meter mainboard to be tested is powered on and reset;
the embodiment may further execute the test error step S01 when the main board of the water meter to be tested is not successfully powered on and reset for a period of time.
Step S5: after the water meter mainboard to be tested finishes awakening and sleeping for one period, controlling the test control terminal PB13 to output a low level so as to stop the water meter mainboard to be tested;
in the period, the water meter mainboard finishes waking up and sleeping in turn according to the self running mode, and the period is generally 30-40 seconds, wherein the power-on reset is about 5 seconds, the waking up time is about 25 seconds, and the sleeping time is about 5 seconds. Therefore, the time of PB13 high level can be set, for example, when 40 seconds is reached, PB13 outputs low level, so that the operation of the water meter mainboard to be tested is cut off, and the test time is reduced.
Step S6: judging whether the wake-up current and the sleep current are in a rated interval or not according to a first voltage value of the acquisition terminal PC4 in the wake-up state of the water meter mainboard to be tested and a second voltage value of the water meter mainboard to be tested in the sleep state, if the wake-up current and the sleep current are in the rated interval, executing a normal test step S02, and if not, executing an error test step S01;
the step of calculating the wake-up current comprises:
acquiring a first voltage value of a collection terminal PC4 in a wake-up state of a main board of a water meter to be tested;
dividing the first voltage value by the parallel resistance R5 & R6/(R5+ R6) of the fifth resistor R5 and the sixth resistor R6 which are connected in parallel to obtain wake-up current;
the sleep current calculating step comprises the following steps:
acquiring a second voltage value of the acquisition terminal PC4 in a sleep state of the main board of the water meter to be measured;
the second voltage value is divided by the parallel resistance R5 & R6/(R5+ R6) of the parallel fifth resistor R5 and the parallel sixth resistor R6 to obtain the sleep current.
And (6) completing the test.
Wherein, the step of executing the test error S01 includes:
the acquisition end PC4 of the singlechip U1 is closed, the power supply stopping module is used for detecting the electrification of a tooling interface test1 borad (PB12 outputs high level), and the test control end PB13 of the singlechip U1 is controlled to output high level;
a third light-emitting diode LED3 connected with a work indication signal end LED-Y of the singlechip U1 is controlled to be lightened, and a second light-emitting diode LED2 connected with a second test result signal end LED-R of the singlechip U1 is controlled to be lightened;
the performing test normal step S02 includes:
the acquisition end PC4 of the singlechip U1 is closed, the power supply stopping module is used for detecting the electrification of a tooling interface test1 borad (PB12 outputs high level), and the test control end PB13 of the singlechip U1 is controlled to output high level;
and a third light-emitting diode LED3 connected with a working indication signal end LED-Y of the singlechip U1 is controlled to be lightened, and a first light-emitting diode LED1 connected with a first test result signal end LED-G of the singlechip U1 is controlled to be lightened.
In other embodiments, before the water gauge mainboard that awaits measuring is installed the mainboard installation position that awaits measuring, still select the test gear by operating personnel is manual, then still acquire mainboard test gear after the singlechip gets the electricity:
acquiring a sleep current gear signal;
and acquiring a wake-up current gear signal.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A water meter working current test circuit comprises a single chip microcomputer and a power supply module, and is characterized by further comprising a test control module, wherein the test control module is provided with a detection tool interface and used for being connected with a water meter mainboard to be tested, the anode of the detection tool interface is connected with a test power supply, the cathode of the detection tool interface is connected with a collection end of the single chip microcomputer, the cathode of the detection tool interface is connected with a fifth resistor in series and then grounded, and the cathode of the detection tool interface is connected with a fifth capacitor in series and then grounded;
the testing control module further comprises a first triode, a collector of the first triode is connected with a sixth resistor in series and then connected with the negative electrode of the detection tool interface, an emitter of the first triode is grounded, and a base of the first triode is connected with a seventh resistor in series and then connected with a testing control end of the single chip microcomputer;
the resistance value of the fifth resistor is far larger than that of the sixth resistor.
2. The circuit for testing the operating current of the water meter according to claim 1, wherein the power supply module comprises a test power supply unit, a switch pin of the test power supply unit is connected in series with a ninth resistor and then connected with a test power control terminal of the single chip microcomputer, and an output pin of the test power supply unit is connected in series with a first inductor and then used as a test power supply.
3. A water meter working current testing circuit according to claim 1, wherein a start detection end of the single chip microcomputer is connected with one end of a reed switch, the other end of the reed switch is connected with an input power supply of the power supply module after being connected with an eighth resistor in series, and the start detection end of the single chip microcomputer is also connected with an eleventh resistor in series and then is grounded;
and the reed of the reed pipe is arranged at the mounting position of the main board to be tested of the test tool.
4. A water meter operating current test circuit as claimed in claim 1, wherein said single chip is provided with a sleep current tap input set and a wake-up current tap input set.
5. A water meter operating current testing circuit as claimed in claim 1, wherein a first test result signal terminal of said single chip microcomputer is connected to a first light emitting diode, a second test result signal terminal of said single chip microcomputer is connected to a second light emitting diode, and an operating indication signal terminal of said single chip microcomputer is connected to a third light emitting diode.
6. A method for testing the working current of a water meter is characterized by comprising the following steps:
acquiring a starting signal;
starting a power supply module to electrify a detection tool interface and controlling a test control end of the single chip microcomputer to output a high level so that the potential difference between the anode and the cathode of the detection tool interface is enough to supply the mainboard of the water meter to be detected to work;
detecting whether the detection tool interface is connected with a water meter mainboard to be detected, if not, executing a test error step, and if so, entering the next step;
after the water meter mainboard to be tested is powered on and reset, acquiring an awakening state working signal and a sleeping state working signal of the water meter mainboard to be tested;
after the water meter mainboard to be tested finishes one cycle of awakening and sleeping, controlling the test control end to output a low level so as to stop the water meter mainboard to be tested;
judging whether the wake-up current and the sleep current are in a rated interval or not according to the wake-up state working signal and the sleep state working signal respectively, if the wake-up current and the sleep current are in the rated interval, executing a normal test step, otherwise, executing an error test step;
and (6) completing the test.
7. The method for testing the operating current of the water meter according to claim 6, wherein before the main board of the water meter to be tested is electrically reset, the method further comprises the following steps of:
acquiring a sleep current gear signal;
and acquiring a wake-up current gear signal.
8. The method for testing the operating current of the water meter according to claim 6, wherein the step of detecting whether the tool interface is connected to the main board of the water meter to be tested comprises the steps of:
acquiring a voltage value of an acquisition end of the single chip microcomputer;
if the voltage value is equal to or close to a zero value, the detection tool interface is not connected to the water meter mainboard to be detected, otherwise, the detection tool interface is connected to the water meter mainboard to be detected.
9. A water meter operating current testing method as claimed in claim 6, wherein said step of performing a test error comprises:
closing the acquisition end of the single chip microcomputer, stopping the power supply module to electrify the detection tool interface, and controlling the test control end of the single chip microcomputer to output a high level;
controlling a third light-emitting diode connected with a work indication signal end of the single chip microcomputer to light up, and controlling a second light-emitting diode connected with a second test result signal end of the single chip microcomputer to light up;
the executing test normal step comprises the following steps:
closing the acquisition end of the single chip microcomputer, stopping the power supply module to electrify the detection tool interface, and controlling the test control end of the single chip microcomputer to output a high level;
and controlling a third light-emitting diode connected with a work indication signal end of the single chip microcomputer to light up, and controlling a first light-emitting diode connected with a first test result signal end of the single chip microcomputer to light up.
10. The method of claim 6, wherein the step of calculating the wake-up current includes:
acquiring a first voltage value of a collection end of the singlechip in a wake-up state of a mainboard of the water meter to be measured;
dividing the first voltage value by the parallel resistance value of a fifth resistor and a sixth resistor which are connected in parallel to obtain the wake-up current;
the sleep current calculating step includes:
acquiring a second voltage value of the acquisition end of the singlechip under the sleeping state of the main board of the water meter to be measured;
and dividing the second voltage value by the parallel resistance value of the fifth resistor and the sixth resistor connected in parallel to obtain the sleep current.
CN202111251556.4A 2021-10-22 2021-10-22 Water meter working current testing circuit and testing method Active CN113985085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111251556.4A CN113985085B (en) 2021-10-22 2021-10-22 Water meter working current testing circuit and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111251556.4A CN113985085B (en) 2021-10-22 2021-10-22 Water meter working current testing circuit and testing method

Publications (2)

Publication Number Publication Date
CN113985085A true CN113985085A (en) 2022-01-28
CN113985085B CN113985085B (en) 2024-08-16

Family

ID=79742020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111251556.4A Active CN113985085B (en) 2021-10-22 2021-10-22 Water meter working current testing circuit and testing method

Country Status (1)

Country Link
CN (1) CN113985085B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114488902A (en) * 2022-02-10 2022-05-13 深圳市海曼科技股份有限公司 Multiplexing method, circuit and product of IO port of single chip microcomputer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN103389419A (en) * 2012-05-10 2013-11-13 上海博泰悦臻电子设备制造有限公司 Sleep wake-up test device of vehicle-mounted system
WO2015096223A1 (en) * 2013-12-27 2015-07-02 深圳市航嘉驰源电气股份有限公司 Power conversion circuit
CN104777892A (en) * 2015-04-28 2015-07-15 孙元章 Display zero-power-consumption standby time delay triggering and awakening device and method
CN105093053A (en) * 2015-06-26 2015-11-25 天长市富安电子有限公司 Current abnormity detection circuit
CN106383268A (en) * 2016-08-24 2017-02-08 深圳普创天信科技发展有限公司 Mobile terminal power consumption test device and test method
CN110376428A (en) * 2019-07-31 2019-10-25 四川长虹电器股份有限公司 Quiescent current production line test system and method for battery power supply internet of things product
CN212012131U (en) * 2020-03-25 2020-11-24 和尊健康科技(上海)有限公司 Power supply energy-saving management circuit for detecting vibration

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389419A (en) * 2012-05-10 2013-11-13 上海博泰悦臻电子设备制造有限公司 Sleep wake-up test device of vehicle-mounted system
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
WO2015096223A1 (en) * 2013-12-27 2015-07-02 深圳市航嘉驰源电气股份有限公司 Power conversion circuit
CN104777892A (en) * 2015-04-28 2015-07-15 孙元章 Display zero-power-consumption standby time delay triggering and awakening device and method
CN105093053A (en) * 2015-06-26 2015-11-25 天长市富安电子有限公司 Current abnormity detection circuit
CN106383268A (en) * 2016-08-24 2017-02-08 深圳普创天信科技发展有限公司 Mobile terminal power consumption test device and test method
CN110376428A (en) * 2019-07-31 2019-10-25 四川长虹电器股份有限公司 Quiescent current production line test system and method for battery power supply internet of things product
CN212012131U (en) * 2020-03-25 2020-11-24 和尊健康科技(上海)有限公司 Power supply energy-saving management circuit for detecting vibration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李采超;殳国华;张士文;: "基于MSP430单片机的接触式IC卡水表设计", 电工技术, no. 02, 10 February 2008 (2008-02-10) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114488902A (en) * 2022-02-10 2022-05-13 深圳市海曼科技股份有限公司 Multiplexing method, circuit and product of IO port of single chip microcomputer
CN114488902B (en) * 2022-02-10 2022-10-25 深圳市海曼科技股份有限公司 Multiplexing method, circuit and product of IO port of single chip microcomputer

Also Published As

Publication number Publication date
CN113985085B (en) 2024-08-16

Similar Documents

Publication Publication Date Title
CN107797050A (en) A kind of method of location-server mainboard electrifying timing sequence abnormal state
CN113985085B (en) Water meter working current testing circuit and testing method
CN109683054A (en) Battery pack voltage acquisition harness line sequence diagnostic device and method
CN201107379Y (en) Chip type capacitor surge and aging test device
CN111983546A (en) Ammeter detection configuration device and method
CN202305716U (en) Automobile wire inspecting device capable of detecting lamp and finding wrong wiring harness connection
CN113847973B (en) Water meter working current testing tool and testing method
CN109490669B (en) Electric mortise lock testing device and testing method
CN102680143A (en) Temperature sensing device for air conditioner commodity inspection
CN105866703B (en) Intelligent tester device for simulating automobile starting and testing method
CN217541970U (en) Automatic testing arrangement of sensor module able to programme
CN109144827A (en) A kind of method and system monitoring motherboard power supply and signal condition
CN115061449A (en) Test tool, test system and test method
Li et al. Battery management system
CN210745405U (en) Port detector
CN209486271U (en) Intelligent electric energy meter clock battery performance test device
CN220305471U (en) General detection circuit of motormeter pilot lamp
CN221326744U (en) Ammeter fault detection device of concurrent packing
CN110677642A (en) Television fault online detection method and device based on LED indicator lamp
CN202041631U (en) LED (Light-Emitting Diode) automatic testing jig
CN2854617Y (en) Optical signal tester of short-circuit and earth fault indicator
CN108896814B (en) Voltage sampling circuit and sampling method of internal power supply of power consumption device and electric energy meter
CN212905326U (en) Excavator storage battery monitoring device and excavator
CN211123138U (en) Electric energy meter PCBA automatic checkout device
CN218213189U (en) Electric energy meter circuit convenient for measuring battery life

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
GR01 Patent grant
GR01 Patent grant