CN104808582A - Embedded digital controller based on FPGA and control method of embedded digital controller - Google Patents
Embedded digital controller based on FPGA and control method of embedded digital controller Download PDFInfo
- Publication number
- CN104808582A CN104808582A CN201510203939.2A CN201510203939A CN104808582A CN 104808582 A CN104808582 A CN 104808582A CN 201510203939 A CN201510203939 A CN 201510203939A CN 104808582 A CN104808582 A CN 104808582A
- Authority
- CN
- China
- Prior art keywords
- embedded
- module
- control
- input
- fpga
- Prior art date
Links
- 238000003754 machining Methods 0.000 claims abstract description 26
- 238000002955 isolation Methods 0.000 claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000007781 pre-processing Methods 0.000 claims description 9
- 230000003321 amplification Effects 0.000 claims description 7
- 238000000034 methods Methods 0.000 claims description 7
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 7
- 239000003570 air Substances 0.000 claims description 5
- 238000004364 calculation methods Methods 0.000 claims description 4
- 238000006243 chemical reactions Methods 0.000 claims description 4
- 238000000926 separation method Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 3
- 238000004088 simulation Methods 0.000 claims description 3
- 238000003079 width control Methods 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 abstract 3
- 239000007789 gases Substances 0.000 abstract 1
- 238000005516 engineering processes Methods 0.000 description 3
- 206010045178 Tunnel vision Diseases 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/404—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
Abstract
Description
Technical field
The invention belongs to digital control system field, specifically a kind of embedded digital controller based on FPGA and control method thereof, belong to the innovative technology of embedded digital controller based on FPGA and control method thereof.
Background technology
Along with user is to the raising of numerical control requirement on machining accuracy, and the maturation that machine vision technique is applied at industrial circle, use machine vision to follow the tracks of processing, measure track mismachining tolerance, the mode of carrying out online error compensation control is just becoming and is improving a kind of new tool of numerical control (NC) Machining Accuracy.But take Industrial PC Computer as the digital control system of control core, its hardware, not for real-time control design case, can not meet preferably and control needs in real time, can not realize online error compensation control.
Summary of the invention
For solving the deficiencies in the prior art, the object of this invention is to provide a kind of embedded digital controller based on FPGA, this controller can realize carrying out online compensation control by machine vision tracking measurement machining locus error in process, effectively improve numerical control (NC) Machining Accuracy, ensure crudy.
Another object of the present invention is to provide a kind of control method of the embedded digital controller based on FPGA.The present invention controls simple and convenient.
Object of the present invention is by adopting following technical scheme to realize:
Embedded digital controller based on FPGA of the present invention, comprise embedded multi-core control system, signal detection module, vision tracking module, pulse output photoelectric isolation module, analogue enlargement module, the output terminal of signal detection module and the output terminal of vision tracking module are connected with the input end of embedded multi-core control system respectively, the output terminal of embedded multi-core control system is connected with the input end of pulse output photoelectric isolation module and the input end of analogue enlargement module respectively, the output terminal of pulse output photoelectric isolation module is connected with servo-driver, servo driver drives servomotor, the output terminal of analogue enlargement module is connected with air pump.
The present invention is based on the control method of the embedded digital controller of FPGA, comprise following process:
1) after system electrification, exported the X of interpolation Pulse Width Control lathe to servo-driver by pulse output photoelectric isolation module by embedded multi-core control system, Y-axis returns muscle-setting exercise, and by signal detection module input signals in situ to 32 RISC soft-core processors, until the X-axis of lathe, Y-axis move to origin position;
2) vision tracking module obtains processing on real-time track video by camera, video data is delivered to data transmission interface by I2C bus by Video Decoder after the separation completing machining locus vision signal analog to digital conversion and RGB, field signal, row signal, and then video data is delivered to the first IP kernel in embedded multi-core control system;
3) the first IP kernel in embedded multi-core control system obtains after vision tracking module transmits the data of coming in and carries out machining locus image procossing and machining locus error calculation, errors passes to 32 RISC soft-core processors, preprocessing track data is sent to the second IP kernel after 32 RISC soft-core processors compensate preprocessing track, second IP kernel is responsible for preprocessing track data interpolation pulse generate, and exports interpolation pulse through extra pulse output photoelectric isolation module 4;
4) 32 RISC soft-core processors in embedded multi-core control system produce simulation pwm signal, and amplifying circuit outputs to the ratio control that solenoid valve realizes solenoid valve after filtering;
5) in process, the limit signal of 32 RISC soft-core processor real time detection signal detection module inputs in embedded multi-core control system, when lathe X-axis, Y-axis motion exceed the stroke of regulation, limit signal exports high level, and now 32 RISC soft-core processors send the instruction stopping machining locus interpolation pulse to export to the second IP kernel.
Compared with prior art, the beneficial effect of technical scheme of the present invention is:
1) the present invention is furnished with vision tracking module, can carry out online compensation control to track mismachining tolerance, effectively improves the precision of processing, ensures crudy;
2) embedded multi-core control system of the present invention adopts fpga chip, and the high speed processing ability that the parallel mechanism of its inherence determines it is far superior to the serial that traditional industry control PC adopts and performs framework.Thus greatly can improve the response speed of digital control system, under the prerequisite ensureing crudy, improve working (machining) efficiency.
3) the present invention can cutting, the embedded technology required such as real-time combine meeting software and hardware with digital control system, produces built-in digital control system, effectively improves numerical control (NC) Machining Accuracy, guarantee crudy;
4) control method of the embedded digital controller based on FPGA of the present invention controls simple and convenient.
Accompanying drawing explanation
Fig. 1 is the system chart of the embedded digital controller that the present invention is based on FPGA.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described further, accompanying drawing is used to provide a further understanding of the present invention, and forming a part for instructions, with embodiments of the invention jointly for explaining the present invention, not being construed as limiting the invention.
Embodiment 1
As shown in Figure 1, embedded digital controller based on FPGA of the present invention, comprise embedded multi-core control system 1, signal detection module 2, vision tracking module 3, pulse output photoelectric isolation module 4, analogue enlargement module 5, the output terminal of signal detection module 2 and the output terminal of vision tracking module 3 are connected with the input end of embedded multi-core control system 1 respectively, the output terminal of embedded multi-core control system 1 is connected with the input end of pulse output photoelectric isolation module 4 and the input end of analogue enlargement module 5 respectively, the output terminal of pulse output photoelectric isolation module 4 is connected with servo-driver, servo driver drives servomotor, the output terminal of analogue enlargement module 5 is connected with air pump.
In the present embodiment, embedded multi-core control system 1 adopts Xilinx FPGA XC4VFX12 chip, comprise 32 the RISC soft-core processors 11 be embedded in FPGA XC4VFX12 by the customization of Xilinx xps development platform, and design the first IP kernel 12 and the second IP kernel 13 by Verilog HDL.Wherein 32 RISC soft-core processors 11 are responsible for system task management scheduling, and the signal that inputs of detection signal detection module 2 and to analogue enlargement module 5 output pwm signal, first IP kernel 12 is responsible for machining locus image procossing that vision tracking module 3 inputs and machining locus error calculation, second IP kernel 13 is responsible for generating machining locus interpolation pulse, the output terminal of the first IP kernel 12 is connected with 32 RISC soft-core processor 11 input ends, and 32 RISC soft-core processor 11 output terminals are connected with the input end of the second IP kernel 13.Xilinx FPGA XC4VFX12 chip supports 6 road Transistor-Transistor Logic level signal inputs, and 10 tunnel 0 ~ 9000Hz square-wave signals export, and 1 road pwm signal exports and 1 tunnel vision signal input.
In the present embodiment, above-mentioned signal detection module 2 includes Hall switch 21 and photoelectric isolating circuit 22, Hall switch 21 output terminal is connected with the input end of photoelectric isolating circuit 22, and the output terminal of photoelectric isolating circuit 22 is connected with the input end of embedded multi-core control system 1.
In the present embodiment, above-mentioned Hall switch 21 is made up of 6 Hall elements, be respectively used to the detection of lathe X-axis, Y-axis 4 road limit signal and X-axis, Y-axis two-way signals in situ, photoelectric isolating circuit 22 exports 6 road Transistor-Transistor Logic level signals to 32 RISC soft-core processors 11, and photoelectric isolating circuit 22 is made up of 3 TLP521-2 chips.
In the present embodiment, above-mentioned vision is followed the tracks of 3 and is comprised camera 31, Video Decoder 32, data transmission interface 33, wherein the output terminal of camera 31 is connected with the input end of Video Decoder 32, the output terminal of Video Decoder 32 is connected with the input end of data transmission interface 33, and the output terminal of data transmission interface 33 is connected with the input end of embedded multi-core control system 1.
In the present embodiment, above-mentioned camera 31 is for generally to simulate camera, for obtaining processing on real-time track video, video decode 32 adopts ADV7181C chip, for completing the separation of machining locus vision signal analog to digital conversion and RGB, field signal, row signal, data transmission interface 33 adopts VK3366 chip, and the main interface of VK3366 chip is I2C interface.
In the present embodiment, above-mentioned pulse output photoelectric isolation module 4 is made up of 10 6N136 chips, and it is that the pulse signal of 0 ~ 9000Hz is to servo-driver that the output terminal of photoelectric isolation module 4 can export 10 tunnel frequencies simultaneously.
In the present embodiment, above-mentioned analogue enlargement module 5 comprises filter amplification circuit 51, solenoid valve 52, and wherein the output terminal of filter amplification circuit 51 is connected with the input end of solenoid valve 52, and the output terminal of solenoid valve 52 is connected with air pump.
In the present embodiment, above-mentioned filter amplification circuit 51 adopts operational amplifier.Above-mentioned filter amplification circuit 51 adopts LM2904 operational amplifier, and solenoid valve 52 input analog voltage scope is 0 ~ 12V.
The course of work that the present invention is based on the embedded digital controller of FPGA is as follows:
1, after system electrification, exported the X of interpolation Pulse Width Control lathe to servo-driver by pulse output photoelectric isolation module 4 by embedded multi-core control system 1, Y-axis returns muscle-setting exercise, and by signal detection module (2) input signals in situ to 32 RISC soft-core processors 11, until the X-axis of lathe, Y-axis move to origin position.
2, vision tracking module 3 obtains processing on real-time track video by camera 31, video data is delivered to data transmission interface 33 by I2C bus by Video Decoder 32 after the separation completing machining locus vision signal analog to digital conversion and RGB, field signal, row signal, and then video data is delivered to the first IP kernel 12 in embedded multi-core control system 1;
3, the first IP kernel 12 in embedded multi-core control system 1 obtains after vision tracking module transmits the data of coming in and carries out machining locus image procossing and machining locus error calculation, errors passes to 32 RISC soft-core processors 11, preprocessing track data is sent to the second IP kernel 13 after 32 RISC soft-core processors, 11 pairs of preprocessing tracks compensate, second IP kernel 13 is responsible for preprocessing track data interpolation pulse generate, and exports interpolation pulse through extra pulse output photoelectric isolation module 4;
4,32 RISC soft-core processors 11 in embedded multi-core control system 1 produce simulation pwm signal by algorithm, and amplifying circuit 51 outputs to the ratio control that solenoid valve 52 realizes solenoid valve after filtering;
5, in process, the limit signal of 32 RISC soft-core processor 11 real time detection signal detection module 2 inputs in embedded multi-core control system 1, when lathe X-axis, Y-axis motion exceed the stroke of regulation, limit signal exports high level, and now 32 RISC soft-core processors 11 send the instruction stopping machining locus interpolation pulse to export to the second IP kernel 13.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203939.2A CN104808582A (en) | 2015-04-27 | 2015-04-27 | Embedded digital controller based on FPGA and control method of embedded digital controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203939.2A CN104808582A (en) | 2015-04-27 | 2015-04-27 | Embedded digital controller based on FPGA and control method of embedded digital controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104808582A true CN104808582A (en) | 2015-07-29 |
Family
ID=53693510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510203939.2A CN104808582A (en) | 2015-04-27 | 2015-04-27 | Embedded digital controller based on FPGA and control method of embedded digital controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104808582A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272578A (en) * | 2017-07-01 | 2017-10-20 | 华中科技大学 | A kind of Visual servoing control system based on polycaryon processor |
CN108549330A (en) * | 2018-05-10 | 2018-09-18 | 湖南工学院 | A kind of multi-shaft interlocked built-in digital control system and its development approach |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4613743A (en) * | 1984-12-03 | 1986-09-23 | General Electric Company | Arc welding adaptive process control system |
US4812614A (en) * | 1987-02-26 | 1989-03-14 | Industrial Technology Research Institute | Machine vision seam tracking method and apparatus for welding robots |
US5572102A (en) * | 1995-02-28 | 1996-11-05 | Budd Canada Inc. | Method and apparatus for vision control of welding robots |
CN101256399A (en) * | 2007-12-27 | 2008-09-03 | 清华大学 | Double DSP built-in control system for visual feedback during soldering process |
CN202383903U (en) * | 2011-11-25 | 2012-08-15 | 上海理工大学 | Electromechanical multifunctional experiment table |
CN202661819U (en) * | 2012-06-12 | 2013-01-09 | 沈阳尚贤科技股份有限公司 | Atomic force microscope control system based on digital signal processor (DSP) and field programmable gate array (FPGA) |
CN203418212U (en) * | 2013-07-17 | 2014-02-05 | 湘潭大学 | Automatic welding line tracing control system based on magnetic control electric arc and laser vision sensing |
CN204515478U (en) * | 2015-04-27 | 2015-07-29 | 广东工业大学 | A kind of embedded digital controller based on FPGA |
-
2015
- 2015-04-27 CN CN201510203939.2A patent/CN104808582A/en not_active Application Discontinuation
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4613743A (en) * | 1984-12-03 | 1986-09-23 | General Electric Company | Arc welding adaptive process control system |
US4812614A (en) * | 1987-02-26 | 1989-03-14 | Industrial Technology Research Institute | Machine vision seam tracking method and apparatus for welding robots |
US5572102A (en) * | 1995-02-28 | 1996-11-05 | Budd Canada Inc. | Method and apparatus for vision control of welding robots |
CN101256399A (en) * | 2007-12-27 | 2008-09-03 | 清华大学 | Double DSP built-in control system for visual feedback during soldering process |
CN202383903U (en) * | 2011-11-25 | 2012-08-15 | 上海理工大学 | Electromechanical multifunctional experiment table |
CN202661819U (en) * | 2012-06-12 | 2013-01-09 | 沈阳尚贤科技股份有限公司 | Atomic force microscope control system based on digital signal processor (DSP) and field programmable gate array (FPGA) |
CN203418212U (en) * | 2013-07-17 | 2014-02-05 | 湘潭大学 | Automatic welding line tracing control system based on magnetic control electric arc and laser vision sensing |
CN204515478U (en) * | 2015-04-27 | 2015-07-29 | 广东工业大学 | A kind of embedded digital controller based on FPGA |
Non-Patent Citations (3)
Title |
---|
左旭辉等: "基于OMAPL138的嵌入式CNC控制器硬件平台开发", 《组合机床与自动化加工技术》 * |
王锐煌: "基于FPGA的嵌入式视觉检测系统及IP核设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
田茜 等: "基于DSP/FPGA的嵌入式实时目标跟踪系统", 《计算机工程》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107272578A (en) * | 2017-07-01 | 2017-10-20 | 华中科技大学 | A kind of Visual servoing control system based on polycaryon processor |
CN108549330A (en) * | 2018-05-10 | 2018-09-18 | 湖南工学院 | A kind of multi-shaft interlocked built-in digital control system and its development approach |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103699056B (en) | The little line segment real-time smooth transition interpolation method of high-speed, high precision digital control processing | |
CN103831695B (en) | Large-scale free form surface robot polishing system | |
Xiao et al. | A complete CAD/CAM/CNC solution for STEP-compliant manufacturing | |
CN102513751B (en) | Welding robot and welding method thereof | |
CN104384936A (en) | Combined additive and subtractive manufacturing machine tool | |
CN104942808A (en) | Robot motion path off-line programming method and system | |
CN203449314U (en) | Full closed-loop servo movement control system | |
CN103676787B (en) | A kind of center of circle model space circular interpolation method for kinetic control system | |
CN102403938B (en) | Decoding device and method for rotary transformer based on single FPGA (Field Programmable Gate Array) | |
CN204366962U (en) | Six axle heavy-load robot control systems | |
CN106157377B (en) | A kind of matching process of the real-time three-dimensional visualization virtual monitor towards intelligence manufacture | |
CN104289748A (en) | Large-scale thin-wall skin self-adapting equal wall-thickness milling system and processing method thereof | |
CN204790505U (en) | Embedded numerical control system tests platform based on ARM and FPGA | |
CN104741718B (en) | Quick wire cutting control system | |
CN103984275B (en) | A kind of universal industrial kinetic control system based on FPGA and control method based on this kinetic control system | |
CN203918366U (en) | Fiber adapter automation assembling manipulator | |
CN202703067U (en) | Motion control system of numerical control carving machine | |
CN101653921A (en) | Error compensation method of numerical control grinding contour of camshaft | |
CN106502212B (en) | Integrated numerical control system of laser numerical control machine tool | |
CN102545733A (en) | Double-motor synchronous control device and method for silicon chip conveying manipulator | |
CN202838339U (en) | High speed data collecting and processing system based on digital signal processor (DSP) and field programmable gate array (FPGA) | |
CN104260093A (en) | Delta parallel-connection manipulator control system | |
CN204321324U (en) | A kind of form cutting cutting equipment | |
CN103744356A (en) | Intelligent dynamically-configurable controller of tool based on DSP (Digital Signal Processor)/FPGA (Field Programmable Gate Array) and control method | |
NZ734488A (en) | A control system for the behaviour of a home service robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150729 |