CN104932385A - Multi-axis control system and method for wave simulation - Google Patents

Multi-axis control system and method for wave simulation Download PDF

Info

Publication number
CN104932385A
CN104932385A CN201510382133.4A CN201510382133A CN104932385A CN 104932385 A CN104932385 A CN 104932385A CN 201510382133 A CN201510382133 A CN 201510382133A CN 104932385 A CN104932385 A CN 104932385A
Authority
CN
China
Prior art keywords
multiaxis
host computer
manager
wave simulation
control system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510382133.4A
Other languages
Chinese (zh)
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.)
Pearl River Hydraulic Research Institute of PRWRC
Original Assignee
Pearl River Hydraulic Research Institute of PRWRC
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 Pearl River Hydraulic Research Institute of PRWRC filed Critical Pearl River Hydraulic Research Institute of PRWRC
Priority to CN201510382133.4A priority Critical patent/CN104932385A/en
Publication of CN104932385A publication Critical patent/CN104932385A/en
Pending legal-status Critical Current

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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25314Modular structure, modules

Landscapes

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

Abstract

The invention relates to a multi-axis control system and method for wave simulation. The multi-axis control system for wave simulation comprises a host computer and at least one multi-axis manager. Each multi-axis manager comprises controllers connected by a CAN bus. The host computer issues motion instructions through Ethernet. The host computer is connected to multi-axis controllers through I/O ports. The multi-axis controllers transmit the motion instructions to the corresponding controllers through the CAN buses so that corresponding motions are carried out. The motion instructions are transmitted to the multi-axis managers through Ethernet, and the CAN bus-based multi-axis managers control wave generation units to complete corresponding motions on the basis of the motion instructions. In this way, the real-time performance, accuracy and reliability of wave simulation control can be ensured.

Description

For multi-axis control system and the method for wave simulation
Technical field
The present invention relates to a kind of multi-axis control system for wave simulation and method.
Background technology
Current wave simulation control system generally adopts three kinds of control modes such as bus type, network type and plate card type, mainly contains the field bus systems such as EtherCAT, SQYNET, RS485, the motion control card control system of Industrial Ethernet Control System and Based PC.
Wherein, field bus system price is higher, limited transmission distance system, the more difficult realization of Long-distance Control, and proprietary degree is high, not easily compatible with miscellaneous equipment; Industrial Ethernet Control System data transmission real-time is comparatively difficult to ensure card, and that easily causes between each push wave plate is asynchronous; Kinetic control system based on board is formed primarily of motion control card and computing machine, and motion control card generally inserts in the PCI/PCIE slot of computing machine, limited transmission distance, and cable expense is large, interface is many, is unfavorable for installation and maintenance, and extensibility is not enough.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of multi-axis control system for wave simulation and method, is intended to solve that synchronism in prior art is poor, limited transmission distance system, problem on the high side.
Embodiments provide a kind of multi-axis control system for wave simulation, the described multi-axis control system for wave simulation comprises host computer, at least one multiaxis manager, described multiaxis manager comprises the controller connected by CAN, described host computer issues movement instruction by Ethernet, described host computer is connected by I/O port with multi-axis controller, and movement instruction is transferred to corresponding controller to perform corresponding motion by CAN by described multi-axis controller.
The embodiment of the present invention further provides a kind of multijoint control method for wave simulation, and described method comprises the steps:
Host computer is connected with multiaxis manager by Ethernet;
Host computer generates movement instruction according to spectral data, and sends described movement instruction;
Multiaxis manager receives described movement instruction, and by CAN, movement instruction is transferred to the motion that corresponding controller controls to perform correspondence.
The multi-axis control system for wave simulation that the embodiment of the present invention provides and method, by too net transmitting moving instruction axle manager at the most, multiaxis manager based on CAN controls to make ripple unit according to movement instruction and completes corresponding motion, guarantees real-time, accuracy and reliability that wave simulation controls.
Accompanying drawing explanation
A kind of structural representation of the multi-axis control system for wave simulation that Fig. 1 provides for the embodiment of the present invention;
The another kind of structural representation of the multi-axis control system for wave simulation that Fig. 2 provides for the embodiment of the present invention;
The process flow diagram of the multijoint control method for wave simulation that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows a kind of structural representation of the multi-axis control system for wave simulation that the embodiment of the present invention provides, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, the multi-axis control system for wave simulation that the embodiment of the present invention provides, the described multi-axis control system for wave simulation comprises host computer 1, n multiaxis manager 2, described multiaxis manager 2 comprises the controller connected by CAN, described host computer 1 issues movement instruction by Ethernet to multiaxis manager 2, described host computer 1 is connected by I/O port with multi-axis controller 2, movement instruction is transferred to corresponding controller to perform corresponding motion by CAN by described multi-axis controller 3.
In the present embodiment, described host computer can be PC controller, utilize PC controller fast operation and the large feature of memory capacity, all Motion trajectory are realized by PC controller, improve interpolation rate and the control accuracy of control system, a PC controller can control at most 32 multiaxis managers, accessible at most 16 the CAN nodes of multi-axis controller, accessible 4 digital drive unit of controller, an I/O station can be accessed by and is no less than 16 input/output signals, and this control system theory can control at most 256 kinematic axiss.
Fig. 2 shows the another kind of structural representation of the multi-axis control system for wave simulation that the embodiment of the present invention provides, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, the multi-axis control system for wave simulation that the embodiment of the present invention provides, its synchro control 80 axle, host computer realizes making wave datum and imports, trace generator, the functions such as data transmission and condition monitoring, be connected by Industrial Ethernet between host computer with multiaxis manager, realize making the mutual of wave datum and I/O status data, the transfer rate of Industrial Ethernet is more than 100M/S, transmission range 100m, and undertaken growing distance expansion by junction network equipment, solve the problem of big data quantity and transmission range.Multiaxis manager, I/O station and controller set up a CAN LAN (Local Area Network), and multiaxis manager and controller are the embedded unit adopting ARM9 exploitation, run WINCE real-time system; Make full use of real-time and the reliability of CAN, in addition, movement instruction computing host computer realizes, transmission data between multiaxis manager and controller are only the mode bit of speed, acceleration, displacement and feedback, data volume is little, do not affect transfer rate and synchronism, CAN LAN (Local Area Network) adopts short frame structure, the reliability of transmission and real-time are guaranteed further, and the synchronism between each unit CAN LAN (Local Area Network) realizes synchronously triggering by unified access I/O port transmission level signal.Therefore whole control system has good real-time, reliability and extendability, meet the requirement of wave simulation system.
In the present embodiment, described host computer also for importing spectral data, and generates movement instruction by third-order spline interpolation algorithm.Movement locus is generated according to " third-order spline interpolation method ", be compiled into target trajectory code, form movement instruction, then movement instruction is sent to each multiaxis manager by Ethernet, realize motion control by multiaxis manager, described movement instruction comprises: startup is made ripple, stopped making ripple, single shaft reset, multiaxis reset, the running orbit generating correspondence according to spectral data, single shaft stepping, multiaxis stepping.
In the present embodiment, host computer is for each multiaxis manager, and increase a real-time thread, thread priority is set in real time, to realize the real-time of ethernet communication.Except the direct access controller of tight sudden-stop function processes, other exterior I/O accesses I/O station, to alleviate the load of controller, improves stability and reliability.
In the present embodiment, described host computer is by I/O port to multiaxis manager outputs level signals, and when described host computer exports level signal from low to high by I/O port, then ripple is made in described multiaxis manager startup; Or described host computer is when exporting level signal from high to low by I/O port, then described multiaxis manager stops making ripple.
Fig. 3 shows the process flow diagram of the multijoint control method for wave simulation that the embodiment of the present invention provides, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, the multijoint control method for wave simulation that the embodiment of the present invention provides, described method comprises the steps:
Step S11, host computer is connected with multiaxis manager by Ethernet.
In the present embodiment, be connected by Industrial Ethernet between host computer with multiaxis manager, the transfer rate of Industrial Ethernet is more than 100M/S, transmission range 100m, and undertaken growing distance expansion by junction network equipment, solve the problem of big data quantity and transmission range.
In the present embodiment, after host computer start-up routine, first start the webserver, the webserver is an independently process, and priority is in real time, multiaxis manager relevant in webserver automatic search LAN (Local Area Network), and attempts connecting; Often successfully set up a connection, a newly-increased data exchange threads, the priority also real-time rank of thread, guarantees the real-time of network communication.
Step S12, host computer generates movement instruction according to spectral data, and sends described movement instruction.
In the present embodiment, after the whole successful connection of multiaxis manager, can import spectral data, host computer uses third-order spline interpolation algorithm to generate movement instruction, and the webserver is distributed to multiaxis manager movement instruction.The type of movement instruction comprises startup and makes ripple, stops making ripple, single shaft reset, multiaxis reset, the running orbit generating correspondence according to spectral data, single shaft stepping, multiaxis stepping.PC control Software Development Platform is VC2012, and operating system is WIN7.
Further, described method also comprises: after ripple is made in startup, and host computer gathers wave height data; Judge whether described wave height data meet default wave spectrum, if meet, stop making ripple; Otherwise described spectral data is revised, again forms spectral data.
In the present embodiment, host computer starts Wave Data collecting thread according to demand, and this thread is set to normal rank, by the wave height data analysis collected, judge whether the wave of simulating meets test demand, thus determine the need of carrying out motion trace data correction.
Step S13, multiaxis manager receives described movement instruction, and by CAN, movement instruction is transferred to the motion that corresponding controller controls to perform correspondence.
In the present embodiment, multi-axis controller completes corresponding motion according to the movement instruction type received.When host computer and multiaxis manager are set up after network is connected, program enters network communication event and I/O synchronous event is monitored, and different action responses is carried out in the different motion instruction according to receiving.When receive make the instruction of ripple orbiting motion time, multiaxis manager is stored into this track data in register according to number order, when receive more than 30s make wave datum time, multiaxis manager can respond making ripple enabled instruction, makes ripple enabled instruction and namely starts when receiving and make marble thread.Realize synchronous by same level I/O level signal between host computer with multiaxis manager, when host computer exports level signal from low to high, multiaxis manager then starts makes ripple; When host computer exports level signal from high to low, multiaxis manager then stops making ripple immediately, and ensure the synchronism between each multiaxis manager, the operating system of multiaxis manager is WINCE, and control software design adopts VS2012 exploitation.
The multi-axis control system for wave simulation that the embodiment of the present invention provides and method, its synchronism mainly comprises the synchronous error in synchronous error between multiaxis manager and multiaxis manager in CAN LAN (Local Area Network).Because being triggered by same I/O level signal between multiaxis manager, each sub-multiaxis manager will detect this signal within a refresh cycle, therefore the synchronism between each multiaxis manager can ensure within a refresh cycle, the refreshing frequency of this multiaxis manager is 1000HZ, then the synchronous error of multiaxis manager is within 1ms.CAN itself has good real-time, and the data of high priority can be transmitted the soonest in 134 is delicate; The embodiment of the present invention provides multiaxis manager CAN local network transport distance within 20m, and communication speed can reach 1M/S, adopts short frame communication simultaneously, further increases communication speed.The priority design of the communication between controller and multiaxis manager is the highest, therefore the synchronous error of CAN LAN (Local Area Network) is for being less than or equal to 8 × 134=1.072ms in theory, and therefore the synchronous error of this multi-axis control system is less than or equal to 2.5ms.The interval, reference mark of rough-water test is generally 20ms, and 2.5ms is only 1/8 of interval, a reference mark, can not impact wave simulation, meets the requirement of rough-water test.Run with identical movement locus (each movement locus comprises 8192 data points, and data point is spaced apart 20ms) by 80 axle units, continuously run 2 hours, the synchronous error of each axle all to control between 1/4 point in interval time.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention; make some equivalent alternative or obvious modification without departing from the inventive concept of the premise; and performance or purposes identical, all should be considered as belonging to the scope of patent protection that the present invention is determined by submitted to claims.

Claims (10)

1. for the multi-axis control system of wave simulation, it is characterized in that, the described multi-axis control system for wave simulation comprises host computer, at least one multiaxis manager, described multiaxis manager comprises the controller connected by CAN, described host computer issues movement instruction by Ethernet, described host computer is connected by I/O port with multi-axis controller, and movement instruction is transferred to corresponding controller to perform corresponding motion by CAN by described multi-axis controller.
2. as claimed in claim 1 for the multi-axis control system of wave simulation, it is characterized in that, described host computer also for importing spectral data, and generates movement instruction by third-order spline interpolation algorithm.
3. as claimed in claim 1 for the multi-axis control system of wave simulation, it is characterized in that, described movement instruction comprises: startup is made ripple, stopped making ripple, single shaft reset, multiaxis reset, the running orbit generating correspondence according to spectral data, single shaft stepping, multiaxis stepping.
4. as claimed in claim 1 for the multi-axis control system of wave simulation, it is characterized in that, described host computer passes through I/O port to multiaxis manager outputs level signals.
5. as described in claim 1 or 4 for the multi-axis control system of wave simulation, it is characterized in that, when described host computer exports level signal from low to high by I/O port, then described multiaxis manager starts and makes ripple; Or described host computer is when exporting level signal from high to low by I/O port, then described multiaxis manager stops making ripple.
6. for the multijoint control method of wave simulation, it is characterized in that, described method comprises the steps:
Host computer is connected with multiaxis manager by Ethernet;
Host computer generates movement instruction according to spectral data, and sends described movement instruction;
Multiaxis manager receives described movement instruction, and by CAN, movement instruction is transferred to the motion that corresponding controller controls to perform correspondence.
7., as claimed in claim 6 for the multijoint control method of wave simulation, it is characterized in that, described method also comprises:
After ripple is made in startup, host computer gathers wave height data;
Judge whether described wave height data meet default wave spectrum, if meet, stop making ripple; Otherwise described spectral data is revised, regenerates spectral data.
8., as claimed in claim 6 for the multijoint control method of wave simulation, it is characterized in that, described method also comprises:
Accessing I/O level signal by unification between described host computer with each multiaxis manager carries out synchronous.
9. as described in claim 6 or 8 for the multijoint control method of wave simulation, it is characterized in that, described method also comprises:
When described host computer exports level signal from low to high by I/O port, then ripple is made in described multiaxis manager startup;
When described host computer exports level signal from high to low by I/O port, then described multiaxis manager stops making ripple.
10. as claimed in claim 6 for the multijoint control method of wave simulation, it is characterized in that, described movement instruction comprises: startup is made ripple, stopped making ripple, single shaft reset, multiaxis reset, the running orbit generating correspondence according to spectral data, single shaft stepping, multiaxis stepping.
CN201510382133.4A 2015-07-01 2015-07-01 Multi-axis control system and method for wave simulation Pending CN104932385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510382133.4A CN104932385A (en) 2015-07-01 2015-07-01 Multi-axis control system and method for wave simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510382133.4A CN104932385A (en) 2015-07-01 2015-07-01 Multi-axis control system and method for wave simulation

Publications (1)

Publication Number Publication Date
CN104932385A true CN104932385A (en) 2015-09-23

Family

ID=54119593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510382133.4A Pending CN104932385A (en) 2015-07-01 2015-07-01 Multi-axis control system and method for wave simulation

Country Status (1)

Country Link
CN (1) CN104932385A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549026A (en) * 2018-05-08 2018-09-18 广州视源电子科技股份有限公司 Net synchronization capability detection method, the device and system of multi-axis control system
CN110926757A (en) * 2019-12-13 2020-03-27 珠江水利委员会珠江水利科学研究院 Multi-axis controlled wave simulation system
CN111381612A (en) * 2020-03-24 2020-07-07 苏州曼宇智能科技有限公司 Multi-axis synchronous control system and method based on CAN bus
CN112649176A (en) * 2020-11-30 2021-04-13 大连理工大学 Absorption type wave generating device based on water tank and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336634A (en) * 2006-06-13 2007-12-27 Oriental Motor Co Ltd Apparatus and method for suppressing leakage current in multi-axis drive system
CN102937804A (en) * 2012-11-10 2013-02-20 大连东方电器制造有限公司 Control system of site work states of switch cabinet
CN103581163A (en) * 2013-04-24 2014-02-12 安徽师范大学 Multifunctional remote I/O port control server and design method thereof
CN203499917U (en) * 2013-08-06 2014-03-26 重庆安能工贸有限责任公司 Wind power generation control system
CN104731054A (en) * 2015-01-25 2015-06-24 长沙理工大学 Marine engineering pool wave maker remote measurement and control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336634A (en) * 2006-06-13 2007-12-27 Oriental Motor Co Ltd Apparatus and method for suppressing leakage current in multi-axis drive system
CN102937804A (en) * 2012-11-10 2013-02-20 大连东方电器制造有限公司 Control system of site work states of switch cabinet
CN103581163A (en) * 2013-04-24 2014-02-12 安徽师范大学 Multifunctional remote I/O port control server and design method thereof
CN203499917U (en) * 2013-08-06 2014-03-26 重庆安能工贸有限责任公司 Wind power generation control system
CN104731054A (en) * 2015-01-25 2015-06-24 长沙理工大学 Marine engineering pool wave maker remote measurement and control system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
刘达: "造波机系统运动控制及其网络化技术研究", 《中国博士学位论文全文数据库工程科技Ⅱ辑》 *
李木国等: "基于SynqNet的多向不规则波造波机控制系统", 《测控技术》 *
罗朝林 等: "基于以太网的多向不规则造波系统设计", 《第十五届中国海洋工程学术讨论会论文集》 *
陈永富: "基于多控制器多轴同步的造波机技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549026A (en) * 2018-05-08 2018-09-18 广州视源电子科技股份有限公司 Net synchronization capability detection method, the device and system of multi-axis control system
CN110926757A (en) * 2019-12-13 2020-03-27 珠江水利委员会珠江水利科学研究院 Multi-axis controlled wave simulation system
CN111381612A (en) * 2020-03-24 2020-07-07 苏州曼宇智能科技有限公司 Multi-axis synchronous control system and method based on CAN bus
CN111381612B (en) * 2020-03-24 2023-10-20 苏州曼宇智能科技有限公司 Multi-axis synchronous control system and method based on CAN bus
CN112649176A (en) * 2020-11-30 2021-04-13 大连理工大学 Absorption type wave generating device based on water tank and method thereof
CN112649176B (en) * 2020-11-30 2021-09-21 大连理工大学 Absorption type wave generating device based on water tank and method thereof

Similar Documents

Publication Publication Date Title
CN102253657B (en) Implementation method for networked system structure of numerical control system
CN102591306B (en) Dual-system assembly type industrial robot controller
CN104932385A (en) Multi-axis control system and method for wave simulation
CN101916098B (en) Multi-axis motion control card with absolute coded disk reading function
CN100524122C (en) Bus controller for numerical control system of full digital ring bus
CN102540982B (en) Motion control card and motion control method
CN100504688C (en) Private chip for implementing bus controller function in ring bus numerical control system
CN103760810B (en) A kind of long-haul telemetry terminal control unit
CN105137807A (en) Universal full-digital housekeeping simulation platform
CN207529164U (en) Four axis servo-driver of EtherCAT buses
CN103713940A (en) Method for reconfigurable distributed real-time simulation based on RTX-HLA reflection storage card
CN101013315A (en) General numerical control system based on full digital ring bus
CN204733178U (en) A kind of EtherCAT master station device based on FPGA
Ioana et al. VSOMEIP-OPC UA gateway solution for the automotive industry
CN104135214A (en) Embedded type motor modularization servo controller of flight simulation rotary table
CN105487403A (en) Establishment of motion control system based on CAN and simulation modeling method
CN101876825A (en) Human-computer interface device of small PLC
Zhang et al. Development for protocol conversion gateway of PROFIBUS and Modbus
CN108858209A (en) A kind of industrial robot controller
CN108803508A (en) Power Plant Thermal control algolithm application system and method
CN205176626U (en) Intelligent movement communication base station energy management device
CN200997073Y (en) Universal digital-controlled system based on digital ring bus
CN202918326U (en) Intelligent multi-serial switch
CN201749350U (en) Human-machine interface device for miniature PLC
CN204945660U (en) The wave simulation apparatus structure of Based PC controller and CAN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Ruozhou

Inventor after: Gao Li

Inventor after: Lin Jun

Inventor after: Wang Lei

Inventor after: Xing Fangliang

Inventor after: Chen Jun

Inventor after: Qiu Jinwei

Inventor after: Wang Tianyi

Inventor after: Guo Zebin

Inventor after: Luo Chaolin

Inventor before: Chen Ruozhou

Inventor before: Luo Chaolin

Inventor before: Xing Fangliang

Inventor before: Chen Jun

Inventor before: Wang Lei

CB03 Change of inventor or designer information
RJ01 Rejection of invention patent application after publication

Application publication date: 20150923

RJ01 Rejection of invention patent application after publication