Disclosure of Invention
In view of the above, it is necessary to provide a method and a system for controlling an ultrasonic generator, a computer device, and a storage medium, for solving the technical problem of low precision of a processed workpiece after the ultrasonic processing.
A method of controlling an ultrasonic generator, comprising the steps of:
acquiring material characteristic data of a workpiece to be processed and the roughness of a qualified workpiece;
acquiring target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
In one embodiment, the step of obtaining a target output power of the sonotrode from the material property data and the roughness comprises the steps of:
acquiring numerical control machining parameters; and acquiring the target output power according to the material characteristic data, the numerical control machining parameters and the roughness.
In one embodiment, the step of obtaining numerical control machining parameters includes the steps of:
acquiring a numerical control machining code of a numerical control machine tool; and extracting numerical control machining parameters from the numerical control machining codes.
In one embodiment, the numerical control machining parameters include spindle speed, tool diameter of the machining tool, tool characteristic data of the machining tool, and tool identification information of the machining tool;
the step of obtaining the target output power according to the material characteristic data, the numerical control machining parameters and the roughness comprises the following steps:
obtaining a cutting speed according to the rotating speed of the main shaft and the diameter of the cutter;
acquiring an amplitude value of the machining cutter according to the cutting speed, the cutter characteristic data, the material characteristic data and the roughness;
and acquiring target output power according to the amplitude value and the cutter identification information.
In one embodiment, the step of controlling the ultrasonic generator to generate ultrasonic waves of a target output power comprises the steps of:
acquiring current amplitude according to the target output power and the machining tool; and controlling the ultrasonic generator to input a current signal of current amplitude to the ultrasonic knife handle, and controlling the ultrasonic knife handle to generate ultrasonic waves according to the current signal, wherein the ultrasonic knife handle is connected with the processing cutter.
In one embodiment, before the step of controlling the ultrasonic generator to input the current signal with the current amplitude to the ultrasonic knife handle, the method further comprises the following steps:
acquiring resonance frequency according to the sizes of the ultrasonic knife handle and the machining tool and the tool mounting lengths of the machining tool and the ultrasonic knife handle;
the step of inputting a current signal of current amplitude to the ultrasonic knife handle comprises the following steps:
and controlling the ultrasonic generator to generate a current signal of current amplitude under the resonant frequency, and inputting the current signal of the current amplitude under the resonant frequency to the ultrasonic knife handle.
In one embodiment, the ultrasonic generator control method further comprises the steps of:
acquiring the identification information of a current handle cutter of a current handle; and when the current cutter handle identification information is different from the cutter handle identification information of the ultrasonic cutter handle, taking the current cutter handle as the ultrasonic cutter handle, and executing the step of acquiring the resonant frequency according to the sizes of the ultrasonic cutter handle and the machining cutter and the cutter mounting length of the machining cutter and the ultrasonic cutter handle.
An ultrasonic generator control system comprising:
the material characteristic data acquisition module is used for acquiring the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece;
the target output power acquisition module is used for acquiring the target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and the ultrasonic generator control module is used for controlling the ultrasonic generator to generate ultrasonic waves with target output power and inputting the ultrasonic waves to the machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring material characteristic data of a workpiece to be processed and the roughness of a qualified workpiece;
acquiring target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring material characteristic data of a workpiece to be processed and the roughness of a qualified workpiece;
acquiring target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
According to the control method, the system, the computer device and the storage medium of the ultrasonic generator, the corresponding target output power is obtained according to the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece to be processed, the ultrasonic wave of the target output power is used for accurately processing the roughness of the qualified workpiece, the ultrasonic generator is controlled to generate the ultrasonic wave according to the target output power, the workpiece to be processed is subjected to numerical control processing through the ultrasonic wave of the target output power, the control on the numerical control processing is enhanced, the roughness of the processed workpiece can be guaranteed to meet the requirement of the qualified workpiece, and the processing precision of the ultrasonic processing is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The control method of the ultrasonic generator provided by the present application can be applied to the application environment shown in fig. 1, and fig. 1 is an application environment diagram of the control method of the ultrasonic generator in one embodiment. Wherein, digit control machine tool 11 is connected with supersonic generator 12, and digit control machine tool 11 and supersonic generator 12 all can receive data.
In an embodiment, as shown in fig. 2, fig. 2 is a flowchart of a control method of an ultrasonic generator in an embodiment, and the embodiment provides a control method of an ultrasonic generator, which is described by taking an application environment of the method in fig. 1 as an example, and includes the following steps:
step S210: and acquiring material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece.
The workpiece to be processed is positioned in the numerical control machine tool and is used for carrying out numerical control processing on the workpiece. The material property data may include data characterizing material properties such as material hardness, material toughness, etc. of the workpiece to be machined. The qualified workpiece refers to a workpiece which meets target parameters after being machined, and the roughness of the qualified workpiece refers to the target roughness which the qualified workpiece meets after being numerically controlled. For example, the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece sent by the numerical control machine tool may be received, or the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece may be extracted from the control data executed by the numerical control machine tool.
Step S220: and acquiring the target output power of the ultrasonic generator according to the material characteristic data and the roughness.
In the numerical control machining process of the workpiece to be machined, due to the characteristics of material hardness, material toughness and the like, a certain roughness is formed on the surface of the workpiece after numerical control machining under the action of load and stress. When the power of the ultrasonic wave is too high, the workpiece is easy to be shattered, the flatness of the surface of the workpiece is damaged, and the roughness of the surface of the workpiece is influenced. Therefore, in the step, the target output power of the ultrasonic generator required for achieving the roughness of the qualified workpiece is acquired according to the material characteristic data by matching with the material characteristic of the workpiece to be processed. For example, the target output power may be obtained by calculation or table lookup, and the table may be made according to the target output power and the roughness obtained after processing different materials.
Step S230: and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
The ultrasonic generator can be controlled to generate ultrasonic waves with target output power, the ultrasonic waves with the target output power are loaded in the machining tool through the ultrasonic generator, the workpiece to be machined is machined through the machining tool with the ultrasonic waves, and the roughness required by qualified workpieces can be obtained on the surface of the machined workpiece. For example, a target output power may be input to the ultrasonic generator, which recognizes the target output power and generates an ultrasonic wave of the target output power.
According to the control method of the ultrasonic generator, the corresponding target output power is obtained according to the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece to be processed, the ultrasonic wave of the target output power is used for accurately processing the roughness of the qualified workpiece, the ultrasonic generator is controlled to generate the ultrasonic wave according to the target output power, the workpiece to be processed is subjected to numerical control processing through the ultrasonic wave of the target output power, the control of the numerical control processing is enhanced, the roughness of the processed workpiece can be guaranteed to meet the requirement of the qualified workpiece, and the processing precision of the ultrasonic processing is improved.
In one embodiment, the step of obtaining a target output power of the sonotrode from the material property data and the roughness comprises the steps of:
and acquiring numerical control machining parameters.
In this step, the numerical control machining parameters may include a machining trajectory, a feed mode, a spindle rotation speed, a feed, a depth of cut, and the like. For example, the numerical control machining parameters sent by the numerical control machine tool can be received, and the numerical control machining parameters can also be acquired from the storage data of the database.
And acquiring the target output power according to the material characteristic data, the numerical control machining parameters and the roughness.
In this step, the target output power is also related to the machining process of the numerical control machining process, and is related to the machining process, for example, the amplitude, the cutting speed and the abrasive grain size of the machining tool during the machining process all have influence on the roughness of the machined workpiece.
According to the control method of the ultrasonic generator, the required target output power is further analyzed and obtained through numerical control machining parameters and roughness, the phenomenon that the workpiece is easily broken by shaking and the flatness of the surface of the workpiece is damaged when the power of ultrasonic waves is too high is avoided, and therefore the accuracy of the roughness of the surface of the workpiece is improved conveniently.
For example, the larger the power is, the larger the amplitude is, and the workpiece to be processed can be shattered; the increase of the vibration amplitude enables the vibration speed and the vibration acceleration of the abrasive particles to increase the ironing action of the vibration abrasive particles on the surface of the workpiece to be enhanced, and the roughness value of the surface of the workpiece is reduced; when the vibration amplitude is increased to a certain degree, the impact force of the vibration abrasive particles on the surface of the workpiece is increased, and the roughness value of the surface of the workpiece is increased. In the ultrasonic vibration grinding, because the abrasive particles are added with ultrasonic vibration, the interference between the motion tracks of the abrasive particles is enhanced, the material removal mechanism is changed, the surface roughness of the workpiece obtained by the ultrasonic vibration grinding is obviously smaller than that of the common grinding, and the surface roughness value of the workpiece tends to increase along with the increase of the rotating speed of a cutter; in addition, an excessively high rotational speed may cause the workpiece to heat and deteriorate the smoothness of movement, thereby further affecting the surface processing quality of the workpiece. Whether ordinary grinding or ultrasonic vibration grinding; along with the increase of the size of the abrasive particles, the roughness value of the surface of the workpiece is obviously increased; generally, when the abrasive concentration is the same, the smaller the size of the abrasive grains is, the smaller the distance between the abrasive grains is, the larger the number of the abrasive grains simultaneously participating in grinding in the grinding process is, the smaller the cutting thickness of each abrasive grain is, and the smaller the roughness value of the processed surface is; conversely, the larger the size of the abrasive grains, the smaller the number of abrasive grains involved in grinding, and the larger the cutting thickness of each abrasive grain, the larger the machined surface roughness value.
In one embodiment, the step of obtaining numerical control machining parameters includes the steps of:
acquiring a numerical control machining code of a numerical control machine tool;
and extracting numerical control machining parameters from the numerical control machining codes.
According to the control method of the ultrasonic generator, the numerical control machining parameters are extracted from the numerical control machining codes, so that not only can the numerical control machining parameters be quickly obtained, but also the accurate numerical control machining parameters can be obtained, and errors caused by manual input can be avoided. In addition, the method can also be beneficial to quickly and accurately acquiring the numerical control processing parameters at the current processing time or each processing time in the numerical control processing, so that the accurate target output power at each time in the numerical control processing process can be acquired according to the numerical control processing parameters, and the proper ultrasonic waves can be generated in a real-time control mode.
In one embodiment, the numerical control machining parameters include spindle speed, tool diameter of the machining tool, tool characteristic data of the machining tool, and tool identification information of the machining tool.
The step of obtaining the target output power according to the material characteristic data, the numerical control machining parameters and the roughness comprises the following steps:
and acquiring the cutting speed according to the rotating speed of the main shaft and the diameter of the cutter.
In this step, the cutting speed corresponding to the ultrasonic machining process is obtained. For example, VcPi DS/1000, wherein VcFor cutting speed, π is the circumference ratio, D is the tool diameter, and S is the spindle speed.
And acquiring the amplitude value of the machining cutter according to the cutting speed, the cutter characteristic data, the material characteristic data and the roughness.
In this step, the amplitude value required to complete the roughness can be obtained.
And acquiring target output power according to the amplitude value and the cutter identification information.
In this step, when the same amplitude is reached, the power required by the machining tools of different sizes is different, so that the target output power required to reach the amplitude value is obtained according to the machining tool corresponding to the tool identification information.
According to the control method of the ultrasonic generator, the influence of the rotating speed of the main shaft, the diameter of the cutter of the machining cutter and the characteristic data of the cutter on the roughness can be carefully considered, and more accurate target output power can be obtained, so that the accuracy of the surface roughness of the machined workpiece can be improved.
In one embodiment, the step of controlling the ultrasonic generator to generate ultrasonic waves of a target output power comprises the steps of:
and acquiring current amplitude according to the target output power and the machining tool.
In this step, the larger the machining tool is, the larger the current amplitude is required to achieve the same target output power, and therefore, the required current amplitude needs to be determined according to the size of the machining tool.
And controlling the ultrasonic generator to input a current signal of current amplitude to the ultrasonic knife handle, and controlling the ultrasonic knife handle to generate ultrasonic waves according to the current signal, wherein the ultrasonic knife handle is connected with the processing cutter.
In the step, the ultrasonic generator can be controlled to generate and input a current signal of current amplitude to the ultrasonic knife handle, and the ultrasonic knife handle can generate corresponding ultrasonic waves according to the current signal. The ultrasonic generator can input a current signal to the ultrasonic knife handle, so that the ultrasonic knife handle can generate ultrasonic waves, and the current signal with the input current amplitude can enable the ultrasonic knife handle to generate the ultrasonic waves with the target output power.
According to the control method of the ultrasonic generator, the power of the ultrasonic wave can be generated according to the current amplitude of the current signal, so that the current signal under the current amplitude can enable the ultrasonic knife handle to generate the ultrasonic wave with the target output power according to the current amplitude obtained by the target output power, and the efficiency and the accuracy of ultrasonic wave generation are improved.
In one embodiment, before the step of controlling the ultrasonic generator to input the current signal with the current amplitude to the ultrasonic knife handle, the method further comprises the following steps:
and acquiring the resonant frequency according to the sizes of the ultrasonic knife handle and the processing tool and the tool mounting length of the processing tool and the ultrasonic knife handle.
In this step, after the ultrasonic tool shank and the machining tool are assembled, a specific resonant frequency exists, and when the frequency of the current signal input to the ultrasonic tool shank is the same as or close to the specific resonant frequency, the efficiency of generating ultrasonic waves is highest. Therefore, in order to improve the efficiency of ultrasonic wave generation, it is necessary to obtain the resonant frequency of the ultrasonic tool shank and the machining tool after assembly.
The step of inputting a current signal of current amplitude to the ultrasonic knife handle comprises the following steps:
and controlling the ultrasonic generator to generate a current signal of current amplitude under the resonant frequency, and inputting the current signal of the current amplitude under the resonant frequency to the ultrasonic knife handle.
In the step, the current signal of the resonance frequency is generated and input to the ultrasonic knife handle, so that the ultrasonic wave of the resonance frequency can be generated, and the efficiency of generating the ultrasonic wave is improved.
The control method of the ultrasonic generator ensures the generation efficiency of the ultrasonic wave, avoids the power reduction of the ultrasonic wave caused by the reduction of the generation efficiency of the ultrasonic wave, and further ensures the accuracy of the ultrasonic wave of the target output power.
In one embodiment, the ultrasonic generator control method further comprises the steps of:
and acquiring the identification information of the current tool handle.
In this step, the identification information of the current tool holder refers to the identification information of the ultrasonic tool holder loaded by the numerical control machine at the current time, and the identification information may include a number.
And when the current cutter handle identification information is different from the cutter handle identification information of the ultrasonic cutter handle, taking the current cutter handle as the ultrasonic cutter handle, and executing the step of acquiring the resonant frequency according to the sizes of the ultrasonic cutter handle and the machining cutter and the cutter mounting length of the machining cutter and the ultrasonic cutter handle.
In the step, the resonant frequency mainly depends on the intrinsic resonant frequency of the ultrasonic knife handle, the resonant frequency is also related to the size of the processing tool and the tool mounting length of the processing tool and the ultrasonic knife handle, and the resonant frequency is generally close to the intrinsic resonant frequency of the ultrasonic knife handle. Therefore, after the ultrasonic knife handle is replaced, the resonant frequency can be determined again according to the sizes of the ultrasonic knife handle and the machining tool and the knife installing length of the machining tool and the ultrasonic knife handle. After the change of the ultrasonic knife handle is found, accurate and corresponding resonance can be obtained in time
According to the control method of the ultrasonic generator, when the current cutter handle identification information and the cutter handle identification information of the ultrasonic cutter handle are obtained, ultrasonic waves generated on the corresponding ultrasonic cutter handle can be accurately controlled, the accuracy of numerical control acceleration is improved, and the efficiency of numerical control machining is improved.
In another embodiment, as shown in FIG. 3, FIG. 3 is a flow chart of a method for controlling an ultrasonic generator in another embodiment. The control method of the ultrasonic generator provided in the present embodiment includes the steps of:
and acquiring the resonant frequency according to the sizes of the ultrasonic knife handle and the processing tool and the tool mounting length of the processing tool and the ultrasonic knife handle.
And acquiring material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece.
And acquiring the target output power according to the material characteristic data, the numerical control machining parameters and the roughness. Acquiring a numerical control machining code of a numerical control machine tool, and extracting numerical control machining parameters from the numerical control machining code; the numerical control machining parameters comprise the rotating speed of the main shaft, the diameter of the machining tool, tool characteristic data of the machining tool and tool identification information of the machining tool, the cutting speed is obtained according to the rotating speed of the main shaft and the diameter of the machining tool, the amplitude value of the machining tool is obtained according to the cutting speed, the tool characteristic data, the material characteristic data and the roughness, and the target output power is obtained according to the amplitude value and the tool identification information.
And controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined. And acquiring current amplitude according to the target output power and the machining tool. And inputting a current signal of current amplitude into the ultrasonic knife handle, and controlling the ultrasonic knife handle to generate ultrasonic waves according to the current signal, wherein the ultrasonic knife handle is connected with the processing cutter.
And acquiring the identification information of the current cutter handle. And when the current cutter handle identification information is different from the cutter handle identification information of the ultrasonic cutter handle, taking the current cutter handle as the ultrasonic cutter handle, and executing the step of acquiring the resonant frequency according to the sizes of the ultrasonic cutter handle and the machining cutter and the cutter mounting length of the machining cutter and the ultrasonic cutter handle.
According to the control method of the ultrasonic generator, the corresponding target output power is obtained according to the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece to be processed, the ultrasonic wave of the target output power is used for accurately processing the roughness of the qualified workpiece, the ultrasonic generator is controlled to generate the ultrasonic wave according to the target output power, the workpiece to be processed is subjected to numerical control processing through the ultrasonic wave of the target output power, the control of the numerical control processing is enhanced, the roughness of the processed workpiece can be guaranteed to meet the requirement of the qualified workpiece, and the processing precision of the ultrasonic processing is improved.
In another embodiment, a numerical control machining code is input into the ultrasonic generator through a numerical control machine tool, the numerical control machining code comprises parameters such as a machining track, a feed mode, a spindle rotating speed, a feed depth and the like, the load change of a machining tool is analyzed according to the numerical control machining code, the output power of the ultrasonic generator is adjusted in real time, and the amplitude is always kept in the optimal working state. The ultrasonic generator can also automatically set the output power according to the characteristic data of the material to be processed and the roughness of the qualified workpiece to be finished finally, so that the processing tool can process the workpiece with the best effect, the processed workpiece can reach the required roughness, and the workpiece can be prevented from being shattered due to the overlarge output power of the ultrasonic generator.
It should be understood that although the steps in the flowcharts of fig. 2 to 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, fig. 4 is a schematic structural diagram of an ultrasonic generator control system in one embodiment, and provides an ultrasonic generator control system, which includes: a material property data acquisition module 410, a target output power acquisition module 420, and an ultrasonic generator control module 430, wherein:
a material characteristic data obtaining module 410, configured to obtain material characteristic data of the workpiece to be processed and roughness of the qualified workpiece.
The workpiece to be processed is positioned in the numerical control machine tool and is used for carrying out numerical control processing on the workpiece. The material property data may include data characterizing material properties such as material hardness, material toughness, etc. of the workpiece to be machined. The qualified workpiece refers to a workpiece which meets target parameters after being machined, and the roughness of the qualified workpiece refers to the target roughness which the qualified workpiece meets after being numerically controlled. For example, the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece sent by the numerical control machine tool may be received, or the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece may be extracted from the control data executed by the numerical control machine tool.
And the target output power acquisition module 420 is used for acquiring the target output power of the ultrasonic generator according to the material characteristic data and the roughness.
In the numerical control machining process of the workpiece to be machined, due to the characteristics of material hardness, material toughness and the like, a certain roughness is formed on the surface of the workpiece after numerical control machining under the action of load and stress. When the power of the ultrasonic wave is too high, the workpiece is easy to be shattered, the flatness of the surface of the workpiece is damaged, and the roughness of the surface of the workpiece is influenced. Therefore, in the step, the target output power of the ultrasonic generator required for achieving the roughness of the qualified workpiece is acquired according to the material characteristic data by matching with the material characteristic of the workpiece to be processed. For example, the target output power may be obtained by calculation or table lookup, and the table may be made according to the target output power and the roughness obtained after processing different materials.
And an ultrasonic generator control module 430, configured to control the ultrasonic generator to generate ultrasonic waves of a target output power, and input the ultrasonic waves to a machining tool, where the machining tool is used to machine a workpiece to be machined.
The ultrasonic generator can be controlled to generate ultrasonic waves with target output power, the ultrasonic waves with the target output power are loaded in the machining tool through the ultrasonic generator, the workpiece to be machined is machined through the machining tool with the ultrasonic waves, and the roughness required by qualified workpieces can be obtained on the surface of the machined workpiece. For example, a target output power may be input to the ultrasonic generator, which recognizes the target output power and generates an ultrasonic wave of the target output power.
According to the ultrasonic generator control system, the corresponding target output power is obtained according to the material characteristic data of the workpiece to be processed and the roughness of the qualified workpiece to be processed, the ultrasonic wave of the target output power is used for accurately processing the roughness of the qualified workpiece, the ultrasonic generator is controlled to generate the ultrasonic wave according to the target output power, the workpiece to be processed is subjected to numerical control processing through the ultrasonic wave of the target output power, the control of the numerical control processing is enhanced, the roughness of the processed workpiece can be guaranteed to meet the requirement of the qualified workpiece, and the processing precision of the ultrasonic processing is improved.
For specific limitations of the ultrasonic generator control system, reference may be made to the above limitations of the ultrasonic generator control method, which are not described herein again. The modules in the ultrasonic generator control system can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the computer device may be a server, the internal structure of which may be as shown in fig. 5, and fig. 5 is an internal structure of the computer device in one embodiment. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an ultrasonic generator control method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring material characteristic data of a workpiece to be processed and the roughness of a qualified workpiece;
acquiring target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring numerical control machining parameters; and acquiring the target output power according to the material characteristic data, the numerical control machining parameters and the roughness.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a numerical control machining code of a numerical control machine tool; and extracting numerical control machining parameters from the numerical control machining codes.
In one embodiment, the numerical control machining parameters include spindle speed, tool diameter of the machining tool, tool characteristic data of the machining tool, and tool identification information of the machining tool; the processor, when executing the computer program, further performs the steps of:
obtaining a cutting speed according to the rotating speed of the main shaft and the diameter of the cutter; acquiring an amplitude value of the machining cutter according to the cutting speed, the cutter characteristic data, the material characteristic data and the roughness; and acquiring target output power according to the amplitude value and the cutter identification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring current amplitude according to the target output power and the machining tool; and controlling the ultrasonic generator to input a current signal of current amplitude to the ultrasonic knife handle, and controlling the ultrasonic knife handle to generate ultrasonic waves according to the current signal, wherein the ultrasonic knife handle is connected with the processing cutter.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring resonance frequency according to the sizes of the ultrasonic knife handle and the machining tool and the tool mounting lengths of the machining tool and the ultrasonic knife handle; and controlling the ultrasonic generator to generate a current signal of current amplitude under the resonant frequency, and inputting the current signal of the current amplitude under the resonant frequency to the ultrasonic knife handle.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the identification information of a current handle cutter of a current handle; and when the current cutter handle identification information is different from the cutter handle identification information of the ultrasonic cutter handle, taking the current cutter handle as the ultrasonic cutter handle, and executing the step of acquiring the resonant frequency according to the sizes of the ultrasonic cutter handle and the machining cutter and the cutter mounting length of the machining cutter and the ultrasonic cutter handle.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring material characteristic data of a workpiece to be processed and the roughness of a qualified workpiece;
acquiring target output power of the ultrasonic generator according to the material characteristic data and the roughness;
and controlling an ultrasonic generator to generate ultrasonic waves with target output power, and inputting the ultrasonic waves to a machining cutter, wherein the machining cutter is used for machining a workpiece to be machined.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring numerical control machining parameters; and acquiring the target output power according to the material characteristic data, the numerical control machining parameters and the roughness.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a numerical control machining code of a numerical control machine tool; and extracting numerical control machining parameters from the numerical control machining codes.
In one embodiment, the numerical control machining parameters include spindle speed, tool diameter of the machining tool, tool characteristic data of the machining tool, and tool identification information of the machining tool; the computer program when executed by the processor further realizes the steps of:
obtaining a cutting speed according to the rotating speed of the main shaft and the diameter of the cutter; acquiring an amplitude value of the machining cutter according to the cutting speed, the cutter characteristic data, the material characteristic data and the roughness; and acquiring target output power according to the amplitude value and the cutter identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring current amplitude according to the target output power and the machining tool; and controlling the ultrasonic generator to input a current signal of current amplitude to the ultrasonic knife handle, and controlling the ultrasonic knife handle to generate ultrasonic waves according to the current signal, wherein the ultrasonic knife handle is connected with the processing cutter.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring resonance frequency according to the sizes of the ultrasonic knife handle and the machining tool and the tool mounting lengths of the machining tool and the ultrasonic knife handle; and controlling the ultrasonic generator to generate a current signal of current amplitude under the resonant frequency, and inputting the current signal of the current amplitude under the resonant frequency to the ultrasonic knife handle.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the identification information of a current handle cutter of a current handle; and when the current cutter handle identification information is different from the cutter handle identification information of the ultrasonic cutter handle, taking the current cutter handle as the ultrasonic cutter handle, and executing the step of acquiring the resonant frequency according to the sizes of the ultrasonic cutter handle and the machining cutter and the cutter mounting length of the machining cutter and the ultrasonic cutter handle.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.