CN104678967A - Method and equipment for realizing rapid prototype designing of PWM controller by combining universal industrial personal computer and DSP - Google Patents

Method and equipment for realizing rapid prototype designing of PWM controller by combining universal industrial personal computer and DSP Download PDF

Info

Publication number
CN104678967A
CN104678967A CN201510069144.7A CN201510069144A CN104678967A CN 104678967 A CN104678967 A CN 104678967A CN 201510069144 A CN201510069144 A CN 201510069144A CN 104678967 A CN104678967 A CN 104678967A
Authority
CN
China
Prior art keywords
dsp
industrial computer
general industrial
personal computer
industrial personal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510069144.7A
Other languages
Chinese (zh)
Other versions
CN104678967B (en
Inventor
余永元
郝正航
陈卓
肖忠云
陈康博
龙航
张晓航
罗奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou University Science Park Development Co ltd
Original Assignee
Guizhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou University filed Critical Guizhou University
Priority to CN201510069144.7A priority Critical patent/CN104678967B/en
Publication of CN104678967A publication Critical patent/CN104678967A/en
Application granted granted Critical
Publication of CN104678967B publication Critical patent/CN104678967B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4184Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by fault tolerance, reliability of production system
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)

Abstract

The invention discloses a method and equipment for realizing the rapid prototype designing of a PWM controller by combining a universal industrial personal computer and a DSP. According to the method and the equipment, a conventional xPC target technology is utilized, a large-step offline simulation model is converted into an actual control prototype, the actual control prototype is downloaded to the universal industrial personal computer for real-time running, a small-step control algorithm runs on the DSP, that is, a system-level control method is run by the universal industrial personal computer, a reference quantity signal of the DSP is output, the DSP receives the reference quantity signal from the universal industrial personal computer, and generates a control signal SPWM pulse signal corresponding to the reference quantity signal, control C codes are all automatically generated by a Matlab toolbox, and the control prototype is rapidly generated. All conventional rapid prototyping equipment produced by manufacturers is as expensive as a few hundred thousand yuan. However, the cost of hardware required by the method, such as the universal industrial personal computer, a data acquisition card and a DSP control board, is less than ten thousand yuan. Therefore, the method for realizing the rapid prototype designing of the PWM controller by combining the universal industrial personal computer and the DSP is a rapid prototyping solution with more advantages.

Description

General industrial computer associating DSP realizes PWM controller Rapid Prototype Design method and apparatus
Technical field
The present invention relates to robotization industry control technology, especially a kind of general industrial computer associating DSP realizes the method and apparatus of PWM controller rapid prototyping.
Background technology
Electric system is in large scale, system complex, and the design and study workload for system is very large, and this also causes adopting the method for physical simulation to carry out systematic study and is restricted.In recent years since, the development of digital simulation technique wind speed, improves the feasibility studied the modeling and simulation of complicated electric power system greatly.Digital Simulation provides theoretical credible, and feasibility is verified, if but be converted to actual available apparatus or the design in addition of program needs, and the equipment of design is directly used in electric power experiment, and poor stability, cost is high, and efficiency is low.Current rapid prototyping design in virtual environment, carries out product design as much as possible, reach the object shortening product development cycle, reduce development cost, before product development, the control method making deviser new can be tested easily and quickly on Real-time hardware.By real-time testing, Problems existing can be found at the design initial stage, to revise prototype or parameter, then carry out real-time testing, so repeatedly carry out, the final control prototype producing the reasonable of a complete Users ' Need-oriented.Current existing rapid prototyping equipment is as all very expensive in dSPACE, RapidECU etc., and code operation requirement of real-time is large compared with high operand, one chip can not meet computing requirement of real-time, thus exploitation a kind of namely economical, but also efficient Rapid Prototype Design method seem very necessary.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of general industrial computer associating DSP and realizes PWM controller Rapid Prototype Design method and apparatus, and it is simple, with low cost, to overcome the deficiencies in the prior art.
The present invention is achieved in that general industrial computer associating DSP realizes PWM controller Rapid Prototype Design method, general industrial computer runs large step size controlling algorithm, export the reference quantity signal of DSP, DSP runs little step-length control algolithm, DSP accepts the reference quantity signal that general industrial computer sends, and generates SPWM pulse signal corresponding with it; Control algolithm is all automatically generate C code based on Matlab tool box, by being actual control prototype by off-line simulation model conversation, thus realizes the rapid prototyping of PWM controller.
Experimental facilities, comprise general industrial computer, DSP and host computer, the capture card interface of general industrial computer is connected with data collecting card, and the I/O board that extends out of DSP is connected with the data collecting card on general industrial computer, and general industrial computer, DSP and host computer are all connected on the network interface of switch.
Rapid prototyping system architecture diagram of the present invention is as Fig. 1, the method hardware is primarily of general industrial computer and DSP control panel composition, general industrial computer is provided with multifunctional data acquisition card, for collection and the transmission of data, utilize existing xPC target technology, it is actual control prototype by large step-length off-line simulation model conversation, and download to real time execution on general industrial computer, DSP runs little step-length control algolithm, the i.e. control method of general industrial computer operational system level, export the reference quantity signal of DSP, DSP accepts the reference quantity signal that general industrial computer sends, generate control signal SPWM pulse signal corresponding with it, control C code is all that Matlab tool box generates automatically, quick generation control prototype.The rapid prototyping equipment of current manufacturers produce is all very expensive, price hundreds of thousands.But hardware needed for employing the method is as general industrial computer, data collecting card, DSP control panel etc., cost is less than ten thousand yuan.Therefore the method for designing that general industrial computer associating DSP realizes PWM controller rapid prototyping is a kind of rapid prototyping solution having more advantage.Visible the present invention is the rapid prototyping equipment such as dSPACE compared with the existing, and the method has more economic advantages, and can carry out at ring pilot scale study.Realize the low input of Controller gain variations, high-level efficiency, safety debugging.The inventive method is simple, and result of use is good.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention.
Fig. 2 is the structure principle chart of embodiments of the invention;
Fig. 3 be embodiments of the invention hardware structure diagram;
Fan outlet voltage (perunit value) when Fig. 4 is the wind speed mutation of embodiments of the invention;
Power of fan (perunit value) when Fig. 5 is the wind speed mutation of embodiments of the invention;
Rotor current (KA) when Fig. 6 is the wind speed mutation of embodiments of the invention;
Rotating speed (perunit value) when Fig. 7 is the wind speed mutation of embodiments of the invention;
Stator current (KA) when Fig. 8 is the specified operation of embodiments of the invention;
Stator voltage (KV) when Fig. 9 is the specified operation of embodiments of the invention.
Embodiment
Embodiments of the invention 1: general industrial computer united controller realizes PWM controller Rapid Prototype Design method, Fig. 2 is the structural drawing of embodiments of the invention, as seen from the figure, the present embodiment is rapid prototyping design double-fed blower fan Converter controller, power transmission and distribution primary system and double-fed Fan Equipment one second part are simulated by RTDS, analog electrical Force system secondary device characteristic, arrange various electric power system fault, Fan Equipment two second part (power electronics Converter controller) is rapid prototyping by general industrial computer united controller (DSP), general industrial computer runs large step size controlling algorithm, DSP runs little step-length control algolithm, effectively can solve the requirement of real-time simulation operational precision and operand like this, Fig. 3 is embodiment hardware system structure figure, general industrial computer runs large step length algorithm, gather the object parameters of RTDS simulation, formation controller reference quantity signal, DSP receives the reference quantity signal that industrial computer sends, run little step length algorithm, send the controlled device that pwm pulse signal drives RTDS simulation, RTDS simulating grid and blower fan primary equipment, data are by board and other devices exchange, host computer plays monitoring waveform, online modification parameter, the functions such as code building.
The structure of experimental facilities as shown in Figure 1, comprise general industrial computer 1, DSP2 and host computer 3, the capture card interface of general industrial computer 1 is connected with data collecting card 4, the I/O board that extends out of DSP2 is connected with the data collecting card 4 on general industrial computer 1, and general industrial computer 1, DSP2 and host computer 3 are all connected on the network interface of switch 5.
With general industrial computer 1 for nucleus equipment, in the processor of general industrial computer 1, run control routine, Usage data collection card 4, the detection limit needed for acquisition controller, and export reference quantity signal by data collecting card 4, be transferred in DSP2; The network interface of general industrial computer 1 is connected with switch 5, is formed communicate with host computer 3, can realize parameter change and the Real-Time Monitoring running status of control routine.
Originally implementing DSP in this with DSP2(adopts model to be the equipment of 28335) for nucleus equipment, by extending out the reference quantity signal that the collection of I/O board is exported by general industrial computer 1, after DSP2 process, export pwm pulse signal, drived control object.PC is connected on the base plate JTAG contact pin of DSP2, makes DSP2 by the compiling of the CCS software simulating control program in PC7 and connection.Meanwhile, the network interface of DSP2 is connected with host computer 4 by switch 5, is formed communicate with host computer 4.
In use, general industrial computer 1 is connected with the analog output card controlled picture 6 (RTDS) by data collecting card 4, and control is connected on switch 5 to the network interface as 6, form a closed-loop control system, complete PWM controlling functions, with realize controller in ring design.
In the present embodiment, general industrial computer is controlled as pole, run the large step size controlling algorithm of real-time simulation, blower fan parameters is gathered by data collecting card, the reference voltage signal of transverter is exported by vector controlled, industrial computer is started by the USB flash disk boot disk made, the C code that real time execution host computer is downloaded, owing to relating to Frequency Converter Control, in order to improve travelling speed to greatest extent, industrial computer (the xPC target target machine) method of operation adopts " polling " pattern, and have selected picking rate NI PCI 6251 multifunctional data acquisition card faster, reduce to greatest extent under the prerequisite of not overflowing operation time and run step-length.NI PCI 6251 capture card is set to difference drainage pattern, reduces disturbing effect, improves acquisition precision; NI PCI 6251 is multiplexed formula, and every channel acquisition time is 1 microsecond, and in the present embodiment, the rated frequency of blower fan is 50Hz, and rotor current frequency is lower, and the error that asynchronous collection brings can be ignored.
Owing to relating to power electronic devices trigger pulse, PWM requires higher to computing step-length, so need to use DSP to serve as " valve control ", the reference voltage signal of general industrial computer generation is inputted by its analog input port, run little step-length PWM code, compare the dSPACE equipment that modulation function has cured, the method is more flexible.
The present embodiment has also carried out contrast experiment, uses the scheme of embodiment and existing dSPACE equipment rapid prototyping double-fed controller of fan respectively, and carries out online real-time simulation experiment based on RTDS emulator.
Wind speed mutation during 0.6s, wind speed sports 12m/s from 8m/s, and Fig. 4 (a) and Fig. 4 (b) reflect because the resistive parameter of circuit can not be ignored, and blower fan increase of gaining merit can promote fan end voltage slightly, and voltage is basicly stable.Fig. 5 (a) and Fig. 5 (b) reflect that output power rises to ratings from 0.27 perunit value in 10s.Fig. 6 (a) and Fig. 6 (b) are rotor current waveforms, reach synchronous rotational speed when can find out 5s.Fig. 7 (a) and Fig. 7 (b) reflect that wind speed changes the corresponding change of rotating speed.Maintain optimum tip-speed ratio, realize maximum power tracing.Fig. 8 (a) and specified operation stator current waveforms figure, the Fig. 9 (a) Fig. 9 (b) of Fig. 8 (b) specified operation stator voltage shape are schemed.Wherein label is the figure of (a), for general industrial computer associating DSP realizes the online real-time simulation waveform of rapid prototyping controller of the method for designing design of PWM controller rapid prototyping, label is the figure of (b), uses the online real-time simulation waveform of dSPACE equipment de-sign rapid prototyping controller.Contrast online real time simulation results, can find out the online real-time simulation effect that the present embodiment reaches identical with dSPACE equipment, simulation result is all ideal.

Claims (2)

1. a general industrial computer associating DSP realizes PWM controller Rapid Prototype Design method, it is characterized in that: on general industrial computer, run large step size controlling algorithm, export the reference quantity signal of DSP, DSP runs little step-length control algolithm, DSP accepts the reference quantity signal that general industrial computer sends, and generates SPWM pulse signal corresponding with it; Control algolithm is all automatically generate C code based on Matlab tool box, by being actual control prototype by off-line simulation model conversation, thus realizes the rapid prototyping of PWM controller.
2. one kind adopts the experimental facilities of the method for claim 1, comprise general industrial computer (1), DSP(2) and host computer (3), it is characterized in that: on the capture card interface of general industrial computer (1), be connected with data collecting card (4), DSP(2) the I/O board that extends out is connected with the data collecting card (4) on general industrial computer (1), general industrial computer (1), DSP(2) and host computer (3) be all connected on the network interface of switch (5).
CN201510069144.7A 2015-02-10 2015-02-10 General industrial computer joint DSP realizes PWM controller Rapid Prototype Design method and apparatus Expired - Fee Related CN104678967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510069144.7A CN104678967B (en) 2015-02-10 2015-02-10 General industrial computer joint DSP realizes PWM controller Rapid Prototype Design method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510069144.7A CN104678967B (en) 2015-02-10 2015-02-10 General industrial computer joint DSP realizes PWM controller Rapid Prototype Design method and apparatus

Publications (2)

Publication Number Publication Date
CN104678967A true CN104678967A (en) 2015-06-03
CN104678967B CN104678967B (en) 2017-07-11

Family

ID=53314198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510069144.7A Expired - Fee Related CN104678967B (en) 2015-02-10 2015-02-10 General industrial computer joint DSP realizes PWM controller Rapid Prototype Design method and apparatus

Country Status (1)

Country Link
CN (1) CN104678967B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105680761A (en) * 2016-03-30 2016-06-15 贵州大学 Method and device for demonstrating motor AC frequency conversion speed regulation experiment
CN106560750A (en) * 2016-12-30 2017-04-12 贵州大学 Digital physical hybrid simulation device for microgrid and distributed power supply
CN106772046A (en) * 2016-12-30 2017-05-31 贵州大学 A kind of motor test complex under self-defined electric circumstance
CN110083935A (en) * 2019-04-26 2019-08-02 信阳师范学院 Double-fed controller of fan auxiliary design method and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030132964A1 (en) * 2002-01-15 2003-07-17 Santori Michael L. System and method for performing rapid control prototyping using a plurality of graphical programs that share a single graphical user interface
CN101308365A (en) * 2008-07-07 2008-11-19 株洲南车时代电气股份有限公司 Quick control prototype system and realization method
CN101706648A (en) * 2009-01-13 2010-05-12 华东理工大学 Design method of motion controller based on RCP and DSP
CN102262393A (en) * 2010-05-24 2011-11-30 赵奇 Hardware-in-Loop Simulation (HILS) system and method for realizing rapid prototyping control
CN103344437A (en) * 2013-07-19 2013-10-09 华北电力大学 Semi-physical real-time simulation platform for wind generating set
CN103941594A (en) * 2014-04-10 2014-07-23 北京工业大学 Electric-hydraulic braking rapid control prototype of electric vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030132964A1 (en) * 2002-01-15 2003-07-17 Santori Michael L. System and method for performing rapid control prototyping using a plurality of graphical programs that share a single graphical user interface
CN101308365A (en) * 2008-07-07 2008-11-19 株洲南车时代电气股份有限公司 Quick control prototype system and realization method
CN101706648A (en) * 2009-01-13 2010-05-12 华东理工大学 Design method of motion controller based on RCP and DSP
CN102262393A (en) * 2010-05-24 2011-11-30 赵奇 Hardware-in-Loop Simulation (HILS) system and method for realizing rapid prototyping control
CN103344437A (en) * 2013-07-19 2013-10-09 华北电力大学 Semi-physical real-time simulation platform for wind generating set
CN103941594A (en) * 2014-04-10 2014-07-23 北京工业大学 Electric-hydraulic braking rapid control prototype of electric vehicle

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
张宝顺: "基于PXI的MMC-HVDC系统快速控制原型设计", 《电力系统自动化》 *
方正,等: "基于DSP的快速控制原型系统", 《东北大学学报(自然科学版)》 *
闫光亚,等: "基于xPC Target的直线电机快速原型控制系统", 《中国机械工程》 *
黄硕,等: "基于Matlab/Simulink的SPWM算法嵌入式模型化编程", 《沈阳工程学院学报(自然科学版)》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105680761A (en) * 2016-03-30 2016-06-15 贵州大学 Method and device for demonstrating motor AC frequency conversion speed regulation experiment
CN106560750A (en) * 2016-12-30 2017-04-12 贵州大学 Digital physical hybrid simulation device for microgrid and distributed power supply
CN106772046A (en) * 2016-12-30 2017-05-31 贵州大学 A kind of motor test complex under self-defined electric circumstance
CN106772046B (en) * 2016-12-30 2023-02-24 贵州大学 Motor comprehensive test equipment under self-defined electrical environment
CN106560750B (en) * 2016-12-30 2023-05-09 贵州大学 Digital physical hybrid simulation device for micro-grid and distributed power supply
CN110083935A (en) * 2019-04-26 2019-08-02 信阳师范学院 Double-fed controller of fan auxiliary design method and equipment
CN110083935B (en) * 2019-04-26 2022-10-28 信阳师范学院 Auxiliary design method and device for double-fed fan controller

Also Published As

Publication number Publication date
CN104678967B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN103439967A (en) Closed loop test system of flexible direct current transmission control protection system
CN105844993B (en) A kind of energy feedback type aircraft electric load analogy method
CN104678967A (en) Method and equipment for realizing rapid prototype designing of PWM controller by combining universal industrial personal computer and DSP
CN113741218A (en) Comprehensive real-time simulation platform for large wind turbine generator
CN104865847A (en) Testing system for ring-digital and physical mixed real-time power simulation and test method thereof
CN102722107A (en) Intelligent integrated development and test system for high-voltage frequency converter and establishment method thereof
CN105404720A (en) Hardware-in-loop simulation based wind power unit modeling method
CN101799688A (en) Wind power generation semi-physical simulation test platform
CN109800455B (en) Transient reactive characteristic simulation method and device for doubly-fed wind turbine generator
CN104252550A (en) High-performance real-time simulation method based on FPGA (field programmable gate array)
CN105182796A (en) Grid access simulation test system for inverter
CN204695098U (en) A kind of bidirectional electric automobile charger controller real-time simulation proving installation
CN113448890A (en) Distributed simulation system and control method
CN102830629A (en) Testing device and method of power electronic control system
CN101893891B (en) Laboratory test system and method of wind driven generator control system
CN203689807U (en) Wind power generator simulation training management system
CN103268381B (en) A kind of method for double-workpiece-platform semi-physical simulation based on virtual reality technology
Martins et al. Test platform for rapid prototyping of digital control for power electronic converters
CN104375422A (en) Emulation system based on STATCOM controller
CN108469778A (en) A kind of SERVO CONTROL MBD development platforms
CN204856067U (en) Power is at testing system of loop type digit with mixed real -time simulation of physics
CN105092996A (en) EMTP (Electro-Magnetic Transient Program)-based relay protection tester compound fault real-time simulation system
CN102818953A (en) Wind condition simulation system and method for realizing wind condition simulation system on wind turbine generator test bed
Zhang et al. A real time testing system for wind turbine controller with xPC target machine
Babu et al. Optimizing electrical generators of wind energy conversion system for efficient power extraction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191118

Address after: 550000 Xiaomeng Industrial Park, Guiyang Economic and Technological Development Zone, Guizhou Province

Patentee after: Guizhou University Science Park Development Co.,Ltd.

Address before: 550025 science and Technology Department, north campus, Guizhou University, Huaxi, Guizhou, China

Patentee before: Guizhou University

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170711

Termination date: 20220210

CF01 Termination of patent right due to non-payment of annual fee