CN110160594A - A kind of NB-IoT mould group with intellectual water meter dedicated pin - Google Patents

A kind of NB-IoT mould group with intellectual water meter dedicated pin Download PDF

Info

Publication number
CN110160594A
CN110160594A CN201810139195.6A CN201810139195A CN110160594A CN 110160594 A CN110160594 A CN 110160594A CN 201810139195 A CN201810139195 A CN 201810139195A CN 110160594 A CN110160594 A CN 110160594A
Authority
CN
China
Prior art keywords
water meter
reading
direct
pin
mould group
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
CN201810139195.6A
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.)
Liaoning Scaler Technology Co Ltd
Original Assignee
Liaoning Scaler 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 Liaoning Scaler Technology Co Ltd filed Critical Liaoning Scaler Technology Co Ltd
Priority to CN201810139195.6A priority Critical patent/CN110160594A/en
Publication of CN110160594A publication Critical patent/CN110160594A/en
Pending legal-status Critical Current

Links

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/18Supports or connecting means for meters
    • G01F15/185Connecting means, e.g. bypass conduits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information

Abstract

Intellectual water meter function and NB-IoT modem feature are integrated in the same mould group, realize the metering to intellectual water meter, Communication Control, and battery low-voltage detects, and the functions such as NB-IoT wireless telecommunications improve the wireless telecommunications performance of Internet of Things water meter.The advantages that present invention has clear principle, easy to use, low in energy consumption, small in size, and reliability is higher, greatly accelerates application of the NB-IoT in intellectual water meter, all has stronger Practical significance for intellectual water meter field.The master control borad of intellectual water meter is not necessarily to using the intellectual water meter that the program is constituted, without other outer attached control modules, by the direct-reading interface of appellative function and direct-reading water meter, or pulse transducer is connected, direct-reading/pulse choice pin connects, voltage detector is connected to corresponding pin, so that it may realize intellectual water meter repertoire, and can complete NB-IoT communication function.

Description

