CN108628622A - A kind of system and its upgrade method of electric machine controller - Google Patents
A kind of system and its upgrade method of electric machine controller Download PDFInfo
- Publication number
- CN108628622A CN108628622A CN201810267398.3A CN201810267398A CN108628622A CN 108628622 A CN108628622 A CN 108628622A CN 201810267398 A CN201810267398 A CN 201810267398A CN 108628622 A CN108628622 A CN 108628622A
- Authority
- CN
- China
- Prior art keywords
- program
- electric machine
- machine controller
- upgraded
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
- G06F21/445—Program or device authentication by mutual authentication, e.g. between devices or programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2133—Verifying human interaction, e.g., Captcha
Abstract
The present invention discloses a kind of system and its upgrade method of electric machine controller, and the system of electric machine controller includes judgment module, detection module, processing module and upgraded module;Judgment module is for judging whether electric machine controller is in state to be upgraded;Detection module is for whether there is program to be upgraded in detecting electrode controller;Processing module receives the data that judgment module and detection module are sent and is handled, if electric machine controller is in state to be upgraded and has program to be upgraded, numbers and changes to program level;Upgraded module is for carrying out program upgrade operations.The present invention, to electric machine controller whether in state to be upgraded and whether be that program to be upgraded is detected, reliable early-stage preparations is provided for updating operation before program upgrading;The program level number in electric machine controller is changed by processing module, and then controls the upgrading of electric machine controller, ensures stability and reliability in program escalation process, reduces incident problem when upgrading.
Description
Technical field
The invention belongs to electric machine controller fields, are related to a kind of system and its upgrade method of electric machine controller.
Background technology
In electric vehicle, electric machine controller be realize battery powered by direct current and motor alternating current electricity consumption transformation,
The critical component for realizing the driving operation of motor, belongs to the core power component of electric vehicle, it allows for continuing reliable
Operation.
Electric machine controller is the direction to control motor according to setting by the active of integrated circuit, speed, angle,
Response time works so that motor application range is more extensive, the advantages that delivery efficiency higher, noise smaller.
Due to the programming defect of electric machine controller itself or the demand of new function upgrading, control need to be often updated
Application program in device, the upgrade method of electric machine controller is in the chip directly by data line into electric machine controller at present
Program is downloaded, to complete the program upgrading to electric machine controller, above-mentioned traditional program upgrading has the following disadvantages:It need to use special
In the program burn writing to the memory of electric machine controller of door, with the problem that burn writing speed is slow;It need to be on electric machine controller mainboard
Reserved program burn writing mouth, causes complicated production technology, low production efficiency and at problem of high cost is produced, in addition in the process of upgrading
In easily there are many problems, seriously affect the efficiency of upgrading.
Invention content
The purpose of the present invention is to provide a kind of system of electric machine controller and its upgrade methods, solve existing motor control
Device processed has that low upgrading efficiency, low production efficiency and production cost are high during program upgrades.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of system of electric machine controller, including judgment module, detection module, processing module and upgraded module;
Judgment module judges the program level number in electrode controller, and then judges whether electric machine controller is located
In state to be upgraded;
Detection module detects whether that there are journeys to be upgraded for being detected to the software program in electrode controller
Sequence;
Processing module receives the data that judgment module and detection module are sent and is handled, and is waited for if electric machine controller is in
Upgrade status and have program to be upgraded, then change in electric machine controller program level number;
Upgraded module is used to carry out program upgrade operations to electric machine controller to be upgraded.
Further, the judgment module includes number extraction unit, software program library and comparison unit;
Number extraction unit is used to extract the software number information of electric machine controller internal program;
Software program is compiled according to the tandem of software for storing all software programs in software program library
Number;
Comparison unit is used for the software program number in electric machine controller and the program level that stores in software program library
Number is compared, and then judges whether the electric machine controller is in state to be upgraded.
Further, the processing module includes the first generation unit, the second generation unit and processing subelement;
First generation unit generates the first identifying code according to the state to be upgraded that judgment module is sent;
Second generation unit according to detection module send there are the second identifying codes of Program Generating to be upgraded;
Processing subelement is used to receive the verification code information that the first generation unit and the second generation unit generate respectively, if raw
At two verification code informations match, then show electric machine controller can carry out upgrading and upgrade procedure meet upgrading require, change
Program level number in electric machine controller.
Further, the upgraded module includes data dump unit and upgrading subelement;
Data dump unit is used to execute original program in area to the program in electrode controller and be purged;
Upgrading subelement is used to execute program and executes the program in area to upgrade to electrode controller.
A kind of upgrade method of electric machine controller, includes the following steps:
S1, the program level number in electrode controller is judged, and then judges whether to be in state to be upgraded;
If S2, the state to be upgraded that is not at for judging electric machine controller, electric machine controller continue to run with existing application
Program;
Software program in S3, detection electric machine controller, and then judge whether program to be upgraded;
If S4, judging that electric machine controller is in state to be upgraded and electric machine controller that there are programs to be upgraded, to life
At two identifying codes matched, if successful match, enter step S5, if matching is unsuccessful, enter step S2;
S5, the program level number in electric machine controller is changed;
S6, the data in the upgrade procedure in electric machine controller are decoded, obtain the number of decoded upgrade procedure
It is believed that breath;
S7, decoded data information write-in program execute area;
S8, it is purged to executing original program in program area;
S9, remaining in area to be upgraded upgrade to electric machine controller is executed according to program.
Beneficial effects of the present invention:
Whether the electric machine controller in the present invention is in state to be upgraded to electric machine controller and is before program upgrading
No there are programs to be upgraded to be detected, and reliable early-stage preparations are provided for updating operation;And by processing module to motor control
Program level number in device processed changes, and can control the upgrading of electric machine controller, ensures that electric machine controller upgrades in program
Stability in the process and reliability, incident problem when reducing upgrading, while improve electric machine controller production efficiency,
Production cost is reduced into, and greatly improves the efficiency of upgrading.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of schematic diagram of the system of electric machine controller of the present invention;
Fig. 2 is a kind of flow diagram of the upgrade method of electric machine controller of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
It please refers to Fig.1 with shown in 2, the present invention is the system and its upgrade method of a kind of electric machine controller, the motor control
Device system processed includes judgment module 10, detection module 20, processing module 30 and upgraded module 40;
Judgment module 10 judges the program level number in electrode controller, and then whether judges electric machine controller
In state to be upgraded;
Detection module 20 detects whether that there are to be upgraded for being detected to the software program in electrode controller
Program;
The data that processing module 30 sends judgment module 10 and detection module 20 are handled, if electric machine controller is in
State to be upgraded and have program to be upgraded, then change in electric machine controller program level number.
Upgraded module 40 is used to carry out program upgrade operations to electric machine controller to be upgraded.
Judgment module 10 includes number extraction unit 101, software program library 102 and comparison unit 103;Number extraction unit
The 101 software number information for extracting electric machine controller internal program;Software program library 102 is for storing all software journeys
Sequence, and software program is numbered according to the tandem of software;Comparison unit 103 is used for the software in electric machine controller
Program number is compared with the program level number stored in software program library, and then judges whether the electric machine controller is in
State to be upgraded.
Processing module 30 includes the first generation unit 301, the second generation unit 302 and processing subelement 303, and first generates
Unit 301 generates the first identifying code according to the state to be upgraded that judgment module 10 is sent;Second generation unit 302 is according to detection mould
Block 20 send there are the second identifying codes of Program Generating to be upgraded;Processing subelement 303 for receiving the first generation unit respectively
301 and second generation unit 302 generate verification code information, if generate two verification code informations match, show motor control
Device processed can carry out upgrading and upgrade procedure meets upgrading and requires, and change the program level number in electric machine controller.
The processing module further includes automatic decoding unit 304 and input unit 305, and automatic decoding unit 304 is used for will
Data in electrode controller in upgrade procedure are decoded, and obtain the data information of decoded upgrade procedure;Input unit
305, for the data information write-in program of decoded upgrade procedure to be executed area, it is convenient for the program liter of electric machine controller
Grade.
Upgraded module 40 includes data dump unit 401 and upgrading subelement 402, and data dump unit 401 is used for electricity
Original program that program in the controller of pole executes in area is purged;
Upgrading subelement 402 is used to execute program and executes the program in area to upgrade to electrode controller.
A kind of upgrade method of electric machine controller, includes the following steps:
S1, the program level number in electrode controller is judged, and then judges whether to be in state to be upgraded;
If S2, the state to be upgraded that is not at for judging electric machine controller, electric machine controller continue to run with existing application
Program;
Software program in S3, detection electric machine controller, and then judge whether program to be upgraded;
If S4, judging that electric machine controller is in state to be upgraded and electric machine controller that there are programs to be upgraded, to life
At two identifying codes matched, if successful match, enter step S5, if matching is unsuccessful, enter step S2;
S5, the program level number in electric machine controller is changed;
S6, the data in the upgrade procedure in electric machine controller are decoded, obtain the number of decoded upgrade procedure
It is believed that breath;
S7, decoded data information write-in program execute area;
S8, it is purged to executing original program in program area, reduces space;
S9, remaining in area to be upgraded upgrade to electric machine controller is executed according to program.
Whether the electric machine controller in the present invention is in state to be upgraded to electric machine controller and is before program upgrading
No there are programs to be upgraded to be detected, and reliable early-stage preparations are provided for updating operation;And by processing module to motor control
Program level number in device processed changes, and can control the upgrading of electric machine controller, ensures that electric machine controller upgrades in program
Stability in the process and reliability, incident problem when reducing upgrading, while improve electric machine controller production efficiency,
Production cost is reduced into, and greatly improves the efficiency of upgrading.
The above content is just an example and description of the concept of the present invention, affiliated those skilled in the art
It makes various modifications or additions to the described embodiments or substitutes by a similar method, without departing from invention
Design or beyond the scope defined by this claim, be within the scope of protection of the invention.
Claims (5)
1. a kind of system of electric machine controller, it is characterised in that:Including judgment module (10), detection module (20), processing module
(30) and upgraded module (40);
Judgment module (10) judges the program level number in electrode controller, and then judges whether electric machine controller is located
In state to be upgraded;
Detection module (20) detects whether that there are journeys to be upgraded for being detected to the software program in electrode controller
Sequence;
Processing module (30) receives the data that judgment module (10) and detection module (20) are sent and is handled, if motor controls
Device is in state to be upgraded and has program to be upgraded, then changes the program level number in electric machine controller;
Upgraded module (40) is used to carry out program upgrade operations to electric machine controller to be upgraded.
2. a kind of system of electric machine controller according to claim 1, it is characterised in that:The judgment module (10) includes
Number extraction unit (101), software program library (102) and comparison unit (103);
Number extraction unit (101) is used to extract the software number information of electric machine controller internal program;
Software program library (102) carries out software program for storing all software programs, and according to the tandem of software
Number;
Comparison unit (103) is used for the software program number in electric machine controller and the program level that stores in software program library
Number is compared, and then judges whether the electric machine controller is in state to be upgraded.
3. a kind of system of electric machine controller according to claim 1, it is characterised in that:The processing module (30) includes
First generation unit (301), the second generation unit (302) and processing subelement (303);
First generation unit (301) generates the first identifying code according to the state to be upgraded that judgment module (10) is sent;
Second generation unit (302) according to detection module (20) send there are the second identifying codes of Program Generating to be upgraded;
Processing subelement (303) is used to receive the verification that the first generation unit (301) and the second generation unit (302) generate respectively
Code information shows that electric machine controller can carry out upgrading and upgrade procedure meets liter if two verification code informations generated match
Grade requires, and changes the program level number in electric machine controller.
4. a kind of system of electric machine controller according to claim 1, it is characterised in that:The upgraded module (40) includes
Data dump unit (401) and upgrading subelement (402);
Data dump unit (401) is used to execute original program in area to the program in electrode controller and be purged;
Upgrading subelement (402) is used to execute program and executes the program in area to upgrade to electrode controller.
5. a kind of upgrade method of electric machine controller, it is characterised in that:Include the following steps:
S1, the program level number in electrode controller is judged, and then judges whether to be in state to be upgraded;
If S2, the state to be upgraded that is not at for judging electric machine controller, electric machine controller continue to run with existing application program;
Software program in S3, detection electric machine controller, and then judge whether program to be upgraded;
If S4, judging that electric machine controller is in state to be upgraded and electric machine controller that there are programs to be upgraded, to generation
Two identifying codes are matched, if successful match, enter step S5, if matching is unsuccessful, enter step S2;
S5, the program level number in electric machine controller is changed;
S6, the data in the upgrade procedure in electric machine controller are decoded, obtain the data letter of decoded upgrade procedure
Breath;
S7, decoded data information write-in program execute area;
S8, it is purged to executing original program in program area;
S9, remaining in area to be upgraded upgrade to electric machine controller is executed according to program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267398.3A CN108628622A (en) | 2018-03-28 | 2018-03-28 | A kind of system and its upgrade method of electric machine controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267398.3A CN108628622A (en) | 2018-03-28 | 2018-03-28 | A kind of system and its upgrade method of electric machine controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108628622A true CN108628622A (en) | 2018-10-09 |
Family
ID=63696397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810267398.3A Pending CN108628622A (en) | 2018-03-28 | 2018-03-28 | A kind of system and its upgrade method of electric machine controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108628622A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354059A (en) * | 2015-10-29 | 2016-02-24 | 珠海格力电器股份有限公司 | Upgrade method and apparatus for controller of air-conditioner system |
CN105404533A (en) * | 2015-11-09 | 2016-03-16 | 珠海格力电器股份有限公司 | Program upgrading method and apparatus |
CN107436757A (en) * | 2016-05-27 | 2017-12-05 | 上海汽车集团股份有限公司 | ECU software version method of calibration, device and vehicle |
US20170357497A1 (en) * | 2016-06-08 | 2017-12-14 | Mitac Computing Technology Corporation | Method for updating a firmware file of an input/output module |
CN107526615A (en) * | 2017-08-31 | 2017-12-29 | 郑州云海信息技术有限公司 | Stand-alone program upgrade method and device during a kind of service operation |
-
2018
- 2018-03-28 CN CN201810267398.3A patent/CN108628622A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354059A (en) * | 2015-10-29 | 2016-02-24 | 珠海格力电器股份有限公司 | Upgrade method and apparatus for controller of air-conditioner system |
CN105404533A (en) * | 2015-11-09 | 2016-03-16 | 珠海格力电器股份有限公司 | Program upgrading method and apparatus |
CN107436757A (en) * | 2016-05-27 | 2017-12-05 | 上海汽车集团股份有限公司 | ECU software version method of calibration, device and vehicle |
US20170357497A1 (en) * | 2016-06-08 | 2017-12-14 | Mitac Computing Technology Corporation | Method for updating a firmware file of an input/output module |
CN107526615A (en) * | 2017-08-31 | 2017-12-29 | 郑州云海信息技术有限公司 | Stand-alone program upgrade method and device during a kind of service operation |
Non-Patent Citations (1)
Title |
---|
余楚礼 等: "基于GB/T32960的车联网终端固件自更新系统设计", 《汽车工程师》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102135927B (en) | Method and device for system booting based on NAND FLASH | |
CN105760200A (en) | Terminal device and system updating method thereof | |
CN109358887A (en) | A kind of the online upgrading method, apparatus and system of SCM program | |
CN106775778B (en) | Program updating identification method and system in embedded program development | |
CN106406962A (en) | Wind power generation controller failed remote upgrade recovery method based on ARM | |
CN108170211B (en) | Camera power-on driving method and electronic terminal | |
CN108628622A (en) | A kind of system and its upgrade method of electric machine controller | |
CN109472589A (en) | A kind of payment code transfers method, apparatus, terminal and storage medium | |
CN114138295A (en) | Method, device and system for upgrading application program firmware of electronic equipment | |
CN108932134A (en) | Server B IOS method for remote updating | |
CN110058865A (en) | A kind of program burn writing and operation method of single-chip microcontroller | |
CN112579141A (en) | Firmware updating method, device, equipment and storage medium of embedded system | |
CN102890661A (en) | Host-slave communication protocol | |
CN116560688A (en) | Software updating method for domain controller | |
EP2367108A2 (en) | Portable electronic device, communication device, and command processing method | |
CN116610340A (en) | Update method and device of vehicle software, vehicle and storage medium | |
CN104750505A (en) | Single chip microcomputer online upgrade method and system | |
CN100371917C (en) | Installation method of driving program built in hardware device | |
CN106274551A (en) | Electric machine controller firmware upgrade system, method and electric machine controller | |
CN102681910B (en) | Recognition method, computer and recognition system | |
CN102567159B (en) | Memory detecting method | |
US8788730B2 (en) | Method for sending a keycode of a non-keyboard apparatus | |
CN105955667B (en) | A kind of bottom layer driving and NandFlash recognition methods | |
CN109828287A (en) | A kind of navigation positional device, firmware maintenance method and computer readable storage medium | |
CN111061515B (en) | User equipment starting control method and user equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |