CN106708560A - RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter - Google Patents

RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter Download PDF

Info

Publication number
CN106708560A
CN106708560A CN201611024389.9A CN201611024389A CN106708560A CN 106708560 A CN106708560 A CN 106708560A CN 201611024389 A CN201611024389 A CN 201611024389A CN 106708560 A CN106708560 A CN 106708560A
Authority
CN
China
Prior art keywords
ammeter
module
host computer
main control
control chip
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
CN201611024389.9A
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.)
Holley Technology Co Ltd
Original Assignee
Holley 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 Holley Technology Co Ltd filed Critical Holley Technology Co Ltd
Priority to CN201611024389.9A priority Critical patent/CN106708560A/en
Publication of CN106708560A publication Critical patent/CN106708560A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/10Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods using digital techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention relates to an RF communication-based ammeter wireless program upgrading method. The method comprises the following steps of: continuously sending an updating program command to an ammeter in a first time period by an upper computer, and feeding a handshake signal back to the upper computer by the ammeter after receiving the updating program command; receiving the handshake signal by the upper computer and sending an updating code to the ammeter, and receiving and storing the updating code by the ammeter; and when an application program exists in the updating code, operating the application program by the ammeter. The method is capable of reducing the manufacturing cost, improving the working efficiency and accelerating the time of pushing new goods to the market.

Description