A kind of NB-IoT mould group with intellectual water meter dedicated pin
Technical field
The present invention relates to a kind of NB mould groups, more particularly to a kind of NB-IoT mould group with intellectual water meter dedicated pin.
Background technique
The research and standardization of NB-IoT is carried out according to 3GPP normal structure, in the commercial mould group of release in 2017.NB- IoT technology is highly suitable for that terminal quantity is numerous, terminal power conservation requirement is high, the wireless intelligent water meter based on transmitting-receiving small data.It is existing NB-IoT mould group be for the application method of intellectual water meter: Nb mould group is done to the communication component of low-power consumption wide area network, by NB The Asynchronous Serial Interface of mould group and the Asynchronous Serial Interface of intellectual water meter master control borad are connected, the photo-electronic directly reading of intellectual water meter master control borad Interface is broken into from the photoelectric direct reading module water-meter reading continuous data of direct-reading water meter, and by data encryption according to communications protocol Data packet;Under the support of NB module A T instruction, intellectual water meter master control borad issues data of water meter by Nb communication module group.If It is intellectual water meter using pulse measurement mode, then 2 pulse interfaces of water meter and intellectual water meter master control borad are connected, when water meter leaf Water meter count signal is converted into pulse signal when wheel rotation, is converted into water meter pulse signal to use water by intellectual water meter master control borad Measure data;The communication interface of intellectual water meter master control borad as previously described is connected with NB mould group communication interface, passes through intellectual water meter master control The communication program of plate interacts AT instruction with NB mould group, and water data is sent in the form of wireless messages NB mould group, Realize data transmission of internet of things.But the use of the application method of this NB mechanics of communication and GPRS communication module group when the use of 2G net Method is the same, which will also have battery low-voltage detection function, so needing when being applied to intellectual water meter in intelligence NB-IoT communication module group can be added on water meter control panel, bring high cost, the problems such as structure is complicated, power consumption is big, and the development cycle is long, And existing NB-IoT communication module group does not have the dedicated functional pin of intellectual water meter.To solve the above problems, needing to provide a kind of incite somebody to action A kind of NB-IoT mould group with intellectual water meter dedicated pin that intellectual water meter function and NB-IoT communication function integrate.
Summary of the invention
It is an object of that present invention to provide test intellectual water meter water flow function of measuring, battery voltage detection function, water meter Function and NB-IoT modem chip communication function are integrated in a kind of NB- with intellectual water meter dedicated pin an of chip IoT mould group.A kind of NB-IoT mould group with intellectual water meter dedicated pin has a photoelectric direct-reading water meter direct-reading pin;One A pulse measurement pin;One voltage sense pin;Selection pin is measured in one direct-reading metering/punching forever;One metrology and measurement choosing Select pin.
The present invention is characterized in that intellectual water meter direct-reading program and I/O by being embedded in the ARM of NB chip MCU in NB mould group Interface constitutes photoelectric direct-reading water meter interface, one group direct-reading water meter pin and photoelectric direct of this interface as intellectual water meter NB mould group The direct-reading module interface for reading water meter is connected, and realizes direct-reading water consumption measurement function, constitutes photo-electronic directly reading pin.
The present invention is characterized in that when water meter uses arteries and veins mode signal output, the ARM of the MCU in Nb mould group embedded pulse Accounting procedure and one group of I/O interface structure step-by-step counting interface, are connected with the set of pulses sensor of pulse water meter, realize pulse Function of measuring, the interface constitute the pulse sensor of water meter pin of intellectual water meter Nb mould group.
The present invention is characterized in that the battery voltage detection program being embedded in the ARM of NB chip MCU in NB mould group and one I/O interface constitutes voltage detecting interface, is connected with voltage detector, realizes that voltage detecting function, the interface constitute intellectual water meter The voltage sense pin of Nb mould group.
The present invention is characterized in that a direct-reading/pulse measurement selection journey that the ARM chip of the MCU in Nb mould group is embedded The direct-reading metering method of sequence and an I/O interface for realizing water meter, the selection function of pulse measurement mode, the I/O interface structure Pin is selected at direct-reading metering/pulse measurement of intelligent Nb water meter Nb mould group.
The present invention is characterized in that the ARM of Nb mould group Nb chip MCU, the intellectual water meter test program of insertion and an I/O Interface constitutes work/water meter test mode selection pin of intellectual water meter Nb mould group, is in water meter for intelligent Nb water meter Test mode or gage work state, facilitate production test.
It is not necessarily to the master control borad of intellectual water meter using the intellectual water meter that the program is constituted, is not necessarily to other outer attached control modules, it will The direct-reading interface or pulse transducer of appellative function and direct-reading water meter are connected, and direct-reading/pulse choice pin connects, voltage detecting Device is connected to corresponding pin, so that it may realize intellectual water meter repertoire, and can complete NB-IoT communication function.
After mould group powers on, system clock is configured first, initializes NB-IoT modem chip, initialization metering later Functional pin, initialization battery capacity detection function pin;Judge detection/use pattern selection pin, if it is low level, For detection pattern, execute program judges whether each pin function is normal;It is executed following if it is high level for use pattern Program, controller enter low power consumpting state, if cooperation photoelectric direct-reading water meter uses, are set using optical-electric module and read mechanical word The timer of wheel, after timer interruption reaches, controller wakes up water-meter reading character wheel number;If cooperating pulse water meter to use, intelligence Energy controller for water meter unbalanced pulse counting interrupt, opens the wake-ups to be interrupted such as global interrupt low power consumpting state later, and program enters Into event array judgement circulation, when interrupting, low power consumpting state is exited, program executes interrupt routine, if it is timing Device interrupts, set timer interruption event flag;It is interrupted if it is step-by-step counting, set pulse counting interrupt event flag;Such as Fruit is low voltage test interruption, and set low voltage test break period mark after program returns to main program, judges interrupt identification, Execute respective operations.After timer interruption, whether the time that program can compare the interruption moment is identical as the preset function time, if Break period is identical with the preset reported data time, then uploads the data of specified protocol to cloud by NB-IoT modem End backstage after data upload successfully, if receiving the data that the base station NB is sent, parses data, executes respective operations;If Break period is identical as the time of data is saved, then can save to meter usage information and state, if it is photoelectric direct-reading water meter, A step serial communication interface can be also enabled, reads mechanical character wheel number, after step-by-step counting is interrupted, program can carry out cumulative amount tired Add, after low battery detection is interrupted, program, which will do it to alarm and upload data prompting by NB-IoT modulation /demodulation module, to be made User, later, controller come back to sleep state, wait wake-up to be interrupted.
The beneficial effects of the present invention are: intellectual water meter function and NB-IoT modem feature are integrated in the same mould In group, the metering to intellectual water meter, Communication Control, battery low-voltage detection, the functions such as NB-IoT wireless telecommunications, promotion are realized The wireless telecommunications performance of Internet of Things water meter.The present invention have clear principle, it is easy to use, it is low in energy consumption, it is small in size, reliability compared with The advantages that high, greatly accelerates application of the NB-IoT in intellectual water meter, all has for intellectual water meter field stronger practical Meaning.
Detailed description of the invention
Fig. 1 is existing NB-IoT module interface figure;
Fig. 2 is existing NB-IoT water meter block diagram;
Fig. 3 is structural block diagram of the invention;
Fig. 4 is program flow diagram of the invention.
Specific embodiment
When cooperation photoelectric direct-reading meter water meter in use, selecting pin 7 to be grounded photoelectricity/step-by-step counting mode, photoelectricity is used Direct-reading counts pin 4 and embedded photo-electronic directly reading program realizes electromechanical transformation;Cooperate pulse water meter in use, by photoelectricity/pulse Counting mode selects pin 7 hanging, realizes electromechanical transformation using step-by-step counting pin 5 and embedded impulse sampling program.By water After the usage amount of table is read back, by accounting procedure resume module, it is packaged together with internal information of statement, NB-IoT is transmitted to by internal serial ports The data field of modem;Modulated data are emitted to cloud backstage by antenna by NB-IoT modem;Antenna The signal received is sent to NB-IoT modem, and signal demodulates data through NB-IoT modem, and data are passed through The Intelligent water meter controller that internal serial ports is sent to.Intelligent water meter controller carries out after receiving data according to data command and content Parsing executes specified operation by protocol contents.Intelligent water meter controller can read the signal of low voltage test pin 2, work as inspection When measuring cell voltage lower than threshold value, reported data.Charging accounting procedure is embedded in Intelligent water meter controller, to collected Water meter mechanical character wheel number saved, added up, it can be achieved that temporally, a variety of progressive price schemes such as according to quantity, may be implemented simultaneously The operation such as supplement, readjust prices with money to water meter.
After mould group powers on, system clock is configured first, initializes NB-IoT modem chip, initialization metering later Functional pin, initialization battery capacity detection function pin.Judge detection/use pattern selection pin, if it is low level, For detection pattern, execute program judges whether each pin function is normal;It is executed following if it is high level for use pattern Program.Controller enters low power consumpting state, if cooperation photoelectric direct-reading water meter uses, is set using optical-electric module and reads mechanical word The timer of wheel, after timer interruption reaches, controller wakes up water-meter reading character wheel number;If cooperating pulse water meter to use, intelligence It can controller for water meter unbalanced pulse counting interrupt.The wake-ups to be interrupted such as global interrupt low power consumpting state are opened later, and program enters Into event array judgement circulation, when interrupting, low power consumpting state is exited, program executes interrupt routine.If it is timing Device interrupts, set timer interruption event flag;It is interrupted if it is step-by-step counting, set pulse counting interrupt event flag;Such as Fruit is low voltage test interruption, set low voltage test break period mark.After program returns to main program, interrupt identification is judged, Execute respective operations.After timer interruption, whether the time that program can compare the interruption moment is identical as the preset function time, if Break period is identical with the preset reported data time, then uploads the data of specified protocol to cloud by NB-IoT modem End backstage after data upload successfully, if receiving the data that the base station NB is sent, parses data, executes respective operations;If Break period is identical as the time of data is saved, then can save to meter usage information and state, if it is photoelectric direct-reading water meter, A step serial communication interface can be also enabled, mechanical character wheel number is read.After step-by-step counting is interrupted, program can carry out cumulative amount tired Add.After low battery detection is interrupted, program, which will do it to alarm and upload data prompting by NB-IoT modulation /demodulation module, to be made User.Later, controller comes back to sleep state, waits wake-up to be interrupted.

