CN103836079B - Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA - Google Patents

Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA Download PDF

Info

Publication number
CN103836079B
CN103836079B CN201210480176.2A CN201210480176A CN103836079B CN 103836079 B CN103836079 B CN 103836079B CN 201210480176 A CN201210480176 A CN 201210480176A CN 103836079 B CN103836079 B CN 103836079B
Authority
CN
China
Prior art keywords
magnetic bearing
signal
module
fpga
drive control
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.)
Active
Application number
CN201210480176.2A
Other languages
Chinese (zh)
Other versions
CN103836079A (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.)
BEIJING QIFENG ENERGY TECHNOLOGY Co Ltd
Original Assignee
BEIJING QIFENG ENERGY TECHNOLOGY Co Ltd
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 BEIJING QIFENG ENERGY TECHNOLOGY Co Ltd filed Critical BEIJING QIFENG ENERGY TECHNOLOGY Co Ltd
Priority to CN201210480176.2A priority Critical patent/CN103836079B/en
Publication of CN103836079A publication Critical patent/CN103836079A/en
Application granted granted Critical
Publication of CN103836079B publication Critical patent/CN103836079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Magnetic Bearings And Hydrostatic Bearings (AREA)

Abstract

The present invention relates to a kind of energy accumulation flywheel magnetic bearing control system based on DSP and FPGA, system includes that DSP algorithm module, FPGA drive control module, magnetic bearing power model, magnetic bearing signal monitoring module, magnetic bearing Signal-regulated kinase, A/D modular converter, LCD display module, keyboard, host computer communication module, DSP algorithm modular telecommunications number connect FPGA drive control module, and the magnetic bearing power model signal of telecommunication connects the PMW generator of FPGA drive control module.Complete flywheel magnetic bearing coil current size by PWM to control, complete the real-time control that flywheel is run;Magnetic bearing signal monitoring modular telecommunications number connects flywheel magnetic bearing rotor displacement signal and the monitoring of magnetic bearing coil current line signal.The present invention has that circuit is simple, system stability, control accuracy high.

