CN113155222A - NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof - Google Patents

NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof Download PDF

Info

Publication number
CN113155222A
CN113155222A CN202110217754.2A CN202110217754A CN113155222A CN 113155222 A CN113155222 A CN 113155222A CN 202110217754 A CN202110217754 A CN 202110217754A CN 113155222 A CN113155222 A CN 113155222A
Authority
CN
China
Prior art keywords
sensor
data acquisition
module
terminal
acquisition terminal
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
CN202110217754.2A
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.)
Tianjin Snewsun Energy Technology Co ltd
Original Assignee
Tianjin Snewsun Energy Technology 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 Tianjin Snewsun Energy Technology Co ltd filed Critical Tianjin Snewsun Energy Technology Co ltd
Priority to CN202110217754.2A priority Critical patent/CN113155222A/en
Publication of CN113155222A publication Critical patent/CN113155222A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • G01F15/061Indicating or recording devices for remote indication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to the technical field of data acquisition, in particular to an NB-IoT intelligent water meter data acquisition terminal and a sensor fault detection method thereof, which comprise a multi-field data acquisition terminal, a private cloud platform, an upper computer and equipment terminals, wherein the equipment terminals are mutually connected and establish communication with the multi-field data acquisition terminal, the equipment terminals are communicated with the private cloud platform through the multi-field data acquisition terminal, the multi-field data acquisition terminal is communicated with the private cloud platform, the terminal can not only carry out centralized acquisition and report on data of each field, but also record and control special conditions such as fire alarm, abnormal consumption and the like, and is convenient for a user to check and count with a public service bureau, when a sensor in an external control module has a fault, the invention can quickly detect the fault problem so as to carry out corresponding fault-tolerant control on the sensor fault problem, the normal operation of the data acquisition system is ensured, and the reliability of the multi-field data acquisition system is effectively improved.

Description

NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof
Technical Field
The invention relates to the technical field of data acquisition, in particular to an NB-IoT intelligent water meter data acquisition terminal and a sensor fault detection method thereof.
Background
At present, data in necessary fields of life such as water, electricity, gas and the like are collected systematically, so that corresponding meter reading efficiency can be improved, the working quality of a public service bureau is improved, and the user experience quality is improved; for example, the existing intelligent water meter is a novel water meter which measures the daily water consumption of residents by using the modern microelectronic technology, the modern sensing technology and the intelligent IC card technology and transmits and settles the water consumption data, compared with the traditional water meter which only has the functions of flow acquisition and mechanical pointer display of the water consumption, the intelligent water meter has great progress, the intelligent water meter can record and electronically display the water consumption, can control the water quantity according to convention, automatically complete the water fee calculation of the stepped water price and simultaneously store the water consumption data.
For example, the utility model with the patent number CN202020342558.9 discloses a multi-meter data acquisition terminal, which comprises a housing and a circuit board arranged in the housing; the ammeter communication component is arranged on the circuit board, is in communication connection with the intelligent ammeter and is used for acquiring ammeter data; the water meter communication component is arranged on the circuit board and is used for being in communication connection with the intelligent water meter and acquiring water meter data; the gas meter communication component is arranged on the circuit board and is used for being in communication connection with the intelligent gas meter and acquiring gas meter data; the remote communication component is arranged on the circuit board and used for uploading the electric meter data, the water meter data and the gas meter data to a master station; the utility model is characterized in that the utility model is arranged on the circuit board, respectively with the ammeter communication component, the water gauge communication component, the gas gauge communication component and the remote communication component are connected, and will the ammeter data, the water gauge data and the gas gauge data are forwarded to the processor of the remote communication component, the ammeter communication component comprises one or more of a broadband carrier local communication component, a narrowband carrier local communication component and a micropower wireless communication component, the ammeter communication component comprises a Bluetooth communication component for collecting the data of the IR46 intelligent ammeter, the ammeter communication component comprises a 485 communication component, the water gauge communication component comprises an MBUS communication component, the gas gauge communication component comprises a small wireless communication component, the gas gauge communication component comprises an MBUS communication component, the shell is provided with an MBUS interface and a plurality of auxiliary terminals of the MBUS communication component, the auxiliary terminals are used as standby expansion interfaces of the MBUS communication assembly, the data acquisition terminal is arranged on a circuit board, and an electric meter communication assembly, a water meter communication assembly and a gas meter communication assembly which can be communicated with an intelligent electric meter, an intelligent water meter and an intelligent gas meter are simultaneously arranged on the circuit board in the data acquisition terminal, so that in practical application, the data acquisition terminal can be used for simultaneously acquiring data of the intelligent electric meter, the intelligent water meter and the intelligent gas meter, the number of terminal devices for acquiring various intelligent meter data is reduced to a certain extent, and the layout and installation of the acquisition terminal in the meter box are simplified;
as disclosed in the utility model with patent number CN201920499952.0, a multi-terminal data acquisition system is based on, including the control center for receiving data, sending data and processing data, the control center input is equipped with the multi-terminal data acquisition unit for carrying out data acquisition and reception to the equipment of communication facilities to computer input program and data or receiving computer output processing results, the control center is connected and is equipped with the information storage unit for storing and managing the acquired data and the positioning unit for carrying out position determination to the equipment of communication facilities to computer input program and data or receiving computer output processing results, the control center output is equipped with the management unit for inquiring and managing the acquired data and position information, the control center includes programmable PLC, the multi-terminal data acquisition unit includes data collector, The temperature and humidity sensor, the camera, the single chip microcomputer and the first memory, wherein the management unit comprises a mobile terminal and a management computer; the control center is used for processing, storing or sending data acquired by the data acquisition unit, the temperature and humidity sensor and the camera; the multi-terminal data acquisition unit is used for acquiring data through the data acquisition unit, the temperature and humidity sensor and the camera, the first memory is used for storing the acquired data, the single chip microcomputer is used for processing the data, and then the data of the site equipment is sent to the programmable PLC for processing; the management unit is used for carrying out remote management and inquiry through the mobile terminal, and managing a computer to carry out fixed-point office management; the technical scheme includes that the information storage unit collects data acquired by equipment which inputs programs and data to the computer or receives processing results output by the computer through each communication facility and then manages the data, the information storage unit comprises a second memory and a control computer, the positioning unit comprises a GPS (global positioning system) positioner, the GPS positioner positions specific positions of the equipment which inputs the programs and the data to the computer or receives the processing results output by the computer through each communication facility, the programmable PLC connecting end is provided with a single chip microcomputer, a second memory, a mobile terminal, a management computer and the GPS positioner, the single chip microcomputer connecting end is provided with a data acquisition unit, a temperature and humidity sensor, a camera and a first memory, and the technical scheme effectively inputs the programs and the data to the computer or receives the processing results output by the computer through the multi-terminal data acquisition unit and the management unit The data of a plurality of terminal devices can be remotely monitored by accurately positioning, and the positions of the terminal devices are known, so that the management intensity is improved, and the monitoring effect is improved; by arranging the information storage unit, the computer is controlled to manage the data, the information of a single terminal device is effectively stored and managed, loss in the data transmission process is avoided, and the data protection is improved;
for example, patent No. CN201310361545.0 discloses a wireless handheld data acquisition terminal based on the MBUS protocol, which includes: LCD screen, LED pilot lamp, USB interface, program control module, power circuit module and data storage module, its characterized in that: the system also comprises a GPRS module, a buzzer and an MBUS communication module, the program control module is respectively connected with the LCD screen, the LED indicator light, the USB interface, the power circuit module, the data storage module, the GPRS module, the buzzer and the MBUS communication module, the GPRS module uses the SIM900A-GPRS wireless module, can actively connect with the Internet network, tries to connect with the server IP, acquires the network IP, establishing TCP/IP connection, reading data on the hand-held terminal by the master station of the management system, the power supply circuit is powered by a lithium battery, can be charged for multiple times, is energy-saving and environment-friendly, the LCD can display a collected data value, a battery state and a GPRS connection state, the LED indicator light uses 2 green LEDs to respectively indicate the connection state of the main station and the data acquisition result, the buzzer sounds when the data acquisition is successful, the technical scheme can acquire the data of the terminal equipment and simplify the process of acquiring the data of the data terminal.
However, in the prior art, the acquisition schemes in the acquisition terminals are all independent from each other, data acquired by a plurality of terminals cannot be reported uniformly, query work or statistical work is hindered, or problems of low efficiency, unstable system operation and the like exist, and users cannot check data uniformly when inquiring terminal data of equipment such as water meters, electric meters, gas meters and the like, which is very inconvenient; and along with the gradual trend of the household life towards intellectuality, more and more data need to be collected in each field, each type of data is counted alone, the condition that either is lost or is missed to remember is likely to occur, misjudgment is easily caused, and a sensor in an external control module of the multi-field data collection terminal is prone to failure in the using process, such as the problem that the sensor value is deviated due to aging of the sensor or the problem that the sensor value is inaccurate due to misoperation in the installation process, and the like, the multi-field data collection system based on the STM32L476 and the sensor failure detection method thereof are specially provided to solve the problems.
Disclosure of Invention
In order to overcome the defect that the existing scheme cannot solve the data acquisition of field equipment terminals, the invention provides an NB-IoT intelligent water meter data acquisition terminal and a sensor fault detection method thereof.
The technical scheme adopted by the invention for solving the technical problems is as follows: an NB-IoT intelligent water meter data acquisition terminal is characterized in that: including multi-field data acquisition terminal, private high in the clouds platform, host computer and equipment terminal, it is a plurality of the equipment terminal with interconnect between the multi-field data acquisition terminal and establish the communication, it is a plurality of the equipment terminal establishes the communication through above-mentioned multi-field data acquisition terminal and private cloud platform, multi-field data acquisition terminal and private high in the clouds platform establish the communication, and multi-field data acquisition terminal is unified with each item data in a plurality of equipment terminal and is uploaded to private high in the clouds platform, establish the communication between private high in the clouds platform and the host computer, establish the communication through wireless mode between host computer and the multi-field data acquisition terminal.
Further, many fields data acquisition terminal is including MCU main control chip, control module, collection module, wireless communication module and power all through the circuit with interconnect between the MCU main control chip, wireless communication module with establish the communication between the private high in the clouds platform.
Further, the control module comprises an external control module, the external control module is in communication with the equipment terminal in a wireless mode, the external control module comprises a relay and a sensor, and the relay and the sensor are connected with the external control module through circuits.
Furthermore, the control module further comprises an internal control module, and the internal control module is used for controlling the on-off of the power supply of each module in the multi-field data acquisition terminal.
Furthermore, the acquisition module is connected with the wireless communication module, the acquisition module comprises a wired acquisition module and a wireless acquisition module, the wired acquisition module is connected with the equipment terminal through a signal line, and the wireless acquisition module is communicated with the equipment terminal in an NB-IoT (NB-IoT) mode.
Furthermore, the multi-field data acquisition terminal further comprises a terminal display, and the terminal display is connected with the MCU main control chip through a circuit.
Furthermore, the terminal display comprises a segment code liquid crystal screen, a liquid crystal driving module, a key and an LED, wherein the segment code liquid crystal screen, the key and the LED are all connected with the MCU main control chip through circuits.
Furthermore, the power supply comprises a main power supply, a power supply module, a voltage stabilizing module and a standby power supply, the standby power supply is connected with the acquisition module, the communication module and the display screen, the output end of the main power supply is electrically connected with the power supply module, the output end of the power supply module is electrically connected with the voltage stabilizing module, the power supply module outputs 12V direct-current power after conversion, and the 12V direct-current power is converted into the service voltage of each module through the voltage stabilizing module.
A sensor fault detection method for an NB-IoT intelligent water meter data acquisition terminal is characterized by comprising the following steps: the method comprises the following steps:
s1: firstly, determining a data set, and mining characteristic information in sensor fault data;
s2: establishing a fault diagnosis model, and dividing sample data into a training set and a test set;
s3: then carrying out standardized processing, modeling and training on the training set;
s4: injecting a periodic test signal into the sensor, comparing the sensor with a threshold value, outputting the result to judge whether the function of the sensor is in fault, and simultaneously acquiring historical data of a plurality of sensors;
s5: obtaining a fault detection model, and then carrying out standardization processing on the data of the test set by using the same standardization parameters;
s6: further detecting the processed data by using a fault detection model, and calculating whether the obtained sensor information is zero or not;
s7: and judging the state of each sensor, and judging whether the sensor has a fault according to the detection result, thereby realizing the diagnosis of the fault of each sensor.
Further, the failure detection calculation method in step S6 is as follows:
the sensor data set is set as: a { (j1, k1), (j2, k2), · (jx, kx) }, in the above dataset, jt ∈ Rl, ki ∈ {1, -1}, n ═ 1, 2.·, x, x are positive integers;
wherein jn is a feature vector of the nth sensor temperature history data in the sensor data set, kn is label information corresponding to the sensor, 0 is used for representing a fault sensor, 1 is used for representing a normal sensor, and whether the sensor information obtained by the method is zero or not can be used for judging the state of the sensor.
The invention has the advantages that: the invention provides an NB-IoT intelligent water meter data acquisition terminal which comprises a multi-field data acquisition terminal, a private cloud platform, an upper computer and equipment terminals, wherein the multiple equipment terminals are mutually connected with the multi-field data acquisition terminal and establish communication with the private cloud platform, the multiple equipment terminals establish communication with the private cloud platform through the multi-field data acquisition terminal, the multi-field data acquisition terminal establishes communication with the private cloud platform, the multi-field data acquisition terminal uniformly uploads various data in the multiple equipment terminals to the private cloud platform, communication is established between the private cloud platform and the upper computer, and communication is established between the upper computer and the multi-field data acquisition terminal in a wireless mode The data acquisition control circuit, the data acquisition interface and the data acquisition power circuit form a hardware part of the terminal; the software part of the system is composed of a main program flow of the data acquisition system and a flow taking water meter data acquisition as an example, and can realize the overall design of a multi-field data acquisition terminal; experiments prove that the stability and the reliability of the data acquisition system can be effectively improved, the multi-field data acquisition terminal not only can intensively acquire and report data of each field, but also can record and control special conditions such as fire alarm, abnormal use amount and the like, is convenient for users to check and count with a public service bureau, besides the self-contained collection function, the invention can also collect data of wireless products of other manufacturers, is more convenient to use and check, and also provides a sensor fault detection method of the NB-IoT intelligent water meter data collection terminal, when the sensor in the external control module has faults, the invention can quickly detect the fault problem, therefore, corresponding fault-tolerant control is performed aiming at the problem of sensor faults, so that the normal operation of the data acquisition system is ensured, and the reliability of the multi-field data acquisition system is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of the system of the present invention.
Fig. 2 is a schematic structural diagram of a multi-domain data acquisition terminal according to the present invention.
FIG. 3 is a schematic diagram of a circuit principle of an MCU main control chip in the multi-domain data acquisition terminal of the present invention.
Fig. 4 is a schematic diagram of a circuit principle of a main power source in the multi-domain data acquisition terminal of the present invention.
Fig. 5 is a schematic circuit diagram of a power module in the multi-domain data acquisition terminal of the present invention.
Fig. 6 is a schematic diagram of a circuit principle of an acquisition module in the multi-domain data acquisition terminal of the present invention.
Fig. 7 is a schematic circuit diagram of a wireless communication module in the multi-domain data acquisition terminal according to the present invention.
Fig. 8 is a schematic diagram of a circuit principle of a control module in the multi-domain data acquisition terminal of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
In the description of the present invention, it should be noted that unless otherwise explicitly specified or limited, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and the terms "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1:
fig. 1 is a schematic diagram of a system structure of the present invention, fig. 2 is a schematic diagram of a structure of a multi-domain data acquisition terminal of the present invention, fig. 3 is a schematic diagram of a circuit principle of a MCU main control chip in the multi-domain data acquisition terminal of the present invention, and fig. 1, fig. 2 and fig. 3 show an NB-IoT intelligent water meter data acquisition terminal and a multi-domain data acquisition terminal thereof, which include the multi-domain data acquisition terminal, a private cloud platform, an upper computer and device terminals, wherein the device terminals and the multi-domain data acquisition terminal are connected with each other and establish communication, the device terminals establish communication with the private cloud platform through the multi-domain data acquisition terminal, the multi-domain data acquisition terminal establishes communication with the private cloud platform, and the multi-domain data acquisition terminal uploads various data in the device terminals to the private cloud platform in a unified manner, the private cloud platform and the upper computer are connected in a 4 g/Ethernet manner, and the communication network can communicate in NBIot, wifi, wired network, 4g and the like, uniformly classifying and sorting the uploaded data; if the control needs to be modified, the data is issued, and the data and the state stored in the multi-field data acquisition terminal can be modified; the multi-field data acquisition terminal reports data to the multi-field data acquisition terminal at regular time every day, if abnormal data uploading conditions of the multi-field data acquisition terminal are received under special conditions, the data are actively uploaded, the MCU main control chip adopts an STM32L476 single chip microcomputer, the MCU main control chip can keep standby and running states with extremely low power consumption, and the multi-field data acquisition terminal can be normally used within a specified year under the condition of ensuring power supply of a battery.
Example 2:
FIG. 4 is a schematic circuit diagram of a main power source in a multi-domain data acquisition terminal of the present invention, FIG. 5 is a schematic circuit diagram of a power module in the multi-domain data acquisition terminal of the present invention, such as the main power source and the power module in the multi-domain data acquisition terminal shown in the attached drawings 4 and FIG. 5 of the specification, the power source includes a main power source, a power module, a voltage stabilizing module and a standby power source, the standby power source is connected with the acquisition module, the communication module and the display screen, the output end of the main power source is electrically connected with the power module, the output end of the power module is electrically connected with the voltage stabilizing module, the power module outputs a 12V DC power source after conversion, and then the 12V DC power source is converted into the voltages for use by the voltage stabilizing module, wherein the main power source adopts a 220V AC power source and outputs a 12V DC power source after conversion by the power module, and then a 12V direct current power supply is converted into the use voltage of each module such as 5V, 3.3V and the like through a voltage stabilizing module, wherein the standby power supply uses a 3.6V battery, mainly comprises an MCU main control chip, a part of acquisition modules, a wireless communication module and a terminal display for supplying power, so that the reporting function of the multi-field data acquisition terminal keeps normal operation under the condition of abnormal power supply.
Example 3:
fig. 6 is a schematic circuit diagram of an acquisition module in the multi-domain data acquisition terminal of the present invention, and fig. 7 is a schematic circuit diagram of a wireless communication module in the multi-domain data acquisition terminal of the present invention. Fig. 8 is a schematic diagram of a circuit principle of a control module in a multi-domain data acquisition terminal according to the present invention, and as shown in fig. 7 of the specification, the wireless communication module of the data acquisition terminal shown in fig. 8 is connected to an MCU main control chip through a circuit, the wireless communication module in the multi-domain data acquisition terminal according to the present invention can implement a function of uploading data of an acquisition end, the data upload of the acquisition module can upload acquisition information of each domain device terminal to the multi-domain data acquisition terminal in a lora, sub-1g, etc., and for a product associated with the terminal, the address, ID, etc. of the product can be set and operated through the terminal; the multi-field data acquisition terminal is only responsible for relevant data acquisition and arrangement when communicating with other products, and does not change or operate; the acquisition module in the data acquisition terminal can upload data to the multi-field data acquisition terminal at regular time according to the requirements of each field, the control module is divided into an internal control module and an external control module, wherein the internal control module mainly controls the on-off of each module power supply in the multi-field data acquisition terminal, and the service life is prolonged by reducing the power consumption by cutting off the power supply, the external control module in the invention consists of a relay and a sensor, and can realize the functions of controlling a switch valve of a water meter, the circuit on-off of an ammeter, a switch valve of a gas meter, fire alarm, illumination and monitoring and nursing safety alarm, and the like, the acquisition module is divided into a wired acquisition module and a wireless acquisition module, the wired acquisition module mainly can support basic equipment such as the water meter, the ammeter, the gas meter and the like, and the acquisition mode is mainly converted into AD, part of the interfaces support a serial port communication reading module to collect data; the wireless acquisition module can support devices such as a fire terminal and an intelligent old age terminal besides basic devices such as the water meter, the ammeter and the gas meter, and can acquire wireless communication data information sent by the device terminal, and the main communication module is NBIot.
Example 4:
fig. 1 is a schematic diagram of a system structure of the present invention, fig. 2 is a schematic diagram of a multi-domain data acquisition terminal of the present invention, fig. 3 is a schematic diagram of a circuit principle of an MCU main control chip in the multi-domain data acquisition terminal of the present invention, and as shown in fig. 1 of the specification, fig. 2 and fig. 3 of the present invention, the multi-domain data acquisition terminal further includes a terminal display, the terminal display is connected with the MCU main control chip by a circuit, the terminal display includes a segment code liquid crystal screen, a liquid crystal driving module, a key and an LED, the segment code liquid crystal screen, the key and the LED are connected with the MCU main control chip by a circuit, and in a display screen interface of the terminal display, a client can roughly observe various data and alarm records of a plurality of device terminals, and use a mobile phone app or a tablet client, etc., the state information of each day and when various abnormal states appear can be checked, and the multi-purpose of one machine can be realized through operations such as management, division, processing, charging and the like.
Example 5:
a sensor fault detection method for an NB-IoT intelligent water meter data acquisition terminal is characterized by comprising the following steps: the method comprises the following steps:
s1: firstly, determining a data set, and mining characteristic information in sensor fault data;
s2: establishing a fault diagnosis model, and dividing sample data into a training set and a test set;
s3: then carrying out standardized processing, modeling and training on the training set;
s4: injecting a periodic test signal into the sensor, comparing the sensor with a threshold value, outputting the result to judge whether the function of the sensor is in fault, and simultaneously acquiring historical data of a plurality of sensors;
s5: obtaining a fault detection model, and then carrying out standardization processing on the data of the test set by using the same standardization parameters;
s6: further detecting the processed data by using a fault detection model, and calculating whether the obtained sensor information is zero or not;
s7: and judging the state of each sensor, and judging whether the sensor has a fault according to the detection result, thereby realizing the diagnosis of the fault of each sensor.
Further, the failure detection calculation method in step S6 is as follows:
the sensor data set is set as: a { (j1, k1), (j2, k2), · (jx, kx) }, in the above dataset, jt ∈ Rl, ki ∈ {1, -1}, n ═ 1, 2.·, x, x are positive integers;
wherein jn is a feature vector of the nth sensor temperature history data in the sensor data set, kn is label information corresponding to the sensor, 0 is used for representing a faulty sensor, 1 is used for representing a normal sensor, whether the sensor information obtained through the calculation by the method is zero or not can be used for judging the state of the sensor, if the reading data corresponding to the sensor obtained by the upper computer is continuously empty within a preset time period, the upper computer is indicated to not actually obtain effective reading data of the temperature sensor, so that the sensing is judged to be faulty, for example, a circuit between the sensor and the control module or the MCU main control chip is not communicated, specifically, the circuit fault is included, for example, the circuit is damaged, or the connection fault is included, for example, a plug at one end of the circuit close to the sensor is loosened, or the connection between the circuit and the main control board is loosened, for example, the hardware fault of the sensor itself is included, if the sensor is damaged due to overload and overheating, or the sensor cannot detect the equipment terminals in each field due to hardware faults of the sensor, or corresponding reading signals cannot be generated according to the equipment terminals in each field, therefore, if the reading data of the upper computer is continuously empty, the corresponding fault type can be determined to be the problem that the sensor is abnormal in connection or damaged, the preset time can be the default time of the system, or can be set according to actual requirements, for example, the preset time is set to be 1-20 seconds, if the reading data of the sensor is continuously empty, the situation that the MCU main control chip cannot receive the signals returned by the sensor, or the signals returned by the sensor are kept at a low level or the reading data of the sensor is continuously 0 can be shown.
Example 6:
in step S1, firstly, determining a data set, mining characteristic information in sensor fault data, firstly setting a sensor acquisition data sample set as F0 epsilon Rm multiplied by w, wherein m represents the number of samples, and w represents the number of measurement variables, standardizing each column of F0(i) of measurement data F0, and determining a fault type corresponding to a fault state according to reading data under the condition that the reading data is not 0; if the reading data is larger than a preset threshold value, determining that the fault is the deviation of a sensor detection end or the reading drift of the sensor, if the reading data is not 0, indicating that the MCU main control chip can receive effective reading data returned by the sensor, if the reading data is not in accordance with the actual situation, judging that the sensor is in a fault state, injecting a periodic test signal into the sensor, comparing the sensor with the threshold value, outputting the result to the judging that the function of the sensor is correct, and collecting historical data of the sensor, wherein the sensor in the sensor fault detection method comprises a pressure feedback signal conditioning circuit, a pressure sensor fault detection circuit, a fault detection signal conditioning circuit and a CPU; the sensor sends data of terminal equipment in each field to the sensor fault detection circuit after the data passes through the pressure feedback signal conditioning circuit, detects faults of the pressure sensor, determines a sensor data set in the detection process, establishes a fault diagnosis model of the sensor, and sets a target function of the fault diagnosis model as follows:
Oy=Pα)+Ω(α)
in the formula, P (alpha) represents a loss function, omega (alpha) represents a regular term, alpha represents a parameter, the predicted value of the initial base classification is set to be 0, and other functions of the predicted value are determined, the initial base classification predicted value is defined as jt, wherein jt is a characteristic vector and label information in a sensor data set, the target function is iterated for multiple times through the predicted value, the iterated target function is determined, the state of each sensor can be judged, whether the sensor fails or not is judged according to the detection result, and therefore the diagnosis of the faults of each sensor is achieved.
Through periodic test signal injection sensor and threshold value comparison output for judging whether the sensor function is broken down, gather the historical data of a plurality of sensors simultaneously, obtain the fault detection model, set up and preset the threshold value and do:
L=UR(i),i=27,27+1,27+2,…,28
wherein, U is used for adjusting the fault detection precision, R is the numerical value of the detection error, and when the detection error R (i) is less than or equal to L, the fault detection system can be regarded as normal operation; when the detection error r (i) > L, the fault detection system may be considered to be faulty.
Example 7:
the invention can also acquire the voltage data of the sensor in a certain time period, acquire the fluctuation times of the voltage of the sensor in the certain time period according to the acquired voltage data, determining whether the sensor has a fault according to the fluctuation times, acquiring the times that the voltage of the sensor is changed from being less than or equal to a preset threshold value to being greater than the preset threshold value within a certain time period according to the acquired voltage value, whether the sensor is in failure can be determined according to the fluctuation times of the voltage of the sensor, such as the fluctuation times is lower than a preset threshold value, it is determined that the sensor is malfunctioning, the voltage value of the sensor fluctuates within a relatively small range, therefore, when the voltage value of the sensor is lower than the preset threshold value, such as the voltage value of the sensor is lower than the preset threshold value by 20mv, the sensor is considered to have a fault problem, wherein the calculation formula of the voltage signal frequency of the sensor is as follows:
tr: time of signal interruption of the r-th time in unit of s
tr-1: the r-1 signal interruption time, if the voltage value is zero, skipping the connecting cable to drive the displacement sensor and detecting the secondary voltage value in the driving circuit again, if the secondary voltage value is zero, the failure mode is sensor failure, if the voltage value of the sensor is greater than the maximum rated voltage, detecting the secondary voltage value of the sensor again, if the secondary voltage value is greater than the maximum rated voltage, the sensor is considered to have a failure problem, the invention can also detect whether the feedback voltage of the sensor is 0V by using a voltage detection device, if the feedback voltage is 0V, the circuit of the sensor is broken, the invention can detect the feedback voltage value of the displacement sensor by using the existing voltage detection device and compare the feedback voltage value with a preset threshold value, when the sensor fails, utilize the fault detection model to carry out further detection to the data after handling, whether the sensor information that obtains through the calculation is zero, set up the regional position coordinate of sensor simultaneously, the coordinate sets up to b _ sensor, s _ sensor, establishes the fault calculation model of sensor simultaneously, establishes and uses the sensor as the origin, and the transverse direction that calculation model set up the sensor is the x axle direction, and the longitudinal direction is the y direction, and wherein 13 th row 27 sensor position coordinate is:
X13,27=27–(w-1)/227=0…s-1
Y13,27=g–(h-1)/213=0…b-1
if a failure occurrence is detected in the sensor, the sample z (b) can be represented by a failure subspace as:
z(b)=z*(b)+ΞFf(b)
wherein z x (b) represents a sample under normal condition, and xi F represents a direction matrix of the fault F.
The invention provides an NB-IoT intelligent water meter data acquisition terminal, wherein a data acquisition system in the invention comprises a multi-field data acquisition terminal, and the multi-field data acquisition terminal mainly adopts a data acquisition main circuit, a data acquisition control circuit, a data acquisition interface and a data acquisition power circuit to form a hardware part of the terminal; the software part of the system is composed of a main program flow of the data acquisition system and a flow taking water meter data acquisition as an example, and can realize the overall design of a multi-field data acquisition terminal; experiments prove that the stability and the reliability of the data acquisition system can be effectively improved;
the data acquisition circuit is designed according to a main chip STM32L476, various data acquisition in the data acquisition control circuit is carried out, a universal I/O port simulated serial port is utilized to communicate with each acquisition module, and a power circuit in the data acquisition system adopts a 3.6V lithium sub-battery for power supply; the multi-field data acquisition terminal can not only collect and report data of each field in a centralized manner, but also record and control special conditions such as fire alarm, abnormal use amount and the like, so that a user can check the data conveniently and count the data with a public service bureau;
the MCU main control chip can convert signals representing the sensor fault and the sensor normal into corresponding display signals, and simultaneously displays the display signals on a display screen on a terminal display, such as displaying 'fault' or 'normal', the invention also provides a sensor fault detection method of the NB-IoT intelligent water meter data acquisition terminal, which can accurately position the fault position of the sensor and effectively increase the fault detection efficiency of the sensor, and can also quickly detect the fault problem when the sensor in an external control module has a fault so as to carry out corresponding fault-tolerant control aiming at the fault problem of the sensor, thereby ensuring the normal operation of the data acquisition system and effectively improving the reliability of the multi-field data acquisition system.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An NB-IoT intelligent water meter data acquisition terminal is characterized in that: including multi-field data acquisition terminal, private high in the clouds platform, host computer and equipment terminal, it is a plurality of the equipment terminal with interconnect between the multi-field data acquisition terminal and establish the communication, it is a plurality of the equipment terminal establishes the communication through above-mentioned multi-field data acquisition terminal and private cloud platform, multi-field data acquisition terminal and private high in the clouds platform establish the communication, and multi-field data acquisition terminal is unified with each item data in a plurality of equipment terminal and is uploaded to private high in the clouds platform, establish the communication between private high in the clouds platform and the host computer, establish the communication through wireless mode between host computer and the multi-field data acquisition terminal.
2. The NB-IoT intelligent water meter data acquisition terminal as set forth in claim 1, wherein: the multi-field data acquisition terminal comprises an MCU (microprogrammed control Unit) main control chip, a control module, an acquisition module, a wireless communication module and a power supply, wherein the control module, the acquisition module, the wireless communication module and the power supply are all connected with each other through circuits, and the wireless communication module is communicated with the private cloud platform.
3. The NB-IoT intelligent water meter data acquisition terminal as set forth in claim 2, wherein: the control module comprises an external control module, the external control module is in communication with the equipment terminal in a wireless mode, the external control module comprises a relay and a sensor, and the relay and the sensor are connected with the external control module through circuits.
4. The NB-IoT intelligent water meter data acquisition terminal of claim 3, wherein: the control module further comprises an internal control module, and the internal control module is used for controlling the on-off of the power supply of each module in the multi-field data acquisition terminal.
5. The NB-IoT intelligent water meter data acquisition terminal as set forth in claim 2, wherein: the acquisition module is connected with the wireless communication module, the acquisition module comprises a wired acquisition module and a wireless acquisition module, the wired acquisition module is connected with the equipment terminal through a signal line, and the wireless acquisition module is communicated with the equipment terminal in an NB-IoT (NB-IoT) mode.
6. The NB-IoT intelligent water meter data acquisition terminal as set forth in claim 2, wherein: the multi-field data acquisition terminal further comprises a terminal display, and the terminal display is connected with the MCU main control chip through a circuit.
7. The NB-IoT intelligent water meter data acquisition terminal of claim 6, wherein: the terminal display comprises a segment code liquid crystal screen, a liquid crystal driving module, a key and an LED, wherein the segment code liquid crystal screen, the key and the LED are all connected with the MCU main control chip through circuits.
8. The NB-IoT intelligent water meter data acquisition terminal as set forth in claim 2, wherein: the power supply comprises a main power supply, a power supply module, a voltage stabilizing module and a standby power supply, the standby power supply is connected with the acquisition module, the communication module and the display screen, the output end of the main power supply is electrically connected with the power supply module, the output end of the power supply module is electrically connected with the voltage stabilizing module, the power supply module outputs 12V direct-current power after conversion, and the 12V direct-current power is converted into the service voltage of each module through the voltage stabilizing module.
9. A sensor fault detection method for an NB-IoT intelligent water meter data acquisition terminal is characterized by comprising the following steps: the method comprises the following steps:
s1: firstly, determining a data set, and mining characteristic information in sensor fault data;
s2: establishing a fault diagnosis model, and dividing sample data into a training set and a test set;
s3: then carrying out standardized processing, modeling and training on the training set;
s4: injecting a periodic test signal into the sensor, comparing the sensor with a threshold value, outputting the result to judge whether the function of the sensor is in fault, and simultaneously acquiring historical data of a plurality of sensors;
s5: obtaining a fault detection model, and then carrying out standardization processing on the data of the test set by using the same standardization parameters;
s6: further detecting the processed data by using a fault detection model, and calculating whether the obtained sensor information is zero or not;
s7: and judging the state of each sensor, and judging whether the sensor has a fault according to the detection result, thereby realizing the diagnosis of the fault of each sensor.
10. The method for detecting the sensor fault of the NB-IoT intelligent water meter data acquisition terminal as claimed in claim 9, wherein: the failure detection calculation method in step S6 is as follows:
the sensor data set is set as: a { (j1, k1), (j2, k2), · (jx, kx) }, in the above dataset, jt ∈ Rl, ki ∈ {1, -1}, n ═ 1, 2.·, x, x are positive integers;
wherein jn is a feature vector of the nth sensor temperature history data in the sensor data set, kn is label information corresponding to the sensor, 0 is used for representing a fault sensor, 1 is used for representing a normal sensor, and whether the sensor information obtained by the method is zero or not can be used for judging the state of the sensor.
CN202110217754.2A 2021-02-26 2021-02-26 NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof Pending CN113155222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110217754.2A CN113155222A (en) 2021-02-26 2021-02-26 NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110217754.2A CN113155222A (en) 2021-02-26 2021-02-26 NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof

Publications (1)

Publication Number Publication Date
CN113155222A true CN113155222A (en) 2021-07-23

Family

ID=76883663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110217754.2A Pending CN113155222A (en) 2021-02-26 2021-02-26 NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof

Country Status (1)

Country Link
CN (1) CN113155222A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240392A (en) * 2022-07-25 2022-10-25 高新兴讯美科技股份有限公司 Automatic detection system for failure of alarm probe
CN115442676A (en) * 2022-07-11 2022-12-06 华能澜沧江水电股份有限公司 Intelligent electric energy meter metering information acquisition system and acquisition method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100877905B1 (en) * 2007-11-29 2009-01-12 차기만 Automatic gas meter reading system and automatic gas meter reading terminal
CN205748437U (en) * 2016-06-04 2016-11-30 辽宁双宜电力电子有限公司 Four table unification acquisition terminal comprehensive detectors
CN111145525A (en) * 2020-01-14 2020-05-12 青岛数能电气工程有限公司 Water-gas-electricity three-meter wireless self-organizing meter reading control system and method
CN210955472U (en) * 2020-03-18 2020-07-07 内蒙古电力(集团)有限责任公司内蒙古电力科学研究院分公司 Multi-meter data acquisition terminal
CN111967535A (en) * 2020-09-04 2020-11-20 安徽大学 Fault diagnosis method and device for temperature sensor in grain storage management scene
CN112330945A (en) * 2021-01-04 2021-02-05 天津赛恩能源技术股份有限公司 Communication method of matrix type wireless NB-IoT (NB-IoT) Internet of things intelligent water meter system
CN215064712U (en) * 2021-02-26 2021-12-07 天津赛恩能源技术股份有限公司 NB-IoT intelligent water meter data acquisition terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100877905B1 (en) * 2007-11-29 2009-01-12 차기만 Automatic gas meter reading system and automatic gas meter reading terminal
CN205748437U (en) * 2016-06-04 2016-11-30 辽宁双宜电力电子有限公司 Four table unification acquisition terminal comprehensive detectors
CN111145525A (en) * 2020-01-14 2020-05-12 青岛数能电气工程有限公司 Water-gas-electricity three-meter wireless self-organizing meter reading control system and method
CN210955472U (en) * 2020-03-18 2020-07-07 内蒙古电力(集团)有限责任公司内蒙古电力科学研究院分公司 Multi-meter data acquisition terminal
CN111967535A (en) * 2020-09-04 2020-11-20 安徽大学 Fault diagnosis method and device for temperature sensor in grain storage management scene
CN112330945A (en) * 2021-01-04 2021-02-05 天津赛恩能源技术股份有限公司 Communication method of matrix type wireless NB-IoT (NB-IoT) Internet of things intelligent water meter system
CN215064712U (en) * 2021-02-26 2021-12-07 天津赛恩能源技术股份有限公司 NB-IoT intelligent water meter data acquisition terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴应雨;陈运雷;葛知著;刘紫燕: "基于NB-IoT和STM32的智能抄表系统设计", 自动化技术与应用, vol. 39, no. 12, 25 December 2020 (2020-12-25), pages 59 - 65 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442676A (en) * 2022-07-11 2022-12-06 华能澜沧江水电股份有限公司 Intelligent electric energy meter metering information acquisition system and acquisition method
CN115240392A (en) * 2022-07-25 2022-10-25 高新兴讯美科技股份有限公司 Automatic detection system for failure of alarm probe
CN115240392B (en) * 2022-07-25 2024-03-22 高新兴讯美科技股份有限公司 Alarm probe failure automatic detection system

Similar Documents

Publication Publication Date Title
CN113155222A (en) NB-IoT intelligent water meter data acquisition terminal and sensor fault detection method thereof
CN211402669U (en) Low-voltage distribution network leakage current monitoring device
CN209311646U (en) A kind of battery group on-line monitoring system
CN106249690B (en) A kind of electric control system
CN218383263U (en) Electric energy metering management terminal with state online monitoring function
CN111027026A (en) Meter reading data abnormity intelligent diagnosis system
CN211148838U (en) Air conditioner internal unit testing device
CN215064712U (en) NB-IoT intelligent water meter data acquisition terminal
CN112615432A (en) Power distribution low-voltage equipment monitoring system
CN112505553A (en) Online monitoring system for lead-acid storage battery
CN107024298A (en) The temperature sensing device and method communicated based on M BUS interfaces
CN116995815A (en) Monitoring system for safe electricity utilization
CN201723212U (en) Automatic metering control system for oilfield metering station
CN115224802A (en) Information communication system based on cloud server
CN210802757U (en) Medical gas informatization early warning platform
CN101261210B (en) Cable branch joint sulfur hexafluoride air cell density remote-measuring system
CN210051387U (en) NB-IoT gas meter with temperature detection function
CN114355071A (en) Power consumption monitoring feedback system based on power system and energy-saving method
CN112858778A (en) Information flow monitoring system of metering and collecting equipment
CN203882179U (en) Transformer temperature controller detection system
CN219122327U (en) Detection device for secondary circuit state inspection instrument production line
CN220894409U (en) Single-phase electric energy meter
CN212275868U (en) Terminal data acquisition module
CN220438439U (en) Contactor state monitoring system
CN218335427U (en) Health diagnosis device for off-grid optical storage power supply system

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