VXD development technology controls calorie of medium application in motion

  • Time:
  • Click:107
1.

Brief introduction of VXD development technology is fictitious equipment driver (Virtual Device Driver) abbreviation VXD, it is a kind of program that uses function of patulous Windows operating system. VXD basically uses the government that supports hardware equipment, the core layer that it receives Windows operating system with special DLL form catenary (Ring 0) , can solve a lot of cannot applying a layer commonly (Ring 3) a series of issues that process designing handles, if be opposite,hardware interrupts the processing that wait. The Windows 9X operating system that VXD wide application rolls out at Microsoft company each version, a lot of hardware equipment driver that are based on Windows platform used VXD process designing. Because VXD process designing involves the rock-bottom construction of Windows, because this develops working difficulty,compare big. The VXD previously is written with assembly language entirely, and need rock-bottom to Windows structure have the knowledge that comparative, development workload is bigger. A lot of companies rolled out different VXD to develop a tool for this, compare among them famous is the VtoolsD development kit that American Vireo company rolls out, the C++ that offerred the abundance to VXD process designing kind the support of the library, rose to develop the efficiency of this kind of program greatly. 2.

Motion controls the characteristic of calorie of driver to use the computer to undertake athletic controlling having huge flexibility. Can get used to the need of different control system through writing different program, at the same time have the aid of is mixed at ability of operation of computer high speed tremendous storage capacity can fulfil a lot of complex functions, be like circular arc interpolation even the treatment of dimensional curved surface, and can with graphical means intuitionistic imitate shows treatment process. Motion controls card to serve as crucial part, its hardware and driver are having all in all effect to the function of whole control system. It is in charge of dictating motion to changeover sends actuator generation motion into corresponding pulse. From versatility angle consideration, motion controls calorie of driver to should offer wholer exercise to control function library, this function library should can carry out move point-blank from odd axis much axis linkage, arrive from interpolation of straight line segment circular arc interpolation even the commonly used exercise statement such as corkscrewed yarn interpolation. When the complex form workpiece that comprises by many line segment and circular arc in treatment especially, driver should make sure treatment is successional. Because computer operating system turns to Windows by DOS already, and Windows operating system belongs to much task operating system, because this is developing the campaign below Windows platform,the attention still answers to decrease to wait for systematic natural resources to CPU as far as possible below the premise that makes sure the instruction is successive when control blocks driver take up, in order to make sure other task can be carried out normally. And used athletic condition to inquire means judges pilot of an exercise statement in the past axis whether already feed ends to satisfy this kind of requirement very hard. Because this is necessary,use other means to solve this problem. Interrupt processing to cooperate to dictate buffer can solve this problem well. To discontinuous processing, come true more easily below DOS platform. Interrupting process designing because of DOS operating system is open, programmer can revise those who interrupt vector to handle his to suspend service program arbitrarily. But fall in Windows platform, for systematic stability, the operating system is right average applied order (Ring 3 layer) not wide-open interrupt process designing. Move in operating system ground floor as a result of equipment driver however (Ring 0 layer) , accordingly, we are OK have the aid of realizes the campaign that breaks the job below means to control calorie of driver at VXD process designing. 3.

Use VXD technology to develop motion to control calorie of driver VXD to move in the ground floor of Windows operating system, have the aid of wait for development tool at VtoolsD, we can be in easily suspend control of sport of the implementation below means. Go to the lavatory to use, the interface function that instruction correspondence moves each in athletic function library links a library with the trends of Windows standard (DLL) the form is enclosed, DLL job of the standard is in Ring 3 layer, and VXD job is in Ring 0 layer, because this needs to be in DLL to load VXD, to motion the instruction also needs statified undertake handling. What dictate to assure motion is successional, be necessary to use instruction buffer to cooperate motion to interrupt. The instruction buffer that the athletic instruction that receives through DLL interface function is pressed into DLL, cheng of corresponding instruction processing line is activationed, to one class athletic statement undertakes handling, processing presses the rock-bottom buffer in be located in VXD through the interface between DLL and VXD as a result. Control the hardware design of card through motion, can come true to carry out the generation after ending to interrupt in athletic statement, in suspending service program, the job that place should finish dictates from ground floor buffer takes out each register that an instruction includes to be worth namely, send its in the corresponding register on card by the address. The special function that handles to needing to undertake sampling to feedback signal, what can use card to go up is exterior and time interrupt, amid breaks a service corresponding processing undertakes in the program. 4.

For the program that uses VXD technology to develop motion to control calorie of driver and function library to leave the job relative to the inquiry means at the tradition relative to the advantage of other means, have following a few advantages: (1) system moving efficiency is taller, take up to the systematic natural resources such as CPU fewer. Can develop the campaign that leads a graph to show in real time easily to control a system. (It is better that 2) dictates the motion when successive movement and interpolation of small line segment is successional more, suffer other task not easily below environment of Windows much task to affect and appear of motion discontinuous. (3) can realize more accurate sampling to handle a function, realize full closed-loop control on this foundation then. CNC Milling