Description

Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA
Technical field
The present invention relates to a kind of energy accumulation flywheel magnetic bearing control system based on DSP and FPGA.
Background technology
Accumulated energy flywheel is a kind of mechanical energy storing device, has high efficiency, high energy storage density, environmental protection, service life Long, the advantages such as discharge and recharge is rapid, it is the key equipment in new forms of energy, is the focus of International Power electronics research.Energy storage at present flies The control system of wheel mainly uses single microprocessor chip (such as dsp chip) collocation to control drive circuit and is controlled.This Planting control program great advantage is that control system circuit is fairly simple, but this scheme disadvantage is automatization's control of system Processing procedure degree is the highest and cannot be to the operation conditions on-line real time monitoring of magnetic bearing.
Summary of the invention
Based on disadvantage mentioned above, the present invention discloses a kind of energy accumulation flywheel magnetic bearing control system based on DSP and FPGA, mainly It is used for solving the employing list micro-chip processor control system automatic controlling level of accumulated energy flywheel the highest and cannot be to operation conditions The problems such as on-line real time monitoring, can also monitor the operation conditions of flywheel simultaneously in real time.Native system is for accumulated energy flywheel magnetic axis The system of holding carries out stable suspersion and controls and real-time operating conditions monitoring, is particularly well-suited to the occasions such as high accuracy, high Automated condtrol.
The technical solution of the present invention is: a kind of energy accumulation flywheel magnetic bearing control system based on DSP and FPGA, including DSP algorithm module (2), FPGA drive control module (1), magnetic bearing power model (7), magnetic bearing signal monitoring module (5), magnetic Bearing Signal-regulated kinase (4), A/D modular converter (3), LCD display module (8), keyboard (11), host computer communication module (9), FPGA drive control module (1) includes that A/D controller module (12), lcd controller (13), PWM generator (14), SCI communicate Module (15), two-port RAM (16) and KBC (17), DSP algorithm module (2) signal of telecommunication connects FPGA and drives control mould Block (1), magnetic bearing power model (7) signal of telecommunication connects the PMW generator (14) of FPGA drive control module (1), keyboard (11) The signal of telecommunication connects the KBC of FPGA drive control module (1), and host computer communication module (9) signal of telecommunication connects FPGA and drives The SCI communication module (15) of control module (1), LCD display module (8) signal of telecommunication connects the LCD of FPGA drive control module (1) Controller (13), magnetic bearing signal monitoring module (5) signal of telecommunication connects magnetic bearing Signal-regulated kinase (4), and magnetic bearing signal is adjusted Reason module (4) signal of telecommunication connects A/D modular converter (3), and A/D modular converter (3) signal of telecommunication connects FPGA drive control module (1) A/D controller module (12), magnetic bearing power model (7) signal of telecommunication connect flywheel magnetic bearing, complete flywheel magnetic axis by PWM Hold coil current size to control, complete the real-time control that flywheel is run;Magnetic bearing signal monitoring module (5) signal of telecommunication connects To flywheel magnetic bearing rotor displacement signal and the monitoring of magnetic bearing coil current line signal.
The present invention also has the feature that
1, described DSP algorithm module (2) uses BP neutral net-pid algorithm to complete the stable suspersion control to magnetic bearing System, uses fft algorithm to complete the real-time monitoring to magnetic bearing operation conditions.
2, described DSP algorithm module (2) uses TMS320F28335, FPGA drive control module (1) to use EP2C8Q208C8。
3, a kind of energy accumulation flywheel magnetic bearing control method based on DSP and FPGA, as follows: magnetic bearing signal monitoring module (5) in, current sensor and current vortex sensor capture magnetic bearing coil current signal, magnetic bearing rotor displacement signal respectively, letter The signal that magnetic bearing signal monitoring module (5) captures is filtered and amplifies, signal condition at 0-by number conditioning module (4) In the range of 2.5V, FPGA drive control module (1) controls A/D modular converter (3) to conditioning by A/D controller module (12) After current signal and the collection of displacement signal, and the data after gathering leave in the built-in dual port RAM (16) of FPGA, DSP algorithm module (2) reads data from the built-in dual port RAM (16) of FPGA drive control module (1), neural by BP Unit's pid algorithm (18) and fft algorithm (19) process data genaration magnetic bearings control signal and magnetic bearing monitors signal in real time, place During after reason, data are stored in again FPGA drive control module (1) in built-in dual port RAM (16), FPGA drive control module (1) read these information, on the one hand drive lcd controller (13) to show spectrum signal, another side in LCD display module (8) Drive PWM generator to generate PWM ripple, control flywheel body (6) by magnetic bearing power model (7).
Present invention advantage compared with prior art is: present invention utilizes dsp chip and fpga chip to build storage Can flywheel magnetic bearing automatic control system, there is compared with existing energy accumulation flywheel magnetic bearing control system feature highlighted below:
(1) more existing energy accumulation flywheel magnetic bearing control system uses the numeral of two panels core processor collocation peripheral circuit Control system, the advantage that the present invention has modularized design: circuit is simple, system stability, control accuracy are high.
(2) more existing energy accumulation flywheel magnetic bearing control system uses the numeral of two panels core processor collocation peripheral circuit Control system, the mass data computing that system needs is completed by floating type chip DSP so that system controls in real time and supervises in real time Survey ability is higher, improves the overall accuracy of system.
(3) more existing energy accumulation flywheel magnetic bearing control system uses the numeral of two panels core processor collocation peripheral circuit Control system, system uses fpga chip design driving control circuit in addition to data operation, makes circuit design more flexible, and The re-optimization facilitating system is upgraded.
Accompanying drawing explanation
Fig. 1 is the structure composition frame chart of the present invention;
Fig. 2 is the system program flow chart of the present invention;
Fig. 3 is the magnetic bearing BP Neural network PID algorithm block diagram of the present invention;
Fig. 4 is the two-port RAM schematic diagram of the present invention;
Fig. 5 is that the patten transformation of the present invention controls schematic diagram.
Detailed description of the invention
Below in conjunction with Figure of description, the utility model is described in further detail:
Embodiment 1:
As it is shown in figure 1, the present invention includes FPGA drive control module 1, DSP algorithm module 2, A/D modular converter 3, magnetic axis Hold Signal-regulated kinase 4, magnetic bearing signal detection module 5, flywheel body 6, magnetic bearing power model 7, LCD shows 8, communicating connects Mouth 9, host computer 10, keyboard 11, wherein FPGA drive control module 1 includes A/D controller module 12, lcd controller 13, PWM Generator 14, SCI communication module 15, two-port RAM 16, KBC 17, DSP algorithm module 2 include BP neutral net- Pid algorithm 18, fft algorithm module 19.In magnetic bearing signal monitoring module 5, current sensor and current vortex sensor capture respectively Magnetic bearing coil current signal, magnetic bearing rotor displacement signal, magnetic bearing signal monitoring module 5 is captured by Signal-regulated kinase 4 Signal be filtered and amplify, signal condition in the range of 0-2.5V, FPGA drive control module 1 is controlled by A/D Device module 12 controls A/D modular converter 3 to conditioning after current signal and the collection of displacement signal, and the data after gathering are deposited In the built-in dual port RAM16 of FPGA, DSP algorithm module 2 is from the built-in dual port RAM16 of FPGA drive control module 1 Read data, process data genaration magnetic bearings control signal and magnetic bearing by BP Neuron PID algorithm 18 and fft algorithm 19 Monitoring signal in real time, during after process, data are stored in again FPGA drive control module 1 in built-in dual port RAM16, FPGA drives Dynamic control module 1 reads these information, on the one hand drives lcd controller 13 to show spectrum signal in LCD display module 8, separately One side drives PWM generator to generate PWM ripple, controls flywheel body 6 by magnetic bearing power model 7.
As in figure 2 it is shown, be the control algolithm flow chart of the present invention, system electrification initializes the control parameter of system and realizes Magnetic bearing at static stable suspersion in centre position, if non-stable suspersion can realize with on-line tuning parameter in centre position Stable suspersion is in centre position, when motor driven rotor rotates, by A/D sampling driver Real-time Collection magnetic bearing signal detection The magnetic bearing coil current size of module feedback and rotor displacement information, displacement information and electric current are believed by BP neuron-pid algorithm Breath carries out process and forms PWM ripple, drives magnetic bearing power model to realize rotor dynamic stability and suspends, another aspect feedback rotor Displacement information carries out spectrum analysis by fft algorithm, forms rotor real time execution spectrogram, shows on LCD.
As it is shown on figure 3, be the BP Neuron PID algorithm schematic diagram of the present invention, BP neuron uses three-level network structure, Comprise input layer, hidden layer and output layer;Pid algorithm uses incomplete derivative PID algorithm.
As shown in Figure 4, for system DSP and the FPGA connection diagram of the present invention, it is embedded that DSP and FPGA is connected by FPGA Two-port RAM.DSP28335 has the external memory interface (XINTF) carried, and expansion RAM, FLASH etc. can be facilitated to store Device;FPGA has the abundantest logical block, can conveniently build the memory element such as RAM, ROM and FIFO.The present invention we adopt Build dual port RAM memory with Veri log language, be mapped to the Zone0 region of DSP.The communication mechanism of FPGA and DSP For: the Zone0 signal of DSP is connected with the CS of XCSZ0 with RAM of FPGA;The WE of XWE0 with RAM is connected;The RE phase of XRE0 with RAM Even;The least-significant byte address wire of DSP is connected with the 8 bit address lines of RAM;The low 16 bit address lines of DSP and the 16 position datawire phases of RAM Even.
As it is shown in figure 5, be the system analog digital conversion schematic diagram of the present invention, analog digital conversion uses time sharing sampling technology, with one Sheet A/D chip completes the collection of 10 road signals;MUX is 16 to select 1 chip SN74150, A/D conversion chip is 16, The AD9467 of 250MSPS, FPGA complete the conversion of 10 signals by controlling SN74150 selector timesharing by A/D chip, and The data of conversion are left in FIFO.
The principle of the present invention is: the present invention use dsp chip and fpga chip realize accumulated energy flywheel automatically control and Line is monitored in real time, and the collection of 10 circuit-switched data, magnetic bearing coil current control and the display of spectrum signal is mainly complete by fpga chip Become;Real-time control process and the main dsp chip of spectrum analysis to gathering data complete.Wherein FPGA drives and controls A/D module Complete magnetic bearing rotor displacement signal and the collection of magnetic bearing coil current signal;DSP to gather rotor displacement signal and On the one hand coil current signal carries out FFT computing and forms spectrum information, and the opposing party passes through BP Neural network PID algorithm to magnetic axis Hold stable suspersion control.
The invention provides energy accumulation flywheel magnetic bearing automatic control system to magnetic bearing rotor displacement signal and magnetic bearing line The analog input interface of loop current monitoring, it is provided that the output controlled magnetic bearing coil current through power amplifier module connects Mouthful.On the one hand, by the displacement letter of five degree of freedom of displacement transducer monitoring magnetic bearing rotor in magnetic bearing signal monitoring module Number and through current sensor detection magnetic bearing coil in current signal, FPGA is converted to numeral by AD controlling of sampling algorithm Amount;The magnetic bearing real-time control data that DSP generates produces algoritic module by the PWM of FPGA and generates PWM ripple, PWM ripple modulation letter Number magnetic bearing device for power switching is driven to realize the stable suspersion of magnetic bearing flywheel rotor.
The present invention can be as a kind of general energy accumulation flywheel magnetic bearing automatic control system platform, it is provided that enough is hard The operation interface of part resource and hommization, engineering staff can the stable suspersion of the most real magnetic bearing.

