CN109905857A - A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter - Google Patents
A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter Download PDFInfo
- Publication number
- CN109905857A CN109905857A CN201711293384.0A CN201711293384A CN109905857A CN 109905857 A CN109905857 A CN 109905857A CN 201711293384 A CN201711293384 A CN 201711293384A CN 109905857 A CN109905857 A CN 109905857A
- Authority
- CN
- China
- Prior art keywords
- data
- function
- gas meter
- module
- program
- 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
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The ARM core that the present invention provides in a kind of MCU that multiple ARM using inside NB-IOT modem are constituted is defined as intelligence and fires Table A RM, by realizing the metering to intelligent gas meter, Communication Control using an ARM core inside NB-IOT modem.And the present invention is a kind of by gas meter, flow meter mechanical counter, pulse counter module and 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, surreptitiously gas alarm module forms, data communication protocol module and program and NB-IOT communication function are integrated into the gas meter, flow meter die for special purpose group an of chip, the principle of the invention is clear, with 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 for intelligent gas meter field.At high cost existing for Intelligent gas meter based on internet of things for previous NB module composition, the problems such as covering surface is few, connection number is few, is made that improvement.
Description
Technical field
The present invention relates to a kind of gas meter, flow meter mould groups, communicate more particularly to a kind of narrowband NB-IOT for intelligent gas meter
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 which meeting intelligent gas meter makes
It is powered with 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 intelligent gas meter MCU micro energy lose processor constitute intelligent gas meter
Affix NB-IOT communication module constitutes intelligent gas meter on control panel, and intelligent gas meter in this way, which removes, needs NB-
Outside IOT module, it is also necessary to which a MCU intelligent gas meter control panel realizes metering and billing function, valve control function, anti-steal
Function, IC card read-write capability, battery voltage detection function, data storage function and data encryption feature etc., thus bring it is high at
Originally, the problems such as structure is complicated, high power consumption.In order to meet Intelligent gas meter based on internet of things, small power consumption, the market demand at low cost is needed
A kind of novel NB-IOT intelligent gas meter die for special purpose group integrating intelligent gas table function and NB-IOT communication module group is provided.
Summary of the invention
It is an object of that present invention to provide in a kind of MCU that multiple ARM using inside NB-IOT modem are constituted
One ARM core is defined as intelligence and fires Table A RM, by gas metering billing function module, valve control function module, voltage detecting function
Energy module, IC card read-write capability functional module, data storage function module, thief-proof functional module, data-transformation facility module,
Liquid-crystal data display module etc. is realized in ARM and is integrated with NB-IOT modem chip, in Internet of Things intelligent gas
Table apparently just as an independent intelligent gas meter MCU, realizes intelligent gas meter repertoire, and can complete NB-
IOT communication function, the dedicated NB-IOT communication module group of intelligent gas are not necessarily to other attached MCU outside NB-IOT communication module group, the present invention
Solve the Intelligent gas meter based on internet of things of present MCU intelligent gas control panel and NB-IOT communication module group composition, at high cost, structure
The problems such as complexity, power consumption are big, and battery is at high cost.
A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter, comprising: signal power amplification
Circuit, filter, duplexer switch, NB-IOT modem, SIM card interface module, the intelligent gas meter ARM of definition, data
Memory function module, battery capacity detection function module, gas meter, flow meter mechanical counter data read out function module, step-by-step counting function
Energy module, IC card read functional module, can expand functional module interface, valve control function module, ladder gas price billing function
Module, combustion gas using safety monitoring function module, fuel gas alarm connect information processing function module, steal gas warning function module,
Liquid-crystal data display function module, data safety encrypting and decrypting functional module etc. are constituted.
The present invention is characterized in that intelligent 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;
It is a feature of the present invention that the repertoire of this intelligent gas meter is by the resource on the ARM in NB modem Lai real
It is existing;
According to preceding feature, it is a feature of the present invention that intelligent gas meter data-transformation facility is by NB-IOT modulation /demodulation
A data-interface one of the intelligent gas meter ARM that ARM is defined in the data-interface of device, control interface and NB modem
Control interface and communications protocol and program are constituted, and realize Communication Control and data-transformation facility;Voltage electric quantity detection function by
A data-interface and voltage detector and brownout processing routine in the intelligent gas meter ARM core of definition are constituted, and are realized
Voltage detecting function and cell voltage power down process function;Valve control function, by one in the intelligent gas meter ARM core that defines
A interface is defined as valve driving interface and is connected with valve driver, and the switching function of valve is realized by valve door control program;
It is a feature of the present invention that intelligent gas meter IC card reads functional module by the intelligent gas meter ARM memory that defines
The IC card I/O interface of the IC card read-write program and definition that are stored in program storage completes the read-write to IC card to realize pre-payment
Function, 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 intelligent gas meter ARM core of definition is defined as display interface and liquid crystal
Driver, liquid crystal display are connected, for showing the gas consumption of Intelligent gas meter based on internet of things under display driving software driving, in advance
Payment amount, ladder gas price, valve state, battery capacity, the display functions such as NB network signal intensity information;
The present invention is characterized in that an I/O interface is defined as gas leakage alarm and connects in the intelligent gas meter ARM core of definition
Mouth 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 the intelligent gas meter ARM nuclear memory storage of definition steals gas disposal program according to combustion gas arteries and veins
The state that punching counts interface carries out surreptitiously gas judgement and realizes anti-theft function;
It is of the invention to be further characterized in that, the data processing transfer program of the program storage in the intelligent gas meter ARM core of definition,
Destiny evidence is used by accumulative, with throughput data, metering and billing data, ladder dosage progressive price data take the amount of money, valve shape in advance
State data, battery capacity data, NB signal strength data, leak alarm state, surreptitiously the data such as gaseity pass through data safety
Encrypting and decrypting functional module encrypts data, is packaged, and by NB modem, carries out wireless signal according to NB agreement
Modulation is by power amplifier antenna, by data line wireless network transmissions to backstage, realizes that 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 modem
Data are eated dishes without rice or wine encryption safe mechanism, but are encrypted by fuel gas communication agreement, this function is realized by data encryption algorithm, is deposited
Storage is in the intelligent gas meter ARM of definition;
The data receiver processing routine of memory storage in the intelligent gas meter ARM core of the invention for being further characterized in that definition will
NB modem is decrypted from the data that the wireless signal that the received wireless network of antenna is sent is demodulated, parsing, real
Show two-way data communication and the intelligent gas meter ARM of definition is controlled, completes the various functions of intelligent gas meter;
Module is completed the initialization of NB modem by the ARM chip on NB-LOT chip after powering on, be in NB modulation /demodulation
The ready state of device, and module power on after define intelligent gas meter ARM initialization program be first carried out, respectively include data and deposit
Store up functional module initialization, the module initialization of battery capacity detection function, the initialization of gas meter, flow meter mechanical counter functional module, IC
The module initialization of card read functions, combustion gas use safety monitoring function module initialization, and fuel gas alarm connects the 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 the particular content of interruption respectively to data upload, undervoltage warning, the thing for stealing the functions such as device alarm, leakage alarm, controlled valve
Part flag bit is modified, and interruption is jumped out after change according to flag bit and carries out relevant event action.Single-chip microcontroller, which is interrupted, calls out
Interrupt type is first determined whether when awake, passes through which specific port of judgement causes interruption, again if it is external interrupt correlation is arranged
The event flag position of function, principal function can complete corresponding Event Function according to flag bit after jumping out interruption.It is touched by external interrupt
The function of hair mainly has battery capacity detection function, gas meter, flow meter mechanical counter function, and step-by-step counting function, IC card read function
Energy, combustion gas use safety monitoring function, surreptitiously gas warning function.It, can be according between certain time when timer interruption occurs for program
Interrupt whether the time at moment is identical as the preset function time, and if the same setting is related every comparing to execute correlation function
The event flag position of function, principal function can complete corresponding Event Function according to flag bit after jumping out interruption.Reach default when the time
Uplink time when, NB-IOT modem powers on, and executes initialization program, and intelligent gas meter ARM core can be communicated then
Agreement uploads a data by NB modem and gives cloud backstage.Exceptions such as if Programmable detection are under-voltage out, steals gas, gas leakage
When phenomenon, program, which will do it to alarm and upload a data by NB-IOT modulation /demodulation module, reminds user.Simultaneously fixed
When device interrupt at regular intervals system will do it primary system internal state diagnosis, judge whether each functional unit normal
Whether starting, each expansion mouth are applied.If there is exception occur in certain functional units, intelligent gas meter ARM core can then lead to
News agreement uploads a data by NB modem and notifies related personnel to repair operation to cloud backstage.If each function
Can unit normally start, module enters dormant state and opening timing device, when module listen to the message that the base station NB is sent or
Module can be waken up when the wakeup time of person's program setting reaches, and after mould group is waken up, each working cell is started to work,
Middle NB-IOT demodulation module is carried out after demodulating to signal by the intelligent gas meter ARM that Serial Port Line transfers data to definition
Valve control, the intelligent gas meter ARM of definition extract the data-interface that calculative data are transferred to NB modem, will
Data are sent to NB modem by data line, and NB modem is by the signal of output through wave filter duplexer switch day
The equipment such as line are sent to host computer and are parsed.
The beneficial effects of the present invention are: by being realized using an ARM core inside NB-IOT modem to intelligence
The metering of energy gas meter, flow meter, Communication Control, design.And the present invention be it is a kind of by gas meter, flow meter mechanical counter, pulse counter module and
Program, IC card fetch module and program, interface and program can be expanded, valve control module, ladder gas price accounting module, combustion gas make
Message processing module is connect with secure smartcard module, fuel gas alarm, steals gas alarm module composition, data communication protocol module and journey
Sequence and NB-IOT communication function are integrated into the dedicated NB mould group of gas meter, flow meter of a chip one, and the present invention has clear principle, tool
Have it is easy to use, it is low in energy consumption, small in size, the advantages that reliability is higher, all have for intelligent gas meter field stronger practical
Meaning.At high cost existing for Intelligent gas meter based on internet of things for previous NB module composition, the problems such as covering surface is few, connection number is few
It is made that improvement.
Detailed description of the invention
Fig. 1 is structural block diagram of the invention;
Fig. 2 is internal structure block diagram of the invention;
Fig. 3 is program flow diagram of the invention.
In Fig. 1: signal power amplifying circuit 1, duplexer switch 3, defines intelligent gas meter ARM, data storage at filter 2
Functional module 5, battery capacity detection function module 6, NB-IOT modem 7, SIM card interface module 8, gas meter, flow meter machinery meter
Number device functional module 9, step-by-step counting functional module 10, can expand functional module interface 12, valve at IC card read functions module 11
Control function module 13, ladder gas price billing function module 14, combustion gas are connect using safety monitoring function module 15, fuel gas alarm
Information processing function module 16 steals gas warning function module 17, antenna 18, power supply 19, valve 20, liquid-crystal data display function mould
Block 21, data safety encrypting and decrypting functional module 22.
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 intelligent gas meter ARM4 of definition, the intelligent gas meter ARM4 of definition receive after data by
Data safety encrypting and decrypting functional module is decrypted, and is then parsed according to data command and content and is held by each functional module
Row is packaged the instructions such as communications protocol, sends the data to definition by data acquisition module when needing to upload all data
Intelligent gas meter ARM4 will be encoded these data by NB-IOT modem 7 by data processor, modulated signal
It is sent by serial ports.Data are passed through the intelligent gas of definition by the intelligent gas meter ARM4 onboard data security module of definition
Encryption Algorithm in Table A RM4 carries out cryptographic calculation to data, can effectively guarantee the safety of data in this way, make user's
Data safety is protected.Processing is parsed encrypted data and is sent to data memory module by the intelligent gas meter ARM4 of definition
5 carry out storage operation.The intelligent gas meter ARM4 of definition may further be used to control each module simultaneously;The intelligent gas meter equally defined
ARM4 and decryption program encrypt the data in intelligent gas meter, are passed by the intelligent gas meter ARM and data-interface that define
Be defeated by NB modem digital interface, it is modulated after signal send cloud backstage, the intelligent gas meter of definition to through serial ports
Charging accounting procedure, step-by-step counting program are embedded in ARM4, the intelligent gas meter ARM4 in addition to this defined is also embedded in control
Field algorithms most in use processed.Battery capacity detection function module interface and program detect electric quantity of power supply, realize battery capacity
Real-time monitoring and control and cell voltage power down process function;Valve control function module and program can be driven by control valve
Circuit carries out switch operation to valve when valve needs to switch;IC card read functions module interface and program are for reading IC card
Order data is realized to the supplementing with money of gas meter, flow meter, readjusts prices, data feedback etc.;Liquid-crystal data display function module and program can be realized
The display of the information such as user's gas data information, prepayment information, pricing information, gas meter, flow meter operating status is, it can be achieved that abnormal report
Alert information alert and display function;Combustion gas can be realized using safety detection function module interface and program to gas meter, flow meter use process
In super large stream, constant current, extra small stream real time monitoring, in conjunction with valve control realize safety use gas, when there is safety problem
Wireless messages can be issued by NB module, then the mobile client for proposing information warning and being pushed to user is handled by cloud;Surreptitiously gas
Warning function module and program are, it can be achieved that include but is not limited to intensive magnetism attack, external impacts, nonconventional approaches unlatching to gas meter, flow meter
The record of the processes such as gas meter housing and alarm simultaneously send the data to cloud prompt alarm;Step-by-step counting functional module interface and
Program realizes electromechanical transformation by pulse, completes to use throughput measure monitor function;Ladder gas price billing function module and program
Using price ladder meterage is realized to combustion gas, it can be achieved that multiple groups progressive price scheme is, it can be achieved that positive exponent temporally, according to quantity etc.
Terraced and negative ladder;Gas meter, flow meter mechanical counter functional module and data read procedure carry out mechanism data by photovoltaic principals
Sampling, using 360 ° of photoelectricity sampling modes, realizes whole digital collections of single character wheel 0 to 9, it can be achieved that mechanical character wheel 5 whole
The reliable reading of numerical digit or 6 integer-bits;SIM card functional module interface and program are communicated by SIM card corresponding with NB module
Foot is connected up to the registration and management for being written and read to SIM card information and realizing communication network;Can expand functional module interface be with
New demand provides spare interface, it can be achieved that the extension of application function and the upgrading of technical solution afterwards.
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 intelligent gas meter ARM initialization program be first carried out, respectively include data and deposit
Store up functional module initialization, the module initialization of battery capacity detection function, the initialization of gas meter, flow meter mechanical counter functional module, IC
The module initialization of card read functions, combustion gas use safety monitoring function module initialization, and fuel gas alarm connects the 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 the particular content of interruption respectively to data upload, undervoltage warning, the thing for stealing the functions such as device alarm, leakage alarm, controlled valve
Part flag bit is modified, and interruption is jumped out after change according to flag bit and carries out relevant event action.Single-chip microcontroller, which is interrupted, calls out
Interrupt type is first determined whether when awake, passes through which specific port of judgement causes interruption, again if it is external interrupt correlation is arranged
The event flag position of function, principal function can complete corresponding Event Function according to flag bit after jumping out interruption.It is touched by external interrupt
The function of hair mainly has battery capacity detection function, gas meter, flow meter mechanical counter function, and step-by-step counting function, IC card read function
Energy, combustion gas use safety monitoring function, surreptitiously gas warning function.It, can be according between certain time when timer interruption occurs for program
Interrupt whether the time at moment is identical as the preset function time, and if the same setting is related every comparing to execute correlation function
The event flag position of function, principal function can complete corresponding Event Function according to flag bit after jumping out interruption.Reach default when the time
Uplink time when, NB-IOT modem powers on, and executes initialization program, and intelligent gas meter ARM core can be communicated then
Agreement uploads a data by NB modem and gives cloud backstage.Exceptions such as if Programmable detection are under-voltage out, steals gas, gas leakage
When phenomenon, program, which will do it to alarm and upload a data by NB-IOT modulation /demodulation module, reminds user.Simultaneously fixed
When device interrupt at regular intervals system will do it primary system internal state diagnosis, judge whether each functional unit normal
Whether starting, each expansion mouth are applied.If there is exception occur in certain functional units, intelligent gas meter ARM core can then lead to
News agreement uploads a data by NB modem and notifies related personnel to repair operation to cloud backstage.If each function
Can unit normally start, module enters dormant state and opening timing device, when module listen to the message that the base station NB is sent or
Module can be waken up when the wakeup time of person's program setting reaches, and after mould group is waken up, each working cell is started to work,
Middle NB-IOT demodulation module is carried out after demodulating to signal by the intelligent gas meter ARM that Serial Port Line transfers data to definition
Valve control, the intelligent gas meter ARM of definition extract the data-interface that calculative data are transferred to NB modem, will
Data are sent to NB modem by data line, and NB modem is by the signal of output through wave filter duplexer switch day
The equipment such as line are sent to host computer and are parsed.
Claims (11)
1. the present invention is characterized in that intelligent gas meter MCU is the ARM core and journey by the inside of NB-IOT modem
The resource compositions such as sequence memory, memory array I/O interface.
2. it is a feature of the present invention that the repertoire of this intelligent gas meter by the resource on the ARM in NB modem Lai
It realizes.
3. according to preceding feature, it is a feature of the present invention that intelligent gas meter data-transformation facility is by NB-IOT modulatedemodulate
Adjust the data-interface one for the intelligent gas meter ARM that ARM is defined in the data-interface, control interface and NB modem of device
A control interface and communications protocol and program are constituted, and realize Communication Control and data-transformation facility;Voltage electric quantity detection function
It is made of a data-interface in the intelligent gas meter ARM core defined with voltage detector and brownout processing routine, it is real
Existing voltage detecting function and cell voltage power down process function;Valve control function, by the intelligent gas meter ARM core that defines
One interface is defined as valve driving interface and is connected with valve driver, and the switching function of valve is realized by valve door control program.
4. it is a feature of the present invention that intelligent gas meter IC card reads functional module by the intelligent gas meter ARM memory that defines
In be stored in the IC card read-write program of program storage and the IC card I/O interface of definition completes read-write to IC card to realize prepayment
Take function, which can also be realized by the NFC chip and program that above-mentioned I/O interface is connected.
5. the present invention is characterized in that an I2C interface in the intelligent gas meter ARM core of definition is defined as display interface and liquid
Brilliant driver, liquid crystal display are connected, for showing the gas consumption of Intelligent gas meter based on internet of things under display driving software driving,
Pre-pay amount, ladder gas price, valve state, battery capacity, the display functions such as NB network signal intensity information.
6. the present invention is characterized in that an I/O interface is defined as gas leakage alarm in the intelligent gas meter ARM core of definition
Interface is connected with gas leakage alarm, realizes leakage alarm function together by gas leakage alert process program.
7. it is a feature of the present invention that the intelligent gas meter ARM nuclear memory storage of definition steals gas disposal program according to combustion gas
The state of step-by-step counting interface carries out surreptitiously gas judgement and realizes anti-theft function.
8. of the invention be further characterized in that, journey is transmitted in the data processing of the program storage in the intelligent gas meter ARM core of definition
Sequence uses destiny evidence for accumulative, and with throughput data, metering and billing data, ladder dosage progressive price data take the amount of money, valve in advance
Door state data, battery capacity data, NB signal strength data, leak alarm state, surreptitiously the data such as gaseity pass through data
Safe encrypting and decrypting functional module encrypts data, is packaged, and by NB modem, carries out according to NB agreement wireless
Signal modulation is by power amplifier antenna, by data line wireless network transmissions to backstage, realizes that table has data-transformation facility.
9. 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 intelligent gas meter ARM of definition.
10. the data receiver that the memory in the intelligent gas meter ARM core of the invention for being further characterized in that definition stores handles journey
NB modem is decrypted sequence 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 intelligent gas meter ARM of definition, completes the various functions of intelligent gas meter.
11. 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 intelligent 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 mechanical counter functional module 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
Energy module initialization, Liquid Crystal Module initialization, initialization program executes system clock configurator after being finished, by system
Port configuration, WatchDog Timer needed for inside needs time clock feature, port initialization to complete each function are completed in clock configuration
Time set, external memory initialization and reading 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 data upload, undervoltage warning, the event flag position progress for stealing the functions such as device alarm, leakage alarm, controlled valve
Change jumps out interruption according to flag bit and carries out relevant event action after change;
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 mechanical counter function, pulsimeter by the function that external interrupt triggers
Number function, 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, intelligent gas
Table A RM 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, intelligent gas meter ARM core then communications protocol can pass through NB modem
It 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 intelligence of definition after wherein NB-IOT demodulation module demodulates signal by Serial Port Line
Gas meter, flow meter ARM carries out valve control, and the intelligent gas meter ARM of definition extracts calculative data and is transferred to NB modem
Data-interface, data are sent to NB modem by data line, NB modem is by the signal of output through filtering
The equipment such as wave device duplexer switch antenna are sent to host computer and are parsed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711293384.0A CN109905857A (en) | 2017-12-08 | 2017-12-08 | A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711293384.0A CN109905857A (en) | 2017-12-08 | 2017-12-08 | A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109905857A true CN109905857A (en) | 2019-06-18 |
Family
ID=66940209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711293384.0A Pending CN109905857A (en) | 2017-12-08 | 2017-12-08 | A kind of narrowband NB-IOT communication module group and its application method for intelligent gas meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905857A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090245A (en) * | 2019-12-31 | 2020-05-01 | 上海移远通信技术股份有限公司 | Intelligent gas monitoring system |
CN111897771A (en) * | 2020-07-24 | 2020-11-06 | 宁夏隆基宁光仪表股份有限公司 | Gas meter message testing method and system based on intelligent analysis model |
CN113709594A (en) * | 2021-07-27 | 2021-11-26 | 深圳市敏泰智能科技有限公司 | NB-Iot intelligent water meter power saving method and system and NB-Iot intelligent water meter |
CN114673819A (en) * | 2020-12-24 | 2022-06-28 | 金卡智能集团股份有限公司 | Multi-valve self-adaption method and system and gas meter |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012100686A1 (en) * | 2011-01-25 | 2012-08-02 | Shao Zehua | Internet of things intelligent gas meter and control system thereof |
CN106502960A (en) * | 2016-10-09 | 2017-03-15 | 上海庆科信息技术有限公司 | A kind of wireless communication chips encapsulated based on SIP |
CN107390569A (en) * | 2017-06-13 | 2017-11-24 | 金卡智能集团股份有限公司 | A kind of Internet of Things gas meter, flow meter communication system and method based on the NB IoT communication technologys |
-
2017
- 2017-12-08 CN CN201711293384.0A patent/CN109905857A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012100686A1 (en) * | 2011-01-25 | 2012-08-02 | Shao Zehua | Internet of things intelligent gas meter and control system thereof |
CN106502960A (en) * | 2016-10-09 | 2017-03-15 | 上海庆科信息技术有限公司 | A kind of wireless communication chips encapsulated based on SIP |
CN107390569A (en) * | 2017-06-13 | 2017-11-24 | 金卡智能集团股份有限公司 | A kind of Internet of Things gas meter, flow meter communication system and method based on the NB IoT communication technologys |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090245A (en) * | 2019-12-31 | 2020-05-01 | 上海移远通信技术股份有限公司 | Intelligent gas monitoring system |
CN111897771A (en) * | 2020-07-24 | 2020-11-06 | 宁夏隆基宁光仪表股份有限公司 | Gas meter message testing method and system based on intelligent analysis model |
CN114673819A (en) * | 2020-12-24 | 2022-06-28 | 金卡智能集团股份有限公司 | Multi-valve self-adaption method and system and gas meter |
CN113709594A (en) * | 2021-07-27 | 2021-11-26 | 深圳市敏泰智能科技有限公司 | NB-Iot intelligent water meter power saving method and system and NB-Iot intelligent water meter |
CN113709594B (en) * | 2021-07-27 | 2024-05-10 | 深圳市敏泰智能科技有限公司 | Power saving method and system for NB-Iot intelligent water meter and NB-Iot intelligent water meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109389757A (en) | A kind of intelligent gas meter die for special purpose group based on NB-IOT modem | |
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 | |
CN109798947A (en) | A kind of narrowband NB-IOT communication module group and its application method for ultrasonic wave gas meter | |
CN109903539A (en) | A kind of narrowband NB-IOT communication module group and its application method for ultrasonic water meter | |
CN109752060A (en) | A kind of intelligent gas meter based on embedded intelligent gas table function narrowband NB-IOT communication module group | |
CN109520576A (en) | A kind of NB mould group that ultrasonic water table function is embedded in NB-IOT modem chip | |
CN101847188A (en) | Software protection method for security device based on clock and security device | |
CN210072796U (en) | Bluetooth card type NB-IoT remote gas meter with double wireless channels | |
CN106372820A (en) | Automatic payment reminding method and system | |
CN109724662A (en) | A kind of intellectual water meter based on embedded intellectual water meter function narrowband NB-IOT communication module group | |
CN109903467A (en) | A kind of narrowband NB-IOT communication module group and its application method for intellectual water meter | |
CN109427186A (en) | A kind of intellectual water meter die for special purpose group based on NB-IOT modem | |
CN106600783A (en) | Intelligent door magnetic system having built-in secure chip and usage method thereof | |
Kate et al. | ZIGBEE based monitoring theft detection and automatic electricity meter reading | |
CN106652206B (en) | A kind of electricity consumption interactive terminal | |
CN209417805U (en) | A kind of intelligence lock administration system | |
CN109470319A (en) | A kind of NB-IOT mould group dedicated for Ultrasonic Intelligent water meter | |
CN203101508U (en) | Single-phase remote cost control electric energy meter | |
CN106991770A (en) | The synchronous low power consumption method of intelligent POS Androids based on dual-CPU architecture | |
CN110363953A (en) | A kind of low-consumption wireless smoke alarm unit | |
CN201594284U (en) | One-touch parking payment machine and one-touch parking payment system | |
CN101482994A (en) | Electronic voice alarm carrier communication electric energy meter | |
CN109754583A (en) | A kind of Ultrasonic Intelligent water meter based on embedded Ultrasonic Intelligent water meter function narrowband NB-IOT communication module group | |
CN201060223Y (en) | Single-phase smart card type anti-theft electricity pre-payment electrical energy meter |
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: 20190618 |
|
WD01 | Invention patent application deemed withdrawn after publication |