CN109798947A - A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter - Google Patents

A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter Download PDF

Info

Publication number
CN109798947A
CN109798947A CN201711119800.5A CN201711119800A CN109798947A CN 109798947 A CN109798947 A CN 109798947A CN 201711119800 A CN201711119800 A CN 201711119800A CN 109798947 A CN109798947 A CN 109798947A
Authority
CN
China
Prior art keywords
data
function
ultrasonic wave
gas meter
module
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
CN201711119800.5A
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 CN201711119800.5A priority Critical patent/CN109798947A/en
Publication of CN109798947A publication Critical patent/CN109798947A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Measuring Volume Flow (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter is a kind of by gas meter, flow meter supersonic wave metering modular program, detect signal equivalent program, IC card fetch module and program, interface and program can be expanded, valve control module, ladder gas price accounting module, combustion gas uses secure smartcard module, fuel gas alarm connects message processing module, reversed installation alarm module, surreptitiously gas alarm module forms, data communication protocol module and program and NB-IOT communication function are integrated into the dedicated NB mould group of gas meter, flow meter of a chip one, the present invention has clear principle, it is easy to use, it is low in energy consumption, it is small in size, the advantages that reliability is higher, all there is stronger Practical significance in ultrasonic wave gas meter field.At high cost existing for Internet of Things ultrasonic wave gas meter for previous NB module composition, the problems such as covering surface is few, connection number is few, is made that improvement.

Description

A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter
Technical field
The present invention relates to a kind of gas meter, flow meter mould groups, logical more particularly to a kind of narrowband NB-IOT for ultrasonic wave gas meter Interrogate mould group and its application method.
Background technique
The professional standard (R13 a part) of NB-IOT has been formulated in 3GPP meeting in 2016, and in the commercial mould of release in 2017 Group, and the GPRS technology netted according to the 3GPP agreement of NB-IOT, traditional Internet of Things transmission using 2G, due to its transmission power Greatly, power consumption is big, and link operation is not high enough causes its area coverage narrow, and at high cost, power consumption is big, it is difficult to meet ultrasonic wave gas meter It is powered using battery, the technical requirements of operation 10 years.
Problem above can solve using Internet of Things NB-IOT mechanics of communication, this is a novel branch art and product, and mesh It is preceding it is domestic and international using NB-IOT module as the application method of the traditional 2G GPRS communication module netted, only by NB-IOT mould Block come regard communication component come using, thus only ultrasonic wave gas meter MCU micro energy lose processor constitute ultrasonic wave combustion Affix NB-IOT communication module constitutes ultrasonic wave gas meter on gas meter control panel, and ultrasonic wave gas meter in this way removes Need outside NB-IOT module, it is also necessary to a MCU ultrasonic wave gas meter control panel come realize metering and billing function, valve control function Energy, thief-proof function, IC card read-write capability, battery voltage detection function, data storage function and data encryption feature etc., thus Bring high cost, the problems such as structure is complicated, high power consumption.In order to meet Internet of Things ultrasonic wave gas meter, small power consumption, city at low cost A kind of field demand, it is desirable to provide novel NB-IOT ultrasonic wave combustion for integrating ultrasonic wave gas table function and NB-IOT communication module group Gas meter die for special purpose group.
Summary of the invention
Goal of the invention is to provide one in a kind of MCU that multiple ARM using inside NB-IOT modem are constituted A ARM core is defined as ultrasonic wave gas meter ARM, by gas metering billing function module, valve control function module, voltage detecting Functional module, IC card read-write capability functional module, data storage function module, thief-proof functional module, data-transformation facility mould Block, liquid-crystal data display module etc. are realized in ARM and are integrated with NB-IOT modem chip, in Internet of Things ultrasound Wave gas meter, flow meter apparently just as an independent ultrasonic wave gas meter MCU, realizes ultrasonic wave gas meter repertoire, and energy Enough complete NB-IOT communication function, the dedicated NB-IOT communication module group of ultrasonic wave gas meter be not necessarily to outside NB-IOT communication module group it is attached its He is MCU, the Internet of Things ultrasonic wave that the present invention solves present MCU ultrasonic wave gas meter control panel and NB-IOT communication module group is constituted Gas meter, flow meter, it is at high cost, structure is complicated, power consumption is big, and battery is at high cost the problems such as.
A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter, comprising: signal power is put Big circuit, filter, duplexer switch, NB-IOT modem, SIM card interface module, definition ultrasonic wave gas meter ARM, Data storage function module, battery capacity detection function module, ultrasonic wave gas meter metering module data read out function module, inspection Survey signal equivalent output function module, IC card read functional module, can expand functional module interface, valve control function module, Ladder gas price billing function module, combustion gas connect information processing function module using safety monitoring function module, fuel gas alarm, steal Gas warning function module, reversed installation warning function module, liquid-crystal data display function module, data safety encrypting and decrypting function Module etc. is constituted.
The present invention is characterized in that ultrasonic wave gas meter MCU is an ARM core by the inside of NB-IOT modem And the resource compositions such as program storage, memory array I/O interface.
It is a feature of the present invention that the repertoire of this ultrasonic wave gas meter is by the money on the ARM in NB modem Source is realized.
According to preceding feature, it is a feature of the present invention that ultrasonic wave gas meter data-transformation facility is by NB-IOT tune The data for the ultrasonic wave gas meter ARM that ARM is defined in the data-interface of modulator-demodulator, control interface and NB modem One control interface of interface and communications protocol and program are constituted, and realize Communication Control and data-transformation facility;The inspection of voltage electricity Brake is by the data-interface and voltage detector and brownout processing routine in the ultrasonic wave gas meter ARM core that defines It constitutes, realizes voltage detecting function and cell voltage power down process function;Supersonic wave metering function is by the ultrasonic wave gas that defines Multiple data-interfaces in Table A RM core are connect with supersonic wave metering module and Communication processing program is constituted, and realize supersonic wave metering Function;Valve control function is defined as valve driving interface and valve by an interface in the ultrasonic wave gas meter ARM core that defines Gate driver is connected, and the switching function of valve is realized by valve door control program.
It is a feature of the present invention that ultrasonic wave gas meter function of measuring module is stored by the ultrasonic wave gas meter ARM defined The metering processing routine and time difference method supersonic wave metering module I/O Interface that program storage is stored in device are completed to metering module Communication realize supersonic wave metering function.
It is a feature of the present invention that ultrasonic wave gas meter IC card reads functional module by the ultrasonic wave gas meter ARM that defines The IC card I/O interface of IC card read-write program and definition that program storage is stored in memory is completed the read-write to IC card and is come in fact Existing pre paid functionality, the function can also be realized by the NFC chip and program that above-mentioned I/O interface is connected.
The present invention is characterized in that an I2C interface in the ultrasonic wave gas meter ARM core of definition is defined as display interface With liquid crystal driver, liquid crystal display is connected, for showing Internet of Things ultrasonic wave gas meter under display driving software driving Gas consumption, instantaneous flow, pre-pay amount, ladder gas price, valve state, battery capacity, NB network signal intensity information etc. are aobvious Show function.
The present invention is characterized in that an I/O interface is defined as gas leakage report in the ultrasonic wave gas meter ARM core of definition Alert device interface is connected with gas leakage alarm, realizes leakage alarm function together by gas leakage alert process program.
It is a feature of the present invention that definition ultrasonic wave gas meter ARM nuclear memory storage steal gas disposal program according to The acoustic velocity value variation of medium carries out surreptitiously gas judgement and realizes anti-theft function in table after temperature-compensating.
It is a feature of the present invention that the detection signal equivalent processing of the ultrasonic wave gas meter ARM nuclear memory storage of definition The output of detection signal equivalent is realized in driving LED circuit work after the continuous data calculating that program is obtained according to communication is judged Function.
It is a feature of the present invention that the reversed installation alert program of the ultrasonic wave gas meter ARM nuclear memory storage of definition Judgement, which is carried out, according to ultrasonic wave upstream and downstream time-of-flight values realizes the warning function reversely installed.
Of the invention to be further characterized in that, the data processing of the program storage in the ultrasonic wave gas meter ARM core of definition passes Defeated program uses destiny evidence for accumulative, with throughput data, instantaneous flow data, metering and billing data, ladder dosage progressive price Data, take the amount of money in advance, valve status data, battery capacity data, NB signal strength data, and leak alarm state is surreptitiously vaporous State, the data such as reversed installation condition encrypt data by data safety encrypting and decrypting functional module, are packaged, pass through NB Modem carries out wireless signal modulation by power amplifier antenna, by data line wireless network transmissions to backstage, in fact according to NB agreement Existing table has data-transformation facility.
The encryption mechanism of the invention for being further characterized in that data safety encrypting and decrypting functional module is different from NB modulation /demodulation The data of device are eated dishes without rice or wine encryption safe mechanism, but are encrypted by fuel gas communication agreement, this function is by data encryption algorithm reality It is existing, it is stored in the ultrasonic wave gas meter ARM of definition.
The data receiver processing of memory storage in the ultrasonic wave gas meter ARM core of the invention for being further characterized in that definition NB modem is decrypted program from the data that the wireless signal that the received wireless network of antenna is sent demodulates, solution Analysis is realized two-way data communication and is controlled the ultrasonic wave gas meter ARM of definition, completes every function of ultrasonic wave gas meter Energy.
Module is completed the initialization of NB modem by the ARM chip on NB-LOT chip after powering on, modulated in NB The ready state of demodulator, and module power on after define ultrasonic wave gas meter ARM initialization program be first carried out, respectively include Data storage function module initialization, the module initialization of battery capacity detection function, gas meter, flow meter function of measuring module communication serial ports Initialization, the module initialization of IC card read functions, combustion gas use safety monitoring function module initialization, and fuel gas alarm connects information Processing function module initialization, Liquid Crystal Module initialization.
Initialization program executes system clock configurator after being finished, and configures by system clock and completes internal need At the beginning of port configuration, WatchDog Timer time set, external memory needed for each function is completed in time clock feature, port initialization Beginningization and reading parameter.Single-chip microcontroller, which enters, later opens wake-up to be interrupted, the program such as global interrupt low power consumpting state and enters thing In number of packages group judgement circulation, when interrupting, program, which is jumped out, is recycled into interruption determining program, and judging rear program can root According to interruption particular content respectively to measurement data acquisition, data upload, undervoltage warning, steal device alarm, reversed installation alarm, leakage The event flag position of the functions such as gas alarm, controlled valve is modified, and interruption is jumped out after change according to flag bit and carries out correlation Event action.Single-chip microcontroller first determines whether interrupt type when being interrupted wake-up, pass through again if it is external interrupt judgement it is specific which A port, which is caused, interrupts, and the event flag position of correlation function is arranged, principal function can be according to flag bit completion pair after jumping out interruption Answer Event Function.Mainly there are battery capacity detection function, gas meter, flow meter supersonic wave metering serial ports by the function that external interrupt triggers Communication function, IC card read functions, combustion gas use safety monitoring function, surreptitiously gas warning function.When timer interruption occurs for program When, correlation function can be executed according to certain time interval, whether the time for comparing the interruption moment is identical as the preset function time, The event flag position of correlation function is if the same set, and principal function can complete corresponding event function according to flag bit after jumping out interruption Energy.When the time reaching preset uplink time, NB-IOT modem is powered on, and executes initialization program, ultrasonic wave combustion Gas meter ARM core can then communications protocol by NB modem upload a data to cloud backstage.If Programmable detection goes out It is under-voltage, when stealing the abnormal phenomenon such as gas, gas leakage, program, which will do it, alarms and uploads a data by NB-IOT modulation /demodulation module Remind user.System will do it the diagnosis of primary system internal state, judgement at regular intervals in timer interruption simultaneously Whether each functional unit normally starts, and whether each expansion mouth is applied.If there is there is abnormal, ultrasound in certain functional units Wave gas meter, flow meter ARM core then communications protocol can upload a data by NB modem and notify related personnel to cloud backstage Repair operation.Module enters dormant state and opening timing device if each functional unit normally starts, when module is listened to Module can be waken up when the wakeup time of the message or program setting that send to the base station NB reaches, after mould group is waken up, Each working cell is started to work, and wherein NB-IOT demodulation module is transferred data to after demodulating to signal by Serial Port Line The ultrasonic wave gas meter ARM of definition carries out valve control, and the ultrasonic wave gas meter ARM of definition extracts calculative data transmission To the data-interface of NB modem, data are sent to NB modem by data line, NB modem will be defeated Signal out is sent to host computer through equipment such as wave filter duplexer switch antennas and is parsed.
The beneficial effects of the present invention are: by being realized using an ARM core inside NB-IOT modem to super The metering of sound wave gas meter, flow meter, Communication Control, design.And the present invention is a kind of by gas meter, flow meter supersonic wave metering modular program, detection Signal equivalent program, IC card fetch module and program can expand interface and program, valve control module, ladder gas price charging mould Block, combustion gas connect message processing module using secure smartcard module, fuel gas alarm, reversely install alarm module, surreptitiously gas alarm mould Block composition, data communication protocol module and program and NB-IOT communication function are integrated into the dedicated NB of gas meter, flow meter of a chip one Mould group, the present invention have clear principle, have easy to use, low in energy consumption, small in size, the advantages that reliability is higher, for ultrasound Wave gas meter, flow meter field all has stronger Practical significance.Existing for Internet of Things ultrasonic wave gas meter for previous NB module composition At high cost, the problems such as covering surface is few, connection number is few, is made that improvement.
Detailed description of the invention
Fig. 1 is the NB-IOT ultrasonic wave gas meter structural block diagram of ordinary construction
Fig. 2 is structural block diagram of the invention
Fig. 3 is internal structure block diagram of the invention
Fig. 4 is program flow diagram of the invention.
In Fig. 1: signal power amplifying circuit 1, filter 2, duplexer switch 3, ultrasonic wave gas meter ARM 4, data storage Functional module 5, battery capacity detection function module 6, NB-IOT modem 7, SIM card interface module 8, gas meter, flow meter ultrasonic wave Function of measuring module 9, detection signal equivalent functional module 10, IC card read functions module 11, can expand functional module interface 12, Valve control function module 13, ladder gas price billing function module 14, combustion gas use safety monitoring function module 15, gas alarm Device connects information processing function module 16, steals gas warning function module 17, reversed installation warning function module 18, antenna 19, power supply 20, valve 21, liquid-crystal data display function module 22, data safety encrypting and decrypting functional module 23, RF transceiver 24, base band Chip 25.
Specific embodiment
The signal that serial ports of the present invention receives is sent to NB-IOT modem 7 and demodulates data, modulates through NB-IOT The data-interface of demodulator 7 is sent to the ultrasonic wave gas meter ARM4 of definition, and the ultrasonic wave gas meter ARM4 of definition receives data It is decrypted by data safety encrypting and decrypting functional module, is then parsed according to data command and content by each function mould afterwards Block, which executes, is packaged the instructions such as communications protocol, is sent the data to and is determined by data acquisition module when needing to upload all data The ultrasonic wave gas meter ARM4 of justice will be encoded these data, after modulation by NB-IOT modem 7 by data processor Signal sent by serial ports.Data are passed through definition by the ultrasonic wave gas meter ARM4 onboard data security module of definition Encryption Algorithm in ultrasonic wave gas meter ARM4 carries out cryptographic calculation to data, can effectively guarantee the safety of data in this way Property, so that the data safety of user is protected.Processing is parsed encrypted data and sent by the ultrasonic wave gas meter ARM4 of definition Storage operation is carried out to data memory module 5.The ultrasonic wave gas meter ARM4 of definition may further be used to control each module simultaneously;Equally The ultrasonic wave gas meter ARM4 and decryption program of definition encrypt the data in ultrasonic wave gas meter, by the ultrasonic wave defined Gas meter, flow meter ARM and data-interface are transferred to NB modem digital interface, it is modulated after signal send cloud to through serial ports From the background, it is embedded in charging accounting procedure, step-by-step counting program in the ultrasonic wave gas meter ARM4 of definition, what is in addition to this defined is super Sound wave gas meter, flow meter ARM4 is also embedded in control field algorithms most in use.Battery capacity detection function module interface and program are to power supply electricity Amount is detected, and realizes battery capacity real-time monitoring and control and cell voltage power down process function;Supersonic wave metering functional module Interface and program are used to acquire the order data of metering module;Detect the continuous data meter that signal equivalent module is obtained according to communication LED periodicity active light-emitting function is realized in the work of driving LED circuit after calculation is judged;Valve control function module and program can To carry out switch operation to valve when valve needs to switch by control valve driving circuit;IC card read functions module interface And program is for reading IC card order data, realizes to the supplementing with money of gas meter, flow meter, readjusts prices, data feedback etc.;Liquid-crystal data shows function Energy module and program can realize the information such as user's gas data information, prepayment information, pricing information, gas meter, flow meter operating status Display is, it can be achieved that abnormal alarm information alert and display function;Combustion gas can be real using safety detection function module interface and program Now in gas meter, flow meter use process super large stream, constant current, extra small stream real time monitoring, in conjunction with valve control realize safety use Gas can be issued wireless messages by NB module when there is safety problem, then be handled by cloud and propose information warning and be pushed to use The mobile client at family;Surreptitiously gas warning function module and program are, it can be achieved that include but is not limited to intensive magnetism attack, external force to gas meter, flow meter The record of the processes such as impact, nonconventional approaches unlatching gas meter housing and alarm simultaneously send the data to cloud prompt alarm;Instead Alarm indication is carried out to installation warning function module and program, it can be achieved that reversely installing to gas meter, flow meter and identifying and trigger liquid crystal;Rank Terraced gas price billing function module and program ladder meterage is realized using price to combustion gas, it can be achieved that temporally, it is according to quantity etc. more Group progressive price scheme is, it can be achieved that positive ladder and negative ladder;Supersonic wave metering uses time difference method principle, that is, passes through ultrasonic wave transducer Device measures the upstream and downstream flight time of ultrasonic wave in the medium, obtains the flow speed value of gas, flow speed value and gas by formula operation The product of road sectional area obtains the flow value of gas, then obtains the device gas value of combustion gas by the integral of time;SIM card connects Mouth functional module and program are connected up to by SIM card corresponding with NB module communication foot is written and read realization to SIM card information The registration and management of communication network;Functional module interface can be expanded and provide spare interface, it can be achieved that using function for later new demand The extension of energy and the upgrading of technical solution.
Module is completed the initialization of NB modem by the SOC on NB-LOT chip after powering on, be in NB modulation /demodulation The ready state of device, and module power on after define ultrasonic wave gas meter ARM initialization program be first carried out, respectively include data Memory function module initialization, the module initialization of battery capacity detection function, gas meter, flow meter function of measuring module communication serial ports are initial Change, the module initialization of IC card read functions, combustion gas use safety monitoring function module initialization, and fuel gas alarm connects information processing Functional module initialization, Liquid Crystal Module initialization.
Initialization program executes system clock configurator after being finished, and configures by system clock and completes internal need At the beginning of port configuration, WatchDog Timer time set, external memory needed for each function is completed in time clock feature, port initialization Beginningization and reading parameter.Single-chip microcontroller, which enters, later opens wake-up to be interrupted, the program such as global interrupt low power consumpting state and enters thing In number of packages group judgement circulation, when interrupting, program, which is jumped out, is recycled into interruption determining program, and judging rear program can root According to the particular content measurement data acquisition of interruption, data upload, undervoltage warning, steal device alarm, reversed installation alarm, controlled valve Etc. the event flag positions of functions be modified, interruption is jumped out after change according to flag bit and carries out relevant event action.Monolithic Machine first determines whether interrupt type when being interrupted wake-up, passes through which specific port of judgement causes interruption again if it is external interrupt, The event flag position of correlation function is set, and principal function can complete corresponding Event Function according to flag bit after jumping out interruption.Pass through The function of external interrupt triggering mainly has battery capacity detection function, gas meter, flow meter supersonic wave metering serial communication function, IC card to read It takes function, combustion gas using safety monitoring function, steal gas warning function, reversed anti-dress warning function.When program occurs in timer When disconnected, correlation function can be executed according to certain time interval, compare interrupt the moment time whether with preset function time phase Together, the event flag position of correlation function is if the same set, and principal function can complete corresponding thing according to flag bit after jumping out interruption Part function.When the time reaching preset uplink time, NB-IOT modem is powered on, and executes initialization program, ultrasound Wave gas meter, flow meter ARM core can then communications protocol by NB modem upload a data to cloud backstage.If program is examined Measure it is under-voltage, when stealing the abnormal phenomenon such as gas, gas leakage, program, which will do it, alarms and uploads one by NB-IOT modulation /demodulation module Data prompts user.System will do it the diagnosis of primary system internal state at regular intervals in timer interruption simultaneously, Judge whether each functional unit normally starts, whether each expansion mouth is applied.If there is there is exception in certain functional units, Ultrasonic wave gas meter ARM core can then communications protocol by NB modem upload a data notify to cloud backstage it is related Personnel repair operation.Module enters dormant state and opening timing device if each functional unit normally starts, and works as module Module can be waken up when listening to the wakeup time arrival of message or program setting that the base station NB is sent, when mould group is waken up Afterwards, each working cell is started to work, and is passed data by Serial Port Line after wherein NB-IOT demodulation module demodulates signal The ultrasonic wave gas meter ARM for giving definition carries out valve control, and the ultrasonic wave gas meter ARM of definition extracts calculative data It is transferred to the data-interface of NB modem, data are sent to NB modem, NB modem by data line The signal of output is sent to host computer through equipment such as wave filter duplexer switch antennas to parse.

Claims (14)

1. the present invention is characterized in that ultrasonic wave gas meter MCU be by the inside of NB-IOT modem an ARM core and The resource compositions such as program storage, memory array I/O interface.
2. it is a feature of the present invention that the repertoire of this ultrasonic wave gas meter is by the resource on the ARM in NB modem To realize.
3. according to preceding feature, it is a feature of the present invention that ultrasonic wave gas meter data-transformation facility is modulated by NB-IOT The data for the ultrasonic wave gas meter ARM that ARM is defined in the data-interface of demodulator, control interface and NB modem connect One control interface of mouth and communications protocol and program are constituted, and realize Communication Control and data-transformation facility;Voltage electric power detection Function is by the data-interface and voltage detector and brownout processing routine structure in the ultrasonic wave gas meter ARM core that defines At realization voltage detecting function and cell voltage power down process function;Supersonic wave metering function is by the ultrasonic wave gas meter that defines Multiple data-interfaces in ARM core are connect with supersonic wave metering module and Communication processing program is constituted, and realize supersonic wave metering function Energy;Valve control function is defined as valve driving interface and valve by an interface in the ultrasonic wave gas meter ARM core that defines Driver is connected, and the switching function of valve is realized by valve door control program.
4. it is a feature of the present invention that ultrasonic wave gas meter function of measuring module is by the ultrasonic wave gas meter ARM memory that defines In be stored in the metering processing routine of program storage and time difference method supersonic wave metering module I/O Interface is completed to metering module Communication is to realize supersonic wave metering function.
5. being deposited it is a feature of the present invention that ultrasonic wave gas meter IC card reads functional module by the ultrasonic wave gas meter ARM defined The IC card I/O interface of IC card read-write program and definition that program storage is stored in reservoir completes the read-write to IC card to realize Pre paid functionality, the function can also be realized by the NFC chip and program that above-mentioned I/O interface is connected.
6. the present invention is characterized in that definition ultrasonic wave gas meter ARM core in an I2C interface be defined as display interface with Liquid crystal driver, liquid crystal display are connected, for showing the use of Internet of Things ultrasonic wave gas meter under display driving software driving Tolerance, instantaneous flow, pre-pay amount, ladder gas price, valve state, battery capacity, the display such as NB network signal intensity information Function.
7. the present invention is characterized in that an I/O interface is defined as gas leakage alarm in the ultrasonic wave gas meter ARM core of definition Device interface is connected with gas leakage alarm, realizes leakage alarm function together by gas leakage alert process program.
8. it is a feature of the present invention that the ultrasonic wave gas meter ARM nuclear memory storage of definition steals gas disposal program according to temperature The acoustic velocity value variation of medium carries out surreptitiously gas judgement and realizes anti-theft function in table after degree compensation.
9. it is a feature of the present invention that the detection signal equivalent of the ultrasonic wave gas meter ARM nuclear memory storage of definition handles journey The output work of detection signal equivalent is realized in driving LED circuit work after the continuous data calculating that sequence is obtained according to communication is judged Energy.
10. it is a feature of the present invention that the reversed installation alert program root of the ultrasonic wave gas meter ARM nuclear memory storage of definition Judgement, which is carried out, according to ultrasonic wave upstream and downstream time-of-flight values realizes the warning function reversely installed.
11. of the invention be further characterized in that, the data processing transmission of the program storage in the ultrasonic wave gas meter ARM core of definition Program uses destiny evidence for accumulative, with throughput data, instantaneous flow data, metering and billing data, ladder dosage progressive price number According to, take the amount of money in advance, valve status data, battery capacity data, NB signal strength data, leak alarm state, surreptitiously gaseity, The data such as reversed installation condition encrypt data by data safety encrypting and decrypting functional module, are packaged, are modulated by NB Demodulator carries out wireless signal modulation according to NB agreement and data line wireless network transmissions to backstage is realized table by power amplifier antenna Has data-transformation facility.
12. the encryption mechanism of the invention for being further characterized in that data safety encrypting and decrypting functional module is different from NB modem Data eat dishes without rice or wine encryption safe mechanism, but encrypted by fuel gas communication agreement, this function is realized by data encryption algorithm, It is stored in the ultrasonic wave gas meter ARM of definition.
13. the data receiver processing that the memory in the ultrasonic wave gas meter ARM core of the invention for being further characterized in that definition stores NB modem is decrypted program from the data that the wireless signal that the received wireless network of antenna is sent demodulates, solution Analysis is realized two-way data communication and is controlled the ultrasonic wave gas meter ARM of definition, completes every function of ultrasonic wave gas meter Energy.
14. module is completed the initialization of NB modem by the ARM chip on NB-LOT chip after powering on, it is in NB modulatedemodulate Adjust the ready state of device, and module power on after define ultrasonic wave gas meter ARM initialization program be first carried out, respectively include counting According at the beginning of memory function module initialization, the module initialization of battery capacity detection function, gas meter, flow meter function of measuring module communication serial ports Beginningization, the module initialization of IC card read functions, combustion gas use safety monitoring function module initialization, and fuel gas alarm connects at information Manage functional module initialization, Liquid Crystal Module initialization;Initialization program executes system clock configurator after being finished, and passes through It is fixed that port configuration, house dog needed for inside needs time clock feature, port initialization to complete each function are completed in system clock configuration When device time set, external memory initialization and read parameter;
Single-chip microcontroller, which enters, later opens the wake-ups to be interrupted such as global interrupt low power consumpting state, and program enters the judgement of event array and follows In ring, when interrupting, program, which is jumped out, is recycled into interruption determining program, and judging rear program can be according to the specific of interruption Content is respectively to measurement data acquisition, data upload, undervoltage warning, surreptitiously device alarm, reversed installation alarm, leakage alarm, switch The event flag position of the functions such as valve is modified, and interruption is jumped out after change according to flag bit and carries out relevant event action;
Single-chip microcontroller first determines whether interrupt type when being interrupted wake-up, passes through which specific port of judgement is drawn again if it is external interrupt Hair interrupts, and the event flag position of correlation function is arranged, principal function can complete corresponding event function according to flag bit after jumping out interruption Energy;
Mainly there are battery capacity detection function, gas meter, flow meter supersonic wave metering serial communication function by the function that external interrupt triggers Energy, IC card read functions, combustion gas use safety monitoring function, surreptitiously gas warning function;
When timer interruption occurs for program, according to certain time interval can execute correlation function, compare interrupt the moment when Between it is whether identical as the preset function time, if the same be arranged correlation function event flag position, jump out interruption after principal function Corresponding Event Function can be completed according to flag bit;
When the time reaching preset uplink time, NB-IOT modem is powered on, and executes initialization program, ultrasonic wave combustion Gas meter ARM core can then communications protocol by NB modem upload a data to cloud backstage;
If Programmable detection is under-voltage out, when stealing the abnormal phenomenon such as gas, gas leakage, program, which will do it, alarms and by NB-IOT modulatedemodulate Mode transfer block uploads a data and reminds user;
System will do it the diagnosis of primary system internal state at regular intervals in timer interruption simultaneously, judge each function Whether unit normally starts, and whether each expansion mouth is applied;
If there is exception occur in certain functional units, ultrasonic wave gas meter ARM core then communications protocol can pass through NB modulation /demodulation Device uploads a data and notifies related personnel to repair operation to cloud backstage;
Module enters dormant state and opening timing device if each functional unit normally starts, when module listens to the base station NB hair Module can be waken up when the wakeup time of the message or program setting sent reaches, after mould group is waken up, each job note Member is started to work, and transfers data to the ultrasound of definition after wherein NB-IOT demodulation module demodulates signal by Serial Port Line Wave gas meter, flow meter ARM carries out valve control, and the ultrasonic wave gas meter ARM of definition extracts calculative data and is transferred to NB modulatedemodulate Data are sent to NB modem by data line by the data-interface for adjusting device, and NB modem passes through the signal of output The equipment such as wave filter duplexer switch antenna are sent to host computer and are parsed.
CN201711119800.5A 2017-11-14 2017-11-14 A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter Pending CN109798947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711119800.5A CN109798947A (en) 2017-11-14 2017-11-14 A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711119800.5A CN109798947A (en) 2017-11-14 2017-11-14 A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter

Publications (1)

Publication Number Publication Date
CN109798947A true CN109798947A (en) 2019-05-24

Family

ID=66554658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711119800.5A Pending CN109798947A (en) 2017-11-14 2017-11-14 A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter

Country Status (1)

Country Link
CN (1) CN109798947A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324732A (en) * 2019-07-02 2019-10-11 天津市裕民燃气表具有限公司 A kind of interactive system of NB-loT and intelligent gas meter
CN111090245A (en) * 2019-12-31 2020-05-01 上海移远通信技术股份有限公司 Intelligent gas monitoring system
CN111768603A (en) * 2020-05-30 2020-10-13 深圳市有方科技股份有限公司 Gas meter reading method and terminal
CN114125580A (en) * 2021-09-22 2022-03-01 北京市燃气集团有限责任公司 Control method for communication of intelligent gas meter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324732A (en) * 2019-07-02 2019-10-11 天津市裕民燃气表具有限公司 A kind of interactive system of NB-loT and intelligent gas meter
CN111090245A (en) * 2019-12-31 2020-05-01 上海移远通信技术股份有限公司 Intelligent gas monitoring system
CN111768603A (en) * 2020-05-30 2020-10-13 深圳市有方科技股份有限公司 Gas meter reading method and terminal
CN114125580A (en) * 2021-09-22 2022-03-01 北京市燃气集团有限责任公司 Control method for communication of intelligent gas meter

Similar Documents

Publication Publication Date Title
CN109798947A (en) A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter
CN109389757A (en) A kind of intelligent gas meter die for special purpose group based on NB-IOT modem
CN109903539A (en) A kind of narrowband NB-IOT communication module group and its application method for ultrasonic water meter
CN109520576A (en) A kind of NB mould group that ultrasonic water table function is embedded in NB-IOT modem chip
CN103198528B (en) Method for park charging based on RSSI locating
CN109905857A (en) A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter
CN103066570B (en) Battery protecting apparatus, server and battery management system
CN103914919B (en) Gas metering device and gas metering information reporting method
CN109752060A (en) A kind of intelligent gas meter based on embedded intelligent gas table function narrowband NB-IOT communication module group
Arun et al. Design and implementation of automatic meter reading system using GSM, ZIGBEE through GPRS
CN210072796U (en) Bluetooth card type NB-IoT remote gas meter with double wireless channels
Sheikh et al. Design and implementation of wireless automatic meter reading system
CN102184576A (en) Vehicle-mounted unit of 5.8 GHz electronic toll collection system
Malhotra et al. Automatic meter reading and theft control system by using GSM
CN203587642U (en) Electric meter box with electricity larceny prevention function
CN201255903Y (en) Wireless remote transmission intelligent meter
CN103208845A (en) Intelligent charging management terminal and implementation method for same
CN203561674U (en) Current monitoring device and anti-electricity-stealing load monitoring system
CN109470319A (en) A kind of NB-IOT mould group dedicated for Ultrasonic Intelligent water meter
CN109903467A (en) A kind of narrowband NB-IOT communication module group and its application method for intellectual water meter
CN106600783A (en) Intelligent door magnetic system having built-in secure chip and usage method thereof
CN106227096B (en) New-energy automobile monitoring method, device and car-mounted terminal
CN109427186A (en) A kind of intellectual water meter die for special purpose group based on NB-IOT modem
CN104316124A (en) Remote water meter monitoring system and remote water meter monitoring method
Kate et al. ZIGBEE based monitoring theft detection and automatic electricity meter reading

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

Application publication date: 20190524

WD01 Invention patent application deemed withdrawn after publication