Claims (1)

1. an energy accumulation flywheel magnetic bearing control system based on DSP and FPGA, drives control including DSP algorithm module (2), FPGA Molding block (1), magnetic bearing power model (7), magnetic bearing signal monitoring module (5), magnetic bearing Signal-regulated kinase (4), A/D turn Die change block (3), LCD display module (8), keyboard (11), host computer communication module (9), FPGA drive control module (1) include A/ D controller module (12), lcd controller (13), PWM generator (14), SCI communication module (15), two-port RAM (16) and key Disk controller (17), DSP algorithm module (2) signal of telecommunication connects FPGA drive control module (1), magnetic bearing power model (7) electricity Signal connects the PMW generator (14) of FPGA drive control module (1), and keyboard (11) signal of telecommunication connects FPGA drive control module (1) KBC, host computer communication module (9) signal of telecommunication connects the SCI communication module of FPGA drive control module (1) (15), LCD display module (8) signal of telecommunication connects the lcd controller (13) of FPGA drive control module (1), it is characterised in that: magnetic Bearing signal monitoring module (5) signal of telecommunication connects magnetic bearing Signal-regulated kinase (4), magnetic bearing Signal-regulated kinase (4) telecommunications Number connect A/D modular converter (3), A/D modular converter (3) signal of telecommunication connect FPGA drive control module (1) A/D controller mould Block (12), magnetic bearing power model (7) signal of telecommunication connects flywheel magnetic bearing, completes flywheel magnetic bearing coil current by PWM big Little control, completes the real-time control running flywheel;Magnetic bearing signal monitoring module (5) signal of telecommunication connects flywheel magnetic bearing Rotor displacement signal and the monitoring of magnetic bearing coil current line signal;Described DSP algorithm module (2) sheet uses TMS320F28335, FPGA drive control module (1) uses EP2C8Q208C8;In magnetic bearing signal monitoring module (5), electric current passes Sensor and current vortex sensor capture magnetic bearing coil current signal, magnetic bearing rotor displacement signal, Signal-regulated kinase respectively (4) signal capturing magnetic bearing signal monitoring module (5) is filtered and amplifies, signal condition in the scope of 0-2.5V In, FPGA drive control module (1) controls A/D modular converter (3) to conditioning after current signal by A/D controller module (12) With the collection of displacement signal, and the data after gathering leave the built-in dual port RAM (16) of FPGA drive control module (1) in In, DSP algorithm module (2) reads data from the built-in dual port RAM (16) of FPGA drive control module (1), by BP god Through unit pid algorithm (18) and fft algorithm (19) process data genaration magnetic bearings control signal and magnetic bearing monitor signal in real time, During after process, data are stored in again FPGA drive control module (1) in built-in dual port RAM (16), FPGA drive control module (1) read these information, on the one hand drive lcd controller (13) to show spectrum signal, another side in LCD display module (8) The displacement signal of five degree of freedom of magnetic bearing rotor is monitored and through electric current by displacement transducer in magnetic bearing signal monitoring module Current signal in the magnetic bearing coil of sensor detection, FPGA drive control module (1) is changed by AD controlling of sampling algorithm For digital quantity;The magnetic bearing real-time control data that DSP generates produces algoritic module by the PWM of FPGA drive control module (1) Generating PWM ripple, PWM ripple modulated signal drives magnetic bearing device for power switching to realize the stable suspersion of magnetic bearing flywheel rotor.
CN201210480176.2A 2012-11-23 2012-11-23 Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA Active CN103836079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210480176.2A CN103836079B (en) 2012-11-23 2012-11-23 Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480176.2A CN103836079B (en) 2012-11-23 2012-11-23 Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA

Publications (2)

Publication Number Publication Date
CN103836079A CN103836079A (en) 2014-06-04
CN103836079B true CN103836079B (en) 2016-08-24

Family

ID=50799882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480176.2A Active CN103836079B (en) 2012-11-23 2012-11-23 Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA

Country Status (1)

Country Link
CN (1) CN103836079B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105333008A (en) * 2015-11-20 2016-02-17 珠海格力节能环保制冷技术研究中心有限公司 Monitoring method, device and system for magnetic suspension bearing control system
CN109039137A (en) * 2018-08-18 2018-12-18 成都为蓝新能源有限公司 A kind of two-way inverter circuit system for reducing power consumption and promoting transfer efficiency
CN109185337B (en) * 2018-09-27 2019-08-13 华中科技大学 A kind of real-time control system and motorized spindle supported with AMB system of motorized spindle supported with AMB
CN113790212B (en) * 2021-09-14 2023-07-18 北京泓慧国际能源技术发展有限公司 Flywheel magnetic bearing control system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6664680B1 (en) * 2000-12-20 2003-12-16 Indigo Energy, Inc. Flywheel device with active magnetic bearings
CN1315254C (en) * 2005-07-08 2007-05-09 北京航空航天大学 High-performance integrated magnetic suspension flywheel magnetic bearing digital controller
CN101131573A (en) * 2007-10-19 2008-02-27 北京航空航天大学 Adaptive neural network control method used for magnetic suspension reaction flywheel
CN101196213A (en) * 2007-12-26 2008-06-11 北京航空航天大学 Integrated digital control system for high temperature superconducting magnetic suspension energy accumulation flywheel magnetic bearing
CN101599670A (en) * 2009-05-27 2009-12-09 北京航空航天大学 A kind of integrating double-framework magnetically suspended control moment gyroscope (MSCMG) magnetic bearing control system
CN203230742U (en) * 2012-11-23 2013-10-09 北京奇峰聚能科技有限公司 Energy storage flywheel magnetic bearing control system based on DSP (digital signal processor) and FPGA (field programmable gate array)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6664680B1 (en) * 2000-12-20 2003-12-16 Indigo Energy, Inc. Flywheel device with active magnetic bearings
CN1315254C (en) * 2005-07-08 2007-05-09 北京航空航天大学 High-performance integrated magnetic suspension flywheel magnetic bearing digital controller
CN101131573A (en) * 2007-10-19 2008-02-27 北京航空航天大学 Adaptive neural network control method used for magnetic suspension reaction flywheel
CN101196213A (en) * 2007-12-26 2008-06-11 北京航空航天大学 Integrated digital control system for high temperature superconducting magnetic suspension energy accumulation flywheel magnetic bearing
CN101599670A (en) * 2009-05-27 2009-12-09 北京航空航天大学 A kind of integrating double-framework magnetically suspended control moment gyroscope (MSCMG) magnetic bearing control system
CN203230742U (en) * 2012-11-23 2013-10-09 北京奇峰聚能科技有限公司 Energy storage flywheel magnetic bearing control system based on DSP (digital signal processor) and FPGA (field programmable gate array)

Also Published As

Publication number Publication date
CN103836079A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103836079B (en) Energy accumulation flywheel magnetic bearing control system based on DSP and FPGA
CN201698312U (en) Cooling system for computer case
CN106357114A (en) Piezoelectric vibration energy acquisition system on basis of maximum power point tracking
CN101956578A (en) Vibration data collection and fault analysis system of networking portable type steam turbine set
CN102679716A (en) Grain drier for realizing remote control
CN101499647A (en) Dual core controlled three-phase reversible converter failure diagnosis system and working method thereof
CN2907030Y (en) Low-harmonic variable-frequency speed regulator with reactive power compensation function
CN101083442A (en) Household small-sized solar power generation system electric quantity collector
CN203230742U (en) Energy storage flywheel magnetic bearing control system based on DSP (digital signal processor) and FPGA (field programmable gate array)
CN101587599A (en) Black box and application of same in all-vanadium redox flow battery
CN102507190A (en) Engine test data acquisition system with automatic data recording and compressing functions
CN202649335U (en) Converter power module operation state monitoring device
CN203964992U (en) A kind of distributed water reservoir level monitoring system
CN101380490B (en) Artificial heart experimental bench
CN103633905A (en) DSP (digital signal processor) 28335-based direct current brushless motor control device
CN203537289U (en) Direct current brushless motor control device based on DSP28335
CN103941620A (en) Vehicle levitation control circuit
CN205692033U (en) A kind of motor driven systems energy monitor and trouble-shooter
CN104237804B (en) Lithium battery test system
CN203219452U (en) Image processing platform based on cloud computing architecture
CN207318581U (en) It is a kind of can the novel voltage of energy storage instrument temporarily drops
CN2862440Y (en) Control system for laser diode pump source
CN201595104U (en) Insect life habit observation instrument based on PLC technology
CN108389448A (en) A kind of guidance of Students' Innovation entrepreneurship process and counseling services recording device
CN101450008B (en) Emotional disorders extrusion mold-making device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100075 Beijing City, Dongcheng District Shazikou Road, No. 70 hospital south building three layer

Applicant after: Beijing Qifeng Energy Technology Co., Ltd.

Address before: 100010 Beijing city Dongcheng District Dongsi before Hanhai Technology Building No. 33 alley six layer Stir-Fried Noodles with Vegetables

Applicant before: Beijing Qifeng Energy Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant