Secondary development using simulation of coordinate CNC machine tools

<

Read the NC machining G code file; b) Assemble the workpiece and fixture components: Write the registered AddCompcallback function to assemble the parts, fixtures and tools. Use the file selection dialog popped up by the function, select the part you want to assemble, and get the file pointer needed to assemble the part. The pop-up dialog box gets the assembly position of the input, and the function is used to assemble the part to the machine model according to the specified position. Add a pointer to the component's body to the motion pair, the assembled workpiece and fixture.

After the assembly is completed, the machine tool table c) runs the machine simulation: Before the graphic simulation operation, the UG/Motion motion analysis environment must be initialized, the system parameters and the interference check structure are defined; and the related types of objects are also traversed. A pointer to the motion object of each axis of the machine tool is obtained for controlling the displacement of each motion pair.

The G code is read using the file pointer, and the semantics of each line of G code are interpreted, and the displacement of each axis is calculated. Then call the UFMOTIONeditarticstepsize function to assign the calculated displacement of each axis to the corresponding five-axis motion pair, and call UFMOTIONsteparticulation to perform the modeling calculation of the three-dimensional entity. After the system performs the modeling calculation of the 3D solids, the entire machining process can be animated as shown. At the same time, each time the system performs the modeling calculation of the three-dimensional entity, the result of the operation is stored in the interference check structure. If interference or overcutting occurs, a Boolean operation is performed on the component to establish an entity resulting from the interference, and an alarm window pops up.

The animation in the simulation process eliminates the interference of the moving parts of the machine tool through the simulation of the rough and finishing processes, which greatly improves the efficiency of CNC machining programming. The ceramic stack can generate an amplitude of 5μm and the frequency is 0~1000Hz. The frequency and voltage values ​​are determined by the sinusoidal control signal sent by the D/A card. The input signal of the operational amplifier is 0~6V, and it is amplified by 100 times. Both ends. This circuit can realize the charging and discharging process of the capacitive load. The power supply can drive capacitive loads such as piezoelectric ceramics.

The experimental results obtained under the condition of inputting 0 to 4 V, frequency of 50 Hz sinusoidal control voltage, and magnification of 100 times; (b) are obtained under the condition of inputting 0 to 5 V, frequency of 1000 Hz sinusoidal control voltage, and magnification of 100 times. the result of. The amplified output voltage has a good linear relationship with the input control signal, and when the frequency and amplitude of the input control signal are changed, this linear relationship does not deteriorate due to changes in the input parameters.

Conclusion This power supply is specially used to drive capacitive loads such as piezoelectric ceramics. Its frequency and amplitude are controllable parameters, which can meet the requirements of dynamic application of piezoelectric ceramic reactor. The highest voltage can reach 600V and the frequency is 0~. At 1000 Hz, the voltage MOSFET is replaced with a power device with a higher withstand voltage value, and by increasing the amplification factor of the power supply, the maximum output voltage value can also be increased. The power supply has good linearity and meets the design requirements.

(Finish)

Calf Cloth

China Thicken Cotton Calf Clothes,Calf Clothes For Keeping Warm manufacturer, choose the high quality Cotton Calf Clothes,Clothes For Cow, etc. Protect your calf warming in the winter.

Thicken Cotton Calf Clothes,Calf Clothes For Keeping Warm,Cotton Calf Clothes,Clothes For Cow

Ningbo New Glory International Trading Co.,Ltd , https://www.stock-farming.com