CN109194234A - Intelligent motor control system and control method based on FPGA - Google Patents
Intelligent motor control system and control method based on FPGA Download PDFInfo
- Publication number
- CN109194234A CN109194234A CN201811308552.3A CN201811308552A CN109194234A CN 109194234 A CN109194234 A CN 109194234A CN 201811308552 A CN201811308552 A CN 201811308552A CN 109194234 A CN109194234 A CN 109194234A
- Authority
- CN
- China
- Prior art keywords
- fpga
- fpga module
- module
- configuration file
- job
- 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P23/00—Arrangements or methods for the control of AC motors characterised by a control method other than vector control
- H02P23/0077—Characterised by the use of a particular software algorithm
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The present invention relates to a kind of intelligent motor control system and control method based on FPGA, the control system includes host computer, single-chip microcontroller, FPGA module and memory module, wherein, host computer is electrically connected with Microcontrollers and FPGAs module respectively, for sending job instruction to FPGA module and single-chip microcontroller respectively;FPGA module is used to receive the job instruction of host computer transmission, and sends job request to single-chip microcontroller according to job instruction;Single-chip microcontroller is electrically connected with FPGA module and memory module respectively, transfers configuration file from memory module for receiving job instruction and job request, and according to job instruction and job request, configuration file is sent to FPGA module;FPGA module is also used to control motor operation according to configuration file.The application utilizes the reconfigurability of FPGA module, realizes that new logical combination realizes new function by reading configuration file, controls to realize different types of motor, flexibility ratio is high, and structure is simple.
Description
Technical field
The invention belongs to industry control technical fields, and in particular to a kind of intelligent motor control system and controlling party based on FPGA
Method.
Background technique
The control system of early stage largely designs, this kind of control system both for the special process of certain numerical control device
Although target or even human-computer interaction function can be controlled with complete independently, its opening is poor, and user cannot be according to live need
It asks and reconfigurable control system.With the development of high density high capacity technology of CPLD, FPGA (field programmable logic
Array) chip can change its logical combination at any time and realize new function, it means that it can be not required in a certain range again
Be routed and increase new function, thus in high-performance open architecture controller using more and more extensive.
In the prior art, there is a kind of restructural motion controller: what is mainly introduced is a kind of reconfigurable be used for
The motion controller for controlling stepping, servo motor movement is that one kind can be by reconfiguring to change the motion control of its function
Device.Specific embodiment be by change FPGA subsystem inner function module realize it is restructural.Specific design is to use
The design concept of modularization, design process are divided into two stages: the design of IP component and application design.Restructural motion control
For the function of device using IP component as basic unit, each IP component realizes specific function, is connected between IP component by bus.
There is also a kind of restructural AC servo drive control systems in the prior art.More particularly to a kind of restructural
AC servo drive control system.Alternating-current servo controller receives host controller by FPGA Signal Pretreatment and key is shown
The motion reference order that control panel issues, AC-servo control device also receive the power handled through FPGA Signal Pretreatment
The feedback data information of driving and encoder, then the control algolithm through AC-servo control device generate activation bit, driving
Information is through the driving AC servo motor movement of power drive amplifying power.
In summary, the prior art is to realize restructural by changing the inner function module of FPGA subsystem, is existed
The problems such as flexibility is not high, and internal structure is complicated.
Summary of the invention
For the problem present on, the invention proposes a kind of intelligent motor control system and controlling party based on FPGA
Method, specific embodiment are as follows.
The embodiment of the present invention provides a kind of intelligent motor control system based on FPGA, including host computer, single-chip microcontroller, FPGA
Module and memory module, wherein
The host computer is electrically connected with the single-chip microcontroller and the FPGA module respectively, for respectively to the FPGA module
Job instruction is sent with the single-chip microcontroller;
The FPGA module is also with the monolithic mechatronics, the job instruction sent for receiving the host computer, and
Job request is sent to the single-chip microcontroller according to the job instruction;
The single-chip microcontroller is also electrically connected with the memory module, for receiving the job instruction and the job request,
And configuration file is transferred from memory module according to the job instruction and the job request, configuration file is sent to FPGA
Module;
The FPGA module is also used to control motor operation according to the configuration file.
It in one embodiment of the invention, further include sensor, the sensor is electric with motor and FPGA module respectively
Connection, the sensor are used to detect the operating parameter of motor, and the operating parameter is sent to FPGA module;
The FPGA module is also used to the operating parameter being sent to the host computer.
It in one embodiment of the invention, further include analog-digital converter, the analog-digital converter is set to the sensing
Between device and the FPGA module.
In one embodiment of the invention, the FPGA module is also electrically connected with the memory module, the FPGA mould
Block is used to generate multiple for controlling the configuration file of different motors.
In one embodiment of the invention, the host computer includes display screen, for showing the operating parameter of motor.
In one embodiment of the invention, the job instruction includes the control parameter of start command and control object.
In one embodiment of the invention, the job request includes motor model and file download request.
In one embodiment of the invention, the operating parameter includes motor speed and running temperature.
The intelligent electric machine control method based on FPGA that another embodiment of the present invention provides a kind of, wherein
Host computer sends job instruction to FPGA module and single-chip microcontroller respectively;
The FPGA module receives the job instruction that the host computer is sent, and according to the job instruction to the monolithic
Machine sends job request;
The single-chip microcontroller receives the job instruction and the job request, and according to the job instruction and the operation
Configuration file is transferred in request from memory module, and configuration file is sent to the FPGA module;
The FPGA module controls motor operation according to the configuration file.
It in one embodiment of the invention, further include utilizing the FPGA module generation multiple for controlling different motors
Configuration file, and the configuration file is stored in memory module.
The invention has the benefit that
1, the restructural intelligent motor control system provided by the invention based on FPGA is matched using FPGA module by reading
It sets file and realizes new logical combination, it, therefore, can be right by the configuration file for reading different so as to realize new function
Different types of motor is controlled, and does not need to modify to the functional module inside FPGA module, therefore the control system
Flexibility ratio of uniting is high, and structure is simple.
2, the intelligent electric machine control method provided by the invention based on FPGA reads different configuration texts using FPGA module
Part, so as to control different types of motor, intelligent electric machine control method provided by the present application not only can be to more
The motor of seed type is controlled, and control method simple and flexible.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of intelligent motor control system provided by the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.
Embodiment one
As shown in FIG. 1, FIG. 1 is the structural schematic diagrams of intelligent motor control system provided by the invention;The embodiment of the present invention
The restructural intelligent motor control system based on FPGA provided, including host computer, single-chip microcontroller, FPGA module and memory module,
Specifically,
Host computer is electrically connected with Microcontrollers and FPGAs module respectively, and single-chip microcontroller is electrically connected with FPGA module and memory module respectively
Connect, wherein be stored with multiple configuration files in memory module, multiple configuration file specifically include stepper motor arrangement file,
The configuration file of servo motor configuration file and other multiple types motors, those configuration files are mainly used for controlling motor
Operating, multiple configuration files constitute the motor configuration file library of intelligence.
In the technical program, FPGA module has the performance that can change logical combination at any time, therefore, when control different type
When motor, it is only necessary to which the internal logic combination by changing FPGA module can be realized, however motor type of every change is with regard to needle
Carrying out primary recombination to the inner function module of FPGA module will cause the wasting of resources, and improve technology realization difficulty,
Flexibility is poor, to solve this technical problem, in the present embodiment, still utilizes the reconfigurability of FPGA module, but not by more
Change inside function module, and is realized by reading the logical combination inside configuration file change FPGA module.It needs to illustrate
, the configuration file in the present embodiment is designed using FPGA module in advance.
Specifically, host computer is operated by staff, job instruction, the job instruction are sent to Microcontrollers and FPGAs module
Control parameter including start command and control object.Single-chip microcontroller starts after receiving job instruction, and FPGA module receives the operation
Start after instruction, and job request is sent to single-chip microcontroller according to the control parameter of control object, job request includes motor model
And file download request, after single-chip microcontroller receives job request, by job request motor model and the work that receives from host computer
Control parameter in industry instruction compares, if matching, single-chip microcontroller transfers corresponding configuration file from memory module, and will
The configuration file is sent to FPGA module by SPI interface, after FPGA module receives configuration file, completes to singlechip feedbsck
Information.
Further, FPGA module reads configuration file, i.e. FPGA module carries out logical groups according to the content of configuration file
It closes to realize new function, to control motor.
In summary, the restructural intelligent motor control system provided by the invention based on FPGA is logical using FPGA module
It crosses reading configuration file and realizes new logical combination, so as to realize new function, therefore, pass through and read different configuration texts
Part can control different types of motor, and not need to modify to the functional module inside FPGA module, therefore
The control system flexibility ratio is high, and structure is simple.
Embodiment two
On the basis of the above embodiments, intelligent motor control system is further elaborated in the present embodiment, tool
Body,
Intelligent motor control system provided in this embodiment further includes sensor, and sensor is arranged in motor and FPGA module
Between, specifically, sensor is installed on motor, for detecting the operating parameter of motor, the operating parameter include motor speed,
Running temperature.Meanwhile the operating parameter that sensor will test is sent to FPGA module, FPGA module is anti-by the motor received
Feedforward information is sent to host computer.The host computer includes display screen, for showing the operating parameter of motor, in order to operator's energy
Enough intuitively understand the operating status of motor.
Further, the application further includes analog-digital converter, and analog-digital converter is set between sensor and FPGA module,
Analog signal for detecting sensor is converted to digital signal, and digital signal is then sent to FPGA module.
Further, in the application, the FPGA module in the application has the function of pre-generated configuration file, specifically
, FPGA module has reconfigurability, by coding FPGA module, it can be achieved that control to different type motor, further,
Control program will be saved as configuration file by FPGA module, and be uploaded to single-chip microcontroller by SPI interface, and single-chip microcontroller is by configuration file
It stores in memory module.Therefore it can use FPGA module to generate multiple configuration files and save into memory module, it is a set of
The motor of the corresponding type of configuration file, by constructing the control framework of multiple and different type motors, to obtain intelligent
Motor control framework.And when host computer issues job instruction, it is only necessary to which transferring stored configuration file can fast and flexible
The control to motor is realized, without carrying out subsystem change to FPGA module.
It generates single configuration file it should be noted that the application is also possible to external FPGA and verifies its correctness,
The single configuration file by verifying is all stored in memory module again later, so that the FPGA module of this system is called.
Embodiment three
The intelligent electric machine control method based on FPGA that the present embodiment provides a kind of, specifically, host computer first is to FPGA mould
Block and single-chip microcontroller send job instruction, and FPGA module sends job request to single-chip microcontroller according to job instruction, and single-chip microcontroller receives
Job request then transfers configuration file from memory module, and configuration file is sent to FPGA mould by dedicated SPI interface
Block, FPGA module receive configuration file, then sending feedback response to single-chip microcontroller indicates that configuration file has been received by, then FPGA mould
Block reads configuration file, and changes the logical combination inside FPGA module according to configuration file, so as to realize new function,
Motor is controlled.
It should be noted that this method, which also passes through sensor and analog-digital converter, feeds back to FPGA for the operating status of motor
Module, FPGA module is again by those status information feedbacks to host computer.
It should be noted that configuration file is to encode to be formed in advance using the reconfigurability of FPGA module in this method,
Each configuration file corresponds to a set of motor control method, and multiple configuration files are built into intelligent motor control framework.
Intelligent electric machine control method provided by the invention based on FPGA reads different configuration texts using FPGA module
Part, so as to control different types of motor, intelligent electric machine control method provided by the present application not only can be to more
The motor of seed type is controlled, and control method simple and flexible.
In conclusion specific case used herein is to a kind of intelligence electricity based on FPGA provided in an embodiment of the present invention
The embodiment of machine control system and control method is expounded, the above embodiments are only used to help understand this hair
Bright scheme and its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, specific real
Apply in mode and application range that there will be changes, in conclusion the content of the present specification should not be construed as to limit of the invention
System, protection scope of the present invention should be subject to appended claims.
Claims (10)
1. a kind of intelligent motor control system based on FPGA, which is characterized in that including host computer, single-chip microcontroller, FPGA module and
Memory module, wherein
The host computer is electrically connected with the single-chip microcontroller and the FPGA module respectively, for respectively to the FPGA module and institute
It states single-chip microcontroller and sends job instruction;
The FPGA module is also with the monolithic mechatronics, the job instruction sent for receiving the host computer, and according to
The job instruction sends job request to the single-chip microcontroller;
The single-chip microcontroller is also electrically connected with the memory module, for receiving the job instruction and the job request, and root
Configuration file is transferred from memory module according to the job instruction and the job request, and configuration file is sent to FPGA mould
Block;
The FPGA module is also used to control motor operation according to the configuration file.
2. intelligent motor control system according to claim 1, which is characterized in that it further include sensor, the sensor
It is electrically connected respectively with motor and FPGA module, the sensor is used to detect the operating parameter of motor, and by the operating parameter
It is sent to FPGA module;
The FPGA module is also used to the operating parameter being sent to the host computer.
3. intelligent motor control system according to claim 2, which is characterized in that it further include analog-digital converter, the mould
Number converter is set between the sensor and the FPGA module.
4. intelligent motor control system according to claim 2, which is characterized in that the FPGA module also with the storage
Module electrical connection, the FPGA module are used to generate multiple for controlling the configuration file of different motors.
5. intelligent motor control system according to claim 2, which is characterized in that the host computer includes display screen, is used
In the operating parameter of display motor.
6. intelligent motor control system according to claim 2, which is characterized in that the job instruction includes start command
With the control parameter of control object.
7. intelligent motor control system according to claim 2, which is characterized in that the job request includes motor model
And file download request.
8. intelligent motor control system according to claim 2, which is characterized in that the operating parameter includes motor speed
And running temperature.
9. a kind of intelligent electric machine control method based on FPGA, which is characterized in that
Host computer sends job instruction to FPGA module and single-chip microcontroller respectively;
The FPGA module receives the job instruction that the host computer is sent, and is sent out according to the job instruction to the single-chip microcontroller
Send job request;
The single-chip microcontroller receives the job instruction and the job request, and according to the job instruction and the job request
Configuration file is transferred from memory module, and configuration file is sent to the FPGA module;
The FPGA module controls motor operation according to the configuration file.
10. control method according to claim 9, which is characterized in that further include multiple using FPGA module generation
It is stored in memory module for controlling the configuration file of different motors, and by the configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811308552.3A CN109194234A (en) | 2018-11-05 | 2018-11-05 | Intelligent motor control system and control method based on FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811308552.3A CN109194234A (en) | 2018-11-05 | 2018-11-05 | Intelligent motor control system and control method based on FPGA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109194234A true CN109194234A (en) | 2019-01-11 |
Family
ID=64941922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811308552.3A Pending CN109194234A (en) | 2018-11-05 | 2018-11-05 | Intelligent motor control system and control method based on FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109194234A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112666799A (en) * | 2020-12-30 | 2021-04-16 | 浙江启尔机电技术有限公司 | Immersion liquid supply and recovery system and control method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101189562A (en) * | 2005-05-26 | 2008-05-28 | 西门子公司 | Method for operating electrical equipment of automation device |
CN101546185A (en) * | 2009-04-30 | 2009-09-30 | 上海交通大学 | Programmable multi-axis controller based on IEEE-1394 serial bus |
CN102761299A (en) * | 2012-07-30 | 2012-10-31 | 苏州工业园区职业技术学院 | Hybrid drive control system of automated guided vehicle |
CN102969949A (en) * | 2012-10-31 | 2013-03-13 | 中国科学院长春光学精密机械与物理研究所 | Servo controller of high-precision permanent magnet synchronous motor |
US8779705B2 (en) * | 2011-02-25 | 2014-07-15 | Deere & Company | Synchronization of position and current measurements in an electric motor control application using an FPGA |
CN105353726A (en) * | 2015-12-04 | 2016-02-24 | 江苏大学 | Special-purpose controller of electronic press, and control method |
CN106487279A (en) * | 2016-11-30 | 2017-03-08 | 航天科工智能机器人有限责任公司 | High power density motor servo driver |
-
2018
- 2018-11-05 CN CN201811308552.3A patent/CN109194234A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101189562A (en) * | 2005-05-26 | 2008-05-28 | 西门子公司 | Method for operating electrical equipment of automation device |
CN101546185A (en) * | 2009-04-30 | 2009-09-30 | 上海交通大学 | Programmable multi-axis controller based on IEEE-1394 serial bus |
US8779705B2 (en) * | 2011-02-25 | 2014-07-15 | Deere & Company | Synchronization of position and current measurements in an electric motor control application using an FPGA |
CN102761299A (en) * | 2012-07-30 | 2012-10-31 | 苏州工业园区职业技术学院 | Hybrid drive control system of automated guided vehicle |
CN102969949A (en) * | 2012-10-31 | 2013-03-13 | 中国科学院长春光学精密机械与物理研究所 | Servo controller of high-precision permanent magnet synchronous motor |
CN105353726A (en) * | 2015-12-04 | 2016-02-24 | 江苏大学 | Special-purpose controller of electronic press, and control method |
CN106487279A (en) * | 2016-11-30 | 2017-03-08 | 航天科工智能机器人有限责任公司 | High power density motor servo driver |
Non-Patent Citations (1)
Title |
---|
刘敬猛等: "基于FPGA的可重构交流伺服系统硬件设计", 《机床与液压》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112666799A (en) * | 2020-12-30 | 2021-04-16 | 浙江启尔机电技术有限公司 | Immersion liquid supply and recovery system and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102360046B (en) | General test method for motor vehicle electrical product | |
KR100224379B1 (en) | Process line control alogorithm automatic generation method | |
JP6676126B2 (en) | Computer system, programming method and non-transitory computer readable medium | |
CN102262393A (en) | Hardware-in-Loop Simulation (HILS) system and method for realizing rapid prototyping control | |
CN104608383B (en) | A kind of control system and its method based on fusion sediment 3D printer | |
CN104656542A (en) | Embedded soft programmable logic controller (PLC) system applicable to high-precision automatic control of labeling machine | |
CN108508812B (en) | AGV controller IO port multiplexing configuration system and method thereof | |
CN108469778A (en) | A kind of SERVO CONTROL MBD development platforms | |
CN103197719B (en) | A kind of semiconductor temperature difference thermoelectric power generation method and device | |
CN109194234A (en) | Intelligent motor control system and control method based on FPGA | |
CN108732987A (en) | It can customize the embedded soft PLC control system and its design method of I/O port numbers | |
CN105955202A (en) | Network-based economical embedded five-axis numerical control system and control method thereof | |
dos Santos et al. | Rapid Prototyping Framework for real-time control of power electronic converters using simulink | |
CN108052039A (en) | Steering engine for unmanned plane control system | |
CN110597237B (en) | Simulation method of RCP (remote control protocol) system of whole vehicle controller of extended range electric vehicle | |
CN1655080A (en) | Arm rack motion controller of concrete pump truck | |
CN108490820A (en) | A kind of programmable power supply controller | |
CN205750445U (en) | A kind of controller for low-voltage electrical apparatus detection equipment | |
CN114675594A (en) | Heterogeneous PLC cooperation control system, method, device, equipment and medium | |
CN2833670Y (en) | Converter with built-in PLC frequency control | |
CN106647688A (en) | Automatic test device for control unit of urban rail traction converter | |
CN104950693A (en) | Method and system for improving simulation accuracy of controller HIL (hardware-in-the-loop) simulation system | |
CN204440115U (en) | Be applicable to the Embedded Soft PLC System that labelling machine high-precision automatic controls | |
CN216248798U (en) | Multi-machine parallel operation device test platform | |
Yu et al. | Research on network of communication stations in CC-link vibration friction welding system |
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 |
Application publication date: 20190111 |
|
RJ01 | Rejection of invention patent application after publication |