CN102866900B - Upgrade the method and system of the configurator of control system - Google Patents

Upgrade the method and system of the configurator of control system Download PDF

Info

Publication number
CN102866900B
CN102866900B CN201210275430.5A CN201210275430A CN102866900B CN 102866900 B CN102866900 B CN 102866900B CN 201210275430 A CN201210275430 A CN 201210275430A CN 102866900 B CN102866900 B CN 102866900B
Authority
CN
China
Prior art keywords
configurator
control system
mcu unit
host side
data
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.)
Active
Application number
CN201210275430.5A
Other languages
Chinese (zh)
Other versions
CN102866900A (en
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.)
Yuneng Technology Co ltd
Original Assignee
ZHEJIANG YUNENG 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 ZHEJIANG YUNENG TECHNOLOGY Co Ltd filed Critical ZHEJIANG YUNENG TECHNOLOGY Co Ltd
Priority to CN201210275430.5A priority Critical patent/CN102866900B/en
Publication of CN102866900A publication Critical patent/CN102866900A/en
Application granted granted Critical
Publication of CN102866900B publication Critical patent/CN102866900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention provides a kind of system upgrading the configurator of control system, comprising: host side, plc communication module, MCU unit and data-carrier store; Wherein, data-carrier store is connected with control system, is stored with and powers on first, second the identical configurator called for control system; Plc communication module is connected with MCU unit with host side respectively, transfers in MCU unit by host side by the configurator to be updated that line of electric force sends; MCU unit is connected with data-carrier store, receives configurator to be updated, after verification is correct in write data-carrier store, replaces the first configurator.Present invention utilizes the remote update of power line communication technology to the configurator of control system, eliminate the worry of traditional communication cable distribution, be very suitable for photovoltaic monitoring, electricity meter-reading industry.

Description

Upgrade the method and system of the configurator of control system
Technical field
The present invention relates to control system Data Update technical field, specifically, the present invention relates to a kind of method and system utilizing the configurator of power line communication technology remote update control system.
Background technology
Field programmable gate array (FPGA) is by the design of configurator file completing circuit, thus realizes different application functions.The download of configuration file uses the method for plug-in specialized configuration device carrying configurator more, and this mode uses device socket, is unfavorable for the processing procedure of high density galley, more can not realize the remote update of configurator.And increasing electric system now, it is desirable to strengthen the maintainability of system by the remote update of FPGA configurator and realize system upgrade.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method and system upgrading the configurator of control system, can save telecommunication cable, utilizes power line communication technology (PLC) to carry out operated from a distance.
For solving the problems of the technologies described above, the invention provides a kind of system upgrading the configurator of control system, comprising: host side, plc communication module, MCU unit and data-carrier store; Wherein,
Described data-carrier store is connected with described control system, is stored with and powers on the first configurator called for described control system;
Described plc communication module is connected with described MCU unit with described host side respectively, transfers in described MCU unit by described host side by the configurator to be updated that line of electric force sends;
Described MCU unit is connected with described data-carrier store, receives described configurator to be updated, after verification is correct in the described data-carrier store of write, replaces described first configurator.
Second configurator identical with described first configurator is also stored, as stand-by program in described data-carrier store.
Alternatively, the application layer parameters of described control system can also be stored in described data-carrier store.
Alternatively, described MCU unit is also connected with described control system, carries out read-write operation to the described application layer parameters stored in described data-carrier store.
Alternatively, described data-carrier store is flash memory.
Alternatively, the quantity of described control system is one or more, lays respectively in one or more inverter, optimizer or intelligent electric meter.
For solving the problems of the technologies described above, the present invention also provides a kind of method upgrading the configurator of control system, comprises step:
A. the host side broadcast frame notice MCU unit that connect corresponding to one or more described control system starts Reconfigurations program;
B. described host side sends in multiple packets of comprising configurator to be updated to one or more described MCU unit successively, described MCU unit (104) verifies the configurator described to be updated in described packet successively, writes in data-carrier store (105) after verification is correct;
C. whether the one or more described MCU unit of described host side inquiry receives all packets of described configurator, if not, then skips to step D, if so, then skips to step G;
D. described host side resends described packet to the described MCU unit fixed point not receiving described packet;
E. whether described host side receives described packet to the described MCU unit inquiry resending described packet, if not, then skips to step F, if so, then skips to step G;
F. described host side sends the instruction of recovery first configurator to the described MCU unit fixed point that still cannot receive described packet;
G. described host side notifies that described MCU unit sends signal and informs that the renewal of described control system configurator completes, need re-power and call new procedures.
Alternatively, after described step B, also comprise step before step C:
I. described host side judges whether all packets comprising described configurator to be updated send, and if not, then waits for that described host side continues to send, if so, then skips to step C.
Compared with prior art, the present invention has the following advantages:
MCU of the present invention (microprocessor) unit, as the medium of Reconfigurations program, makes program updates more flexibility and reliability.In addition, present invention utilizes the remote update of power line communication technology to the such as configurator of the control system of inverter, optimizer or intelligent electric meter etc., eliminate the worry of traditional communication cable distribution, be very suitable for photovoltaic monitoring, electricity meter-reading industry.
Accompanying drawing explanation
The above and other features of the present invention, character and advantage become more obvious by passing through below in conjunction with the description of drawings and Examples, wherein:
Fig. 1 is the module diagram of the system of the configurator of the renewal control system of one embodiment of the invention;
Fig. 2 is the method flow schematic diagram of the configurator of the renewal control system of one embodiment of the invention;
Fig. 3 is the method flow schematic diagram of the configurator of the renewal control system of another embodiment of the present invention.
Embodiment
Below in conjunction with specific embodiments and the drawings, the invention will be further described; set forth more details in the following description so that fully understand the present invention; but the present invention obviously can implement with multiple this alternate manner described that is different from; those skilled in the art can when doing similar popularization, deduction without prejudice to when intension of the present invention according to practical situations, therefore should with content constraints protection scope of the present invention of this specific embodiment.
Fig. 1 is the module diagram of the system of the configurator of the renewal control system of one embodiment of the invention.This control system goes for such as (miniature) inverter, the equipment such as (miniature) optimizer or intelligent electric meter etc. of distributed photovoltaic power generation system, and quantity can be one or more.As shown in Figure 1, this system 100 mainly comprises: the parts such as host side 102, plc communication module 103, MCU unit 104 and data-carrier store 105.Wherein, data-carrier store 105 is flash memory (Flash), is connected with control system 101, is stored with two parts of configurator A identical from one another and configurator B.Configurator A is that the power on configurator that calls and remote update of the confession control system 101 of system default replaces program.Configurator B is only stand-by program, does not do Remote configuration.Once the failure of configurator A Data Update, configurator B, then as system recovery program, is copied in the address location of configurator A.Plc communication module 103 is connected with MCU unit 104 with host side 102 respectively, is transferred in MCU unit 104 by the configurator to be updated that host side 102 is sent by line of electric force 106.MCU unit 104 is connected with data-carrier store 105, as the medium of configurator, receives configurator to be updated, after verification is correct in write data-carrier store 105, replaces the first configurator, completes the renewal of the configurator of control system.
In addition, the application layer parameters of control system 101 can also being stored in data-carrier store 105, for storing the parameter that can regulate, and also can be controlled by long-range.MCU unit 104 also can be connected with control system 101 and communicate, and carries out read-write operation, to realize the power down protection to some key parameter to the application layer parameters stored in data-carrier store 105.
The configurator renewal of control system 101 of the present invention and the detailed process of System recover are described below:
Microprocessor (MCU unit 104) is the important component part in this system, and it carries out data read-write operation by SPI universal serial bus to data-carrier store 105.When MCU unit 104 pairs of data-carrier stores 105 carry out read-write operation, the I/O mouth being connected to data-carrier store 105 is set to high-impedance state by control system 101.Now, MCU unit 104 and data-carrier store 105 constitute 3 line list group connected modes.
Configurator needs to wipe former configurator, the address location data at the configurator A place of control system 101 is emptied before upgrading.
Then perform programming instruction, the configurator write confession control system 101 needing to upgrade is powered in the address location called.
After completing above operation, make control system 101 restart, now, the configurator of control system 101 completes renewal.
Control system 101 start after, first can carry out CRC check to the data of configurator, with detect whether there is telecommunication and cause loss of data, entanglement.
Once verify unsuccessfully, MCU unit 104 according to the pin DONE signal intensity of control system 101, can recover system program.First the data in address location emptied, then by after the data reading of the configurator B of control system 101, the mode of being programmed by page is write, until complete the write of all configurators.
The following step content describing the system remote batch updating configurator adopted in above-described embodiment:
Based on power line communication technology (PLC), host side can be configured the renewal of program simultaneously to multiple terminal.By configuration file, sent continuously via plc communication module by host side.The MCU unit 104 of terminal can receive the sequence number of packet under statistic record, once there is data-bag lost, then can notify that host side sends lost package data again.
Fig. 2 is the method flow schematic diagram of the configurator of the renewal control system of one embodiment of the invention.The present embodiment continues to use element numbers and the partial content of previous embodiment, wherein adopts identical label to represent identical or approximate element, and optionally eliminates the explanation of constructed content.Explanation about clipped can refer to previous embodiment, and it is no longer repeated for the present embodiment.
As shown in Figure 2, the method flow process mainly describes from the angle of host side 102, can comprise:
Perform step S201, the host side 102 broadcast frame notice MCU unit 104 that connect corresponding to one or more control system 101 starts Reconfigurations program;
Perform step S202, host side 102 sends in multiple packets of comprising configurator to be updated to one or more MCU unit 104 successively, MCU unit 104 just progressively to receive after packet the configurator to be updated in checking data bag successively, after verification is correct in write data-carrier store 105;
Perform step S203, host side 102 inquires about all packets whether one or more MCU unit 104 receives configurator, if not, then skips to step S204, if so, then skips to step S207;
Perform step S204, host side 102 to be fixed a point retransmission data bag to the MCU unit 104 not receiving packet;
Perform step S205, host side 102 inquires about whether receive packet to the MCU unit 104 of retransmission data bag, if not, then skips to step S206, if so, then skips to step S207;
Perform step S206, host side 102 sends the instruction of recovery first configurator to MCU unit 104 fixed point that still cannot receive packet;
Perform step S207, host side 102 notifies that MCU unit 104 sends signal and informs that the renewal of control system 101 configurator completes, need re-power and call new procedures.
Fig. 3 is the method flow schematic diagram of the configurator of the renewal control system of another embodiment of the present invention.After the key distinction of the present embodiment and previous embodiment is to perform step S202, perform step S303 before can also comprise step:
Perform step S202 ', host side 102 judges whether all packets comprising configurator to be updated send, and if not, then waits for that host side 102 continues to send, if so, then skips to next step S303.
The present invention proposes a kind of method being realized control system configuration by power line communication technology (PLC), it use flash memory (Flash) as data storage device, coordinate microprocessor and program, realize the remote update to control system configurator.
MCU of the present invention (microprocessor) unit, as the medium of Reconfigurations program, makes program updates more flexibility and reliability.In addition, present invention utilizes the remote update of power line communication technology to the such as configurator of the control system of inverter, optimizer or intelligent electric meter etc., eliminate the worry of traditional communication cable distribution, be very suitable for photovoltaic monitoring, electricity meter-reading industry.
Although the present invention with preferred embodiment openly as above, it is not that any those skilled in the art without departing from the spirit and scope of the present invention, can make possible variation and amendment for limiting the present invention.Therefore, every content not departing from technical solution of the present invention, any amendment done above embodiment according to technical spirit of the present invention, equivalent variations and modification, all fall within protection domain that the claims in the present invention define.

Claims (7)

1. one kind upgrades the system (100) of the configurator of control system (101), comprising: host side (102), plc communication module (103), MCU unit (104) and data-carrier store (105); Wherein,
Described data-carrier store (105) is connected with described control system (101), is stored with and powers on the first configurator and second configurator as stand-by program identical with described first configurator that call for described control system (101);
Described plc communication module (103) is connected with described MCU unit (104) with described host side (102) respectively, transfers in described MCU unit (104) by described host side (102) by the configurator to be updated that line of electric force (106) sends;
Described MCU unit (104) is connected with described control system (101) with described data-carrier store (105) respectively, described MCU unit (104) receives described configurator to be updated, after verification is correct in the described data-carrier store of write (105), replace described first configurator;
In addition, after described control system (101) starts, first the data of described first configurator after replacing are verified, with detect whether there is telecommunication and cause loss of data, entanglement; Once verify unsuccessfully, described MCU unit (104) then changes according to the leg signal of described control system (101), reads described stand-by program, recovers system program.
2. system according to claim 1 (100), is characterized in that, also stores the application layer parameters of described control system (101) in described data-carrier store (105).
3. system according to claim 2 (100), is characterized in that, described MCU unit (104) carries out read-write operation to the described application layer parameters stored in described data-carrier store (105).
4. system according to claim 1 (100), is characterized in that, described data-carrier store (105) is flash memory.
5. system according to claim 1 (100), is characterized in that, the quantity of described control system (101) is one or more, lays respectively in one or more inverter, optimizer or intelligent electric meter.
6. adopt the system (100) according to any one of claim 1 to 5 to upgrade a method for the configurator of control system (101), comprise step:
A. host side (102) the broadcast frame notice MCU unit (104) that connect corresponding to one or more described control system (101) starts Reconfigurations program;
B. described host side (102) sends in multiple packets of comprising configurator to be updated to one or more described MCU unit (104) successively, described MCU unit (104) verifies the configurator described to be updated in described packet successively, writes in data-carrier store (105) after verification is correct;
C. described host side (102) inquires about all packets whether one or more described MCU unit (104) receives described configurator, if not, then skips to step D, if so, then skips to step G;
D. described host side (102) retransmits described packet to described MCU unit (104) fixed point not receiving described packet;
E. whether described host side (102) receives described packet to described MCU unit (104) inquiry of retransmitting described packet, if not, then skips to step F, if so, then skips to step G;
F. described host side (102) sends the instruction of recovery first configurator to described MCU unit (104) fixed point that still cannot receive described packet;
G. described host side (102) notifies that described MCU unit (104) sends signal and informs that the renewal of described control system (101) configurator completes, need re-power and call new procedures.
7. method according to claim 6, is characterized in that, after described step B, also comprises step before step C:
I. described host side (102) judges whether all packets comprising described configurator to be updated send, and if not, then waits for that described host side (102) continues to send, if so, then skips to step C.
CN201210275430.5A 2012-08-03 2012-08-03 Upgrade the method and system of the configurator of control system Active CN102866900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210275430.5A CN102866900B (en) 2012-08-03 2012-08-03 Upgrade the method and system of the configurator of control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210275430.5A CN102866900B (en) 2012-08-03 2012-08-03 Upgrade the method and system of the configurator of control system

Publications (2)

Publication Number Publication Date
CN102866900A CN102866900A (en) 2013-01-09
CN102866900B true CN102866900B (en) 2016-04-13

Family

ID=47445782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210275430.5A Active CN102866900B (en) 2012-08-03 2012-08-03 Upgrade the method and system of the configurator of control system

Country Status (1)

Country Link
CN (1) CN102866900B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281470B (en) * 2014-05-09 2017-07-21 浙江大学 A kind of Multiple MCU System method for upgrading software based on single external serial ports
CN106293524B (en) * 2016-08-02 2019-05-24 浙江昱能科技有限公司 A kind of method of data storage
CN109086068A (en) * 2017-06-14 2018-12-25 浙江昱能科技有限公司 A kind of configuration data update system and method for control system
CN107465542A (en) * 2017-08-01 2017-12-12 郑州云海信息技术有限公司 A kind of remote management FPGA method and system
CN108873802A (en) * 2018-08-02 2018-11-23 佛山职业技术学院 A kind of circuit control system cleaning detection robot for photovoltaic module
CN109408099B (en) * 2018-09-13 2021-11-09 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Remote FPGA firmware code updating system, method and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843024A (en) * 2003-07-17 2006-10-04 埃内尔迪斯特里布齐恩公司 Method and system for remote updates of meters for metering the consumption of electricity, water or gas
CN102227090A (en) * 2011-06-27 2011-10-26 山西省电力公司临汾供电分公司 Intelligent FA (feeder automation) system of 10kV-carrier communication
CN102609287A (en) * 2012-02-10 2012-07-25 株洲南车时代电气股份有限公司 Device for updating FPGA (Field Programmable Gate Array) from a long distance by CPU (Central Processing Unit) and method therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9000897B2 (en) * 2010-09-14 2015-04-07 Texas Instruments Incorporated Systems and methods for implementing application profiles and device classes in power line communication (PLC) environments
CN102609286B (en) * 2012-02-10 2015-08-05 株洲南车时代电气股份有限公司 A kind of FPGA configurator remote update system based on processor control and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843024A (en) * 2003-07-17 2006-10-04 埃内尔迪斯特里布齐恩公司 Method and system for remote updates of meters for metering the consumption of electricity, water or gas
CN102227090A (en) * 2011-06-27 2011-10-26 山西省电力公司临汾供电分公司 Intelligent FA (feeder automation) system of 10kV-carrier communication
CN102609287A (en) * 2012-02-10 2012-07-25 株洲南车时代电气股份有限公司 Device for updating FPGA (Field Programmable Gate Array) from a long distance by CPU (Central Processing Unit) and method therefor

Also Published As

Publication number Publication date
CN102866900A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN102866900B (en) Upgrade the method and system of the configurator of control system
CN107104836A (en) The firmware upgrade method and device of Zigbee equipment
CN102376153B (en) The method of collector and carrier wave meter remote upgrade in automatic meter reading system
CN104951341A (en) Method for remotely upgrading collector
CN107087033A (en) Information push method, device, storage medium and computer equipment
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
CN109783123A (en) Vehicle-mounted T-BOX terminal and firmware upgrade method
CN103268243B (en) A kind of performance element on the spot remote online upgrade-system of chain type current transformer
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN109002310A (en) firmware upgrade method
CN112152846B (en) Metering instrument remote upgrading method based on Internet of things
CN102857380A (en) Remote upgrading method for power line carrier communication routing
CN105320531A (en) Online FPGA software upgrading method based on MicroBlaze soft core
CN102004657B (en) A kind of electronic equipment and upgrade method thereof
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN112100081B (en) Upgrade test method and device based on double-core intelligent electric meter and computer equipment
CN107861764A (en) For the program upgrade system of cooking appliance, method and cooking appliance
CN106874054A (en) A kind of repeater inner module program on-line upgrading method and system
CN106444610A (en) A PLC remote code updating system and method
CN106055420A (en) Method, device and equipment for data verification
CN102722393B (en) The installation method of device driver
CN108664256A (en) Firmware updating method and device of system and battery management system
CN104461589A (en) Single-chip microcomputer updating method and system
CN107908417A (en) Firmware upgrade method and electronic equipment
CN103138991B (en) A kind of method of the classification upgraded home gateway software based on OAM agreement

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 314050 Jiaxing, South Lake District, Zhejiang, Asia Pacific Road, No. 1

Applicant after: Zhejiang Yuneng Technology Co.,Ltd.

Address before: 314050 Jiaxing, South Lake District, Zhejiang, Asia Pacific Road, No. 1

Applicant before: ALTENERGY POWER SYSTEM, Inc.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ALTENERGY POWER SYSTEM INC. TO: ZHEJIANG YUNENG TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and system for updating configuration program of FPGA (Field Programmable Gate Array) control unit

Effective date of registration: 20191014

Granted publication date: 20160413

Pledgee: Bank of Jiaxing science and technology branch of Limited by Share Ltd.

Pledgor: Zhejiang Yuneng Technology Co.,Ltd.

Registration number: Y2019330000114

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 3 / F, building 1, No. 1, Asia Pacific Road (Jiaxing Science and technology city), Nanhu District, Jiaxing City, Zhejiang Province

Patentee after: Yuneng Technology Co.,Ltd.

Address before: 314050 No. 1 Asia Pacific Road, South Lake District, Zhejiang

Patentee before: Zhejiang Yuneng Technology Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20160413

Pledgee: Bank of Jiaxing science and technology branch of Limited by Share Ltd.

Pledgor: Zhejiang Yuneng Technology Co.,Ltd.

Registration number: Y2019330000114