The ammeter of ammeter wireless program upgrade method and radio upgrade based on RF communications
【Technical field】
The present invention relates to power domain, more particularly to ammeter wireless program upgrade method and radio upgrade based on RF communications Ammeter.
【Background technology】
Earliest electric energy meter (also referred to as ammeter) is to be made according to electrolysis principle for 1881, although every weight of this electric energy meter It is very heavy up to tens kilograms, and the guarantee without precision, but, still received by an invention of great significance as scientific and technological circle at that time To the attention and commendation of people, and soon in engineering it is employed, with the development of science and technology, alternating current in 1888 Discovery and application, and propose new requirement to the development of electric energy meter.By the effort of scientist, induction type electric energy meter is born .Because induction type electric energy meter has simple structure, safe operation, inexpensive, durable and be easy to repair and produce in batches etc. and be Row advantage, so have developed rapidly.
China's alternating current impression formula electric energy meter was produced since imitated foreign electric energy meter in the 1950's, by 20 Effort for many years, the manufacture of the electric energy meter of China has possessed suitable level and scale, with the development of science and technology, and to handing over Stream induction type electric energy meter capability of overload, the requirement of service life.China the 80-90 ages started to long-life electrical energy meter, Mechatronics energy meter (half-electron formula electric energy meter), electronic power meter, Multi-purpose electronic formula electric energy meter, prepayment are power-consuming The development and production of energy table, multi-rate meter, maximum demand meter, loss electric energy meter etc., these semi-intelligent formulas electricity after 2000 Energy table is widely used in the aspects such as household electricity, commercial power.
2009, first ammeter with network communicating function that British government will research and produce first was applied to family After in electricity consumption, China national power network proposes the concept of " intelligent electric meter " at home immediately:26 nets of State Grid Corporation of China subordinate are saved Company, when the second half year in 2009, concentration has formulated unified technical standard, and being at this moment just in State Grid Corporation of China will Build up under the overall situation of intelligent grid, therefore the electric energy meter to be purchased from now on is collectively referred to as intelligent electric meter, it is main at that time Or to solve the problems, such as step price and remote meter reading, certainly also have some functions will when later expansion.In fact, intelligence The function that ammeter possesses has embodied on original Semi-intelligent Modular formula electric energy meter, be nothing but national grid again give ammeter The function of network service and photoelectric communication is mixed, is sent out in the form of professional standard.
And existing ammeter when program is upgraded, it is necessary to dismount watchcase, it is time-consuming and take energy.
【The content of the invention】
To solve foregoing problems, the present invention proposes a kind of convenient ammeter wireless program upgrading side based on RF communications that upgrades The ammeter of method and radio upgrade.
To reach object defined above, the present invention uses following scheme:Based on the ammeter wireless program upgrade method of RF communications, its It is characterised by, including:
Host computer updates program command in continuous transmission to ammeter in first time period, and the ammeter receives the renewal After program command, handshake is fed back to the host computer;
The host computer receives handshake and sends more fresh code to the ammeter, and the ammeter receives the renewal generation Code is simultaneously stored;
When there is application program in the more fresh code, the ammeter runs the application program.
Optionally:The ammeter includes main control chip, current-voltage sampling module, LCD MODULE, data storage mould Block, communication module, power module and pulse output module.
Optionally:The communication module includes infrared communication module and RF communication modules.
Optionally:The host computer is segmented and sends more fresh code to the ammeter.
Optionally:The main control chip runs the application program.
Another program is, the ammeter of radio upgrade, it is characterised in that be connected including main control chip and with the main control chip RF communication modules;
The main control chip receives the renewal program command that host computer is issued by the RF communication modules, and logical by RF News module feeds back handshake to host computer;
The main control chip receives the more fresh code that host computer is issued by the RF communication modules, and is stored in memory In;
When there is application program in the more fresh code, the main control chip runs the application program.
Optionally:Also include current-voltage sampling module, LCD MODULE, data memory module, power module and arteries and veins Rush output module.
Optionally:The host computer is segmented and sends more fresh code to the main control chip.
Using aforementioned schemes, following technique effect is can reach:Manufacturing cost is reduced, operating efficiency is improved, is accelerated new product and is pushed away To the time in market.
These features of the invention and advantage will be detailed in following specific embodiment, accompanying drawing exposure.
【Brief description of the drawings】
The present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the upgrade-system Organization Chart of the embodiment of the present invention 1.
Fig. 2 is the method flow diagram of the embodiment of the present invention 1.
Fig. 3 is the circuit module figure of the ammeter of the radio upgrade of the embodiment of the present invention 2.
【Specific embodiment】
The technical scheme of the embodiment of the present invention is explained and illustrated with reference to the accompanying drawing of the embodiment of the present invention, but under Embodiment only the preferred embodiments of the present invention are stated, and it is not all.Based on the embodiment in implementation method, those skilled in the art Other embodiment is obtained on the premise of creative work is not made, protection scope of the present invention is belonged to.
Embodiment 1.
Referring to Fig. 1 and Fig. 2, based on the ammeter wireless program upgrade method of RF communications, the method is based on the system shown in Fig. 1 Operation, it includes:
Host computer updates program command in continuous transmission to ammeter in first time period, and the ammeter receives the renewal After program command, handshake is fed back to the host computer;
The host computer receives handshake and sends more fresh code to the ammeter, and the ammeter receives the renewal generation Code is simultaneously stored;
When there is application program in the more fresh code, the ammeter runs the application program.
Ammeter include main control chip, current-voltage sampling module, LCD MODULE, data memory module, communication module, Power module and pulse output module.Communication module includes infrared communication module and RF communication modules.
Host computer is segmented and sends more fresh code to the ammeter.Main control chip runs the application program.More detailed journey Sequence is designed as:
The programming of ammeter:
First by emulator to one section of small routine of write-in, referred to as Bootloader programs in main control chip.This journey Sequence is not the application program of user, and its effect has two:First is the real-time detection serial ports in a bit of time of upper electricity, such as Fruit has the renewal program command that host computer sends, and just sends handshake, notify that host computer sends more fresh code, and will receive In the more fresh code write-in corresponding data memory module of single-chip microcomputer;Second effect be in the presence of it detect application program, The entry address of application program is jumped to, application program is performed.
The programming of host computer:
The function of host computer procedure (VC++ language is write) is, after user sends the instruction of more new procedures, at one section It is interior to continuously transmit renewal program command.If receiving the answer signal of main control chip, represent that main control chip prepares to start to receive More fresh code.Now host computer reads the code file for having selected, and main control chip is issued in segmentation.
Embodiment 2.
Referring to Fig. 3, the ammeter of radio upgrade, including main control chip and the RF communication modules being connected with the main control chip; Main control chip receives the renewal program command that host computer is issued by the RF communication modules, and by RF communication modules to upper Machine feeds back handshake;Main control chip receives the more fresh code that host computer is issued by the RF communication modules, and is stored in In reservoir;When there is application program in the more fresh code, the main control chip runs the application program.
Foregoing ammeter also includes current-voltage sampling module, LCD MODULE, data memory module, power module and arteries and veins Rush output module.Host computer is segmented and sends more fresh code to the main control chip.
24, the 3 tunnel high-precision AD converter being internally integrated using main control chip (SOC) is electric to live wire electric current, zero line Stream, voltage are sampled respectively, are quantified to be converted to data signal, then by corresponding that mathematical computations complete to survey electrical parameter Work and the pulse output such as amount, electric flux be accumulative;The lcd driver being internally integrated by main control chip drives outside liquid crystal display The electrical parameter data that the related status information of module display ammeter and user need;There is 3 UART mouthfuls inside main control chip, completely Meet the requirement of RF communications, infrared communication etc. communication interface, be very easy to realize the data exchange between user and ammeter;By Data memory module storage ammeter configuration parameter, electric quantity data, load curve and logout information;Inside main control chip The work such as abundant GPIO mouthfuls and the inquiry of interrupt resources completion button, warning output and spatial load forecasting.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and is familiar with The those skilled in the art should be understood that the present invention includes but is not limited to accompanying drawing and interior described in specific embodiment above Hold.Any modification without departing from function and structure principle of the invention is intended to be included in the scope of claims.

Claims (8)

1. the ammeter wireless program upgrade method for being communicated based on RF, it is characterised in that including:
Host computer updates program command in continuous transmission to ammeter in first time period, and the ammeter receives the more new procedures After order, handshake is fed back to the host computer;
The host computer receives handshake and sends more fresh code to the ammeter, and more fresh code described in the ammeter reception is simultaneously Storage;
When there is application program in the more fresh code, the ammeter runs the application program.
2. the ammeter wireless program upgrade method for being communicated based on RF according to claim 1, it is characterised in that:The ammeter bag Include main control chip, current-voltage sampling module, LCD MODULE, data memory module, communication module, power module and pulse Output module.
3. the ammeter wireless program upgrade method for being communicated based on RF according to claim 2, it is characterised in that:The communication mould Block includes infrared communication module and RF communication modules.
4. the ammeter wireless program upgrade method for being communicated based on RF according to claim 1, it is characterised in that:The host computer It is segmented and sends more fresh code to the ammeter.
5. the ammeter wireless program upgrade method for being communicated based on RF according to claim 2, it is characterised in that:The master control core Piece runs the application program.
6. the ammeter of radio upgrade, it is characterised in that the RF communication modules being connected including main control chip and with the main control chip;
The main control chip receives the renewal program command that host computer is issued by the RF communication modules, and communicates mould by RF Block feeds back handshake to host computer;
The main control chip receives the more fresh code that host computer is issued by the RF communication modules, and is stored in memory;
When there is application program in the more fresh code, the main control chip runs the application program.
7. the ammeter of radio upgrade according to claim 6, it is characterised in that also including current-voltage sampling module, liquid crystal Display module, data memory module, power module and pulse output module.
8. the ammeter of radio upgrade according to claim 6, it is characterised in that the host computer is segmented to the main control chip Send more fresh code.
CN201611024389.9A 2016-11-17 2016-11-17 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter Pending CN106708560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611024389.9A CN106708560A (en) 2016-11-17 2016-11-17 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611024389.9A CN106708560A (en) 2016-11-17 2016-11-17 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter

Publications (1)

Publication Number Publication Date
CN106708560A true CN106708560A (en) 2017-05-24

Family

ID=58941139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611024389.9A Pending CN106708560A (en) 2016-11-17 2016-11-17 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter

Country Status (1)