Claims (7)

1. the present invention is characterized in that being connect by the intellectual water meter direct-reading program and I/O being embedded in the ARM of NB chip MCU in NB mould group Mouth constitutes photoelectric direct-reading water meter interface, one group direct-reading water meter pin and photo-electronic directly reading of this interface as intellectual water meter NB mould group The direct-reading module interface of water meter is connected, and realizes direct-reading water consumption measurement function, constitutes photo-electronic directly reading pin.
2. the present invention is characterized in that when water meter uses arteries and veins mode signal output, the ARM of the MCU in Nb mould group embedded pulsimeter Range sequence and one group of I/O interface structure step-by-step counting interface, are connected with the set of pulses sensor of pulse water meter, realize pulsimeter Function is measured, which constitutes the pulse sensor of water meter pin of intellectual water meter Nb mould group.
3. the present invention is characterized in that the battery voltage detection program being embedded in the ARM of NB chip MCU in NB mould group and an I/ O Interface constitutes voltage detecting interface, is connected with voltage detector, realizes that voltage detecting function, the interface constitute intellectual water meter Nb The voltage sense pin of mould group.
4. the present invention is characterized in that a direct-reading/pulse measurement option program that the ARM chip of the MCU in Nb mould group is embedded, With an I/O interface for realizing the direct-reading metering method of water meter, the selection function of pulse measurement mode, the I/O interface are constituted The direct-reading metering of intelligent Nb water meter Nb mould group/pulse measurement selects pin.
5. the intellectual water meter test program of insertion and an I/O connect the present invention is characterized in that the ARM of Nb mould group Nb chip MCU Mouthful, work/water meter test mode selection pin of intellectual water meter Nb mould group is constituted, for intelligent Nb water meter is surveyed in water meter Examination state or gage work state, facilitate production test.
6. being not necessarily to the master control borad of intellectual water meter using the intellectual water meter that the program is constituted, other outer attached control modules are not necessarily to, it need to The direct-reading interface or pulse transducer of function and direct-reading water meter is asked to be connected, direct-reading/pulse choice pin connects, voltage detector It is connected to corresponding pin, so that it may realize intellectual water meter repertoire, and NB-IoT communication function can be completed.
7. after mould group powers on, configuring system clock first, NB-IoT modem chip, initialization metering function are initialized later It can pin, initialization battery capacity detection function pin;Judge detection/use pattern selection pin, if it is low level, for Detection pattern, executes program judges whether each pin function is normal;Following journeys are executed if it is high level for use pattern Sequence, controller enter low power consumpting state, if cooperation photoelectric direct-reading water meter uses, are set using optical-electric module and read mechanical character wheel Timer, timer interruption reach after, controller wake up water-meter reading character wheel number;If pulse water meter is cooperated to use, intelligence Controller for water meter unbalanced pulse counting interrupt is opened wake-up to be interrupted, the programs such as global interrupt low power consumpting state later and is entered In event array judgement circulation, when interrupting, low power consumpting state is exited, program executes interrupt routine, if it is timer It interrupts, set timer interruption event flag;It is interrupted if it is step-by-step counting, set pulse counting interrupt event flag;If For low voltage test interruption, set low voltage test break period mark after program returns to main program, judges interrupt identification, holds Row respective operations;After timer interruption, whether the time that program can compare the interruption moment is identical as the preset function time, if in The disconnected time is identical with the preset reported data time, then uploads the data of specified protocol to cloud by NB-IoT modem From the background, after data upload successfully, if receiving the data that the base station NB is sent, data is parsed, execute respective operations;In if The disconnected time is identical as the time of data is saved, then can save to meter usage information and state, if it is photoelectric direct-reading water meter, also A step serial communication interface can be enabled, mechanical character wheel number is read, after step-by-step counting is interrupted, program can add up to cumulative amount, After low battery detection is interrupted, program will do it to alarm and remind by NB-IoT modulation /demodulation module one data of upload and use Person, later, controller come back to sleep state, wait wake-up to be interrupted.
CN201810139195.6A 2018-02-11 2018-02-11 A kind of NB-IoT mould group with intellectual water meter dedicated pin Pending CN110160594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810139195.6A CN110160594A (en) 2018-02-11 2018-02-11 A kind of NB-IoT mould group with intellectual water meter dedicated pin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810139195.6A CN110160594A (en) 2018-02-11 2018-02-11 A kind of NB-IoT mould group with intellectual water meter dedicated pin

Publications (1)

Publication Number Publication Date
CN110160594A true CN110160594A (en) 2019-08-23

Family

ID=67641502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810139195.6A Pending CN110160594A (en) 2018-02-11 2018-02-11 A kind of NB-IoT mould group with intellectual water meter dedicated pin

Country Status (1)

Country Link
CN (1) CN110160594A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600785A (en) * 2020-04-30 2020-08-28 青岛鼎信通讯股份有限公司 M-BUS intelligent water meter low-power-consumption communication method
CN112002066A (en) * 2020-08-28 2020-11-27 湖北骏翔电子科技有限公司 Double-reed-tube counting device based on timed interruption triggering

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202903252U (en) * 2012-10-16 2013-04-24 杭州振华仪表有限公司 Internet of things intelligent electromagnetic flow meter
CN203287067U (en) * 2013-04-16 2013-11-13 王金 Intelligent water meter of Internet of Things
CN106502960A (en) * 2016-10-09 2017-03-15 上海庆科信息技术有限公司 A kind of wireless communication chips encapsulated based on SIP

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202903252U (en) * 2012-10-16 2013-04-24 杭州振华仪表有限公司 Internet of things intelligent electromagnetic flow meter
CN203287067U (en) * 2013-04-16 2013-11-13 王金 Intelligent water meter of Internet of Things
CN106502960A (en) * 2016-10-09 2017-03-15 上海庆科信息技术有限公司 A kind of wireless communication chips encapsulated based on SIP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王晓周等: "《NB-IoT技术标准化及发展趋势研究》", 《现代电信科技》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600785A (en) * 2020-04-30 2020-08-28 青岛鼎信通讯股份有限公司 M-BUS intelligent water meter low-power-consumption communication method
CN112002066A (en) * 2020-08-28 2020-11-27 湖北骏翔电子科技有限公司 Double-reed-tube counting device based on timed interruption triggering
CN112002066B (en) * 2020-08-28 2022-06-17 湖北骏翔电子科技有限公司 Double-reed-tube counting device based on timed interruption triggering

Similar Documents

Publication Publication Date Title
CN109752060A (en) A kind of intelligent gas meter based on embedded intelligent gas table function narrowband NB-IOT communication module group
CN110160594A (en) A kind of NB-IoT mould group with intellectual water meter dedicated pin
CN203982089U (en) A kind of sports watch movement that utilizes pointer indicating reminders information
CN103164730A (en) Dual-frequency radio frequency electronic tag
CN107105056A (en) A kind of cloud control electric meter system based on WiFi communication
CN104881018B (en) Water paddy irrigation Water application rate for miniature irrigation area tests system and test method
CN109470319A (en) A kind of NB-IOT mould group dedicated for Ultrasonic Intelligent water meter
CN106197747A (en) The power overhead network monitoring temperature sensor circuit of a kind of duplicate supply pattern and temp measuring method
CN207231560U (en) Intelligent telemetering water meter system based on Zigbee network
CN110648458A (en) Intelligent ultrasonic gas meter based on embedded intelligent ultrasonic gas meter function narrowband NB-IOT communication module
CN205317966U (en) High accuracy multichannel automatic meteorological station atmospheric pressure examination appearance
CN203365573U (en) Electric power parameter monitoring device for intelligent electrical network
CN109427186A (en) A kind of intellectual water meter die for special purpose group based on NB-IOT modem
CN202166679U (en) Intelligent dynamic-collecting terminal for three-phase electric energy data
CN109470323A (en) A kind of NB-IoT mould group with intelligent gas meter dedicated pin
CN201368776Y (en) Ultra low power wireless digital temperature sensor
CN109470327A (en) A kind of NB-IoT mould group with Ultrasonic Intelligent gas meter, flow meter dedicated pin
CN109724662A (en) A kind of intellectual water meter based on embedded intellectual water meter function narrowband NB-IOT communication module group
CN208091510U (en) A kind of multifunctional internet of things gauge table
CN111090003A (en) Synchronous direct current electric energy metering system based on Beidou/GPS clock
CN202434049U (en) Water meter data acquirer
CN109903467A (en) A kind of narrowband NB-IOT communication module group and its application method for intellectual water meter
CN108109223A (en) A kind of low power-consumption intelligent office real-time synchronization display system and its method of work
CN203882385U (en) Intelligent water resource water meter
CN208922464U (en) A kind of real-time acquisition system of article moving condition

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190823