Motion control systems
First Claim
1. A method of generating a software driver for allowing a software system to control a hardware system to perform a desired operation based on an application program defining the desired operation, the method comprising the steps of:
- defining at least one driver function for implementing the desired operation;
defining a command format template and a response format template for each driver function;
generating command data strings based on the command format template and the application program; and
parsing response data strings based on the response format template and the application program.
2 Assignments
0 Petitions
Accused Products
Abstract
A system for motion control in which an application is developed that is independent from the actual motion control hardware used to implement the system. The system comprises a software system that employs an application programming interface comprising component functions and a service provider interface comprising driver functions. A system programmer writes an application that calls the component functions. Code associated with the component functions relates these functions to the driver functions. A hardware designer writes driver code that implements the driver functions on a given motion control hardware product. The driver functions are separated into core and extended driver functions. All software drivers implement the core driver functions, while the software drivers need not contain code for implementing the extended driver functions. If the software driver does not contain code to implement an extended driver function, the functionality of the extended driver function is obtained through a combination of core driver functions. The system programmer may also select one or more streams that allow the control commands to be communicated to, and response data to be communicated from, motion control hardware.
126 Citations
14 Claims
-
1. A method of generating a software driver for allowing a software system to control a hardware system to perform a desired operation based on an application program defining the desired operation, the method comprising the steps of:
-
defining at least one driver function for implementing the desired operation; defining a command format template and a response format template for each driver function; generating command data strings based on the command format template and the application program; and parsing response data strings based on the response format template and the application program.
-
-
2. A method of generating a sequence of control commands for controlling a motion control device to perform a given series of motion steps based on an application program defining the given series of motion steps, the method comprising the steps of:
-
defining a set of motion control operations, where each motion control operation is either a primitive operation that is necessary to perform motion control and that cannot be simulated using other motion control operations or a non-primitive operation that does not meet the definition of a primitive operation; defining a core set of core driver functions, where each core driver function is associated with one of the primitive operations; defining an extended set of extended driver functions, where each extended driver function is associated with one of the non-primitive operations; defining a set of component functions; providing component code for each of the component functions, where the component code associates at least some of the component functions with at least some of the driver functions; developing a set of software drivers, where (i) each software driver is associated with one motion control device in a supported group of motion control devices and (ii) each software driver comprises driver code for implementing the motion control operations associated with at least some of the driver functions; selecting one motion control device from the group of supported motion control devices; selecting from the set of software drivers the software driver associated with the selected motion control device; generating control commands based on the application program, the component code, and the driver code associated with the selected software driver; defining a command format template and a response format template for each driver function; generating command data strings based on the command format template and the application program; and parsing response data strings based on the response format template and the application program.
-
-
3. In a system comprising a selected motion control device to which an object is connected, where operation of the selected motion control device controls the object in a desired manner based on a sequence of control commands, a method of generating the sequence of control commands comprising the steps of:
-
defining a set of motion control operations, where each motion control operation is either a primitive operation the implementation of which is required to control the object and cannot be simulated using other motion control operations or a non-primitive operation that does not meet the definition of a primitive operation; defining a core set of core driver functions, where each core driver function is associated with one of the primitive operations; defining an extended set of extended driver functions, where each extended driver function is associated with one of the non-primitive operations; defining a set of component functions; providing component code for each of the component functions, where the component code associates at least some of the component functions with at least some of the driver functions; developing a set of software drivers, where each software driver is associated with one motion control device in a supported group of motion control devices and each software driver comprises driver code for implementing the motion control operations associated with at least some of the driver functions; providing an application program comprising a series of component functions, where the application program defines the steps necessary to control the object in the desired manner; selecting the selected motion control device from the group of supported motion control devices; selecting from the set of software drivers a selected software driver, where the selected software driver is the software driver associated with the selected motion control device; generating the sequence of control commands based on the component functions of the application program, the component code associated with the component functions, and the driver code associated with the selected software driver. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of creating a software driver for allowing a software system to control a hardware system to perform a desired operation based on an application program defining the desired operation, the method comprising the steps of:
-
defining at least one driver function for implementing the desired operation; defining a command format template and a response format template for each driver function; generating command data for controlling the hardware system based on the command format template and the application program; and parsing response data generated by the hardware system based on the response format template and the application program.
-
-
14. In a system comprising a selected controllable device, where the selected controllable device is operated in a desired manner based on a sequence of control commands, a method of generating the sequence of control commands comprising the steps of:
-
defining a set of control operations, where each control operation is either a primitive operation the implementation of which is required to control the controllable device and cannot be simulated using other control operations or a non-primitive operation that does not meet the definition of a primitive operation; defining a core set of core driver identifiers, where each core driver identifier is associated with one of the primitive operations; defining an extended set of extended driver identifiers, where each extended driver identifier is associated with one of the non-primitive operations; defining a set of component identifiers; providing component code for each of the component identifiers, where the component code associates at least some of the component identifiers with at least some of the driver identifiers; developing a set of software drivers, where each software driver is associated with one controllable device in a supported group of controllable devices and each software driver comprises driver code for implementing the motion control operations associated with at least some of the driver identifiers; providing an application program comprising a series of component identifiers, where the application program defines the steps necessary to control the controllable device in the desired manner; selecting the selected controllable device from the group of supported motion control devices; selecting from the set of software drivers a selected software driver, where the selected software driver is the software driver associated with the selected controllable device, and generating the sequence of control commands based on the component identifiers of the application program, the component code associated with the component identifiers, and the driver code associated with the selected software drivers.
-
Specification