CN109614366A - The configurable method and device of kinetic control system - Google Patents
The configurable method and device of kinetic control system Download PDFInfo
- Publication number
- CN109614366A CN109614366A CN201811374626.3A CN201811374626A CN109614366A CN 109614366 A CN109614366 A CN 109614366A CN 201811374626 A CN201811374626 A CN 201811374626A CN 109614366 A CN109614366 A CN 109614366A
- Authority
- CN
- China
- Prior art keywords
- file
- subregion
- binary
- binary file
- control system
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
- G06F15/781—On-chip cache; Off-chip memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7867—Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
- G06F15/7871—Reconfiguration support, e.g. configuration loading, configuration switching, or hardware OS
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of configurable method and devices of kinetic control system, which comprises by acquiring compiled multiple binary files;By multiple binary files storage to corresponding subregion;Multiple subregions are matched one by one with integrated circuit, each integrated circuit is made to read the image file of binary file in corresponding binary file subregion.Compared with prior art, present invention employs multiple binary files are respectively stored into multiple subregions, and subregion is subjected to matched method with multiple integrated circuits respectively, to eliminate the configuration chip of integrated circuit, it overcomes and needs the problem of carrying out program write-in by flashburn tools in the prior art, and then improve the production efficiency of integrated kinetic control system.In addition to this, by updating bootstrap, to realize the upgrading of entire integrated kinetic control system, and work as a certain subregion when something goes wrong, can also be replied from backup file, so that integrated kinetic control system is more convenient easy-to-use.
Description
Technical field
This application involves electronic communication technology field more particularly to the configurable methods and dress of a kind of kinetic control system
It sets.
Background technique
It is completed inside integrated kinetic control system by two embedded hardwares, one by for the embedded of motion control
ARM and FPGA constructs, one by for servo-drive DSP embedded and CPLD construct.It is above-mentioned embedded in order to configure
The firmware of system generallys use a variety of special emulation of configuration or flashburn tools carries out program write-in in the prior art, thus
Realize the firmware configuration of integrated kinetic control system.
Due to needing numerous flashburn tools, so that being needed during producing integrated kinetic control system corresponding product
Increase more production procedures, increases production cost.
Summary of the invention
The embodiment of the present application technical problem to be solved is how to improve the production effect of integrated kinetic control system
Rate.
To solve the above problems, the embodiment of the present application provides a kind of configurable method of kinetic control system, it is suitable for collection
At kinetic control system, following steps are included at least:
Acquire compiled multiple binary files;
According to the file information of the multiple binary file, by the multiple binary file be respectively stored into it is described
Multiple binary files multiple binary file subregions correspondingly;
According to the file information of the binary file of each binary file partitioned storage, by the multiple binary system
Partitions of file is matched one by one with multiple integrated circuits, so that each integrated circuit reads corresponding binary file point
The image file of binary file in area;Wherein, the multiple integrated circuit includes FPGA, DSP embedded and CPLD.
Further, further includes:
Micro-processor kernel file and microprocessor file system are acquired, and the micro-processor kernel file storage is arrived
First kernel subregion, and the microprocessor file system is stored to the first file partition, it is the multiple to acquire
Binary file gets out acquisition environment.
Further, further includes:
The micro-processor kernel file is backed up, is stored to the second kernel subregion, and the microprocessor is literary
Part system is backed up, storage to the second file partition.
Further, further includes:
According to the more new information of the first bootstrap in preset bootstrap subregion, first bootstrap is updated
After the second bootstrap, by first bootstrap storage into file backup subregion;Wherein, the bootstrap subregion
The micro-processor kernel file and microprocessor file system operation are guided for the bootstrap by storage.
Further, the multiple binary system more than one piece include FPGA binary file, DSP binary file and CPLD bis- into
File processed.
Further, the file information of the binary file according to each binary file partitioned storage, will
The multiple binary file subregion is matched one by one with multiple integrated circuits, so that each integrated circuit reads and corresponds to
Binary file subregion in binary file image file, specifically:
The binary file subregion for storing the FPGA binary file is matched with the FPGA, so that described
FPGA reads the image file of the FPGA binary file by File Transfer Protocol;
The binary file subregion for storing the DSP binary file is matched with the DSP embedded, so that institute
State the image file that DSP embedded reads the DSP binary file by JTAG protocol;
The binary file subregion for storing the CPLD binary file is matched with the CPLD, so that described
CPLD reads the image file of the CPLD binary file.
Further, further includes:
Acquire multiple real-time information files that the DSP embedded generates in the process of running;
The multiple real-time information file is backed up, obtains backup information file, and by the multiple real time information
File is stored to DSP real time information partition holding, and backup information file storage is divided to the storage of DSP backup information
Area;Wherein, the multiple real-time information file is used to configure the parameter of electric machine of the integrated kinetic control system, electronic gear
Than.
Further, a kind of configurable device of kinetic control system is also provided, comprising:
Binary file acquisition module, for acquiring compiled multiple binary files;
Binary file memory module, for the file information according to the multiple binary file, by the multiple two
Binary file is respectively stored into and the multiple binary file multiple binary file subregions correspondingly;
Binary file read module, for the text according to the binary file of each binary file partitioned storage
Part information matches the multiple binary file subregion with multiple integrated circuits one by one, so that each integrated electricity
Read the image file of binary file in corresponding binary file subregion in road;Wherein, the multiple integrated circuit includes
FPGA, DSP embedded and CPLD.
Further, further includes:
Environmental preparation module is acquired, for acquiring micro-processor kernel file and microprocessor file system, and will be described
Micro-processor kernel file is stored to the first kernel subregion, and the microprocessor file system is stored to the first file system
System subregion gets out acquisition environment to acquire the multiple binary file.
Further, further includes:
Bootstrap update module will be described for the more new information according to the first bootstrap of bootstrap subregion
After first bootstrap is updated to the second bootstrap, by first bootstrap storage into file backup subregion;Wherein,
The bootstrap subregion is used to guide the micro-processor kernel file and the microprocessor by the bootstrap of storage
File system operation.
The embodiment of above-mentioned technical proposal, has the following beneficial effects:
The embodiment of above-mentioned technical proposal provides a kind of configurable method and device of kinetic control system, the method
It include: by acquiring compiled multiple binary files;By multiple binary files storage to corresponding subregion;By multiple points
Area is matched one by one with integrated circuit, and each integrated circuit is made to read binary file in corresponding binary file subregion
Image file.Compared with prior art, present invention employs multiple binary files are respectively stored into multiple subregions, and will point
Area carries out matched method with multiple integrated circuits respectively and overcomes existing skill to eliminate the configuration chip of integrated circuit
The problem of carrying out program write-in by flashburn tools is needed in art, and then improves the production efficiency of integrated kinetic control system.
Detailed description of the invention
Fig. 1 is the flow diagram of the configurable method for the kinetic control system that one embodiment of the application provides;
Fig. 2 is the flow diagram of the configurable method for the kinetic control system that another embodiment of the application provides;
Fig. 3 is partitioned storage schematic diagram provided by the present application;
Fig. 4 is the structural schematic diagram of the configurable device for the kinetic control system that one embodiment of the application provides;
Fig. 5 is the structural schematic diagram of the configurable device for the kinetic control system that another embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Referring to Figure 1 with 3.
It is the process signal of the configurable method of the kinetic control system of one embodiment offer of the application referring to Fig. 1
Figure, as shown in Figure 1, the configuration method includes step S11 to step S13.Each step is specific as follows:
Step S11 acquires compiled multiple binary files.
Step S12, according to the file information of multiple binary files, by multiple binary files be respectively stored into it is multiple
Binary file multiple binary file subregions correspondingly.
Step S13, according to the file information of the binary file of each binary file partitioned storage, by multiple binary systems
Partitions of file is matched one by one with multiple integrated circuits, so that each integrated circuit is read in corresponding binary file subregion
The image file of binary file.
Wherein, multiple integrated circuits include FPGA, DSP embedded and CPLD.
For step S11, in the present embodiment, multiple binary files of acquisition be FPGA binary file, DSP bis- into
File and CPLD file processed.
For step S12, specifically, being backed up to multiple binary files, and according to the text of multiple binary files
Multiple binary files are respectively stored into and multiple binary files multiple binary files point correspondingly by part information
Area, and multiple binary files after backup are respectively stored into multiple binary file backup subregions.
It should be noted that the binary file after binary system backup partitioned storage one backup.
In the present embodiment, as shown in figure 3, subregion 7 to subregion 10 and subregion 13 and subregion 14 is binary file point
Area.FPGA binary file, DSP binary file and CPLD file are backed up, and according to FPGA binary file, DSP
The file information of binary file and CPLD file, by the binary file after FPGA binary file and its backup, respectively
It stores in subregion 7 and subregion 8;By the binary file after DSP binary file and its backup, it is respectively stored into subregion 9
In subregion 10;The binary file after CPLD file and its backup is respectively stored into subregion 13 and subregion 14.When depositing
It, can be by storing its backup file when the subregion of storage FPGA binary file, DSP binary file or CPLD file damages
Subregion carry out file reading.
For step S13, specifically, the binary file subregion and the FPGA progress that FPGA binary file will be stored
Match, so that FPGA reads the image file of FPGA binary file by File Transfer Protocol;DSP binary file will be stored
Binary file subregion is matched with DSP embedded, so that DSP embedded reads DSP binary file by JTAG protocol
Image file;The binary file subregion for storing CPLD binary file is matched with CPLD, so that CPLD is read
The image file of CPLD binary file.
In the present embodiment, subregion 7 shown in Fig. 3 is matched with FPGA, is made in entire integrated kinetic control system
After powering on, FPGA by other agreements that JIAG, AS be actively serial or FPGA is supported, read FPGA bis- that subregion 7 stores into
The image file of file processed is run into its internal RAM, to save the configuration chip of FPGA.
In the present embodiment, subregion 9 shown in Fig. 3 is matched with DSP embedded, makes entirely to integrate motion control system
After system powers on, DSP embedded passes through a bit of bootstrap and JIAG agreement of its internal preset, reads what subregion 9 stored
The image file of DPS binary file is run into its internal RAM, to save the storage chip of embedded DPS extension.
In the present embodiment, subregion 13 shown in Fig. 3 is matched with CPLD, makes entirely to integrate on kinetic control system
After electricity, CPLD by directly read subregion 13 storage CPLD binary file image file, or by read subregion 13 send out
It is sent to the image file of the CPLD binary file of DSP embedded, CPLD binary file is transported in the RAM inside CPLD
Row, to save the configuration chip of CPLD.
It in the present embodiment, further include multiple real-time information files that acquisition DSP embedded generates in the process of running.
Multiple real-time information files are backed up, obtain backup information file, and the storage of multiple real-time information files is real-time to DSP
Information partition holding, and backup information file is stored to DSP backup information partition holding.Multiple real-time information files are used for
Configure the parameter of electric machine of integrated kinetic control system, electronic gear proportion etc..
In the present embodiment, multiple real-time information files include number file, configuration file, alert files and other texts
Part.Due to needing the above-mentioned file configuration parameter of electric machine and electronic gear proportion etc. in integrated kinetic control system operational process,
And these files are all to need to power off the file saved therefore above-mentioned file and its backup file are respectively stored into shown in Fig. 3
Subregion 11 and subregion 12 in, reading when being powered in order to next time.
Embodiment in above-mentioned technical proposal provides a kind of configurable method of kinetic control system, compiled by acquiring
Multiple binary files;By multiple binary files storage to corresponding subregion;By multiple subregions and integrated circuit one by one into
Row matching, makes each integrated circuit read the image file of binary file in corresponding binary file subregion.With existing skill
Art is compared, present invention employs multiple binary files are respectively stored into multiple subregions, and by subregion respectively with it is multiple integrated
Circuit carries out matched method and overcomes to eliminate the configuration chip of integrated circuit and need to pass through programming in the prior art
Tool carries out the problem of program write-in, and then improves the production efficiency of integrated kinetic control system.
Refer to Fig. 2 and 3.
It referring to fig. 2, is that the process of configurable method of kinetic control system that provides of another embodiment of the application is shown
It is intended to.In addition to the step shown in Fig. 1, further includes:
S08 updates the first bootstrap according to the more new information of the first bootstrap in preset bootstrap subregion
After the second bootstrap, by the storage of the first bootstrap into file backup subregion.
Wherein, bootstrap subregion is used to guide micro-processor kernel file and microprocessor by the bootstrap of storage
File system operation.
S09 acquires micro-processor kernel file and microprocessor file system, and micro-processor kernel file storage is arrived
First kernel subregion, and by microprocessor file system storage to the first file partition, to acquire multiple binary system texts
Part gets out acquisition environment.
S10 backs up micro-processor kernel file, stores to the second kernel subregion, and by microprocessor file system
System is backed up, storage to the second file partition.
For step S08, in the present embodiment, as shown in figure 3, preset bootstrap subregion is subregion 1, file backup
Subregion is subregion 2.Subregion 1 obtains the more new information of the first bootstrap by USB or network, updates the first bootstrap,
To obtain the second bootstrap, while the first bootstrap being backuped in subregion 2, for the second bootstrap in subregion 1
It replys and uses when damage, and can download and update ARM kernel file and ARM file system into corresponding subregion.
For step S09, in the present embodiment, as shown in figure 3, the first kernel subregion is subregion 3, the first file system point
Area is subregion 5.
For step S10, in the present embodiment, as shown in figure 3, the second kernel subregion is subregion 4, the second file system point
Area is subregion 6.When detecting that subregion 3 damages, the backup file for calling subregion 4 to store is adjusted when detecting that subregion 5 damages
The backup file stored with subregion 6, to guarantee the acquisition environment of binary file.
Embodiment in above-mentioned technical proposal provides a kind of configurable method of kinetic control system, compiled by acquiring
Multiple binary files;By multiple binary files storage to corresponding subregion;By multiple subregions and integrated circuit one by one into
Row matching, makes each integrated circuit read the image file of binary file in corresponding binary file subregion.With existing skill
Art is compared, present invention employs multiple binary files are respectively stored into multiple subregions, and by subregion respectively with it is multiple integrated
Circuit carries out matched method and overcomes to eliminate the configuration chip of integrated circuit and need to pass through programming in the prior art
Tool carries out the problem of program write-in, and then improves the production efficiency of integrated kinetic control system.
In addition to this, by updating bootstrap, to realize the upgrading of entire integrated kinetic control system, and when a certain
Subregion when something goes wrong, can also be replied from backup file, so that integrated kinetic control system is more convenient easy-to-use.
Please refer to Fig. 3 and 4.
Referring to fig. 4, be the application one embodiment provide a kind of kinetic control system configurable device structure
Schematic diagram, comprising:
Binary file acquisition module 101, for acquiring compiled multiple binary files.
In the present embodiment, multiple binary files of acquisition are FPGA binary file, DSP binary file and CPLD
File.
Binary file memory module 102, for the file information according to multiple binary files, by multiple binary system texts
Part is respectively stored into and multiple binary files multiple binary file subregions correspondingly.
In the present embodiment, binary file memory module 102 is specifically used for, and backs up to multiple binary files,
And according to the file information of multiple binary files, multiple binary files are respectively stored into multiple binary files one by one
Corresponding multiple binary file subregions, and multiple binary files after backup are respectively stored into multiple binary files
Backup subregion.
It should be noted that the binary file after binary system backup partitioned storage one backup.
In the present embodiment, as shown in figure 3, subregion 7 to subregion 10 and subregion 13 and subregion 14 is binary file point
Area.Binary file memory module 102 is used for, and is carried out to FPGA binary file, DSP binary file and CPLD file standby
Part, and according to FPGA binary file, the file information of DSP binary file and CPLD file, by FPGA binary file with
And its binary file after backup, it is respectively stored into subregion 7 and subregion 8;After DSP binary file and its backup
Binary file is respectively stored into subregion 9 and subregion 10;By the binary file after CPLD file and its backup, respectively
It stores in subregion 13 and subregion 14.When the subregion of storage FPGA binary file, DSP binary file or CPLD file occurs
When damage, file reading can be carried out by storing the subregion of its backup file.
Binary file read module 103, for the text according to the binary file of each binary file partitioned storage
Part information matches multiple binary file subregions with multiple integrated circuits one by one, so that the reading pair of each integrated circuit
The image file of binary file in the binary file subregion answered.
Wherein, multiple integrated circuits include FPGA, DSP embedded and CPLD.
In the present embodiment, binary file read module 103 is specifically used for, by store FPGA binary file two into
Partitions of file processed is matched with FPGA, so that FPGA reads the image text of FPGA binary file by File Transfer Protocol
Part;The binary file subregion for storing DSP binary file is matched with DSP embedded, so that DSP embedded passes through
The image file of JTAG protocol reading DSP binary file;By store CPLD binary file binary file subregion with
CPLD is matched, so that CPLD reads the image file of CPLD binary file.
In the present embodiment, binary file read module 103 is used for, by subregion 7 and FPGA progress shown in Fig. 3
Match, make after entire integrated kinetic control system powers on, FPGA passes through JIAG, AS other associations that actively serial or FPGA is supported
View, the image file for reading the FPGA binary file that subregion 7 stores is run into its internal RAM, to save FPGA's
Configure chip.
In the present embodiment, binary file read module 103 is also used to, by subregion 9 shown in Fig. 3 and DSP embedded
It is matched, is made entirely to integrate after kinetic control system powers on, DSP embedded passes through a bit of bootstrap of its internal preset
And JIAG agreement, the image file for reading the DPS binary file that subregion 9 stores is run into its internal RAM, to save
The storage chip of De- embedding formula DPS extension.
In the present embodiment, binary file read module 103 is also used to, and subregion 13 and CPLD shown in Fig. 3 is carried out
Matching makes entirely to integrate after kinetic control system powers on, the CPLD binary file that CPLD is stored by directly reading subregion 13
Image file, or by read subregion 13 be sent to DSP embedded CPLD binary file image file, by CPLD bis-
Binary file is run in the RAM inside CPLD, to save the configuration chip of CPLD.
In the present embodiment.Binary file read module 103 is also used to, and acquisition DSP embedded produces in the process of running
Raw multiple real-time information files.Multiple real-time information files are backed up, obtain backup information file, and will be multiple real-time
Message file is stored to DSP real time information partition holding, and the storage of backup information file is divided to the storage of DSP backup information
Area.Multiple real-time information files are used to configure the parameter of electric machine of integrated kinetic control system, electronic gear proportion etc..
In the present embodiment, multiple real-time information files include number file, configuration file, alert files and other texts
Part.Due to needing the above-mentioned file configuration parameter of electric machine and electronic gear proportion etc. in integrated kinetic control system operational process,
And these files are all to need to power off the file saved therefore above-mentioned file and its backup file are respectively stored into shown in Fig. 3
Subregion 11 and subregion 12 in, reading when being powered in order to next time.
Embodiment in above-mentioned technical proposal provides a kind of configurable method and device of kinetic control system, the method
It include: by acquiring compiled multiple binary files;By multiple binary files storage to corresponding subregion;By multiple points
Area is matched one by one with integrated circuit, and each integrated circuit is made to read binary file in corresponding binary file subregion
Image file.Compared with prior art, present invention employs multiple binary files are respectively stored into multiple subregions, and will point
Area carries out matched method with multiple integrated circuits respectively and overcomes existing skill to eliminate the configuration chip of integrated circuit
The problem of carrying out program write-in by flashburn tools is needed in art, and then improves the production efficiency of integrated kinetic control system.
Please refer to Fig. 3 and 5.
It is that the structure of the configurable method of the kinetic control system of another embodiment offer of the application is shown referring to Fig. 5
It is intended to.In addition to the step shown in Fig. 4, further includes:
Bootstrap update module 099, for being believed according to the update of the first bootstrap in preset bootstrap subregion
Breath, after the first bootstrap is updated to the second bootstrap, by the storage of the first bootstrap into file backup subregion.
Wherein, bootstrap subregion is used to guide micro-processor kernel file and microprocessor by the bootstrap of storage
File system operation.
In the present embodiment, as shown in figure 3, preset bootstrap subregion is subregion 1, file backup subregion is subregion 2.
Subregion 1 obtains the more new information of the first bootstrap by USB or network, updates the first bootstrap, to obtain second
Bootstrap, while the first bootstrap being backuped in subregion 2, replying when damaging for the second bootstrap in subregion 1 makes
With, and can download and update ARM kernel file and ARM file system into corresponding subregion.
Environmental preparation module 100 is acquired, for acquiring micro-processor kernel file and microprocessor file system, and will be micro-
Processor cores file is stored to the first kernel subregion, and the storage of microprocessor file system is divided to the first file system
Area gets out acquisition environment to acquire multiple binary files.
In the present embodiment, as shown in figure 3, the first kernel subregion is subregion 3, the first file partition is subregion 5.
In the present embodiment, acquisition environmental preparation module 100 is also used to, and micro-processor kernel file is backed up, is deposited
It stores up to the second kernel subregion, and microprocessor file system is backed up, storage to the second file partition.
In the present embodiment, as shown in figure 3, the second kernel subregion is subregion 4, the second file partition is subregion 6.It adopts
Collection environmental preparation module 100 is used for when detecting that subregion 3 damages, the backup file for calling subregion 4 to store, when detecting subregion
When 5 damage, the backup file for calling subregion 6 to store, to guarantee the acquisition environment of binary file.
Embodiment in above-mentioned technical proposal provides a kind of configurable method and device of kinetic control system, the method
It include: by acquiring compiled multiple binary files;By multiple binary files storage to corresponding subregion;By multiple points
Area is matched one by one with integrated circuit, and each integrated circuit is made to read binary file in corresponding binary file subregion
Image file.Compared with prior art, present invention employs multiple binary files are respectively stored into multiple subregions, and will point
Area carries out matched method with multiple integrated circuits respectively and overcomes existing skill to eliminate the configuration chip of integrated circuit
The problem of carrying out program write-in by flashburn tools is needed in art, and then improves the production efficiency of integrated kinetic control system.
In addition to this, by updating bootstrap, to realize the upgrading of entire integrated kinetic control system, and when a certain
Subregion when something goes wrong, can also be replied from backup file, so that integrated kinetic control system is more convenient easy-to-use.
Another embodiment in above-mentioned technical proposal additionally provides a kind of configurable terminal device of kinetic control system, packet
It includes processor, memory and storage in the memory and is configured as the computer program executed by the processor,
The processor realizes the configurable method of the kinetic control system as described in above-described embodiment when executing the computer program.
The above is the preferred embodiment of the application, it is noted that for those skilled in the art
For, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also considered as
The protection scope of the application.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Claims (10)
1. a kind of configurable method of kinetic control system is suitable for integrated kinetic control system, which is characterized in that include at least
Following steps:
Acquire compiled multiple binary files;
According to the file information of the multiple binary file, by the multiple binary file be respectively stored into it is the multiple
Binary file multiple binary file subregions correspondingly;
According to the file information of the binary file of each binary file partitioned storage, by the multiple binary file
Subregion is matched one by one with multiple integrated circuits, so that each integrated circuit is read in corresponding binary file subregion
The image file of binary file;Wherein, the multiple integrated circuit includes FPGA, DSP embedded and CPLD.
2. the configurable method of kinetic control system according to claim 1, which is characterized in that further include:
Micro-processor kernel file and microprocessor file system are acquired, and the micro-processor kernel file is stored to first
Kernel subregion, and by microprocessor file system storage to the first file partition, for acquisition the multiple two into
File processed gets out acquisition environment.
3. the configurable method of kinetic control system according to claim 2, which is characterized in that further include:
The micro-processor kernel file is backed up, is stored to the second kernel subregion, and by microprocessor file system
System is backed up, storage to the second file partition.
4. the configurable method of kinetic control system according to claim 2, which is characterized in that further include:
According to the more new information of the first bootstrap in preset bootstrap subregion, first bootstrap is updated to
After two bootstrap, by first bootstrap storage into file backup subregion;Wherein, the bootstrap subregion is used for
The micro-processor kernel file and microprocessor file system operation are guided by the bootstrap of storage.
5. the configurable method of kinetic control system described in any one according to claim 1~4, which is characterized in that described
Multiple binary system more than one piece include FPGA binary file, DSP binary file and CPLD binary file.
6. the configurable method of kinetic control system according to claim 5, which is characterized in that described according to each described
The file information of the binary file of binary file partitioned storage, by the multiple binary file subregion and multiple integrated electricity
Road is matched one by one, so that each integrated circuit reads the image of binary file in corresponding binary file subregion
File, specifically:
The binary file subregion for storing the FPGA binary file is matched with the FPGA, so that the FPGA is logical
Cross the image file that File Transfer Protocol reads the FPGA binary file;
The binary file subregion for storing the DSP binary file is matched with the DSP embedded, so that described embedding
Enter the image file that formula DSP reads the DSP binary file by JTAG protocol;
The binary file subregion for storing the CPLD binary file is matched with the CPLD, so that the CPLD is read
Take the image file of the CPLD binary file.
7. the configurable method of kinetic control system according to claim 1, which is characterized in that further include:
Acquire multiple real-time information files that the DSP embedded generates in the process of running;
The multiple real-time information file is backed up, obtains backup information file, and by the multiple real-time information file
DSP real time information partition holding is stored, and the backup information file is stored to DSP backup information partition holding;Its
In, the multiple real-time information file is used to configure the parameter of electric machine of the integrated kinetic control system, electronic gear proportion.
8. a kind of configurable device of kinetic control system is suitable for integrated kinetic control system characterized by comprising
Binary file acquisition module, for acquiring compiled multiple binary files;
Binary file memory module, for the file information according to the multiple binary file, by the multiple binary system
File is respectively stored into and the multiple binary file multiple binary file subregions correspondingly;
Binary file read module, the file for the binary file according to each binary file partitioned storage are believed
Breath, the multiple binary file subregion is matched one by one with multiple integrated circuits, so that each integrated circuit is read
Take the image file of binary file in corresponding binary file subregion;Wherein, the multiple integrated circuit include FPGA, it is embedding
Enter formula DSP and CPLD.
9. the configurable device of kinetic control system according to claim 8, which is characterized in that further include:
Environmental preparation module is acquired, for acquiring micro-processor kernel file and microprocessor file system, and by micro- place
The storage of device kernel file is managed to the first kernel subregion, and microprocessor file system storage is divided to the first file system
Area gets out acquisition environment to acquire the multiple binary file.
10. the configurable device of kinetic control system according to claim 9, which is characterized in that further include:
Bootstrap update module, for the more new information according to the first bootstrap of bootstrap subregion, by described first
After bootstrap is updated to the second bootstrap, by first bootstrap storage into file backup subregion;Wherein, described
Bootstrap subregion is used to guide the micro-processor kernel file and the microprocessor file by the bootstrap of storage
System operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374626.3A CN109614366B (en) | 2018-11-15 | 2018-11-15 | Configurable method and device of motion control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374626.3A CN109614366B (en) | 2018-11-15 | 2018-11-15 | Configurable method and device of motion control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614366A true CN109614366A (en) | 2019-04-12 |
CN109614366B CN109614366B (en) | 2023-06-06 |
Family
ID=66003486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811374626.3A Active CN109614366B (en) | 2018-11-15 | 2018-11-15 | Configurable method and device of motion control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614366B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725177A (en) * | 2004-07-21 | 2006-01-25 | 中国科学院软件研究所 | Built-in equipment integrated development system and using method thereof |
CN101826026A (en) * | 2010-04-12 | 2010-09-08 | 中兴通讯股份有限公司 | Embedded equipment and on-line updating system and method of firmware in embedded equipment |
CN101957769A (en) * | 2010-09-27 | 2011-01-26 | 浙江大学 | MID (Mobile Internet Device) multiple operating system parallelizing method |
US20120150815A1 (en) * | 2010-12-09 | 2012-06-14 | Ibm Corporation | Efficient backup and restore of virtual input/output server (vios) cluster |
CN103593216A (en) * | 2013-11-12 | 2014-02-19 | 上海斐讯数据通信技术有限公司 | Method for making system files of ubi format into factory burn image files |
CN103777985A (en) * | 2014-01-26 | 2014-05-07 | 宝龙计算机系统(湖南)有限公司 | Method and device for installing several multiple operating systems on one partition of storage medium |
CN103970557A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Storage device and system starting method thereof |
US20150135147A1 (en) * | 2013-11-08 | 2015-05-14 | Synopsys, Inc. | Generating a Circuit Description for a Multi-die Field-programmable Gate Array |
CN104765697A (en) * | 2015-03-10 | 2015-07-08 | 安科智慧城市技术(中国)有限公司 | Embedded device interaction method and system |
CN104794393A (en) * | 2015-04-24 | 2015-07-22 | 杭州字节信息技术有限公司 | Embedded type partition image security certification and kernel trusted boot method and equipment thereof |
CN105590072A (en) * | 2015-12-18 | 2016-05-18 | 上海华测导航技术股份有限公司 | Method for achieving automatic burning of embedded system |
CN105630546A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN106547574A (en) * | 2016-12-08 | 2017-03-29 | 航天恒星科技有限公司 | The outside download system and method for a kind of DSP programs and FPGA programs |
US9672047B1 (en) * | 2014-10-31 | 2017-06-06 | American Megatrends, Inc. | Systems and methods for accessing a bootable partition on a serial peripheral interface device |
CN107273170A (en) * | 2017-07-03 | 2017-10-20 | 西南交通大学 | A kind of SoPC programs remote update system and method |
CN107634870A (en) * | 2016-07-18 | 2018-01-26 | 珠海格力电器股份有限公司 | Method and device for realizing IP verification |
-
2018
- 2018-11-15 CN CN201811374626.3A patent/CN109614366B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725177A (en) * | 2004-07-21 | 2006-01-25 | 中国科学院软件研究所 | Built-in equipment integrated development system and using method thereof |
CN101826026A (en) * | 2010-04-12 | 2010-09-08 | 中兴通讯股份有限公司 | Embedded equipment and on-line updating system and method of firmware in embedded equipment |
CN101957769A (en) * | 2010-09-27 | 2011-01-26 | 浙江大学 | MID (Mobile Internet Device) multiple operating system parallelizing method |
US20120150815A1 (en) * | 2010-12-09 | 2012-06-14 | Ibm Corporation | Efficient backup and restore of virtual input/output server (vios) cluster |
CN103970557A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Storage device and system starting method thereof |
US20150135147A1 (en) * | 2013-11-08 | 2015-05-14 | Synopsys, Inc. | Generating a Circuit Description for a Multi-die Field-programmable Gate Array |
CN103593216A (en) * | 2013-11-12 | 2014-02-19 | 上海斐讯数据通信技术有限公司 | Method for making system files of ubi format into factory burn image files |
CN103777985A (en) * | 2014-01-26 | 2014-05-07 | 宝龙计算机系统(湖南)有限公司 | Method and device for installing several multiple operating systems on one partition of storage medium |
US9672047B1 (en) * | 2014-10-31 | 2017-06-06 | American Megatrends, Inc. | Systems and methods for accessing a bootable partition on a serial peripheral interface device |
CN104765697A (en) * | 2015-03-10 | 2015-07-08 | 安科智慧城市技术(中国)有限公司 | Embedded device interaction method and system |
CN104794393A (en) * | 2015-04-24 | 2015-07-22 | 杭州字节信息技术有限公司 | Embedded type partition image security certification and kernel trusted boot method and equipment thereof |
CN105590072A (en) * | 2015-12-18 | 2016-05-18 | 上海华测导航技术股份有限公司 | Method for achieving automatic burning of embedded system |
CN105630546A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN107634870A (en) * | 2016-07-18 | 2018-01-26 | 珠海格力电器股份有限公司 | Method and device for realizing IP verification |
CN106547574A (en) * | 2016-12-08 | 2017-03-29 | 航天恒星科技有限公司 | The outside download system and method for a kind of DSP programs and FPGA programs |
CN107273170A (en) * | 2017-07-03 | 2017-10-20 | 西南交通大学 | A kind of SoPC programs remote update system and method |
Non-Patent Citations (5)
Title |
---|
MURAT BOLAT等: "Source Code Partitioning in Program Optimization", 2011 IEEE 17TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS * |
姜韬;倪振涛;白立锋;: "利用CPLD实现多片FPGA的配置", 无线电工程 * |
杨跃;田联房;王孝洪;: "基于ARM与Linux的排爆机器人控制系统设计", 电子测量技术 * |
罗正华;唐帅;: "基于Uboot的嵌入式系统远程更新设计", 成都大学学报(自然科学版) * |
陈昱;刘中金;赵威威;马原;石志强;孙利民;: "一种大规模的跨平台同源二进制文件检索方法", 计算机研究与发展 * |
Also Published As
Publication number | Publication date |
---|---|
CN109614366B (en) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107315620B (en) | Intelligent remote upgrading method for collector in electric power centralized meter reading system | |
CN102202087B (en) | Method for identifying storage equipment and system thereof | |
CN105553684B (en) | A kind of communication system and its router upgrade method of application | |
US10469620B2 (en) | Method for transferring a new software version to at least one electricity meter via a communication network | |
CN105322660B (en) | The long-range control method and device of distribution communication apparatus | |
CN109358873A (en) | A kind of application program update method, storage medium and terminal device | |
CN104270434A (en) | Service state monitoring system based on cloud service | |
CN105589825A (en) | Method for quickly querying state of electronic detonator in master-slave type serial communication network | |
CN109254839A (en) | It determines the method in task triggered time, construct the method and system of task timer | |
CN104618136A (en) | Configuration management method and device for blade server | |
CN104536926B (en) | The control method and device of serial equipment | |
CN107205059A (en) | Manage method, acquisition terminal and the meter equipment of meter device address | |
CN107394859A (en) | The charger and Related product that can dynamically charge | |
CN105224057A (en) | The Dynamic Configuration of a kind of battery of mobile terminal ID and system | |
CN113727429A (en) | Cross-network-group clock synchronization method and device, storage medium and terminal | |
CN109614366A (en) | The configurable method and device of kinetic control system | |
CN105450453A (en) | Network topology construction method based on SNMP | |
CN102932208A (en) | Site monitoring method and device | |
CN109286527A (en) | The method and network management system of associated exchange logic and pictorial diagram port | |
CN104618335A (en) | Message exchange method and interface processing platform | |
CN104168145A (en) | System and method for conducting wireless updating on wireless communication units | |
CN116541047A (en) | Firmware upgrading method, device, computer equipment and computer readable storage medium | |
CN105357579B (en) | A kind of set-top box online upgrading method, relevant apparatus and set-top box | |
CN103354505A (en) | Method for batch upgrading of electronic device cluster software | |
CN114285692B (en) | Communication control system, identity determination method, distribution method and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |