CN113626058A - Remote upgrading system for generator set controller and implementation method thereof - Google Patents

Remote upgrading system for generator set controller and implementation method thereof Download PDF

Info

Publication number
CN113626058A
CN113626058A CN202111178776.9A CN202111178776A CN113626058A CN 113626058 A CN113626058 A CN 113626058A CN 202111178776 A CN202111178776 A CN 202111178776A CN 113626058 A CN113626058 A CN 113626058A
Authority
CN
China
Prior art keywords
capacitor
chip
resistor
pin
upgrading
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
CN202111178776.9A
Other languages
Chinese (zh)
Other versions
CN113626058B (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.)
Weifang Lichuang Electronic Technology Co Ltd
Original Assignee
Weifang Lichuang Electronic 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 Weifang Lichuang Electronic Technology Co Ltd filed Critical Weifang Lichuang Electronic Technology Co Ltd
Priority to CN202111178776.9A priority Critical patent/CN113626058B/en
Publication of CN113626058A publication Critical patent/CN113626058A/en
Application granted granted Critical
Publication of CN113626058B publication Critical patent/CN113626058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Abstract

The application discloses long-range upgrading system of generating set controller, including teletransmission communication module, exchange data through TTL serial ports mode between teletransmission communication module and the microprocessor of generating set controller, the generating set controller connects cloud platform to the operation of opening, shutting down and resetting of teletransmission communication module is also handled by the microprocessor of generating set controller, and teletransmission communication module supports 3G 4G networks of operators such as removal, UNICOM, telecommunications. Has the following advantages: a remote communication module is arranged in the device, so that a remote upgrading function can be realized without externally connecting other equipment; when the generator set controller has program problems or a user requires to change, remote upgrading can be realized, the upgrading process is safe and rapid, and the normal use of the user is not influenced.

Description