Country Link
CN (1) CN106708560A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011750A (en) * 2017-11-10 2018-05-08 宁波三星医疗电气股份有限公司 The firmware upgrade method of communication module in a kind of centralized meter-reading system
CN109448252A (en) * 2018-09-27 2019-03-08 宁波三星智能电气有限公司 A kind of method of real-time setting CIU Rotation Item
CN114596662A (en) * 2022-03-08 2022-06-07 昂顿科技(上海)有限公司 Multifunctional meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030186689A1 (en) * 2001-08-06 2003-10-02 Samsung Electronics Co., Ltd System and method for IOTA software download notification for wireless communication devices
EP1664999A4 (en) * 2003-09-16 2011-10-12 Nokia Inc Method and system for wirelessly providing an update to a network appliance
CN104102508A (en) * 2014-07-01 2014-10-15 杭州电子科技大学 FlexRay bus-based multimachine program online upgrade method
CN104915219A (en) * 2014-03-12 2015-09-16 奇点新源国际技术开发(北京)有限公司 Single chip microcomputer program upgrading method and device
CN104933851A (en) * 2015-06-12 2015-09-23 合肥市徽腾网络科技有限公司 Electric meter data collector with infrared upgrade function and upgrade method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030186689A1 (en) * 2001-08-06 2003-10-02 Samsung Electronics Co., Ltd System and method for IOTA software download notification for wireless communication devices
EP1664999A4 (en) * 2003-09-16 2011-10-12 Nokia Inc Method and system for wirelessly providing an update to a network appliance
CN104915219A (en) * 2014-03-12 2015-09-16 奇点新源国际技术开发(北京)有限公司 Single chip microcomputer program upgrading method and device
CN104102508A (en) * 2014-07-01 2014-10-15 杭州电子科技大学 FlexRay bus-based multimachine program online upgrade method
CN104933851A (en) * 2015-06-12 2015-09-23 合肥市徽腾网络科技有限公司 Electric meter data collector with infrared upgrade function and upgrade method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011750A (en) * 2017-11-10 2018-05-08 宁波三星医疗电气股份有限公司 The firmware upgrade method of communication module in a kind of centralized meter-reading system
CN108011750B (en) * 2017-11-10 2021-02-26 宁波三星医疗电气股份有限公司 Firmware upgrading method for communication module in centralized meter reading system
CN109448252A (en) * 2018-09-27 2019-03-08 宁波三星智能电气有限公司 A kind of method of real-time setting CIU Rotation Item
CN114596662A (en) * 2022-03-08 2022-06-07 昂顿科技(上海)有限公司 Multifunctional meter
CN114596662B (en) * 2022-03-08 2022-12-13 昂顿科技(上海)有限公司 Multifunctional meter

Similar Documents

Publication Publication Date Title
CN203367669U (en) Intelligent socket device based on power line carrier communication
CN103604962A (en) S9 multi-module energy meter collecting terminal
CN106708560A (en) RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter
CN105092961A (en) Ammeter system using mobile terminal for positioning
CN202142177U (en) On-site data concentrated management device for power collection
CN201269891Y (en) Novel electric energy data remote collector
CN204965718U (en) Photovoltaic intelligent monitoring system
CN104952239A (en) Testing device and testing method for collector
CN202872468U (en) Real-time data access interface devic of SCADA (Supervisory Control and Data Acquisition) system
CN110636107A (en) Power grid data interaction system based on 5g communication and interaction method thereof
CN110992671B (en) Ammeter address forwarding method, device and system and electronic equipment
CN203368506U (en) Intelligent gateway device based on power line carrier communication
CN101566661A (en) Electricity quality online monitoring system based on transparent transmission technology
CN206077426U (en) Single-chip microcomputer LAN control system based on MODBUS RTU communications protocol
CN212009322U (en) Intelligent power utilization management system based on ubiquitous Internet of things
CN104680769A (en) Bluetooth-to-infrared meter reading system of intelligent mobile phone
CN205104017U (en) System of checking meter is concentrated to intelligence
CN201464583U (en) Power quality on-line monitoring system based on transparent forwarding technology
CN114878908A (en) Thing networking electric energy meter and have block terminal of this thing networking electric energy meter
CN202872470U (en) Real-time data access interface device of power utilization information acquisition system
CN208207174U (en) A kind of New-energy electric vehicle coulomb collection system based on NBIOT agreement
CN201508625U (en) Low-power consumption remote automatic meter reading device based on C-MBUS
CN107171440B (en) System for collecting electrical data of switch cabinet by intelligent transformer terminal and collecting method thereof
CN113259894B (en) Communication method and device
CN201327577Y (en) Household electrical appliance computer controller development platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication