WO2007139733A2 - Simulation system including motion controller - Google Patents

Simulation system including motion controller Download PDF

Info

Publication number
WO2007139733A2
WO2007139733A2 PCT/US2007/011995 US2007011995W WO2007139733A2 WO 2007139733 A2 WO2007139733 A2 WO 2007139733A2 US 2007011995 W US2007011995 W US 2007011995W WO 2007139733 A2 WO2007139733 A2 WO 2007139733A2
Authority
WO
WIPO (PCT)
Prior art keywords
bus
motion controller
communicative connection
memory interface
secondary processor
Prior art date
Application number
PCT/US2007/011995
Other languages
French (fr)
Other versions
WO2007139733A3 (en
Inventor
Jay D. Marchetti
Original Assignee
Ideal Aerosmith Inc.
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 Ideal Aerosmith Inc. filed Critical Ideal Aerosmith Inc.
Priority to CA002659209A priority Critical patent/CA2659209A1/en
Priority to EP07795070A priority patent/EP2027514A2/en
Publication of WO2007139733A2 publication Critical patent/WO2007139733A2/en
Publication of WO2007139733A3 publication Critical patent/WO2007139733A3/en

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/18Numerical 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/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4148Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using several processors for different functions, distributed (real-time) systems
    • 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/23Pc programming
    • G05B2219/23445Real time simulation
    • 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/23Pc programming
    • G05B2219/23446HIL hardware in the loop, simulates equipment to which a control module is fixed

Definitions

  • the present invention relates generally to motion controllers and simulation systems including motion controllers.
  • Motion controllers are components that range from ON/OFF devices with simple linear controllers to complex, user programmable modules that act as controllers within complex integrated multi-axis motion systems.
  • a motion controller can be used in flight simulator systems.
  • a simulation computer supplies position, velocity, and acceleration (PVA) demands for three (3) or more axes of motion to the controller on a precise periodic schedule, for example, one PVA demand set per axis each millisecond.
  • PVA position, velocity, and acceleration
  • the simulation computer supplies a piece-wise motion trajectory over time that the motion controller ensures the physical axis follows the supplied motion trajectory.
  • the simulation computer can also read measurements, or readouts, from the motion controller of the actual physical axis PVA. The simulation computer can then use this data to modify its subsequent PVA demand set(s).
  • This control mode represents a form of testing known as hardware-in- the-loop (HWEL) testing, wherein a larger control-loop is formed around the seeker and the flight motion simulator, of which the motion controller is an essential component.
  • HWEL hardware-in- the-loop
  • PC personal computer
  • DSP digital signal processor
  • the daughter card(s) execute the control algorithms for one or more axes and normally exist as slaves on a communication bus mastered by the PC.
  • this bus is an industry-standard parallel input/output (FO) bus such as ISA bus or a Peripheral Component Interconnect (PCI) bus.
  • FO parallel input/output
  • PCI Peripheral Component Interconnect
  • PC 30 supervises the start-up, shut-down, and run-time operations of motion controller 20 while also generally maintaining the demand and readout PVA data transactions for all simulator axes by moving data between one or more DSP cards 40 and a reflective memory interface (RMI) 50.
  • RMI 50 of motion controller 20 is, like DSP card(s) 40, yet another slave card on VO bus 60 of PC 30.
  • RMI card 50 of motion controller 20 is in communicative connection with a corresponding RMI card 70 residing within a simulation computer 80 via, for example, an ultra high-speed communications link such as a fiber optic link 90.
  • This arrangement yields extremely low data communication latencies between reflected (that is, identical content maintained) memory on RMI card 50 and RMI card 70. This low latency is important in minimizing the phase margin of, and thereby enhancing the stability of, HWEL control system 10.
  • PC 30 In its function as the I/O bus master of motion controller 20, PC 30 must: (i) Quickly recognize, whether by polling or via an interrupt from the RMI card 50, that a new block of multi-axis demand PVA data is available in the memory of simulator RMI card 70; (ii) Read (whether by programmed I/O into PC memory or via direct memory access (DMA)) the block of demand PVA data and then write (distribute) the demand PVA data to the appropriate DSP card(s) 40; (iii) Read (whether by programmed I/O into PC memory or via direct memory access (DMA)) the readout PVA data from DSP card(s) 40 and then write the resulting block of multi-axis readout PVA data to the memory of RMI card 50; and (iv) Set a flag variable in the memory of RMI card 50 to signal simulation computer 60 that the demand block / readout block transaction is complete.
  • DMA direct memory access
  • RTOS real time operating system
  • a number of such RTOS 's are commercially available.
  • a real-time operating system or RTOS schedules tasks to be performed according to a set of established priorities. Such tasks typically follow a predictable schedule of execution.
  • RTOS graphical user interface
  • file system as, for example, provided with Microsoft Windows ®
  • the present invention provides a motion controller including a computer comprising a primary processor or a central processing unit and an input/output communication bus.
  • the primary processor is in communicative connection with the bus and is adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus.
  • the motion controller also includes at least one secondary processor in communicative connection with the bus.
  • the secondary processor is adapted to execute at least one control algorithm for one or more axes of motion associated therewith.
  • the secondary processor is further adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor (that is, the secondary processor can effect bus mastering).
  • the operating system of the computer can, for example, be a general purpose operating system (and not a real time operating system as described above).
  • the input output communication bus can, for example, be a PCI bus.
  • PCI bus One skilled in the art appreciates, however, that many other types of buses can be used.
  • the motion controller can further include at least one reflective memory interface in communicative connection with the bus.
  • the reflective memory interface is adapted to communicate data with another reflective memory interface of a simulation computer.
  • the reflective memory interface of the motion controller can, for example, be in communication with the reflective memory interface of the simulation computer via a high speed data link such as a fiber optic communication link.
  • the secondary processor is operable to poll the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, read any new data via the bus, store any new data in a local memory in communicative connection with the secondary processor, and write output data determined from any new data to the reflective memory interface of the motion controller via the bus.
  • the secondary processor can further be operable to set a flag variable in memory of the reflective memory interface of the motion controller to provide an indication that the secondary processor has completed a data input/data output transaction for the one or more axes of motion associated therewith.
  • the secondary process can, for example, be a component of a digital signal processing card.
  • the digital signal processing card is operable as a slave card and a bus mastering card, wherein the digital signal processing card periodically requests temporary mastering of the bus from the primary processor.
  • the secondary processor polls the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, reads any new data via the bus, stores any new data in a local memory in communicative connection with the secondary processor, and writes output data determined from any new data to the reflective memory interface of the motion controller via the bus.
  • the secondary processor of the digital signal processing card can relinquish bus mastership to the primary processor upon completion of a data transaction with the reflective memory interface of the motion controller.
  • Data read from the reflective memory interface of the motion controller by the secondary processor can, for example, include position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor.
  • Data written to memory of the reflective memory interface of the motion controller by the secondary processor can, for example, include position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor.
  • the present invention provides a simulation system including a motion controller including a motion controller computer having a primary processor and an input/output communication bus.
  • the primary processor is in communicative connection with the bus and is adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus.
  • the motion controller further includes at least one secondary processor in communicative connection with the bus.
  • the secondary processor is adapted to execute at least one control algorithm for one or more axes of motion associated therewith.
  • the secondary processor is further adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor.
  • the motion controller also includes at least one reflective memory interface in communicative connection with the bus.
  • the simulation system further includes a simulation computer including a processor and a reflective memory interface and a communication line between the reflective memory interface of the motion controller and the reflective memory interface of the simulation computer.
  • the present invention provides a method of effecting motion control including: providing a computer including a primary processor and an input/output communication bus, the primary processor being in communicative connection with the bus and being adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus; providing at least one secondary processor in communicative connection with the bus, the secondary processor being adapted to execute a control algorithms for one or more axes of motion associated therewith; and having the secondary processor communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor.
  • the present invention provides an expansion or processing card for use with a computer.
  • the computer includes a central processing unit and a computer input/output communication bus in communicative connection with the central processing unit.
  • the expansion card includes a connector to place the card in communicative connection with the computer communication bus, a local input/output communication bus in communicative connection with the connector, at least one secondary processor in communicative connection with the local communication bus, a memory in communicative connection with the local communication bus, and at least one communication port in communicative connection with the local communication bus and being adapted to be placed in communicative connection with at least one component associated with at least one axis of motion to be controlled.
  • the secondary processor is adapted to execute at least one control algorithm for the at least one axis of motion and to communicate with at least one other device (or with other devices) in communicative connection with the computer communication bus via the bus independently of the central processing unit.
  • Figure 1 illustrates a schematic representation of a currently available hardware in the loop motion controller.
  • Figure 2 illustrates an embodiment of a motion controller and simulation system of the present invention.
  • Figure 3 illustrates an embodiment of a digital signal processor card for use in the present invention.
  • Figure 4 illustrates another embodiment of a motion controller and simulation system of the present invention wherein multiple digital signal processors are illustrated in communicative connection with an I/O bus of a PC and with a flight motion table.
  • Figure 5 illustrates an embodiment of a sequencing relationship between a simulation computer and the digital signal processing cards of a motion controller such as illustrated in Figure 4 of the present invention.
  • Figure 6 illustrates a representative processing sequence for digital signal processing cards
  • a motion controller 120 (forming part of an HWEL control system 110) of the present invention includes commercially available PC hardware (for example, a PC 130 including, for example, a processor 132, such as available from Intel of Santa Clara, California, and a memory 134).
  • Motion controller 120 provides a substantial improvement over traditional HWIL motion controller (for example, as illustrated in Figure 1) by utilizing a feature of an FO bus such as a PCI or other data/communication bus 160 referred to as bus mastering.
  • processor 132 of PC 130 is not the sole master of I/O bus 160 of PC 130.
  • bus mastering refers to the capability of devices on PCI bus 160 (other than the PC system chipset or processor 132) to take control of bus 160 and perform transfers directly.
  • DSP card(s) 140 of the present invention which include DSP memory 142 and DSP controller 144, are designed or adapted to periodically request temporary mastership of PCI bus 160 from PC 130.
  • each DSP card 140 When granted mastership, each DSP card 140: (i) Polls (via PCI bus 160) for an indication that a new block of multi-axis demand PVA data is available in memory 172 of RMI card 170 of simulator computer 180 (Since DSP card 140 is generally optimized for speed and utilizes no operating system, the latency of detecting new data blocks, and acting once a new data block is detected, is less than the case in which a PC (such as PC 30 in system 10) acts as an intermediary.); (ii) Reads (via PCI bus I/O code programmed on DSP card 140) the demand PVA data intended for its axes of control and stores the data in local DSP memory 142; (iii) Writes (via PCI bus VO code programmed on DSP card 140) the readout PVA data for its axes of control to memory 152 of RMI card 150 and (iv) Sets a flag variable in the memory 152 of RMI card 150 to signal that the particular DSP card 140 has completed its
  • each DSP card 140 relinquishes PCI bus 160 mastership back to PC 130 and becomes a slave again.
  • PC 130 may then read and write to DSP card(s) 140 as slaves, for example, to maintain a local GUI, or to any other PCI slave devices residing on PCI bus 160, as normal.
  • PC 130 By pushing the hard real-time requirement for RMI data FO down to DSP card(s) 140 where the data is actually utilized or produced.
  • PC 130 is relieved of the need for tightly bounded timeliness, even in HWLL applications.
  • This approach of the present invention permits PC 130 to execute a GPOS, such as MICROSOFT WINDOWS®, that is more suited for its remaining purposes (including, but not limited to, supervisory functions, providing a local GUI, and providing soft real-time communications interfaces such as Ethernet, IEEE-488, or RS-232).
  • GPOS such as MICROSOFT WINDOWS®
  • motion controller 120 reduces both cost and complexity while also providing the benefits of a true MICROSOFT WINDOWS (or other GPOS) local user interface and lowered latency HWIL data I/O.
  • FIG 3 illustrates an embodiment of a DSP card 140 suitable for use in the present invention.
  • DSP card 140 includes a controller or digital signal processor 144 (for example, DSP 2106XP available for Analog Devices, Inc.) and a memory (for example, SRAM) in communication with DSP controller 144 via DSP local data/communications bus 143.
  • a field programmable gate array (FPGA) 145 (for example, available from Altera) is also in communicative connection with DSP local data/communication bus 143 and provides (via, a serializer/deserializer 147) for input/output communication with input/output cards 148 in communicative connection with the axes of control (position transducers, inputs, motor torque outputs etc.).
  • FPGA field programmable gate array
  • FPGA 145 also includes a communication or connector bridge 146 (for example, a PCI connector bridge as known in the art) for communication with communication/data bust 160.
  • a communication or connector bridge 146 for example, a PCI connector bridge as known in the art
  • several pins on DSP PCI bus connector 146 were reserved for bus mastering.
  • any device having bus mastering capability can take control of the bus at any time, even allowing it to shut out motherboard CPU 134.
  • PCI bus master devices use bandwidth as available and can potentially use all bandwidth in the system if no other devices are requesting it.
  • Bus mastering is initiated by a bus mastering device such as DSP card 140 sending a request signal when it requires control of communication/data bus 160 to a central resource (not shown), which is embodied as circuitry on the motherboard of PC 130 shared by all bus devices. Bus control is relinquished to the device when a grant signal is received.
  • PCI bus mastering is specified, for example, in technical detail in the PCI Local Bus Specification, Revision 2.3, available from PCI Special Interest Group (SIG) of Hillsboro, Oregon (www.psisig.com), the disclosure of which is incorporated herein by reference.
  • Figure 4 illustrates another embodiment of a hardware-in-the-loop simulation system 210 and motion controller 220 of the present invention that operates essentially in the manner described above for simulation system 110 and motion controller 120.
  • Components of simulation system 210 are numbered similarly to corresponding components of simulation system 110 with 100 added to each designation numeral.
  • Motion controller 220 includes two DSP cards 240a and 240b, each of which can control one or more axes of control of a controlled element 300 (for example, a flight motion table or rate table simulating the motion of a missile, an aircraft, a launch vehicle, an unmanned aerial vehicle, an automobile etc. ).
  • a controlled element 300 for example, a flight motion table or rate table simulating the motion of a missile, an aircraft, a launch vehicle, an unmanned aerial vehicle, an automobile etc.
  • flight motion table 300 includes two axes of control 310a and 310b in operative connection with bus mastering DSP cards 240a and 240b, respectively (as described above in connection with Figures 2 and 3).
  • Suitable flight motion tables for use in the present invention are, for example, available from Ideal Aerosmith, Inc. of East Grand Forms, Minnesota.
  • Flight motion table 300 is mechanically coupled to a guidance system 400 under test.
  • guidance system 300 includes a processor or controller 310 in operative connection with inertial sensors 320.
  • Processor 310 is, for example, operable to execute an auto-pilot program 330, as known in the art.
  • Guidance system 300 transmits actuator commands to simulation computer 280 including a processor or controller 282, which executes a vehicle dynamics simulation program stored in a memory 284 thereof.
  • simulation computer 280 includes a reflective memory interface card 270 in communicative connection (via, for example, a high-speed communication portal or link 290 (such a fiber optic communication link) with reflective memory interface card 250 of motion controller 220.
  • DSP cards 240a and 240b are in communicative connection with communication bus 160 as described above in connection with Figures 2 and 3.
  • An embodiment of a sequencing relationship between simulation computer 280 and one of DSP cards 240a and 240b of motion controller 220 is illustrated in Figure 5.
  • a representative processing sequence for DSP cards 240a and 240b is set forth in Figure 6.
  • all DSP cards in the motion controller (including, for example, DSP cards 240a and 240b of motion controller 220) ran from the same high-accuracy time reference (for example, a 5000Hz time reference) and were, therefore, synchronized.
  • Simulation computer 280 has its own high-accuracy time reference or uses the timing reference output of motion controller 220.
  • the simulation period of simulation computer 280 can, for example, be an integer multiple of the simulation period of motion controller 220 (in several embodiments, a 200 microsecond period).
  • Each of DSP card 240a and 240b is capable of independently arbitrating for, mastering, and then relinquishing control of the communication/data bus 260 under DSP program control.

Abstract

A motion controller including a computer comprising a primary processor or a central processing unit and an input/output communication bus. The primary processor is in communicative connection with the bus and is adapted to communicate with other devices in communicative connection with the bus via the bus. The motion controller also includes at least one secondary processor in communicative connection with the bus. The secondary processor is adapted to execute at least one control algorithm for one or more axes of motion associated therewith. The secondary processor is further adapted to communicate with other devices in communicative connection with the bus via the bus independently of the primary processor (that is, the secondary processor is can effect bus mastering). The operating system of the computer can, for example, be a general purpose operating system.

Description

MOTION CONTROLLERS AND SIMULATION SYSTEMS INCLUDING MOTION
CONTROLLERS
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims the benefit of U.S. Provisional Patent Application Serial No. 60/802,406, filed May 22, 2006, the disclosure of which is incorporated herein by reference.
BACKGROUND OF THE INVENTION
[0002] The present invention relates generally to motion controllers and simulation systems including motion controllers.
[0003] Motion controllers are components that range from ON/OFF devices with simple linear controllers to complex, user programmable modules that act as controllers within complex integrated multi-axis motion systems. For example, a motion controller can be used in flight simulator systems. Typically, a simulation computer supplies position, velocity, and acceleration (PVA) demands for three (3) or more axes of motion to the controller on a precise periodic schedule, for example, one PVA demand set per axis each millisecond. As such, the simulation computer supplies a piece-wise motion trajectory over time that the motion controller ensures the physical axis follows the supplied motion trajectory.
[0004] In addition to sending axis trajectories to the controller, the simulation computer can also read measurements, or readouts, from the motion controller of the actual physical axis PVA. The simulation computer can then use this data to modify its subsequent PVA demand set(s). This control mode represents a form of testing known as hardware-in- the-loop (HWEL) testing, wherein a larger control-loop is formed around the seeker and the flight motion simulator, of which the motion controller is an essential component.
[0005] Currently available motion controllers are typically based upon industrially packaged personal computer (PC) hardware. In most such designs the PC processor, hereinafter referred to as the "PC", performs in a supervisory and communications role only, while digital servo loop closure and other axis-specific, hard real-time functions are executed on a daughter or slave card processor optimized for mathematical operations. The daughter or slave card is often a digital signal processor (DSP).
[0006] The daughter card(s), hereinafter referred to as the "DSP card(s)", execute the control algorithms for one or more axes and normally exist as slaves on a communication bus mastered by the PC. In most cases this bus is an industry-standard parallel input/output (FO) bus such as ISA bus or a Peripheral Component Interconnect (PCI) bus.
[0007] As illustrated in Figure 1, in a number of currently available HWIL control systems 10, PC 30 supervises the start-up, shut-down, and run-time operations of motion controller 20 while also generally maintaining the demand and readout PVA data transactions for all simulator axes by moving data between one or more DSP cards 40 and a reflective memory interface (RMI) 50. Typically, RMI 50 of motion controller 20 is, like DSP card(s) 40, yet another slave card on VO bus 60 of PC 30. RMI card 50 of motion controller 20 is in communicative connection with a corresponding RMI card 70 residing within a simulation computer 80 via, for example, an ultra high-speed communications link such as a fiber optic link 90. This arrangement yields extremely low data communication latencies between reflected (that is, identical content maintained) memory on RMI card 50 and RMI card 70. This low latency is important in minimizing the phase margin of, and thereby enhancing the stability of, HWEL control system 10.
[0008] In its function as the I/O bus master of motion controller 20, PC 30 must: (i) Quickly recognize, whether by polling or via an interrupt from the RMI card 50, that a new block of multi-axis demand PVA data is available in the memory of simulator RMI card 70; (ii) Read (whether by programmed I/O into PC memory or via direct memory access (DMA)) the block of demand PVA data and then write (distribute) the demand PVA data to the appropriate DSP card(s) 40; (iii) Read (whether by programmed I/O into PC memory or via direct memory access (DMA)) the readout PVA data from DSP card(s) 40 and then write the resulting block of multi-axis readout PVA data to the memory of RMI card 50; and (iv) Set a flag variable in the memory of RMI card 50 to signal simulation computer 60 that the demand block / readout block transaction is complete.
[0009] The above-described motion controller architecture and HWIL operational scenario, which is the basis of, for example, a number of existing commercial and historical flight simulation controllers, is predicated on the ability of PC 30 to respond with very low latency to the arrival of the demand PVA data block and then rapidly move demand and readout data among multiple DSP cards 40 and simulator RMI card 70.
[0010] The requirement of bounded (guaranteed) timeliness on PC 30 forces the modern motion controller designer to utilize a real time operating system (RTOS) executing on PC 30. A number of such RTOS 's are commercially available. A real-time operating system or RTOS schedules tasks to be performed according to a set of established priorities. Such tasks typically follow a predictable schedule of execution. The ability to respond to environmental inputs in a priority-based manner allows a real-time operating system to respond almost instantaneously to events as they occur and, in general, an RTOS is capable of guaranteeing a certain capability within a specified time constraint Unfortunately, most RTOS 's are substantially more expensive and more difficult to operate than a general purpose operating system (GPOS) such as Microsoft Windows®. Moreover, RTOS 's generally lack the features that computer-savvy users have come to expect when using a motion controller's local display, for example, a GPOS graphical user interface (GUI) and file system (as, for example, provided with Microsoft Windows®). The RTOS thus adds both recurring and nonrecurring design costs to motion controller 20 and further disadvantages the design either by forcing compromises in the controller's local user interface, or by adding the additional cost to provide a second dedicated local interface PC 100 that communicates with controller PC 30.
[0011] It thus remains desirable develop improved motion controllers and simulation systems that reduce or eliminate the above and other problems with currently available motion controllers and simulation systems.
SUMMARY OF THE INVENTION
[0012] In one aspect, the present invention provides a motion controller including a computer comprising a primary processor or a central processing unit and an input/output communication bus. The primary processor is in communicative connection with the bus and is adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus. The motion controller also includes at least one secondary processor in communicative connection with the bus. The secondary processor is adapted to execute at least one control algorithm for one or more axes of motion associated therewith. The secondary processor is further adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor (that is, the secondary processor can effect bus mastering). The operating system of the computer can, for example, be a general purpose operating system (and not a real time operating system as described above).
[0013] The input output communication bus can, for example, be a PCI bus. One skilled in the art appreciates, however, that many other types of buses can be used.
[0014] The motion controller can further include at least one reflective memory interface in communicative connection with the bus. The reflective memory interface is adapted to communicate data with another reflective memory interface of a simulation computer. The reflective memory interface of the motion controller can, for example, be in communication with the reflective memory interface of the simulation computer via a high speed data link such as a fiber optic communication link.
[0015] In several embodiments, the secondary processor is operable to poll the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, read any new data via the bus, store any new data in a local memory in communicative connection with the secondary processor, and write output data determined from any new data to the reflective memory interface of the motion controller via the bus. The secondary processor can further be operable to set a flag variable in memory of the reflective memory interface of the motion controller to provide an indication that the secondary processor has completed a data input/data output transaction for the one or more axes of motion associated therewith.
[0016] The secondary process can, for example, be a component of a digital signal processing card. In several embodiments, the digital signal processing card is operable as a slave card and a bus mastering card, wherein the digital signal processing card periodically requests temporary mastering of the bus from the primary processor.
[0017] In several embodiments, once the digital signal processing card is granted bus mastership, the secondary processor polls the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, reads any new data via the bus, stores any new data in a local memory in communicative connection with the secondary processor, and writes output data determined from any new data to the reflective memory interface of the motion controller via the bus. The secondary processor of the digital signal processing card can relinquish bus mastership to the primary processor upon completion of a data transaction with the reflective memory interface of the motion controller.
[0018] Data read from the reflective memory interface of the motion controller by the secondary processor can, for example, include position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor. Data written to memory of the reflective memory interface of the motion controller by the secondary processor can, for example, include position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor.
[0019] In another aspect, the present invention provides a simulation system including a motion controller including a motion controller computer having a primary processor and an input/output communication bus. The primary processor is in communicative connection with the bus and is adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus. The motion controller further includes at least one secondary processor in communicative connection with the bus. The secondary processor is adapted to execute at least one control algorithm for one or more axes of motion associated therewith. The secondary processor is further adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor. The motion controller also includes at least one reflective memory interface in communicative connection with the bus. The simulation system further includes a simulation computer including a processor and a reflective memory interface and a communication line between the reflective memory interface of the motion controller and the reflective memory interface of the simulation computer.
[0020] In a further aspect, the present invention provides a method of effecting motion control including: providing a computer including a primary processor and an input/output communication bus, the primary processor being in communicative connection with the bus and being adapted to communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus; providing at least one secondary processor in communicative connection with the bus, the secondary processor being adapted to execute a control algorithms for one or more axes of motion associated therewith; and having the secondary processor communicate with at least one other device (or with other devices) in communicative connection with the bus via the bus independently of the primary processor.
[0021] In still a further aspect, the present invention provides an expansion or processing card for use with a computer. The computer includes a central processing unit and a computer input/output communication bus in communicative connection with the central processing unit. The expansion card includes a connector to place the card in communicative connection with the computer communication bus, a local input/output communication bus in communicative connection with the connector, at least one secondary processor in communicative connection with the local communication bus, a memory in communicative connection with the local communication bus, and at least one communication port in communicative connection with the local communication bus and being adapted to be placed in communicative connection with at least one component associated with at least one axis of motion to be controlled. The secondary processor is adapted to execute at least one control algorithm for the at least one axis of motion and to communicate with at least one other device (or with other devices) in communicative connection with the computer communication bus via the bus independently of the central processing unit.
[0022] The present invention, along with the attributes and attendant advantages thereof, will best be appreciated and understood in view of the following detailed description taken in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 illustrates a schematic representation of a currently available hardware in the loop motion controller.
[0024] Figure 2 illustrates an embodiment of a motion controller and simulation system of the present invention. [0025] Figure 3 illustrates an embodiment of a digital signal processor card for use in the present invention.
[0026] Figure 4 illustrates another embodiment of a motion controller and simulation system of the present invention wherein multiple digital signal processors are illustrated in communicative connection with an I/O bus of a PC and with a flight motion table.
[0027] Figure 5 illustrates an embodiment of a sequencing relationship between a simulation computer and the digital signal processing cards of a motion controller such as illustrated in Figure 4 of the present invention.
[0028] Figure 6 illustrates a representative processing sequence for digital signal processing cards
DETADJED DESCRIPTION OF THE INVENTION
[0029] In one embodiment of the present invention, as illustrated, for example, in Figure 2, a motion controller 120 (forming part of an HWEL control system 110) of the present invention includes commercially available PC hardware (for example, a PC 130 including, for example, a processor 132, such as available from Intel of Santa Clara, California, and a memory 134). Motion controller 120 provides a substantial improvement over traditional HWIL motion controller (for example, as illustrated in Figure 1) by utilizing a feature of an FO bus such as a PCI or other data/communication bus 160 referred to as bus mastering. In bus mastering, processor 132 of PC 130 is not the sole master of I/O bus 160 of PC 130. In general, bus mastering refers to the capability of devices on PCI bus 160 (other than the PC system chipset or processor 132) to take control of bus 160 and perform transfers directly. In that regard, DSP card(s) 140 of the present invention, which include DSP memory 142 and DSP controller 144, are designed or adapted to periodically request temporary mastership of PCI bus 160 from PC 130. When granted mastership, each DSP card 140: (i) Polls (via PCI bus 160) for an indication that a new block of multi-axis demand PVA data is available in memory 172 of RMI card 170 of simulator computer 180 (Since DSP card 140 is generally optimized for speed and utilizes no operating system, the latency of detecting new data blocks, and acting once a new data block is detected, is less than the case in which a PC (such as PC 30 in system 10) acts as an intermediary.); (ii) Reads (via PCI bus I/O code programmed on DSP card 140) the demand PVA data intended for its axes of control and stores the data in local DSP memory 142; (iii) Writes (via PCI bus VO code programmed on DSP card 140) the readout PVA data for its axes of control to memory 152 of RMI card 150 and (iv) Sets a flag variable in the memory 152 of RMI card 150 to signal that the particular DSP card 140 has completed its demand block/readout block transaction for its axes of control. Simulation computer 180 waits until this flag is asserted by all DSP cards 140 (for example, for all axes of control) in motion controller 120.
[0030] Once its demand block/readout block transaction is complete, each DSP card 140 relinquishes PCI bus 160 mastership back to PC 130 and becomes a slave again. At this point, PC 130 may then read and write to DSP card(s) 140 as slaves, for example, to maintain a local GUI, or to any other PCI slave devices residing on PCI bus 160, as normal.
[0031] By pushing the hard real-time requirement for RMI data FO down to DSP card(s) 140 where the data is actually utilized or produced. PC 130 is relieved of the need for tightly bounded timeliness, even in HWLL applications. This approach of the present invention permits PC 130 to execute a GPOS, such as MICROSOFT WINDOWS®, that is more suited for its remaining purposes (including, but not limited to, supervisory functions, providing a local GUI, and providing soft real-time communications interfaces such as Ethernet, IEEE-488, or RS-232). As compared to currently available motion controller systems (for example, incorporating RTOSs), motion controller 120 reduces both cost and complexity while also providing the benefits of a true MICROSOFT WINDOWS (or other GPOS) local user interface and lowered latency HWIL data I/O.
[0032] Figure 3 illustrates an embodiment of a DSP card 140 suitable for use in the present invention. As described above, DSP card 140 includes a controller or digital signal processor 144 (for example, DSP 2106XP available for Analog Devices, Inc.) and a memory (for example, SRAM) in communication with DSP controller 144 via DSP local data/communications bus 143. A field programmable gate array (FPGA) 145 (for example, available from Altera) is also in communicative connection with DSP local data/communication bus 143 and provides (via, a serializer/deserializer 147) for input/output communication with input/output cards 148 in communicative connection with the axes of control (position transducers, inputs, motor torque outputs etc.). FPGA 145 also includes a communication or connector bridge 146 (for example, a PCI connector bridge as known in the art) for communication with communication/data bust 160. [0033] In several embodiments of the present invention, several pins on DSP PCI bus connector 146 were reserved for bus mastering. In general, on PCI bus 160, any device having bus mastering capability can take control of the bus at any time, even allowing it to shut out motherboard CPU 134. PCI bus master devices use bandwidth as available and can potentially use all bandwidth in the system if no other devices are requesting it. Bus mastering is initiated by a bus mastering device such as DSP card 140 sending a request signal when it requires control of communication/data bus 160 to a central resource (not shown), which is embodied as circuitry on the motherboard of PC 130 shared by all bus devices. Bus control is relinquished to the device when a grant signal is received. PCI bus mastering is specified, for example, in technical detail in the PCI Local Bus Specification, Revision 2.3, available from PCI Special Interest Group (SIG) of Hillsboro, Oregon (www.psisig.com), the disclosure of which is incorporated herein by reference.
[0034] Figure 4 illustrates another embodiment of a hardware-in-the-loop simulation system 210 and motion controller 220 of the present invention that operates essentially in the manner described above for simulation system 110 and motion controller 120. Components of simulation system 210 are numbered similarly to corresponding components of simulation system 110 with 100 added to each designation numeral. Motion controller 220 includes two DSP cards 240a and 240b, each of which can control one or more axes of control of a controlled element 300 (for example, a flight motion table or rate table simulating the motion of a missile, an aircraft, a launch vehicle, an unmanned aerial vehicle, an automobile etc. ). In the illustrated embodiment, flight motion table 300 includes two axes of control 310a and 310b in operative connection with bus mastering DSP cards 240a and 240b, respectively (as described above in connection with Figures 2 and 3). Suitable flight motion tables for use in the present invention are, for example, available from Ideal Aerosmith, Inc. of East Grand Forms, Minnesota.
[0035] Flight motion table 300 is mechanically coupled to a guidance system 400 under test. As illustrated in Figure 4, guidance system 300 includes a processor or controller 310 in operative connection with inertial sensors 320. Processor 310 is, for example, operable to execute an auto-pilot program 330, as known in the art. Guidance system 300 transmits actuator commands to simulation computer 280 including a processor or controller 282, which executes a vehicle dynamics simulation program stored in a memory 284 thereof. , [0036] As described above in connection with system 110, simulation computer 280 includes a reflective memory interface card 270 in communicative connection (via, for example, a high-speed communication portal or link 290 (such a fiber optic communication link) with reflective memory interface card 250 of motion controller 220.
[0037] DSP cards 240a and 240b are in communicative connection with communication bus 160 as described above in connection with Figures 2 and 3. An embodiment of a sequencing relationship between simulation computer 280 and one of DSP cards 240a and 240b of motion controller 220 is illustrated in Figure 5.
[0038] PVA Demands and PVA readouts for shared reflective memory regions for the dual-axis system of Figure 4 are summarized in Tables 1 and 2 below.
Table 1 PVA Demands (7, 32-bit Data WORDS)
PosDmd VelDmd AccDmd
Axis 1 ; PDl - . - •*' VDl K.:' Λ ADl- ' '<•■:
Axis 2 PD2 VD2 . AD2
DmdTrigger " . DTrigΛ
Table 2
PVA Readouts (9, 32-bit Data WORDS)
Axis 1
Axis 2
FrameCount
Figure imgf000011_0001
[0039] A representative processing sequence for DSP cards 240a and 240b is set forth in Figure 6. In several embodiment of the present invention, all DSP cards in the motion controller (including, for example, DSP cards 240a and 240b of motion controller 220) ran from the same high-accuracy time reference (for example, a 5000Hz time reference) and were, therefore, synchronized. Simulation computer 280 has its own high-accuracy time reference or uses the timing reference output of motion controller 220. The simulation period of simulation computer 280 can, for example, be an integer multiple of the simulation period of motion controller 220 (in several embodiments, a 200 microsecond period). Each of DSP card 240a and 240b is capable of independently arbitrating for, mastering, and then relinquishing control of the communication/data bus 260 under DSP program control.
[0040] The foregoing description and accompanying drawings set forth the preferred embodiments of the invention at the present time. Various modifications, additions and alternative designs will, of course, become apparent to those skilled in the art in light of the foregoing teachings without departing from the scope of the invention. The scope of the invention is indicated by the following claims rather than by the foregoing description. AU changes and variations that fall within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

WHAT IS CLAIMED IS:
1. A motion controller comprising:
a computer comprising a primary processor and an input/output communication bus, the primary processor being in communicative connection with the bus and being adapted to communicate with at least one other device in communicative connection with the bus via the bus;
at least one secondary processor in communicative connection with the bus, the secondary processor being adapted to execute at least one control algorithm for one or more axes of motion associated therewith, the secondary processor further being adapted to communicate with at least one other device in communicative connection with the bus via the bus independently of the primary processor:
2. The motion controller of claim 1 wherein the operating system of the computer is a general purpose operating system.
3. The motion controller of claim 1 further comprising at least one reflective memory interface in communicative connection with the bus, the reflective memory interface being adapted to communicate data with another reflective memory interface of a simulation computer.
4. The motion controller of claim 3 wherein the reflective memory interface of the motion controller is in communication with the reflective memory interface of the simulation computer via a fiber optic communication link.
5. The motion controller of claim 3 wherein the secondary processor is operable to poll the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, read any new data via the bus, store any new data in a local memory in communicative connection with the secondary processor, and write output data determined from any new data to the reflective memory interface of the motion controller via the bus.
6. The motion controller of claim 5 wherein the secondary processor is further operable to set a flag variable in memory of the reflective memory interface of the motion controller to provide an indication that the secondary processor has completed a data input/data output transaction for the one or more axes of motion associated therewith.
7. The motion controller of claim 6 wherein the secondary process is a component of a digital signal processing card.
8. The motion controller of claim 7 wherein the bus is a PCI bus.
9. The motion controller of claim 7 wherein the digital signal processing card is operable as a slave card and a bus mastering card, wherein the digital signal processing card periodically requests temporary mastering of the bus from the primary processor.
10. The motion controller of claim 9 wherein when the digital signal processing card is granted bus mastership, the secondary processor polls the reflective memory interface of the motion controller via the bus to determine whether new data has been received by the reflective memory interface of the motion controller from the reflective memory interface of the simulation computer, reads any new data via the bus, stores any new data in a local memory in communicative connection with the secondary processor, and writes output data determined from any new data to the reflective memory interface of the motion controller via the bus.
11. The motion controller of claim 10 wherein the secondary processor of the digital signal processing card relinquishes bus mastership to the primary processor upon completion of a data transaction with the reflective memory interface of the motion controller.
12. The motion controller of claim 5 wherein data read from the reflective memory interface of the motion controller by the secondary processor comprises position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor.
13. The motion controller of claim 12 wherein data written to memory of the reflective memory interface of the motion controller by the secondary processor comprises position, velocity and acceleration data for the one or more axes of motion associated with the secondary processor.
14. A simulation system comprising : a motion controller comprising
a motion controller computer comprising a primary processor and an input/output communication bus, the primary processor being in communicative connection with the bus and being adapted to communicate with at least one other device in communicative connection with the bus via the bus; and
at least one secondary processor in communicative connection with the bus, the secondary processor being adapted to execute at least one control algorithms for one or more axes of motion associated therewith, the secondary processor further being adapted to communicate with at least one other device in communicative connection with the bus via the bus independently of the primary processor; and
at least one reflective memory interface in communicative connection with the bus;
a simulation computer comprising a processor and a reflective memory interface; and
a communication line between the reflective memory interface of the motion controller and the reflective memory interface of the simulation computer.
15. A method of effecting motion control comprising:
providing a computer comprising a primary processor and an input/output communication bus, the primary processor being in communicative connection with the bus and being adapted to communicate with at least one other device in communicative connection with the bus via the bus;
providing at least one secondary processor in communicative connection with the bus, the secondary processor being adapted to execute a control algorithms for one or more axes of motion associated therewith; and
having the secondary processor communicate with at least one other device in communicative connection with the bus via the bus independently of the primary processor.
16. An expansion card for use with a computer operating a general purpose, the computer comprising a central processing unit and a computer communication bus in communicative connection with the central processing unit, the expansion card including a connector to place the card in communicative connection with the computer communication bus, a local communication bus in communicative connection with the connector, at least one secondary processor in communicative connection with the local communication bus, a memory in communicative connection with the local communication bus, and at least one communication port in communicative connection with the local communication bust and being adapted to be placed in communicative connection with at least one components associated with at least one axis of motion to be controlled, the secondary processor being adapted to execute at least one control algorithm for the at least one axis of motion, the secondary processor further being adapted to communicate with other devices in communicative connection with the computer communication bus via the bus independently of the central processing unit.
PCT/US2007/011995 2006-05-22 2007-05-21 Simulation system including motion controller WO2007139733A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CA002659209A CA2659209A1 (en) 2006-05-22 2007-05-21 Motion controllers and simulation systems including motion controllers
EP07795070A EP2027514A2 (en) 2006-05-22 2007-05-21 Simulation system including motion controller

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US80240606P 2006-05-22 2006-05-22
US60/802,406 2006-05-22

Publications (2)

Publication Number Publication Date
WO2007139733A2 true WO2007139733A2 (en) 2007-12-06
WO2007139733A3 WO2007139733A3 (en) 2008-04-03

Family

ID=38779149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/011995 WO2007139733A2 (en) 2006-05-22 2007-05-21 Simulation system including motion controller

Country Status (3)

Country Link
EP (1) EP2027514A2 (en)
CA (1) CA2659209A1 (en)
WO (1) WO2007139733A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702400B2 (en) 2006-05-22 2010-04-20 Ideal Aerosmith, Inc. Motion controllers and simulation systems including motion controllers
CN111367219A (en) * 2020-03-20 2020-07-03 上海航天计算机技术研究所 Carrier rocket differential mode transmitter based on PCI bus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164739B (en) * 2018-09-07 2023-10-24 天津福云天翼科技有限公司 Electrohydraulic servo control system
CN109445348B (en) * 2018-11-26 2023-09-22 中国人民解放军陆军工程大学 Missile detection simulation device for missile weapon system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0125776A2 (en) 1983-04-13 1984-11-21 Nordson Corporation Robot control system
US5826060A (en) 1996-04-04 1998-10-20 Westinghouse Electric Corporation Stimulated simulator for a distributed process control system
WO2004049159A2 (en) 2002-11-22 2004-06-10 Continental Teves Ag & Co. Ohg Device and method for analysing embedded systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0125776A2 (en) 1983-04-13 1984-11-21 Nordson Corporation Robot control system
US5826060A (en) 1996-04-04 1998-10-20 Westinghouse Electric Corporation Stimulated simulator for a distributed process control system
WO2004049159A2 (en) 2002-11-22 2004-06-10 Continental Teves Ag & Co. Ohg Device and method for analysing embedded systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TOM ERKKINEN: "Applied Dynamics International", 1998, AN ADI CUSTOMER NEWSLETTER, pages: 1 - 12

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702400B2 (en) 2006-05-22 2010-04-20 Ideal Aerosmith, Inc. Motion controllers and simulation systems including motion controllers
CN111367219A (en) * 2020-03-20 2020-07-03 上海航天计算机技术研究所 Carrier rocket differential mode transmitter based on PCI bus

Also Published As

Publication number Publication date
WO2007139733A3 (en) 2008-04-03
CA2659209A1 (en) 2007-12-06
EP2027514A2 (en) 2009-02-25

Similar Documents

Publication Publication Date Title
US7702400B2 (en) Motion controllers and simulation systems including motion controllers
EP0318221B1 (en) Controlling responding by users of an intercommunications bus
US8255095B2 (en) Modular avionics system of an aircraft
Furht et al. Real-time UNIX® Systems: design and application guide
US5012409A (en) Operating system for a multi-tasking operating environment
US4577344A (en) Vision system
JP6903275B2 (en) Control device and control method
US20080065837A1 (en) Computerized numerical control system with human interface using low cost shared memory
US20110182300A1 (en) Network Traffic Shaping for Reducing Bus Jitter on a Real Time Controller
US20120192147A1 (en) Develop real time software without an RTOS
EP2027514A2 (en) Simulation system including motion controller
EP3460596A1 (en) Support device and support program
EP3460602A1 (en) Control apparatus, control method, and support apparatus
KR970001902B1 (en) Multi-cpu programmable controller
Jang et al. Design and implementation of a low cost, hierarchical and modular avionics architecture for the DragonFly UAVs
CN1575459A (en) Mechanism for preserving producer-consumer ordering across an unordered interface
Lee et al. Probabilistically guaranteeing end-to-end latencies in autonomous vehicle computing systems
CN112131741B (en) Real-time dual-kernel single-machine semi-physical simulation architecture and simulation method
US5038274A (en) Interrupt servicing and command acknowledgement system using distributed arbitration apparatus and shared bus
JPH05173985A (en) Programmable controller
JP6146508B1 (en) Synchronous processing unit, device, system and method
US20110023035A1 (en) Command Synchronisation
EP4167087A1 (en) Systems and methods for regulating memory utilization for coprocessors
Erol et al. Modular tools for motion control and process control system design
CN116372937A (en) Mechanical arm control method and device, computer readable storage medium and mechanical arm

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07795070

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2007795070

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2659209

Country of ref document: CA