Remote upgrading system for generator set controller and implementation method thereof
Technical Field
The invention discloses a remote upgrading system of a generator set controller and an implementation method thereof, and belongs to the technical field of generator set control.
Background
At present, most generator sets are provided with generator set controllers, the automatic control of starting and stopping of the generator sets and the operation self-protection function are realized, but most generator set controllers are isolated units which are scattered, when the generator set controllers have problems, service personnel must go to a working site to perform maintenance work such as program upgrading, and the work is time-consuming and labor-consuming, and the timeliness is poor.
When the generator set controller operates on site, according to the site use environment and the use special requirements, the user generator set controller does not have a designed new function and needs to perform function upgrade on the generator set controller; the generator set control is characterized in that a user runs on site due to the fact that software defects are hidden in design, and unexpected BUG occurs, so that the controller is in malfunction, service personnel need to go to the site to upgrade and maintain product software, and the following conditions occur: the maintenance and the upgrade are not timely, the unit operates abnormally, and even the shutdown and the production stop of a user are caused.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a remote upgrading system of a generator set controller and an implementation method thereof aiming at the defects, a remote communication module is arranged in the system, and the remote upgrading function can be realized without externally connecting other equipment; when the generator set controller has program problems or a user requires to change, remote upgrading can be realized, the upgrading process is safe and rapid, and the normal use of the user is not influenced.
In order to solve the technical problems, the invention adopts the following technical scheme:
a remote upgrading system of a generator set controller comprises a remote transmission communication module, data are exchanged between the remote transmission communication module and a microprocessor of the generator set controller in a TTL serial port mode, the generator set controller is connected with a cloud platform, the on, off and reset operations of the remote transmission communication module are processed by the microprocessor of the generator set controller, and the remote transmission communication module supports 3G/4G networks of operators such as mobile operators, communication operators, telecommunication operators and the like.
Further, the remote communication module comprises a power supply circuit, a core communication module and a SIM card circuit, wherein the core communication module comprises a chip U10A, and the model of the chip U10A is EC 200S-CN.
Furthermore, a pin 5 of the chip U10A is connected to one end of a resistor R32, the other end of the resistor R32 is connected to one end of a resistor R30 and a gate of the MOS transistor Q4, a source of the MOS transistor Q4 and the other end of the resistor R30 are grounded, a drain of the MOS transistor Q4 is connected to one end of a resistor R29, the other end of the resistor R29 is connected to one end of a light emitting diode D3, the other end of the light emitting diode D3 is connected to 3.3V, a pin 6 of the chip U10A is connected to one end of a resistor R33, the other end of the resistor R33 is connected to one end of a light emitting diode D4, the other end of the light emitting diode D4 is connected to 3.8V, a pin 7 of the chip U10A is connected to one end of a capacitor C56 and one end of a capacitor C55, and connected to a VDD _ EXT power supply, and the other end of the capacitor C56 is grounded to the other end of the capacitor C55.
Furthermore, a 21 pin of the chip U10A is connected with a collector of a triode Q5, a base of the triode Q5 is connected with one end of a resistor R42 and one end of a resistor R41, the other end of the resistor R42 is grounded with an emitter of a triode Q5, a 22 pin of the chip U10A is connected with a collector of the triode Q6, a base of the triode Q6 is connected with one end of the resistor R44 and one end of a resistor R43, and the other end of the resistor R44 is grounded with an emitter of a triode Q6;
the pin 67 of the chip U10A is connected with the collector of a triode Q1 and one end of a resistor R24, the emitter of the triode Q1 is connected with one end of a resistor R44 and one end of a resistor R43, the base of the triode Q1 is connected with one end of a capacitor C41 and one end of a resistor R22, the other end of the resistor R44, the other end of the capacitor C41 and the other end of the resistor R22 are connected with a VDD _ EXT power supply, the pin 66 of the chip U10A is connected with the emitter of a triode Q2, the collector of the triode Q2 is connected with one end of a resistor R25, the base of the triode Q2 is connected with one end of a capacitor C42 and one end of a resistor R23, and the other end of a capacitor C42 and the other end of the resistor R23 are connected with the VDD _ EXT power supply.
Further, the SIM card circuit includes a chip U12, pin 1 of the chip U12 is connected with one end of a capacitor C57, pin 1 of the chip U14 and pin 14 of the chip U10A, pin 2 of the chip U12 is connected with one end of a capacitor C64, one end of a resistor R34 and pin 4 of the chip U14, the other end of a resistor R34 is connected with pin 17 of the chip U10A, the other end of the capacitor C64 is grounded, pin 3 of the chip U12 is connected with one end of a capacitor C63, one end of a resistor R40 and pin 5 of the chip U14, the other end of the resistor R40 is connected with pin 16 of the chip U10A, the other end of the capacitor C63 is grounded, pin 6 of the chip U12 is connected with one end of a capacitor C58, one end of the resistor R39 and pin 6 of the chip U14, the other end of the resistor R39 is connected with pin 15 of the chip U10A, and the other end of the capacitor C58 is grounded.
Furthermore, the power supply circuit comprises a chip UJ1, the model of the chip UJ1 is TPS5430DDAR, a pin 1 of the chip UJ1 is connected with one end of a capacitor CJ9, the other end of the capacitor CJ9 is connected with a pin 8 of the chip UJ1, one end of a diode DH1 and one end of an inductor L1, the other end of the inductor L1 is connected with one end of a capacitor CJ1, one end of a capacitor C31, one end of a resistor RH1 and one end of a capacitor C32, the two ends of the capacitor CJ1, the other end of the capacitor C31 and the other end of a diode DH1 are grounded, the other end of the resistor RH1 is connected with one end of a resistor RH2 and a pin 4 of the chip UJ1, a pin 7 of the chip UJ1 is connected with one end of the diode DH2 and one end of the capacitor CJ3, the two ends of the two diodes DH2 and the other end of the capacitor CJ3 are grounded.
Furthermore, the power supply circuit further comprises a chip U8, the model of the chip U8 is TD5830B, pin 1 of the chip U8 is connected with one end of a resistor R20, the other end of the resistor R20 is connected with 3.85V, pins 2, 3 and 4 of the chip U8 are connected with one end of a capacitor C40 and are grounded with +5V, the other end of the capacitor C40 is grounded, pin 7 of the chip U8 is connected with one end of a capacitor C39, one end of a resistor R21 and one end of a resistor R19, the other end of the capacitor C39 and the other end of the resistor R21 are connected with 3.8V, the other end of the resistor R19 is grounded, pin 6 of the chip U8 is connected with one end of a capacitor C33, one end of a capacitor C34 and one end of a capacitor C36 and is grounded with 3.8V, and the other end of the capacitor C33, the other end of the capacitor C34 and the other end of the capacitor C36 are grounded;
the power supply circuit further comprises a chip U9, the model of the chip U9 is AMS1117, a pin 3 of the chip U9 is connected with one end of a capacitor C38 and is grounded at +5V, the other end of the capacitor C38 and a pin 1 of the chip U9, a pin 2 of the chip U9 is connected with one end of a capacitor C35 and one end of a capacitor C37 and is grounded at 3V3, and the other end of the capacitor C35 and the other end of the capacitor C37 are grounded.
An implementation method of a remote upgrading system of a generator set controller comprises the following steps:
step S101, the built-in remote communication module sends an upgrading request command to the cloud platform, and the cloud platform receives a program upgrading package and enters step S102 after the program upgrading package is completed;
step S102, judging whether the connection between the cloud platform and the generator set control is established, if so, entering step S103, if not, entering step S103 after the establishment is finished through TCP/IP connection;
step S103, the cloud platform sends an upgrade package version to the generator set controller, the generator set controller receives the upgrade package version sent by the cloud platform through the built-in remote communication module, and the step S104 is executed after the upgrade package version is received;
step S104, comparing the self version number with the upgrading version number by the generator set controller, comparing the self software version number with the upgrading package version number by the generator set controller, and if the self software version number is the same as or higher than the upgrading package version number, not upgrading; if the self software version number is lower than the upgrade package version number, upgrading the program, and entering the step S105;
step S105, unpacking the program upgrade package by the cloud platform, adding CRC16 into the data package, checking and sending the data package to the generator set controller, and entering step S106 after the data package is checked;
step S106, the generator set controller receives the data packets, combines the data packets into a program upgrading packet, and enters step S107 after the completion;
and S107, operating a BootLoader boot loader by the generator set controller, and operating an upgraded program after self-reset.
Further, in step S102, the generator set controller maintains a real-time connection with the cloud platform by sending a heartbeat packet; if the cloud platform and the generator set controller do not establish network connection, a built-in remote communication module is used; the stable network connection can improve the success rate of upgrading, and a network heartbeat packet is added for communication in order to ensure the possibility that the network communication is forcibly disconnected after a long time interval.
Further, the program upgrade package is subjected to data compression in step S105, the cloud platform unpacks the compressed program upgrade package, the unpacking needs to be according to the data sequence, the program compression package itself has a data check function, and each transmission sub-package of the program upgrade package has a CRC16 check function; the data of the program upgrading packet is encrypted, and the transmitted data cannot be successfully decoded in a short time even if intercepted by other people
In step S106, the generator set controller receives the program upgrade package sent by the cloud platform according to the unpacking sequence, performs CRC16 check on each received packet data, and then combines the received packets into a complete program upgrade package to be stored in the flash.
By adopting the technical scheme, compared with the prior art, the invention has the following technical effects:
the control system is internally provided with a remote communication module, so that the remote upgrading function can be realized without externally connecting other equipment; when the generator set controller has program problems or a user requires to change, remote upgrading can be realized, the upgrading process is safe and rapid, and the normal use of the user is not influenced.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flowchart illustrating the operation of an upgrade method for a medium-remote upgrade system according to the present invention;
fig. 2 is a schematic circuit diagram of the remote transmission communication module according to the present invention.
Detailed Description
Embodiment 1, a remote upgrade system of a generator set controller includes a remote transmission communication module, data are exchanged between the remote transmission communication module and a microprocessor of the generator set controller through a TTL serial port mode, the generator set controller is connected to a cloud platform, and the operations of turning on, turning off and resetting the remote transmission communication module are also processed by the microprocessor of the generator set controller, and the remote transmission communication module supports 3G/4G networks of operators such as mobile, internet and telecommunications.
As shown in fig. 2, the remote communication module includes a power supply circuit, a core communication module and a SIM card circuit, the core communication module includes a chip U10A, the model of the chip U10A is EC200S-CN, a pin 5 of the chip U10A is connected to one end of a resistor R32, the other end of the resistor R32 is connected to one end of a resistor R30 and a gate of a MOS transistor Q4, a source of the MOS transistor Q4 and the other end of the resistor R30 are grounded, a drain of the MOS transistor Q4 is connected to one end of a resistor R29, the other end of the resistor R29 is connected to one end of a light emitting diode D3, the other end of the light emitting diode D3 is connected to 3.3V, a pin 6 of the chip U10A is connected to one end of a resistor R33, the other end of the resistor R33 is connected to one end of a light emitting diode D4, the other end of the light emitting diode D4 is connected to one end of a capacitor C4 and one end of a triode 4 of a collector 4 of the chip U10Q 4 is connected to a triode VDD, the base of a triode Q5 is connected with one end of a resistor R42 and one end of a resistor R41, the other end of the resistor R42 is grounded with the emitter of a triode Q5, a pin 22 of a chip U10A is connected with the collector of a triode Q6, the base of the triode Q6 is connected with one end of the resistor R44 and one end of a resistor R43, the other end of the resistor R44 is grounded with the emitter of a triode Q6, a pin 67 of the chip U10A is connected with the collector of a triode Q1 and one end of a resistor R24, the emitter of the triode Q1 is connected with one end of a resistor R44 and one end of a resistor R43, the base of a triode Q1 is connected with one end of a capacitor C41 and one end of a resistor R22, and the other end of a resistor R44, the other end of the capacitor C41 and the other end of the resistor R22 are connected with a VDD _ EXT power supply, a pin 66 of the chip U10A is connected with an emitter of a triode Q2, a collector of the triode Q2 is connected with one end of a resistor R25, a base of the triode Q2 is connected with one end of a capacitor C42 and one end of a resistor R23, and the other end of the capacitor C42 and the other end of the resistor R23 are connected with the VDD _ EXT power supply.
The SIM card circuit comprises a chip U12, wherein a pin 1 of the chip U12 is connected with one end of a capacitor C57, a pin 1 of a chip U14 and a pin 14 of a chip U10A, a pin 2 of the chip U12 is connected with one end of a capacitor C64, one end of a resistor R34 and a pin 4 of a chip U14, the other end of a resistor R34 is connected with a pin 17 of a chip U10A, the other end of the capacitor C64 is grounded, a pin 3 of the chip U12 is connected with one end of a capacitor C63, one end of a resistor R40 and a pin 5 of the chip U14, the other end of a resistor R40 is connected with a pin 16 of the chip U10A, the other end of the capacitor C63 is grounded, a pin 6 of the chip U12 is connected with one end of a capacitor C58, one end of the resistor R39 and a pin 6 of the chip U14, the other end of the resistor R39 is connected with a pin 15 of the chip U10A, and the other end of the capacitor C58 is grounded.
The power supply circuit comprises a chip UJ1, the model of the chip UJ1 is TPS5430DDAR, a pin 1 of the chip UJ1 is connected with one end of a capacitor CJ9, the other end of the capacitor CJ9 is connected with a pin 8 of the chip UJ1, one end of a diode DH1 and one end of an inductor L1, the other end of the inductor L1 is connected with one end of a capacitor CJ1, one end of a capacitor C31, one end of a resistor RH1 and one end of a capacitor C32, the other end of the capacitor CJ1, the other end of the capacitor C31 and the other end of a diode DH1 are grounded, the other end of the resistor RH1 is connected with one end of a resistor RH2 and a pin 4 of the chip UJ1, a pin 7 of the chip UJ1 is connected with one end of a diode DH2 and one end of a capacitor CJ3, the other end of the diode DH 31 is grounded, and the other end of a diode DH2 and the other end of a capacitor CJ 3.
The power supply circuit further comprises a chip U8, the model of the chip U8 is TD5830B, a pin 1 of the chip U8 is connected with one end of a resistor R20, the other end of the resistor R20 is connected with 3.85V, pins 2, 3 and 4 of the chip U8 are connected with one end of a capacitor C40 and are connected with +5V, the other end of the capacitor C40 is grounded, a pin 7 of the chip U8 is connected with one end of a capacitor C39, one end of a resistor R21 and one end of a resistor R19, the other end of the capacitor C39 and the other end of the resistor R21 are connected with 3.8V, the other end of the resistor R19 is grounded, a pin 6 of the chip U8 is connected with one end of a capacitor C33, one end of a capacitor C34 and one end of a capacitor C36 and is connected with 3.8V, and the other end of the capacitor C33, the other end of the capacitor C34 and the other end of the capacitor C36 are grounded.
The power supply circuit further comprises a chip U9, the model of the chip U9 is AMS1117, a pin 3 of the chip U9 is connected with one end of a capacitor C38 and is grounded at +5V, the other end of the capacitor C38 and a pin 1 of the chip U9, a pin 2 of the chip U9 is connected with one end of a capacitor C35 and one end of a capacitor C37 and is grounded at 3V3, and the other end of the capacitor C35 and the other end of the capacitor C37 are grounded.
As shown in fig. 1, an implementation method of a remote upgrade system for a generator set controller includes the following steps:
step S101, the built-in remote communication module sends an upgrading request command to the cloud platform, and the cloud platform receives a program upgrading package and enters step S102 after the program upgrading package is completed;
a technician transmits the program upgrading package to the cloud platform and controls the version number of the program upgrading package; in order to ensure that programs in the generator set controllers really need to be upgraded, the cloud platform manages the version numbers and can select the generator set controllers needing to be upgraded in batches.
Step S102, judging whether the connection between the cloud platform and the generator set control is established, if so, entering step S103, if not, entering step S103 after the establishment is finished through TCP/IP connection;
the generator set controller keeps real-time connection with the cloud platform in a heartbeat packet sending mode; if the cloud platform and the generator set controller do not establish network connection, a built-in remote communication module is used; the stable network connection can improve the success rate of upgrading, and a network heartbeat packet is added for communication in order to ensure the possibility that the network communication is forcibly disconnected after a long time interval.
Step S103, the cloud platform sends the upgrade patch version to the generator set controller, and step S104 is carried out after the upgrade patch version is finished;
and the generator set controller receives the version number of the upgrade package sent by the cloud platform through the built-in remote communication module.
Step S104, comparing the self version number with an upgrading version number by the generator set controller, judging whether upgrading is needed, if not, finishing the upgrading process, and if so, entering step S105;
the generator set controller compares the self software version number with the upgrade package version number, and if the self software version number is the same as or higher than the upgrade package version number, the upgrade is not performed; and if the self software version number is lower than the version number of the upgrading package, upgrading the program.
Step S105, unpacking the program upgrade package by the cloud platform, adding CRC16 into the data package, checking and sending the data package to the generator set controller, and entering step S106 after the data package is checked;
the data compression is carried out on the program upgrading packet, the cloud platform unpacks the compressed program upgrading packet, the unpacking needs to be carried out according to the sequence of data, the program compressing packet is provided with a data checking function, and each sending sub-packet of the program upgrading packet is provided with a CRC16 checking function; the data of the program upgrading packet is encrypted, and the transmitted data cannot be decoded successfully in a short time even if intercepted by other people.
Step S106, the generator set controller receives the data packets, combines the data packets into a program upgrading packet, and enters step S107 after the completion;
and the generator set controller receives the program upgrading packets sent by the cloud platform according to the unpacking sequence, and performs CRC16 verification on each packet of received data. And then the complete program upgrade package is combined and stored in the flash.
And S107, operating a BootLoader boot loader by the generator set controller, and operating an upgraded program after self-reset.
The generator set controller is provided with a version caching mechanism, and after the program is guided, the new version is directly switched to operate, so that non-stop upgrading is realized.
The detailed configuration parameters of the generator set controller are also stored in the flash, and when the program is upgraded, the part of the configuration parameters are reserved and not changed.
The invention designs a remote transmission upgrading method of a generator set controller, which carries out remote transmission upgrading on the generator set controller installed on the site through a cloud platform, firstly, an HEX file to be upgraded is placed on the cloud platform, the generator set controller establishes TCP/IP connection with the cloud platform through a 3G/4G/5G network, the controller feeds back a software version number to the cloud platform, the cloud platform sends the upgraded HEX file to a controller program backup area after confirming that the version needs upgrading, the controller confirms the integrity of the HEX file and confirms that the generator set does not run, and the controller carries out program version upgrading.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A remote upgrading system for a generator set controller is characterized in that: the remote transmission communication module exchanges data with a microprocessor of the generator set controller through a TTL serial port mode, the generator set controller is connected with a cloud platform, the on, off and reset operations of the remote transmission communication module are processed by the microprocessor of the generator set controller, and the remote transmission communication module supports 3G/4G networks of operators such as mobile operators, communication operators, telecommunication operators and the like.
2. The system for remotely upgrading a genset controller as recited in claim 1, wherein: the remote transmission communication module comprises a power supply circuit, a core communication module and a SIM card circuit, wherein the core communication module comprises a chip U10A, and the model of the chip U10A is EC 200S-CN.
3. The system for remotely upgrading a genset controller as recited in claim 2, wherein: the 5 pin of the chip U10A is connected with one end of a resistor R32, the other end of the resistor R32 is connected with one end of a resistor R30 and the grid of a MOS tube Q4, the source of the MOS tube Q4 and the other end of the resistor R30 are grounded, the drain of the MOS tube Q4 is connected with one end of a resistor R29, the other end of the resistor R29 is connected with one end of a light emitting diode D3, the other end of the light emitting diode D3 is connected with 3.3V, the 6 pin of the chip U10A is connected with one end of a resistor R33, the other end of the resistor R33 is connected with one end of a light emitting diode D4, the other end of the light emitting diode D4 is connected with 3.8V, the 7 pin of the chip U10A is connected with one end of a capacitor C56 and one end of a capacitor C55 and connected with a VDD _ EXT power supply, and the other end of the capacitor C55 is grounded.
4. The system for remotely upgrading a genset controller as recited in claim 2, wherein: a 21 pin of the chip U10A is connected with a collector of a triode Q5, a base of the triode Q5 is connected with one end of a resistor R42 and one end of a resistor R41, the other end of the resistor R42 is grounded with an emitter of a triode Q5, a 22 pin of the chip U10A is connected with a collector of the triode Q6, a base of the triode Q6 is connected with one end of the resistor R44 and one end of a resistor R43, and the other end of the resistor R44 is grounded with an emitter of a triode Q6;
the pin 67 of the chip U10A is connected with the collector of a triode Q1 and one end of a resistor R24, the emitter of the triode Q1 is connected with one end of a resistor R44 and one end of a resistor R43, the base of the triode Q1 is connected with one end of a capacitor C41 and one end of a resistor R22, the other end of the resistor R44, the other end of the capacitor C41 and the other end of the resistor R22 are connected with a VDD _ EXT power supply, the pin 66 of the chip U10A is connected with the emitter of a triode Q2, the collector of the triode Q2 is connected with one end of a resistor R25, the base of the triode Q2 is connected with one end of a capacitor C42 and one end of a resistor R23, and the other end of a capacitor C42 and the other end of the resistor R23 are connected with the VDD _ EXT power supply.
5. The system for remotely upgrading a genset controller as recited in claim 2, wherein: the SIM card circuit comprises a chip U12, wherein a pin 1 of the chip U12 is connected with one end of a capacitor C57, a pin 1 of a chip U14 and a pin 14 of a chip U10A, a pin 2 of the chip U12 is connected with one end of a capacitor C64, one end of a resistor R34 and a pin 4 of a chip U14, the other end of a resistor R34 is connected with a pin 17 of a chip U10A, the other end of the capacitor C64 is grounded, a pin 3 of the chip U12 is connected with one end of a capacitor C63, one end of a resistor R40 and a pin 5 of the chip U14, the other end of a resistor R40 is connected with a pin 16 of the chip U10A, the other end of the capacitor C63 is grounded, a pin 6 of the chip U12 is connected with one end of a capacitor C58, one end of the resistor R39 and a pin 6 of the chip U14, the other end of the resistor R39 is connected with a pin 15 of the chip U10A, and the other end of the capacitor C58 is grounded.
6. The system for remotely upgrading a genset controller as recited in claim 2, wherein: the power supply circuit comprises a chip UJ1, the model of the chip UJ1 is TPS5430DDAR, a pin 1 of the chip UJ1 is connected with one end of a capacitor CJ9, the other end of the capacitor CJ9 is connected with a pin 8 of the chip UJ1, one end of a diode DH1 and one end of an inductor L1, the other end of the inductor L1 is connected with one end of a capacitor CJ1, one end of a capacitor C31, one end of a resistor RH1 and one end of a capacitor C32, the other end of the capacitor CJ1, the other end of the capacitor C31 and the other end of a diode DH1 are grounded, the other end of the resistor RH1 is connected with one end of a resistor RH2 and a pin 4 of the chip UJ1, a pin 7 of the chip UJ1 is connected with one end of a diode DH2 and one end of a capacitor CJ3, the other end of the diode DH 31 is grounded, and the other end of a diode DH2 and the other end of a capacitor CJ 3.
7. The system for remotely upgrading a genset controller as recited in claim 2, wherein: the power supply circuit further comprises a chip U8, the model of the chip U8 is TD5830B, a pin 1 of the chip U8 is connected with one end of a resistor R20, the other end of the resistor R20 is connected with 3.85V, pins 2, 3 and 4 of the chip U8 are connected with one end of a capacitor C40 and are connected with +5V, the other end of the capacitor C40 is grounded, a pin 7 of the chip U8 is connected with one end of a capacitor C39, one end of a resistor R21 and one end of a resistor R19, the other end of the capacitor C39 and the other end of the resistor R21 are connected with 3.8V, the other end of a resistor R19 are grounded, a pin 6 of the chip U8 is connected with one end of a capacitor C33, one end of a capacitor C34 and one end of a capacitor C36 and is connected with 3.8V, and the other end of a capacitor C33, the other end of the capacitor C34 and the other end of a capacitor C36 are grounded;
the power supply circuit further comprises a chip U9, the model of the chip U9 is AMS1117, a pin 3 of the chip U9 is connected with one end of a capacitor C38 and is grounded at +5V, the other end of the capacitor C38 and a pin 1 of the chip U9, a pin 2 of the chip U9 is connected with one end of a capacitor C35 and one end of a capacitor C37 and is grounded at 3V3, and the other end of the capacitor C35 and the other end of the capacitor C37 are grounded.
8. A method for realizing a remote upgrading system of a generator set controller is characterized by comprising the following steps: the implementation method is applied to the remote upgrading system of the generator set controller according to any one of claims 1 to 7, and comprises the following steps:
step S101, the built-in remote communication module sends an upgrading request command to the cloud platform, and the cloud platform receives a program upgrading package and enters step S102 after the program upgrading package is completed;
step S102, judging whether the connection between the cloud platform and the generator set control is established, if so, entering step S103, if not, entering step S103 after the establishment is finished through TCP/IP connection;
step S103, the cloud platform sends an upgrade package version to the generator set controller, the generator set controller receives the upgrade package version sent by the cloud platform through the built-in remote communication module, and the step S104 is executed after the upgrade package version is received;
step S104, comparing the self version number with the upgrading version number by the generator set controller, comparing the self software version number with the upgrading package version number by the generator set controller, and if the self software version number is the same as or higher than the upgrading package version number, not upgrading; if the self software version number is lower than the upgrade package version number, upgrading the program, and entering the step S105;
step S105, unpacking the program upgrade package by the cloud platform, adding CRC16 into the data package, checking and sending the data package to the generator set controller, and entering step S106 after the data package is checked;
step S106, the generator set controller receives the data packets, combines the data packets into a program upgrading packet, and enters step S107 after the completion;
step S107, the generating set controller runs a BootLoader boot loader, and runs an upgraded program after self-reset;
the generator set controller is provided with a version cache mechanism, and after the program is guided, the new version is directly switched to operate, so that non-stop upgrading is realized;
the detailed configuration parameters of the generator set controller are also stored in the flash, and when the program is upgraded, the part of the configuration parameters are reserved and not changed.
9. The method of claim 8, wherein the generator set controller remote upgrade system comprises: in the step S102, the generator set controller keeps real-time connection with the cloud platform by sending a heartbeat packet; if the cloud platform and the generator set controller do not establish network connection, a built-in remote communication module is used; the stable network connection can improve the success rate of upgrading, and a network heartbeat packet is added for communication in order to ensure the possibility that the network communication is forcibly disconnected after a long time interval.
10. The method of claim 8, wherein the generator set controller remote upgrade system comprises: in the step S105, the program upgrade package is subjected to data compression, the cloud platform unpacks the compressed program upgrade package, the unpacking needs to be according to the data sequence, the program upgrade package itself has a data check function, and each transmission sub-package of the program upgrade package has a CRC16 check function; the data of the program upgrading packet is encrypted, and the transmitted data cannot be successfully decoded in a short time even if intercepted by other people
In step S106, the generator set controller receives the program upgrade package sent by the cloud platform according to the unpacking sequence, performs CRC16 check on each received packet data, and then combines the received packets into a complete program upgrade package to be stored in the flash.
CN202111178776.9A 2021-10-11 2021-10-11 Remote upgrading system for generator set controller and implementation method thereof Active CN113626058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111178776.9A CN113626058B (en) 2021-10-11 2021-10-11 Remote upgrading system for generator set controller and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111178776.9A CN113626058B (en) 2021-10-11 2021-10-11 Remote upgrading system for generator set controller and implementation method thereof

Publications (2)

Publication Number Publication Date
CN113626058A true CN113626058A (en) 2021-11-09
CN113626058B CN113626058B (en) 2022-01-25

Family

ID=78390978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111178776.9A Active CN113626058B (en) 2021-10-11 2021-10-11 Remote upgrading system for generator set controller and implementation method thereof

Country Status (1)

Country Link
CN (1) CN113626058B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078676A1 (en) * 2004-06-30 2011-03-31 Kaseya International Limited Use of a dynamicaly loaded library to update remote computer management capability
CN107797812A (en) * 2017-09-15 2018-03-13 许继电源有限公司 A kind of charger remote online upgrade method and system
CN108469961A (en) * 2018-03-07 2018-08-31 江苏北弓智能科技有限公司 One kind is based on micromation embedded platform remote update system and method
DE102018212214A1 (en) * 2018-07-23 2020-01-23 Volkswagen Aktiengesellschaft Method for performing a remote update of control units in a motor vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078676A1 (en) * 2004-06-30 2011-03-31 Kaseya International Limited Use of a dynamicaly loaded library to update remote computer management capability
CN107797812A (en) * 2017-09-15 2018-03-13 许继电源有限公司 A kind of charger remote online upgrade method and system
CN108469961A (en) * 2018-03-07 2018-08-31 江苏北弓智能科技有限公司 One kind is based on micromation embedded platform remote update system and method
DE102018212214A1 (en) * 2018-07-23 2020-01-23 Volkswagen Aktiengesellschaft Method for performing a remote update of control units in a motor vehicle

Also Published As

Publication number Publication date
CN113626058B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN102510409B (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN102316503B (en) Fault processing method for remote radio unit (RRU) and device
CN101968644B (en) Unattended remote medical oxygenerator monitoring system
CN101734265B (en) Method and device for monitoring state of embedded vehicle-mounted signal device
CN104503782A (en) Remote software upgrading method for in-situ relay protection device
CN101150429A (en) A remote monitoring or maintenance method and device
CN104678962A (en) Safety monitoring system used in power lines repairing operation and operating method based on safety monitoring system
CN1983969A (en) System and realization for re-directing interface network
CN110719601B (en) 5G base station on-line management system based on Internet of things
CN106656597A (en) Fully mechanized mining face device operation data transmission method, device and system
CN105573794A (en) Long-distance updating method and system for embedded system software
CN113626058B (en) Remote upgrading system for generator set controller and implementation method thereof
CN105338707B (en) Method for controlling street lamps, apparatus and system
CN112822654A (en) Remote measuring terminal machine based on FTP remote firmware upgrading function and control method thereof
CN104270452B (en) A kind of tele-medicine data management system and its wireless network communication method
CN103731861A (en) Method and system for maintaining base station
CN210899186U (en) GSM-R optical fiber repeater with system software automatic upgrading function
CN106406249A (en) Transformer station inspection robot control system and method based on Android platform
CN106850816A (en) A kind of remote network control system based on VLAN
CN112688800A (en) Remote maintenance method and system for intelligent equipment of intelligent power grid based on script technology
CN111459517A (en) Master-slave equipment online program upgrading method under optical fiber ring network architecture
CN107051707A (en) A kind of on-line control system for movable Crushing work station
WO2017000418A1 (en) External field maintenance method for remote radio unit, apparatus, terminal device and system
CN102905400B (en) Adaptive double-mode mobile data communication terminal
US20220147001A1 (en) Stm32-based automatic control system and method for broadcast transmitter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant