CN103580927A - Photovoltaic inverter networked device software upgrading method and system - Google Patents

Photovoltaic inverter networked device software upgrading method and system Download PDF

Info

Publication number
CN103580927A
CN103580927A CN201310574423.XA CN201310574423A CN103580927A CN 103580927 A CN103580927 A CN 103580927A CN 201310574423 A CN201310574423 A CN 201310574423A CN 103580927 A CN103580927 A CN 103580927A
Authority
CN
China
Prior art keywords
module
upgrading
carry out
software
successfully
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.)
Granted
Application number
CN201310574423.XA
Other languages
Chinese (zh)
Other versions
CN103580927B (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.)
Shenzhen KeSiDa Software Technology Co.,Ltd.
Original Assignee
Shenzhen Kstar 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 Shenzhen Kstar Technology Co Ltd filed Critical Shenzhen Kstar Technology Co Ltd
Priority to CN201310574423.XA priority Critical patent/CN103580927B/en
Publication of CN103580927A publication Critical patent/CN103580927A/en
Application granted granted Critical
Publication of CN103580927B publication Critical patent/CN103580927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a photovoltaic inverter networked device software upgrading method and system. The photovoltaic inverter networked device software upgrading method includes the following steps: A1, enabling a background upgrading tool to log in an inverter in a long-distance mode, A2, stopping a monitoring application program in a long-distance mode, A3, judging whether a monitoring application program is already quitted or not, A4, logging in the inverter through an FTP, and executing a monitoring module software upgrading step or a control module software upgrading step if login is successfully achieved, otherwise, finishing the upgrading and quitting from the inverter. The photovoltaic inverter networked device software upgrading method and system have the advantages that device software can be updated in a long-distance mode, long-distance diagnosis services can be provided for clients in cooperation with a long-distance debugging tool, networking and virtualization of customer services are achieved, the response speed of the customer services is greatly quickened, the engineering cost is saved, and the brand effect of products is improved.

Description

Photovoltaic DC-to-AC converter networked devices method for upgrading software and system
Technical field
The present invention relates to method for upgrading software and system, relate in particular to photovoltaic DC-to-AC converter networked devices method for upgrading software and system.
Background technology
Photo-voltaic power generation station is built in remote area more, and inverter is the key equipment of photovoltaic plant energy transformation, and Regional Distribution is wide, and life cycle is long, and maintenance management need to expend a large amount of manpower and materials.
The maintenance of conventional inverter, particularly equipment software upgrading, need to send professional to process to curstomer's site, or whole veneer is replaced or carries out burning by on-the-spot replication tool, go to each equipment and lay a little, all inverter software upgradings could be completed, waste time and energy.
The development of mechanics of communication provides effective technical support to plant maintenance.Making full use of internet offers convenience can effectively reduce cost of equipment maintenance, improves equipment operational reliability.Therefore, a set of network inverter maintenance upgrade system can be brought practical interests for producer and client.Equipment manufacturer can reduce engineering maintenance personnel in a large number, reduces human cost, reduces trip expenses, and improves the response speed to client's feedback problem.And equipment user can obtain the new edition software of vendors ship fast, obtain newly-increased application function or corrective pitting, reduce equipment operation risk.
Inverter comprises monitoring module and control module, and small-power, low side power supply are generally combined into one two modules, and high-power, high-end power supply separates two block region, and may comprise a plurality of control modules.Monitoring module is responsible for equipment man-machine interaction, background communication, operation monitoring etc., and control module is responsible for the control of main power circuit, realizes measurement, calculating of energy conversion and various input, output variable etc.Between monitoring module and control module, by RS485 or CAN fieldbus, be connected, realize the mutual of information.Inverter functional module and communication connection signal are as shown in Figure 1.
While adopting RS485 to communicate by letter between monitoring module and control module, be master-slave communication mode between monitoring module and control module, monitoring is main, control be from.While adopting CAN communication, monitoring and control module communication mode are principal and subordinate or lead more.So, on the software upgrading of monitoring module and control module, must consider this impact of several physical links on communication mode, meanwhile, consider several communication mode speed restrictions and coupling.Network software upgrade-system must make full use of the high speed of network, the feature being easy to get, and handles the rate-matched problem between high speed networking and low speed bus well, quick, transmitting problem, compressing file cryptography issue and the verification Error Correcting Problem of upgrade file.
Current method for upgrading software is difficult to address the above problem.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of photovoltaic DC-to-AC converter networked devices method for upgrading software.
The invention provides a kind of photovoltaic DC-to-AC converter networked devices method for upgrading software, comprise following operating procedure:
A1. remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, if log in, successfully carries out A2 step, otherwise upgrading finishes to exit;
A2. the long-range monitoring application program that stops, successfully carrying out A3 step if operate, otherwise upgrading finishes to exit;
A3. judge whether monitoring application program exits, if carry out A4 step, otherwise continue to carry out A3 step;
A4. by FTP, log in inverter, if log in, successfully carry out monitoring module software upgrading step or control module software upgrading step, otherwise upgrading finishes to exit.
As a further improvement on the present invention, described monitoring module software upgrading step comprises the steps:
Z1. by FTP, upload monitoring software to inverter, if upload, successfully carry out Z2 step, otherwise carry out Z3 step;
Z2. remote activation monitoring application program;
Z3. closing FTP connects;
Z4. closing telnet connects;
Z5. upgrading finishes to exit.
As a further improvement on the present invention, described control module software upgrading step comprises the steps:
Q1. pass through FTP upload transfers proxy module to monitoring module, if upload, successfully carry out Q2 step, otherwise carry out Q4 step;
Q2. start transmission proxy module, set up pass-through channel with remote work station, if operate, successfully carry out Q3 step, otherwise carry out Q4 step;
Q3. open control module software upgrade service thread, upgrading control module software;
Q4. closing FTP connects;
Q5. closing telnet connects
Q6. upgrading finishes to exit.
As a further improvement on the present invention, described Q3 step comprises the steps:
K1. starting and upgrading, successfully carries out K2 step if start, otherwise close, telnet connects and upgrading finishes to exit;
K2. user right checking;
K3. judge that whether password is correct, if correctly carry out K4 step, otherwise return, carry out K2 step;
K4. read execute file, file is decrypted to also segmentation, piecemeal, if operate, successfully carry out K5 step, otherwise close, telnet connects and upgrading finishes to exit;
K5. long-range EPO, issues upgrading order, makes control module enter upgrade mode, if operate, successfully carries out K6 step, otherwise close, telnet connects and upgrading finishes to exit;
K6. issue communication handshake order wait acknowledge, if reply, successfully carry out K7 step, otherwise close, telnet connects and upgrading finishes to exit;
The release of K7.DSP chip wait acknowledge, successfully carry out K8 step if reply, otherwise close, telnet connects and upgrading finishes to exit;
K8.DSP version is checked, if reply, successfully carries out K9 step, otherwise close, telnet connects and upgrading finishes to exit;
K9.FLASH wipes, if wipe, successfully carries out K10 step, otherwise close, telnet connects and upgrading finishes to exit;
K10. issue data block head wait acknowledge;
K11. issue Frame wait acknowledge in piece, if reply, successfully carry out K12 step, otherwise continue to carry out K11 step;
K12. judge whether last frame in piece, if carry out K13 step, otherwise carry out K11 step;
K13. last piece in the section of judging whether, if carry out K14 step, otherwise carries out K10 step;
K14. judge whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise carries out K10 step.
As a further improvement on the present invention, described monitoring module is connected by CAN bus with described control module.
The present invention also provides a kind of photovoltaic DC-to-AC converter networked devices software update system, comprises login unit, and this login unit comprises:
Backstage upgrading tool telnet module, for remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, successfully carries out the long-range monitoring application program module that stops if logging in, otherwise upgrading finishes to exit;
The long-range monitoring application program module that stops, for the long-range monitoring application program that stops, successfully carrying out monitoring application program judge module if operate, otherwise upgrading finishes to exit;
Monitoring application program operation control module, for judging whether monitoring application program exits, if carry out upgrade file transport module, otherwise continues to carry out monitoring application program operation control module;
Upgrade file transport module, for logging in inverter by FTP, successfully carries out monitoring module software upgrading unit or control module software upgrading unit if log in, otherwise upgrading finishes to exit.
As a further improvement on the present invention, described monitoring module software upgrading unit comprises:
Upload monitoring software module, for uploading monitoring software to inverter by FTP, if upload, successfully carry out monitoring application program operation control module, otherwise carry out, close FTP link block;
Monitoring application program operation control module, for remote activation monitoring application program;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
As a further improvement on the present invention, described control module software upgrading unit comprises:
Transmission module on transmission proxy module, for passing through FTP upload transfers proxy module to monitoring module, successfully carries out transmission proxy module if upload and starts module, otherwise carry out, closes FTP link block;
Transmission proxy module starts module, for starting transmission proxy module, sets up pass-through channel with remote work station, successfully carries out control module software upgrade service thread module if operate, otherwise carry out, closes FTP link block;
Control module software upgrade service thread module, for opening control module software upgrade service thread, upgrading control module software;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
As a further improvement on the present invention, described control module software upgrade service thread module comprises:
Starting and upgrading module, for starting and upgrading, successfully carries out authority authentication module if start, otherwise close, telnet connects and upgrading finishes to exit;
Authority Verification module, verifies for user right;
Password judge module, whether correct for judging password, if correctly carry out execute file read module, otherwise return, carry out authority authentication module;
Execute file read module, for reading execute file, is decrypted also segmentation, piecemeal to file, if operate successfully, carries out and enters starting and upgrading module, otherwise close, telnet connects and upgrading finishes to exit;
Enter starting and upgrading module, for long-range EPO, issuing upgrading order, make control module enter upgrade mode, if operate successfully the executive communication order of shaking hands, issue module, otherwise close, telnet connects and the end of upgrading is exited;
Communication handshake order issues module, for issuing communication handshake order wait acknowledge, if reply, successfully carries out dsp chip solution lock module, otherwise close, telnet connects and upgrading finishes to exit;
Dsp chip solution lock module, for dsp chip release wait acknowledge, successfully carries out DSP version if reply and checks module, otherwise close, telnet connects and upgrading finishes to exit;
DSP version is checked module, for dsp software version, checks, if reply successfully, carries out and wipes module, otherwise close, telnet connects and upgrading finishes to exit;
Wipe module, for FLASH, wipe, if wipe successfully executing data build, issue module, otherwise close, telnet connects and upgrading finishes to exit;
Data block head issues module, for issuing data block head wait acknowledge;
Frame issues module in piece, for issuing Frame wait acknowledge in piece, if reply successfully last frame judge module in execution block, otherwise continue the interior Frame of execution block, issues module;
Last frame judge module in piece, for judging whether last frame in piece, if carry out last piece judge module in section, otherwise in execution block, Frame issues module;
Last piece judge module in section, for last piece in the section of judging whether, passed judge module, otherwise executing data build issues module if carry out all sections;
All sections have passed judge module, and for judging whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise executing data build issues module.
As a further improvement on the present invention, described monitoring module is connected by CAN bus with described control module.
The invention has the beneficial effects as follows: the present invention can long-rangely upgrade device software, coordinate remote debugging instrument to provide remote diagnosis service for client, accomplish the networking, virtual of customer service, greatly improved customer service response speed, save engineering cost, promoted the brand effect of product.
Accompanying drawing explanation
Fig. 1 is current inverter functional module and communication connection schematic diagram.
Fig. 2 is photovoltaic DC-to-AC converter networked devices software update system principle schematic of the present invention.
Fig. 3 is monitoring module software upgrading flow chart of the present invention.
Fig. 4 is control module software upgrading flow chart of the present invention.
Fig. 5 is control module software upgrading algorithm flow chart of the present invention.
Embodiment
The invention discloses a kind of photovoltaic DC-to-AC converter networked devices method for upgrading software, comprise following operating procedure:
A1. remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, if log in, successfully carries out A2 step, otherwise upgrading finishes to exit;
A2. the long-range monitoring application program that stops, successfully carrying out A3 step if operate, otherwise upgrading finishes to exit;
A3. judge whether monitoring application program exits, if carry out A4 step, otherwise continue to carry out A3 step;
A4. by FTP, log in inverter, if log in, successfully carry out monitoring module software upgrading step or control module software upgrading step, otherwise upgrading finishes to exit.
As shown in Figure 3, described monitoring module software upgrading step comprises the steps:
Z1. by FTP, upload monitoring software to inverter, if upload, successfully carry out Z2 step, otherwise carry out Z3 step;
Z2. remote activation monitoring application program;
Z3. closing FTP connects;
Z4. closing telnet connects;
Z5. upgrading finishes to exit.
Monitoring software execute file is larger, if adopt traditional device software update mode, first will set up application and connect, and then by protocol frame, will under software execute file piecemeal, minute frame, pass, and protocol is complicated, passes speed slower under file.The present invention directly utilizes TCP/IP application protocol telnet and file transfer control protocol ftp to monitoring software upgrading scheme, get around customized exploitation upgrade application agreement, both improve upgrade file transmission speed, effectively evaded again development risk, improved upgrading reliability.
As shown in Figure 4, described control module software upgrading step comprises the steps:
Q1. pass through FTP upload transfers proxy module to monitoring module, if upload, successfully carry out Q2 step, otherwise carry out Q4 step;
Q2. start transmission proxy module, set up pass-through channel with remote work station, if operate, successfully carry out Q3 step, otherwise carry out Q4 step;
Q3. open control module software upgrade service thread, upgrading control module software;
Q4. closing FTP connects;
Q5. closing telnet connects
Q6. upgrading finishes to exit.
Control software execute file little, 200K byte left and right, owing to being CAN communication connection between control module and monitoring, highest communication speed is 1Mbit/s, do not have file system to manage execute file, cannot directly by network, carry out execute file renewal yet.If first by passing execute file to monitoring module under 100M Fast Ethernet, then by monitoring module, control module is upgraded, just passed the time decreased of execute file down, monitoring is limited by CAN traffic rate also to the upgrading speed of control module, does not improve.In addition, monitoring software will increase controls software upgrading module, has increased the weight of to be coupled between software function module, is unfavorable for software maintenance and case study.Therefore, the upgrading tripping conventional thought of native system to software model, do not issue and control software to monitoring, by monitoring, control module is carried out to software upgrading, but download transmission proxy module proxyCAN to monitoring by backstage upgrade software Tools2011, the transparent transmission channel of setting up remote work station and inverter control intermodule, directly carries out software upgrading to control module by backstage upgrade software.Backstage upgrade software can utilize the maximum data throughput 1Mbits/ second of CAN bus, and can switch upgrading speed according to actual conditions.
Certainly, this scheme will be considered Internet Transmission time delay and error code, so, between backstage upgrade software and inverter control module, to formulate a set of rigorous upgrading algorithm, guarantee integrality and the correctness of upgrade file, function that upgrading tool upgrading algorithm partly completes that Here it is is called upgrading algoritic module and is upgraded in Tools2011 upgrade service thread, as shown in Figure 5, described Q3 step comprises the steps:
K1. starting and upgrading, successfully carries out K2 step if start, otherwise close, telnet connects and upgrading finishes to exit;
K2. user right checking;
K3. judge that whether password is correct, if correctly carry out K4 step, otherwise return, carry out K2 step;
K4. read execute file, file is decrypted to also segmentation, piecemeal, if operate, successfully carry out K5 step, otherwise close, telnet connects and upgrading finishes to exit;
K5. long-range EPO, issues upgrading order, makes control module enter upgrade mode, if operate, successfully carries out K6 step, otherwise close, telnet connects and upgrading finishes to exit;
K6. issue communication handshake order wait acknowledge, if reply, successfully carry out K7 step, otherwise close, telnet connects and upgrading finishes to exit;
The release of K7.DSP chip wait acknowledge, successfully carry out K8 step if reply, otherwise close, telnet connects and upgrading finishes to exit;
K8.DSP version is checked, if reply, successfully carries out K9 step, otherwise close, telnet connects and upgrading finishes to exit;
K9.FLASH wipes, if wipe, successfully carries out K10 step, otherwise close, telnet connects and upgrading finishes to exit;
K10. issue data block head wait acknowledge;
K11. issue Frame wait acknowledge in piece, if reply, successfully carry out K12 step, otherwise continue to carry out K11 step;
K12. judge whether last frame in piece, if carry out K13 step, otherwise carry out K11 step;
K13. last piece in the section of judging whether, if carry out K14 step, otherwise carries out K10 step;
K14. judge whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise carries out K10 step.
Described monitoring module is connected by CAN bus with described control module.
Upgrading algorithm will be divided into different sections by FLASH programming address after execute file deciphering, in section, be divided into some, 128 word lengths of each piece, due to CAN frame once multipotency transmit 4 word lengths, so each piece is divided into again several Frames, after control module is replied successfully to data block head, Tools2011 issues first Frame of current block wait acknowledge, if control module is replied successfully, judge whether current block has passed, if passed, judge whether current data section has passed, circulation according to this, until all data segments all issue and burning verification succeeds.
As shown in Figure 2, the invention also discloses a kind of photovoltaic DC-to-AC converter networked devices software update system, comprise login unit, this login unit comprises:
Backstage upgrading tool telnet module, for remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, successfully carries out the long-range monitoring application program module that stops if logging in, otherwise upgrading finishes to exit;
The long-range monitoring application program module that stops, for the long-range monitoring application program that stops, successfully carrying out monitoring application program judge module if operate, otherwise upgrading finishes to exit;
Monitoring application program operation control module, for judging whether monitoring application program exits, if carry out upgrade file transport module, otherwise continues to carry out monitoring application program operation control module;
Upgrade file transport module, for logging in inverter by FTP, successfully carries out monitoring module software upgrading unit or control module software upgrading unit if log in, otherwise upgrading finishes to exit.
Described monitoring module software upgrading unit comprises:
Upload monitoring software module, for uploading monitoring software to inverter by FTP, if upload, successfully carry out monitoring application program operation control module, otherwise carry out, close FTP link block;
Monitoring application program operation control module, for remote activation monitoring application program;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
Described control module software upgrading unit comprises:
Transmission module on transmission proxy module, for passing through FTP upload transfers proxy module to monitoring module, successfully carries out transmission proxy module if upload and starts module, otherwise carry out, closes FTP link block;
Transmission proxy module starts module, for starting transmission proxy module, sets up pass-through channel with remote work station, successfully carries out control module software upgrade service thread module if operate, otherwise carry out, closes FTP link block;
Control module software upgrade service thread module, for opening control module software upgrade service thread, upgrading control module software;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
Described control module software upgrade service thread module comprises:
Starting and upgrading module, for starting and upgrading, successfully carries out authority authentication module if start, otherwise close, telnet connects and upgrading finishes to exit;
Authority Verification module, verifies for user right;
Password judge module, whether correct for judging password, if correctly carry out execute file read module, otherwise return, carry out authority authentication module;
Execute file read module, for reading execute file, is decrypted also segmentation, piecemeal to file, if operate successfully, carries out and enters starting and upgrading module, otherwise close, telnet connects and upgrading finishes to exit;
Enter starting and upgrading module, for long-range EPO, issuing upgrading order, make control module enter upgrade mode, if operate successfully the executive communication order of shaking hands, issue module, otherwise close, telnet connects and the end of upgrading is exited;
Communication handshake order issues module, for issuing communication handshake order wait acknowledge, if reply, successfully carries out dsp chip solution lock module, otherwise close, telnet connects and upgrading finishes to exit;
Dsp chip solution lock module, for dsp chip release wait acknowledge, successfully carries out DSP version if reply and checks module, otherwise close, telnet connects and upgrading finishes to exit;
DSP version is checked module, for dsp software version, checks, if reply successfully, carries out and wipes module, otherwise close, telnet connects and upgrading finishes to exit;
Wipe module, for FLASH, wipe, if wipe successfully executing data build, issue module, otherwise close, telnet connects and upgrading finishes to exit;
Data block head issues module, for issuing data block head wait acknowledge;
Frame issues module in piece, for issuing Frame wait acknowledge in piece, if reply successfully last frame judge module in execution block, otherwise continue the interior Frame of execution block, issues module;
Last frame judge module in piece, for judging whether last frame in piece, if carry out last piece judge module in section, otherwise in execution block, Frame issues module;
Last piece judge module in section, for last piece in the section of judging whether, passed judge module, otherwise executing data build issues module if carry out all sections;
All sections have passed judge module, and for judging whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise executing data build issues module.
Described monitoring module is connected by CAN bus with described control module.
Photovoltaic DC-to-AC converter networked devices software update system of the present invention consists of inverter hardware system, daemon software instrument Tools2011, transmission proxy module proxyCAN tri-parts.Upgrade-system relates to inverter hardware and comprises monitoring module and control module.Wherein monitoring module adopts 32 arm processors of technical grade as processing unit, supports the communication of 100Mbit Fast Ethernet, moves real-time linux operating system, supports the procotols such as TCP/IP, FTP, TELNET, TFTP.Control module adopts TI high-speed dsp processor as control unit, supports the communications peripheral such as CAN2.0A, CAN2.0B and SCI.Between monitoring module and control module, adopt CAN to communicate by letter, both utilized CAN at a high speed, the advantage of reliable, strong interference immunity, avoided again the network and the inconsistent problem of serial interface communication mode that adopt RS485 serial communication mode to cause.
Remote work station operation upgrading tool Tools2011, upgrading tool is the originating end of inverter software upgrading, for upgrading provides file download service.This upgrade-system comprises monitoring upgrading and control module software upgrading two parts.
During the ripe software maintenance that is applied to Foster, John Watson a new generation's three level 500KW inverters and high frequency 400KVA UPS product of the present invention is managed, compare traditional upgrading mode, upgrading speed significantly promotes, monitoring software upgrading completed in 30 seconds, control software upgrading completed in 3 minutes, the more outstanding advantage of this upgrade-system is networking, to send in the past engineering staff to lay scene to equipment, pass through now network, to client, apply for opening corresponding authority, just can long-range device software be upgraded, coordinate remote debugging instrument to provide remote diagnosis service for client, accomplish the networking of customer service, virtual, greatly improved customer service response speed, saved engineering cost, promoted the brand effect of product.
Technical scheme of the present invention is different from the way that traditional upgrading scheme adopts custom protocol frame transmission execute file and by monitoring module, control module upgraded and upgraded, creative proposition utilizes internet application protocol telnet, the ftp of existing maturation to carry out remote operation and transmission execute file, directly monitoring module and control module are upgraded separately, reduce software function module coupling, guaranteed that native system has networking, the plurality of advantages such as simple and reliable, quick.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a photovoltaic DC-to-AC converter networked devices method for upgrading software, is characterized in that, comprises following operating procedure:
A1. remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, if log in, successfully carries out A2 step, otherwise upgrading finishes to exit;
A2. the long-range monitoring application program that stops, successfully carrying out A3 step if operate, otherwise upgrading finishes to exit;
A3. judge whether monitoring application program exits, if carry out A4 step, otherwise continue to carry out A3 step;
A4. by FTP, log in inverter, if log in, successfully carry out monitoring module software upgrading step or control module software upgrading step, otherwise upgrading finishes to exit.
2. photovoltaic DC-to-AC converter networked devices method for upgrading software according to claim 1, is characterized in that, described monitoring module software upgrading step comprises the steps:
Z1. by FTP, upload monitoring software to inverter, if upload, successfully carry out Z2 step, otherwise carry out Z3 step;
Z2. remote activation monitoring application program;
Z3. closing FTP connects;
Z4. closing telnet connects;
Z5. upgrading finishes to exit.
3. photovoltaic DC-to-AC converter networked devices method for upgrading software according to claim 1, is characterized in that, described control module software upgrading step comprises the steps:
Q1. pass through FTP upload transfers proxy module to monitoring module, if upload, successfully carry out Q2 step, otherwise carry out Q4 step;
Q2. start transmission proxy module, set up pass-through channel with remote work station, if operate, successfully carry out Q3 step, otherwise carry out Q4 step;
Q3. open control module software upgrade service thread, upgrading control module software;
Q4. closing FTP connects;
Q5. closing telnet connects
Q6. upgrading finishes to exit.
4. photovoltaic DC-to-AC converter networked devices method for upgrading software according to claim 3, is characterized in that, described Q3 step comprises the steps:
K1. starting and upgrading, successfully carries out K2 step if start, otherwise close, telnet connects and upgrading finishes to exit;
K2. user right checking;
K3. judge that whether password is correct, if correctly carry out K4 step, otherwise return, carry out K2 step;
K4. read execute file, file is decrypted to also segmentation, piecemeal, if operate, successfully carry out K5 step, otherwise close, telnet connects and upgrading finishes to exit;
K5. long-range EPO, issues upgrading order, makes control module enter upgrade mode, if operate, successfully carries out K6 step, otherwise close, telnet connects and upgrading finishes to exit;
K6. issue communication handshake order wait acknowledge, if reply, successfully carry out K7 step, otherwise close, telnet connects and upgrading finishes to exit;
The release of K7.DSP chip wait acknowledge, successfully carry out K8 step if reply, otherwise close, telnet connects and upgrading finishes to exit;
K8.DSP version is checked, if reply, successfully carries out K9 step, otherwise close, telnet connects and upgrading finishes to exit;
K9.FLASH wipes, if wipe, successfully carries out K10 step, otherwise close, telnet connects and upgrading finishes to exit;
K10. issue data block head wait acknowledge;
K11. issue Frame wait acknowledge in piece, if reply, successfully carry out K12 step, otherwise continue to carry out K11 step;
K12. judge whether last frame in piece, if carry out K13 step, otherwise carry out K11 step;
K13. last piece in the section of judging whether, if carry out K14 step, otherwise carries out K10 step;
K14. judge whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise carries out K10 step.
5. photovoltaic DC-to-AC converter networked devices method for upgrading software according to claim 4, is characterized in that, described monitoring module is connected by CAN bus with described control module.
6. a photovoltaic DC-to-AC converter networked devices software update system, is characterized in that, comprises login unit, and this login unit comprises:
Backstage upgrading tool telnet module, remote work station operation backstage upgrading, backstage upgrading remote logs in inverter, successfully carries out the long-range monitoring application program module that stops if logging in, otherwise upgrading finishes to exit;
The long-range monitoring application program module that stops, for the long-range monitoring application program that stops, successfully carrying out monitoring application program judge module if operate, otherwise upgrading finishes to exit;
Monitoring application program operation control module, for judging whether monitoring application program exits, if carry out upgrade file transport module, otherwise continues to carry out monitoring application program operation control module;
Upgrade file transport module, for logging in inverter by FTP, successfully carries out monitoring module software upgrading unit or control module software upgrading unit if log in, otherwise upgrading finishes to exit.
7. photovoltaic DC-to-AC converter networked devices software update system according to claim 6, is characterized in that, described monitoring module software upgrading unit comprises:
Upload monitoring software module, for uploading monitoring software to inverter by FTP, if upload, successfully carry out monitoring application program operation control module, otherwise carry out, close FTP link block;
Monitoring application program operation control module, for remote activation monitoring application program;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
8. photovoltaic DC-to-AC converter networked devices software update system according to claim 6, is characterized in that, described control module software upgrading unit comprises:
Transmission module on transmission proxy module, for passing through FTP upload transfers proxy module to monitoring module, successfully carries out transmission proxy module if upload and starts module, otherwise carry out, closes FTP link block;
Transmission proxy module starts module, for starting transmission proxy module, sets up pass-through channel with remote work station, successfully carries out control module software upgrade service thread module if operate, otherwise carry out, closes FTP link block;
Control module software upgrade service thread module, for opening control module software upgrade service thread, upgrading control module software;
Close FTP link block, for closing FTP, connect;
Close telnet link block, for closing telnet, connect.
9. photovoltaic DC-to-AC converter networked devices software update system according to claim 8, is characterized in that, described control module software upgrade service thread module comprises:
Starting and upgrading module, for starting and upgrading, successfully carries out authority authentication module if start, otherwise close, telnet connects and upgrading finishes to exit;
Authority Verification module, verifies for user right;
Password judge module, whether correct for judging password, if correctly carry out execute file read module, otherwise return, carry out authority authentication module;
Execute file read module, for reading execute file, is decrypted also segmentation, piecemeal to file, if operate successfully, carries out and enters starting and upgrading module, otherwise close, telnet connects and upgrading finishes to exit;
Enter starting and upgrading module, for long-range EPO, issuing upgrading order, make control module enter upgrade mode, if operate successfully the executive communication order of shaking hands, issue module, otherwise close, telnet connects and the end of upgrading is exited;
Communication handshake order issues module, for issuing communication handshake order wait acknowledge, if reply, successfully carries out dsp chip solution lock module, otherwise close, telnet connects and upgrading finishes to exit;
Dsp chip solution lock module, for dsp chip release wait acknowledge, successfully carries out DSP version if reply and checks module, otherwise close, telnet connects and upgrading finishes to exit;
DSP version is checked module, for dsp software version, checks, if reply successfully, carries out and wipes module, otherwise close, telnet connects and upgrading finishes to exit;
Wipe module, for FLASH, wipe, if wipe successfully executing data build, issue module, otherwise close, telnet connects and upgrading finishes to exit;
Data block head issues module, for issuing data block head wait acknowledge;
Frame issues module in piece, for issuing Frame wait acknowledge in piece, if reply successfully last frame judge module in execution block, otherwise continue the interior Frame of execution block, issues module;
Last frame judge module in piece, for judging whether last frame in piece, if carry out last piece judge module in section, otherwise in execution block, Frame issues module;
Last piece judge module in section, for last piece in the section of judging whether, passed judge module, otherwise executing data build issues module if carry out all sections;
All sections have passed judge module, and for judging whether that all sections have passed, if close, telnet connects and upgrading finishes to exit, otherwise executing data build issues module.
10. photovoltaic DC-to-AC converter networked devices software update system according to claim 9, is characterized in that, described monitoring module is connected by CAN bus with described control module.
CN201310574423.XA 2013-11-15 2013-11-15 Photovoltaic inverter networked device software upgrading method and system Active CN103580927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310574423.XA CN103580927B (en) 2013-11-15 2013-11-15 Photovoltaic inverter networked device software upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310574423.XA CN103580927B (en) 2013-11-15 2013-11-15 Photovoltaic inverter networked device software upgrading method and system

Publications (2)

Publication Number Publication Date
CN103580927A true CN103580927A (en) 2014-02-12
CN103580927B CN103580927B (en) 2017-01-11

Family

ID=50051908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310574423.XA Active CN103580927B (en) 2013-11-15 2013-11-15 Photovoltaic inverter networked device software upgrading method and system

Country Status (1)

Country Link
CN (1) CN103580927B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102514A (en) * 2014-07-18 2014-10-15 江苏兆伏新能源有限公司 Firmware upgrading method and firmware upgrading device
CN115309432A (en) * 2022-10-12 2022-11-08 石家庄科林电气股份有限公司 Photovoltaic inverter remote upgrading method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301573A (en) * 2009-02-12 2011-12-28 弗罗纽斯国际有限公司 Photovoltaic plant having a plurality of inverters, inverter, usb mass storage device and method for carrying out software updates on inverters
US20120185838A1 (en) * 2011-01-17 2012-07-19 Ido Schwartzman Method and system for secure firmware updates in programmable devices
CN103248669A (en) * 2012-12-13 2013-08-14 武汉东为科技有限公司 Distributed software upgrade system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301573A (en) * 2009-02-12 2011-12-28 弗罗纽斯国际有限公司 Photovoltaic plant having a plurality of inverters, inverter, usb mass storage device and method for carrying out software updates on inverters
US20120185838A1 (en) * 2011-01-17 2012-07-19 Ido Schwartzman Method and system for secure firmware updates in programmable devices
CN103248669A (en) * 2012-12-13 2013-08-14 武汉东为科技有限公司 Distributed software upgrade system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102514A (en) * 2014-07-18 2014-10-15 江苏兆伏新能源有限公司 Firmware upgrading method and firmware upgrading device
CN104102514B (en) * 2014-07-18 2018-03-16 艾思玛新能源技术(扬中)有限公司 A kind of firmware upgrade method and its device
CN115309432A (en) * 2022-10-12 2022-11-08 石家庄科林电气股份有限公司 Photovoltaic inverter remote upgrading method and system

Also Published As

Publication number Publication date
CN103580927B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN101964737B (en) Protocol conversion device based on PROFIBUS-DP master station field bus
CN103268243B (en) A kind of performance element on the spot remote online upgrade-system of chain type current transformer
CN112583796B (en) Method and system for accessing terminal equipment to power Internet of things, Internet of things management platform and storage medium
CN102752299B (en) Debugging-free composite communication device and method for electric vehicle charging station
CN105827596A (en) Communication management system
CN113132417A (en) Multi-protocol conversion encryption industrial intelligent gateway and operation method thereof
CN103955190B (en) A kind of network control method for distributed intelligence test system
CN103580927B (en) Photovoltaic inverter networked device software upgrading method and system
CN112583824A (en) Protocol conversion configuration system and method based on OPC UA
CN106549812A (en) A kind of data center apparatus management-control method and system based on software definition
CN215642359U (en) PLC control device
CN104599481A (en) Optical fiber network based high speed meter reading system and method
CN103676663A (en) A wind generating set combined simulation system communication interface realization method
CN107766649A (en) A kind of system protection real-time closed-loop emulation test system and its operation method
CN104468703A (en) Communication method and system for distributed small power source and upper computer
CN111665771A (en) Infrastructure monitoring system and monitoring method
CN110365103A (en) A kind of wireless universal type low-power consumption power dispatching data transmitting device and control method
CN102096772A (en) Smart client system of power transmission and transformation project
CN106707838A (en) Building energy data collection system and method based on Linux architecture
CN110765616A (en) Simulation closed loop test system and method for power plant computer monitoring system
CN110430157B (en) System and method for remotely operating and maintaining speed regulator of water turbine
CN212009353U (en) Infrastructure monitoring system
CN211352237U (en) Gas generating set binary channels data communication device
KR101095827B1 (en) Gateway with SmartIO module automatically supporting multi-protocol
CN114500627A (en) Method, device and equipment for remotely accessing serial port equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210423

Address after: 518000 room 402-1, building 1, software park, kejizhong 2nd Road, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen KeSiDa Software Technology Co.,Ltd.

Address before: 1, 518057 floor, two software park, Nanshan District hi tech, Shenzhen, Guangdong, 4

Patentee before: SHENZHEN KSTAR SCIENCE & TECHNOLOGY Co.,Ltd.