A friction welding intelligent control device, method and equipment
By using intelligent control devices in friction welding, welding information is collected and predicted in real time and outputting control signals to adjust welding speed and direction, the problem that the existing technology cannot meet real-time control and improves welding efficiency and quality.
Patent Information
- Application Number
- CN202410056322.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-01-15
AI Technical Summary
The existing friction welding control technology cannot meet the needs of real-time control during welding, resulting in the impact of welding efficiency and quality, especially when welding different materials, compatibility issues are more complicated.
Provide a friction welding intelligent control device and method, obtains the displacement and acceleration information of welding through the acquisition module, the real-time control module predicts future trajectories and outputs control signals, and combines the non-real-time control module to generate priority control instructions to realize welding speed and motion Real-time adjustment of direction improves control accuracy and real-time.
Through the coordinated work of the dual control module, the real-time and accuracy of friction welding are improved, the efficiency and quality of the welding process are ensured, the communication management process is simplified, and the applicability of the control device is improved.
Smart Images

Figure CN117872896B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automatic control technology, and in particular to a friction welding intelligent control device, method and equipment. Background Art
[0002] Friction welding is a new welding technology that can weld metal or plastic materials with square, round, or polygonal cross-sections together without using additional connectors or binders. It has the advantages of high quality, high efficiency, low consumption, and environmental protection, meeting the needs of automated production in enterprises.
[0003] In recent years, due to the flexible and reliable characteristics of friction welding, a large number of friction welding-related researches have been carried out at home and abroad. Since there may be compatibility issues between welding of different materials, especially for welding of different materials, more complex control technology may be required to ensure the welding quality, so the control technology of friction welding has gradually become the focus of research. The existing friction welding control technology uses a common controller to complete the calculation and command sending work. However, friction welding is a precision work with high calculation amount and high requirements for calculation accuracy and real-time performance. Otherwise, it will directly affect the quality of the weldment. The existing controller cannot meet the needs of real-time control of welding during the welding process, which will affect the efficiency and quality of welding. Summary of the invention
[0004] In view of this, the present application provides a friction welding intelligent control device, method and equipment for real-time control of friction welding.
[0005] Specifically, the present application is implemented through the following technical solutions:
[0006] The first aspect of the present application provides a friction welding intelligent control device, the intelligent control device at least comprising a collection module, a real-time control module and a non-real-time control module; wherein:
[0007] The acquisition module is used to acquire displacement and acceleration information of friction welding;
[0008] The real-time control module is used to predict the future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and output a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding;
[0009] Wherein, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table, so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table, so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position;
[0010] The non-real-time control module is used to generate a non-real-time control signal set based on the real-time control signal, and the non-real-time control signal set includes multiple control instructions with execution priority. The non-real-time control module is also used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
[0011] A second aspect of the present application provides a friction welding intelligent control method, the method comprising:
[0012] Collect displacement and acceleration information of friction welding;
[0013] Predicting a future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and outputting a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding;
[0014] Wherein, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table, so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table, so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position;
[0015] A non-real-time control signal set is generated based on the real-time control signal, wherein the non-real-time control signal set includes a plurality of control instructions with execution priority, and the non-real-time control module is further used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
[0016] A third aspect of the present application provides a friction welding intelligent control device, the device comprising any one of the devices provided in the first aspect of the present application.
[0017] The friction welding intelligent control device, method and equipment provided by the present application predict the future trajectory of the friction welding based on the displacement and acceleration of the friction welding, and then generate a real-time control signal to control the speed and direction of the friction welding according to the future trajectory and the planned trajectory, and then generate a non-real-time control signal set based on the real-time control signal to control the motion trajectory of the friction welding. In this way, the real-time control signal is obtained through the displacement and acceleration information of the friction welding, and the non-real-time control signal set is obtained, so as to control the motion direction and motion trajectory of the friction welding. Since the displacement and acceleration information of the friction welding are integrated, the obtained real-time control signal and non-real-time control signal set can adjust the friction welding in real time. On the one hand, in each round of control process, through the setting of dual control modules, the real-time control module is used to realize the calculation of processes with high real-time requirements, high accuracy and timeliness requirements of calculation, and the non-real-time control module is used to execute the transmission, serial port, I / O port communication control and other processes, thereby improving the real-time and accuracy of the friction welding control. On the other hand, in each round of control instructions, in order to further improve the accuracy of control, the high computing power of the real-time control module is used to simultaneously calculate the acceleration deviation of friction welding and the displacement deviation of the friction welding vibration table. The friction welding operation depends on the joint operation of the vibration slide table and the friction welding. Compared with only controlling the acceleration of friction welding, the present invention improves the accuracy of the control instructions. Finally, the interaction between the real-time control module and the non-control module provided by the present invention does not have a complex communication protocol. It mainly implements the process of instruction transmission, that is, it only needs to translate and execute the instructions, which simplifies the communication management process between the two and improves the applicability of the control device. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of the structure of a first embodiment of a friction welding intelligent control device provided in the present application;
[0019] Figure 2 A schematic diagram of the structure of a GNU Make target platform tool chain shown as an exemplary embodiment of the present application;
[0020] Figure 3 This is a schematic diagram of the structure of an FPGA shown as an exemplary embodiment of the present application;
[0021] Figure 4 This is a schematic diagram of the structure of a high-speed AO expansion board shown in an exemplary embodiment of the present application;
[0022] Figure 5 A schematic diagram of the structure of an embedded hardware board provided for an exemplary embodiment of the present application;
[0023] Figure 6 This is a flow chart of Example 1 of an intelligent control method for friction welding provided in the present application. DETAILED DESCRIPTION
[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0025] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0026] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0027] Specific embodiments are given below to introduce the technical solution of the present application in detail.
[0028] Figure 1 This is a structural diagram of the first embodiment of the friction welding intelligent control device provided in this application. Figure 1 ,exist Figure 1 In the example shown, the intelligent control device includes at least a collection module, a real-time control module and a non-real-time control module; wherein,
[0029] The acquisition module is used to acquire displacement and acceleration information of friction welding;
[0030] The real-time control module is used to predict the future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and output a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding;
[0031] Wherein, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table, so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table, so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position;
[0032] The non-real-time control module is used to generate a non-real-time control signal set based on the real-time control signal, and the non-real-time control signal set includes multiple control instructions with execution priority. The non-real-time control module is also used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
[0033] Specifically, the vibration slide is used to support and drive the weldment to vibrate back and forth so that friction welding can be performed. It should be noted that the vibration slide can drive the weldment to vibrate in a sinusoidal motion, and the frequency of the sinusoidal motion is the target vibration frequency.
[0034] Furthermore, the displacement and acceleration information of friction welding are important parameters that affect the welding effect. In linear friction welding, the periodic motion of the vibration slide will cause relative displacement between the workpieces. The displacement of friction welding refers to the position change of the vibration slide in the vibration direction. In the movement of the vibration slide, the acceleration describes how the movement speed of the vibration slide changes over time. During the welding process, the plastic deformation of the material can be affected by adjusting the acceleration of the vibration slide. In addition, the friction welding vibration slide controls the stop position through the hydraulic system, and the vibration slide needs to quickly and accurately return to the position before vibration welding after welding. In the traditional linear friction welding process, there will be a certain amount of deviation between the position controlled by the hydraulic system and the position before vibration welding.
[0035] Furthermore, the acquisition module may include a displacement sensor and an acceleration sensor installed on the vibration slide table. During the friction welding process, the displacement and acceleration information are acquired through the displacement sensor and the acceleration sensor.
[0036] Furthermore, the future trajectory of the friction welding is the movement path of the vibration slide in the future preset first time period, which is the movement path predicted and calculated based on the information collected by the acquisition module. Since the movement of the friction welding is a regular periodic movement, the future trajectory of the friction welding can be obtained through the displacement and acceleration information collected by the acquisition module.
[0037] Furthermore, the specific duration of the first time period is set by the staff according to actual needs. In this embodiment, the specific duration of the first time period is not limited. It should be noted that the acquisition module collects the displacement and acceleration information of friction welding in real time and at high frequency, so the first time period can be set to an extremely short duration. For example, in one embodiment, the first time period can be set to 0.01 milliseconds. As another optional time period, the gap between the current displacement and the planned trajectory is calculated based on the displacement collected in real time, and the first time period is calculated based on the gap and the acceleration collected in real time. The length of the first time period is inversely proportional to the gap and the magnitude of the acceleration collected in real time. The greater the gap between the current real-time displacement and the planned trajectory, the greater the deviation of the friction welding. At this time, if the acceleration is also very large, the first time period needs to be very small, for example, 0.01ms, 0.1s, that is, a short time to quickly adjust; otherwise, the first time can be longer, for example, 1min. The first time period calculation method provided by the present invention first utilizes the rapidity of the real-time control module to quickly perform response control when the deviation is large, so as to adjust as soon as possible to ensure the working accuracy of the friction welding; if the friction welding works within the normal range, the frequency of detection and adjustment can be lower at this time to maintain a lower amount of calculation and calculation state.
[0038] Furthermore, the planned trajectory of friction welding is the motion trajectory of the vibration slide pre-planned by the staff according to the welding requirements before welding. The planned trajectory can be a path or shape set for friction welding during the welding process.
[0039] Furthermore, the actual trajectory of the friction welding is the actual movement path of the friction welding in the first time period. The actual trajectory of the friction welding can be controlled by a real-time control signal.
[0040] Furthermore, the real-time control signal is determined based on the difference between the future trajectory of the friction welding and the planned trajectory of the friction welding, and the actual trajectory of the friction welding can be controlled to be closer to the planned trajectory of the friction welding through the real-time control signal. In specific implementation, the speed and movement direction of the friction welding can be controlled based on the real-time control signal so that the actual trajectory of the friction welding in the first time period is consistent with the planned trajectory of the friction welding.
[0041] The real-time control signal is used to control the speed and direction of movement of the friction welding so that the actual trajectory of the friction welding in the first time period is consistent with the planned trajectory of the friction welding. In specific implementation, the real-time control signal can change the movement and direction of movement of the friction welding by changing the acceleration and acceleration direction of the friction welding. It should be noted that the number of real-time control signals is the same as the number of control objects that need to be controlled. After the control signal is implemented to control the speed and direction of movement of the friction welding, the notification signal is added to the non-real-time control signal set to complete subsequent processing. Preferably, the real-time control signal can be one or more, and a real-time control signal can be generated in each calculation cycle. The real-time control signal can include one or more control objects.
[0042] Preferably, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, wherein the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position;
[0043] Furthermore, the non-real-time control signal set includes a plurality of control instructions with execution priority. It should be noted that the priority of the control instruction is used to indicate the control order of the control instruction, and the control instruction with a high priority is executed first, and then the control instruction with a low priority is executed.
[0044] Furthermore, the control instructions are used to control the motion trajectory of the friction welding to complete the welding.
[0045] The friction welding intelligent control device provided in this embodiment predicts the future trajectory of the friction welding based on the displacement and acceleration of the friction welding, and then generates a real-time control signal to control the speed and direction of the friction welding according to the future trajectory and the planned trajectory, and then generates a non-real-time control signal set based on the real-time control signal to control the motion trajectory of the friction welding. In this way, the real-time control signal is obtained through the displacement and acceleration information of the friction welding, and the non-real-time control signal set is obtained, and then the motion direction and motion trajectory of the friction welding are controlled. Since the displacement and acceleration information of the friction welding are integrated, the obtained real-time control signal and non-real-time control signal set can accurately adjust the friction welding.
[0046] In the specific implementation, the real-time control module can select the domestic real-time operating system Ruihua, the source code of which is completely independent and controllable, and can get rid of the dependence of some key domestic equipment on foreign embedded operating systems.
[0047] It should be noted that the intelligent controller can use the Profinet IO protocol stack for the industrial Ethernet communication protocol of intelligent automation control, and it has become part of the IEC61158 and IEC61784 standards. This project uses the RT-Labs Profinetp-net protocol stack to transplant and adapt the Profinet IO protocol stack.
[0048] Acquire the vibration instruction in the non-real-time control signal set and the real-time acceleration and real-time moving direction of the friction welding; wherein the vibration instruction includes the target acceleration and the target moving direction;
[0049] Acquire a first drive signal based on the concentrated vibration instruction of the non-real-time control signal and the real-time acceleration and real-time moving direction of the friction welding;
[0050] Based on the first displacement sensor, the first pre-vibration position of the friction welding vibration slide before the vibration is started and the mid-vibration position during the vibration operation are collected;
[0051] Based on the second displacement sensor, a second pre-vibration position of the friction welding vibration slide before the vibration is started and a post-vibration position of the friction welding vibration slide after the vibration is finished are collected;
[0052] Acquire a second drive signal based on the first pre-vibration position and the mid-vibration position;
[0053] Acquire a third driving signal based on the second pre-vibration position and the post-vibration position;
[0054] Controlling the friction welding and the friction welding vibration slide movement based on the first drive signal, the second drive signal and the third drive signal;
[0055] A first sampling frequency response of the first displacement sensor collecting the first pre-vibration position and the mid-vibration position is higher than a second sampling frequency response of the second displacement sensor collecting the second pre-vibration position and the post-vibration position.
[0056] The friction welding process provided by the present invention includes two control objects, the first of which is friction welding for welding the workpiece, and the second is a friction welding vibration slide for carrying the weldment and performing reciprocating vibration. The control signal also includes two control objects, the first of which is friction welding, which has a preset welding route, depth, etc., and is controlled by a first drive signal; the other is a friction welding vibration slide, which is controlled by a second drive signal and a third drive signal in order to further adjust the displacement deviation of its reciprocating vibration, so as to avoid the weldment from shifting during the reciprocating motion.
[0057] The first drive signal compares the actual and target acceleration and movement direction to accurately control the friction welding to move along the preset trajectory; the second and third drive signals control the compensatory movement of the vibration slide by comparing the positions before, during and after vibration, thereby avoiding cumulative movement errors and accurately moving to the target position each time, that is, the vibration slide moves along the preset trajectory. Ultimately, the overall movement along the preset trajectory is achieved, achieving accurate and real-time welding.
[0058] It should be noted that the first pre-vibration position is the initial position of the vibration slide, which can be measured once by the first displacement sensor. The vibration center position is continuously measured during the vibration of the vibration slide, wherein the specific number of measurements of the vibration center position is set according to actual needs. In this embodiment, the specific number of measurements of the vibration center position is not limited. For example, the vibration center position can be measured 3000 times in each vibration cycle of the sinusoidal motion. The first sampling frequency response of the first displacement sensor collecting the first pre-vibration position and the vibration center position is higher than the second sampling frequency response of the second displacement sensor collecting the second pre-vibration position and the vibration post-position. For example, in one embodiment, the first displacement sensor can use an analog sensor with a higher frequency response to collect analog signals of the first pre-vibration position and the vibration center position, which is convenient for dynamic adjustment; the second displacement sensor can use a digital sensor with a lower frequency response to collect the second pre-vibration position and the vibration post-position, which is convenient for static adjustment.
[0059] Displacement sensors with higher frequency response are more conducive to capturing displacement changes that are faster, especially during sinusoidal motion, while displacement sensors with higher requirements for displacement acquisition accuracy usually have more stringent restrictions on frequency response. During the vibration process, the displacement of the vibration slide changes faster. The use of displacement sensors with higher frequency response is more conducive to following the displacement changes of the vibration slide during the vibration process, and then processing and adaptively adjusting the analog signal representing the displacement of the vibration slide, so that the vibration slide can basically meet the zero return requirements during the vibration process, shorten the displacement length that needs to be adjusted after stopping the vibration, and reduce the difficulty of zero return adjustment after stopping the vibration. After stopping the vibration, the vibration slide basically remains stationary, which provides a basis for the use of low-frequency response displacement sensors that are insensitive to the displacement change speed but have higher displacement acquisition accuracy. After stopping the vibration, on the basis of the vibration slide being adaptively adjusted to basically meet the zero return requirements during the vibration process, the stop vibration position is further adjusted according to the data collected by the low-frequency response displacement sensor and the control signal obtained by the control algorithm after stopping the vibration, thereby improving the control accuracy of zero return. The first displacement sensor and the second displacement sensor are both installed on the vibration slide.
[0060] Specifically, the second drive signal is obtained based on the difference information between the first pre-vibration position and the mid-vibration position, and the third drive signal is obtained based on the difference information between the second pre-vibration position and the post-vibration position. Position adjustment is performed by providing displacement data obtained by sampling based on a high-frequency response displacement sensor during the vibration process, shortening the displacement length that needs to be adjusted after stopping the vibration, and performing closed-loop control based on the displacement data obtained by sampling based on a low-frequency response displacement sensor after stopping the vibration, thereby solving the offset between the stop vibration position and the start vibration position and improving the vibration return to zero accuracy. In this way, the vibration slide can be quickly and accurately controlled to return to zero.
[0061] As an optional embodiment, the second drive signal is obtained based on the difference information between the first pre-vibration position and the vibration center position, and the third drive signal is obtained based on the difference information between the second pre-vibration position and the post-vibration position. If the difference information between the first pre-vibration position and the average vibration center position in a preset time period is greater than a preset threshold, then if the first pre-vibration position is greater than the average vibration center position, the second drive signal is calculated: U v2 (t+1)=U v2 (t)+β×U v2 (t) Where, β is the preset adjustment step coefficient of the driving signal, U v2 (t) is the current driving signal. If the first pre-vibration position is less than or equal to the average vibration center position, calculate the second driving signal: U v2 (t+1)=U v2 (t)-β×U v2 (t), where β is the preset adjustment step coefficient of the driving signal, U v2 (t) is the driving signal at the current moment. If the difference information is less than or equal to the preset threshold, no compensation is required and there is no second driving signal.
[0062] In specific implementation, the third driving signal is calculated:
[0063]
[0064] Where T is the vibration period of the vibration slide, Kp′ is the proportional gain, T i ′ is the integration time constant, e(t) is the difference between the second position before and after vibration in the current vibration period T, and e(j) is the difference between the second position before and after vibration at time j in the current vibration period.
[0065] Optionally, the outputting a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding specifically includes:
[0066] The real-time control module is used to generate a running error based on the future trajectory and the planned trajectory of the friction welding;
[0067] The real-time control module is further used to determine the speed error and the movement direction deviation based on the operation error and the duration of the first time period, and calculate the acceleration matching the speed error and the movement direction deviation and adjust the movement direction according to the PID algorithm;
[0068] The real-time control module is also used to generate the first driving signal based on the acceleration and the adjustment movement direction to control the friction welding to move according to the acceleration and the adjustment movement direction.
[0069] Specifically, the running error is the difference between the future trajectory and the planned trajectory. In other words, the running error is the trajectory that needs to be adjusted. In specific implementation, the running error can be obtained based on a pre-trained running error acquisition model.
[0070] Furthermore, the speed error is the error of the friction welding speed in the first time period; the movement direction deviation is the deviation of the movement direction of the friction welding in the first time period. The friction welding can be adjusted by the speed error and the movement direction error.
[0071] It should be noted that, due to the difference measured in the first time period of the operating error, the adjustment of the friction welding is also in the first time period. The acceleration and direction of the friction welding can be determined by the length of the first time period and the size of the operating error.
[0072] Furthermore, the PID (Proportion Integral Differential, PID for short) algorithm performs calculations based on the input speed error and movement direction deviation according to the functional relationship of proportion, integration and differentiation, and the results of the calculations are used to adjust the acceleration and movement direction.
[0073] In specific implementation, for example, in one embodiment, the input of the PID algorithm is obtained from a sensor, using differential input. After the PID algorithm is calculated, the output is a sine wave and a DC bias voltage. To ensure the waveform and response speed of the vibration frequency, the PID algorithm program controls the high-speed DA circuit to output to the servo valve, thereby closed-loop controlling the friction welding. It should be noted that in the process of PID algorithm control, multiple groups of PID algorithms jointly calculate different outputs to participate in the regulation.
[0074] For another example, in another embodiment, in combination with the above example, the displacement and acceleration information collected by the acquisition module are differentially input into the PID algorithm program to obtain a first drive signal for controlling the friction welding motion trajectory and a bias voltage for controlling the friction welding vibration center offset, thereby completing the control of the friction welding.
[0075] In this way, the friction welding is controlled based on the PID algorithm to move according to the acceleration and adjust the movement direction, so as to complete the real-time and precise adjustment of the friction welding during the operation.
[0076] Optionally, the acquisition module is specifically used to obtain the displacement and acceleration information of friction welding by using differential input, wherein the displacement and acceleration information are analog quantities;
[0077] The acquisition module outputs a DC bias voltage corresponding to the acquired displacement and acceleration information to the real-time control module; wherein the vibration center offset of the friction welding is compensated based on the DC bias voltage.
[0078] Specifically, the displacement and acceleration information of the friction welding are inputted differentially to avoid errors, thereby improving the accuracy of the adjustment. The problem of the vibration center offset of the friction welding is compensated by the DC bias voltage, thereby ensuring the accuracy of the friction welding.
[0079] Optionally, the non-real-time control module is further used to identify control object information of the real-time control signal, the control object information at least including a control object and a control content, determine the priority of the real-time control signal based on the control object information, and add the real-time control signal to a non-real-time control signal set based on the priority, wherein the position of the real-time control signal in the non-real-time control signal set is determined by the priority;
[0080] The non-real-time control module is further specifically configured to execute the control instructions in the non-real-time control signal set in order of priority from high to low.
[0081] Specifically, the control object is the part that is regulated by the intelligent control device during the friction welding process. For example, the control object may be a vibration slide. The control content is the category of the specific control instructions output by the intelligent controller. For example, the control content may include acceleration, deceleration, unchanged, etc.
[0082] It should be noted that the priority of the corresponding real-time control signal can be determined based on the control object information, and the control instructions in the non-real-time control signal set can be executed according to the priority of the non-real-time control signal. In this way, the stability and responsiveness of the intelligent control device can be ensured.
[0083] It should be noted that the code part of the intelligent control device is implemented based on C code. A suitable code editor can be selected according to actual needs, and this application does not limit the specific code editor. For example, in one embodiment, Visual Studio Code can be selected as the code editor. Visual Studio Code is a free and open source modern lightweight code editor that supports syntax highlighting, intelligent code completion, custom hotkeys, bracket matching, code snippets, code comparison Diff, Git and other features. Visual Studio Code can support Win, Mac and Linux operating systems across platforms.
[0084] Furthermore, during the code compilation process, the GNU Make target platform tool chain can be used to automatically compile the source code and generate executable files. The GNU Make target platform tool chain is a compilation tool chain for a specific platform, including a compiler, linker, library files, etc., which can make code compilation and construction on the platform more convenient and efficient. The use of the GNU Make target platform tool chain can greatly simplify the project construction process and improve development efficiency.
[0085] Figure 2 This is a schematic diagram of the structure of the GNU Make target platform tool chain shown in an exemplary embodiment of the present application. Figure 2 In GNU Make, Makefile is the most important component, which describes the rules and dependencies of the build system, specifies the location and names of source files, target files and intermediate files, and defines the commands that need to be executed during the build process. The make command is a tool for executing Makefile rules, which automatically determines which files need to be recompiled and linked according to the dependencies defined in Makefile. The compiler and linker are tools that compile source code into executable files, while library files and header files provide some general functions and codes that can be shared by multiple programs, avoiding the duplication of writing the same code. Through the collaboration of these components, GNU Make can automatically build a complex software system. In the present embodiment, the real-time operating system ARMV8 corresponding to the E2000D platform in the GNU Make target platform tool chain is mainly extracted to build the corresponding relevant compilation tool chain.
[0086] Furthermore, the implementation process of dynamic linking can be divided into two stages: loading and linking. The loading stage refers to loading the library files required by the program into the memory, while the linking stage refers to linking the symbol table and relocation table in the program with the loaded library files, thereby realizing the operation of the program. In the loading stage, the intelligent control device will load the library files required by the program into the memory and map them to the address space of the program. At the same time, the intelligent control device will add the symbol table and relocation table of the program to the address space of the program so that the program can find and link the required library files when running. In the linking stage, the program will link the symbols in the program with the symbols in the library files according to the information in the symbol table and the relocation table. This process is dynamic and can be performed at any time when the program is running, thereby achieving the effect of dynamic linking.
[0087] Furthermore, the loader is an important component in the intelligent control device. Its main function is to load the executable file from the disk into the memory and execute the program. The workflow of the loader is as follows
[0088] (1) Read the header information of the executable file to determine the program entry address and the size and location of each segment.
[0089] (2) Allocate memory space for the program and copy the code, data, stack and other segments in the executable file to the corresponding memory space.
[0090] (3) Process the relocation information in the executable file and map the addresses used in the program to the correct memory addresses.
[0091] (4) Transfer control to the program entry address and start executing the program.
[0092] For a detailed introduction to the above steps, please refer to the relevant description in the prior art, which will not be repeated here. It should be noted that in the working process of the loader, some special cases need to be considered, such as the loading of dynamic link libraries and symbol resolution. A dynamic link library is a reusable code library that can be dynamically loaded into the memory when the program is running, thereby reducing the memory usage of the program and improving the reusability of the code. Symbol resolution refers to mapping symbol names to corresponding addresses during program execution, thereby realizing functions such as function calls and variable access. The loader needs to parse the symbol table in the executable file, map the symbol names and addresses, and perform symbol resolution when the program is executed.
[0093] Optionally, the acquisition module includes a high-speed AI expansion board; the front end of the high-speed AI expansion board is integrated with EMC, filtering and protection circuits; the back end of the high-speed AI expansion board is a high-speed serial communication interface; the high-speed AI expansion board is sequentially integrated with an analog front-end ADC chip and a low-pass filter; the acquisition of friction welding displacement and acceleration information includes:
[0094] Collecting the displacement and acceleration of the friction welding and inputting them to the high-speed AI expansion board through differential input;
[0095] The low-pass filter is used to scan the ADC chip to obtain an output signal that meets the input impedance requirement;
[0096] The EMC, filtering and protection circuits are used to protect the high-speed AI expansion board and perform denoising on the output signal of the high-speed AI expansion board.
[0097] Specifically, the high-speed AI expansion board can provide higher performance processing. In specific implementation, the ADC chip in the high-speed AI expansion board can use the core interconnect CL1656, which is a 16-bit, fast, low-power successive approximation ADC chip with a throughput rate of up to 250kSPS and a built-in low-noise, wide-bandwidth sample-and-hold amplifier. The CL1656 has a high-speed parallel interface and a high-speed serial interface, which creates conditions for the interface connection of the device with a microprocessor or DSP. The input signal can support true bipolar input signals in the range of ±4×VREF and ±2×VREF. In addition, a 2.5V on-chip reference voltage source is built in to meet the requirements of domestically produced, independently controllable high-speed acquisition.
[0098] Furthermore, the high-speed AI expansion board includes 6 differential input ±10V voltage signals, supports a resolution of 16 bits, and a maximum sampling rate of 250kHz.
[0099] Furthermore, the high-speed AI expansion board integrates an analog front-end ADC chip, which has a programmable gain amplifier for adjusting the signal range and a programmable gain amplifier for adjusting the input signal bandwidth to filter out noise.
[0100] Furthermore, the high-speed AI expansion board also integrates a programmable low-pass filter, a scan switch, and a high-speed, high-precision SAR ADC chip. The analog front end meets the project's 1MΩ input impedance requirement, so it can be directly connected to a sensor or transmitter. In addition, the front end of the ADC chip has EMC, filtering, and protection circuits to protect the analog channel of the ADC chip and filter out noise.
[0101] Furthermore, the ADC chip and the back end are high-speed serial communication interfaces, and the configuration, status monitoring and data collection of the high-speed ADC chip can be realized through the control logic in the FPGA (Field-Programmable Gate Array, referred to as FPGA).
[0102] When implementing it specifically, Figure 3 This is a schematic diagram of the structure of an FPGA shown in an exemplary embodiment of the present application. Figure 3 , the FPGA can use mature and stable domestic models, and the FPGA also realizes the data processing function of the SSI interface and the grating interface. Among them, the ADC chip control logic inside the FPGA provides a FIFO (First In First Out, referred to as FIFO) data interface to the MCU (Microcontroller Unit, referred to as MCU). The maximum depth of the FIFO data interface is 4096 data points, which meets the project's requirements for high-speed AI data sampling depth.
[0103] Optionally, the intelligent control device further includes a high-speed AO expansion board, and the high-speed AO expansion board is connected to the non-real-time control module;
[0104] The high-speed AO expansion board is used to match the corresponding update frequency based on the urgency of the centralized control instruction of the non-real-time control signal, and read the target data corresponding to the executed control instruction from the RAM interface according to the update frequency;
[0105] The high-speed AO expansion board also includes a DAC module, and the DAC module is used to convert the target data into a high-speed analog output signal.
[0106] Specifically, the high-speed AO expansion board can provide higher performance processing. Figure 4 This is a schematic diagram of the structure of a high-speed AO expansion board shown in an exemplary embodiment of the present application. Figure 4 The high-speed AO expansion board can achieve 4-way ±10V voltage output, 16-bit resolution and ±10mV accuracy.
[0107] Furthermore, the high-speed AO expansion board contains the control logic of the DAC module, which provides a RAM interface to the MCU. The control logic is responsible for outputting the data in the RAM to the high-speed AO expansion board interface at a specified update frequency. The data update frequency is not less than 250kHz, and the drive current output by the high-speed AO expansion board is not less than 5mA.
[0108] Further, continue to refer to Figure 4, the DAC module uses the SGM5353-16 module of Shengbang Microelectronics. The SGM5353-16 module is a 16-bit, single-channel, serial input, voltage output DAC module. Its supply voltage is 2.7V to 5.5V. The DAC module output range is 0V to VREF. The output of the SGM5353-16 module is monotonic and has 1LSB integral nonlinearity over the entire operating temperature range. The SGM5353-16 module has low noise and fast setting time output (set to 0.5LSB of full-scale output within 1.5μs). The SGM5353-16 module uses a 3-wire serial SPI compatible interface. It should be noted that the SGM5353-16 module has the characteristics of supporting unbuffered voltage output, power-on reset to zero scale, and 0.39mW low power consumption.
[0109] Optionally, the intelligent control device also includes a monitoring application, which is used to detect the working data of the intelligent control device in real time, and identify the working status of the intelligent control device based on the working data; if the working status is abnormal, identify the abnormal position of the intelligent control device according to the working data, and alarm according to the abnormal position and abnormal content to prompt the user.
[0110] In specific implementation, the monitoring application can be pre-written by the staff through programming software to detect the working data of the intelligent control device and then determine its working state. When the working state is abnormal, the intelligent controller is diagnosed and processed to ensure the normal operation of the intelligent controller and reduce the operating cost of the intelligent controller.
[0111] Furthermore, when the working state is abnormal, the monitoring application can also send an alarm to the user according to the abnormal location and abnormal content, through which the user can handle the intelligent control device in time.
[0112] Optionally, the intelligent control device can be based on an embedded hardware board to complete intelligent control. Figure 5 This is a schematic diagram of the structure of an embedded hardware board provided by an exemplary embodiment of the present application. Figure 5 , the intelligent controller can control friction welding through the embedded hardware board. In the specific implementation, in one embodiment, the sensor and other devices are connected through the SSI (Synchronous Serial Interface, referred to as SSI) synchronous serial interface protocol to complete the communication, and then the analog quantity is converted into a digital quantity through the AD / DA analog-to-digital converter, and then the signal is input through the high-speed AI expansion board, and the signal is output to the FPGA through the high-speed AO expansion board to complete the operation of the friction welding control signal. Furthermore, the FPGA outputs the signal to the multi-core CPU, and the multi-core CPU completes the control and storage functions in the TF card.
[0113] Corresponding to the aforementioned embodiment of a friction welding intelligent control device, the present application also provides an embodiment of an intelligent control method applied to friction welding.
[0114] Figure 6 This is a flow chart of the first embodiment of the intelligent control method for friction welding provided by this application. Figure 6 The method provided in this embodiment uses any one of the devices provided in the first aspect of the present application, and the method may include:
[0115] S701, collecting displacement and acceleration information of friction welding.
[0116] S702, predicting the future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and outputting a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding.
[0117] S703, generating a non-real-time control signal set based on the real-time control signal, wherein the non-real-time control signal set includes a plurality of control instructions with execution priority, and the non-real-time control module is further used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
[0118] The specific implementation process and implementation principle of each step can be found in the description of the previous embodiment and will not be repeated here.
[0119] The intelligent control method for friction welding provided in this embodiment can intelligently and efficiently control friction welding based on a set of equipment, thereby improving the accuracy of friction welding control.
[0120] The present application also provides a friction welding intelligent control device, which includes any one of the devices provided in the first aspect of the present application.
[0121] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A friction welding intelligent control device, It is characterized in that The intelligent control device at least includes a collection module, a real-time control module and a non-real-time control module; wherein, The acquisition module is used to acquire displacement and acceleration information of friction welding; The real-time control module is used to predict the future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and output a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding; Wherein, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table, so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table, so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position; the first pre-vibration position and the second pre-vibration position are both initial positions of the friction welding vibration slide table; The non-real-time control module is used to generate a non-real-time control signal set based on the real-time control signal, and the non-real-time control signal set includes multiple control instructions with execution priority. The non-real-time control module is also used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
2. The device according to claim 1, It is characterized in that The outputting of a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding specifically includes: The real-time control module is used to generate a running error based on the future trajectory and the planned trajectory of the friction welding; The real-time control module is further used to determine the speed error and the movement direction deviation based on the operation error and the duration of the first time period, calculate the acceleration matching the speed error and the movement direction deviation and adjust the movement direction according to the PID algorithm; The real-time control module is also used to generate the first driving signal based on the acceleration and the adjustment movement direction to control the friction welding to move according to the acceleration and the adjustment movement direction.
3. The device according to claim 1, It is characterized in that The non-real-time control module is further used to identify the control object information of the real-time control signal, the control object information at least including the control object and the control content, determine the priority of the real-time control signal based on the control object information, and add the real-time control signal to the non-real-time control signal set based on the priority, wherein the position of the real-time control signal in the non-real-time control signal set is determined by the priority; The non-real-time control module is further specifically configured to execute the control instructions in the non-real-time control signal set in order of priority from high to low.
4. The device according to claim 1, It is characterized in that The acquisition module is specifically used to obtain the displacement and acceleration information of friction welding by using differential input, wherein the displacement and acceleration information are analog quantities; The acquisition module outputs a DC bias voltage corresponding to the acquired displacement and acceleration information to the real-time control module; wherein the vibration center offset of the friction welding is compensated based on the DC bias voltage.
5. The device according to claim 1, It is characterized in that The acquisition module includes a high-speed AI expansion board; the front end of the high-speed AI expansion board is integrated with EMC, filtering and protection circuits; the back end of the high-speed AI expansion board is a high-speed serial communication interface; the high-speed AI expansion board is sequentially integrated with an analog front-end ADC chip and a low-pass filter; the acquisition of friction welding displacement and acceleration information includes: Collecting the displacement and acceleration of the friction welding and inputting them to the high-speed AI expansion board through differential input; The low-pass filter is used to scan the ADC chip to obtain an output signal that meets the input impedance requirement; The EMC, filtering and protection circuits are used to protect the high-speed AI expansion board and perform denoising on the output signal of the high-speed AI expansion board.
6. The device according to claim 1, It is characterized in that The intelligent control device further comprises a high-speed AO expansion board, and the high-speed AO expansion board is connected to the non-real-time control module; The high-speed AO expansion board is used to match the corresponding update frequency based on the urgency of the centralized control instruction of the non-real-time control signal, and read the target data corresponding to the executed control instruction from the RAM interface according to the update frequency; The high-speed AO expansion board also includes a DAC module, and the DAC module is used to convert the target data into a high-speed analog output signal.
7. The device according to claim 1, It is characterized in that The intelligent control device also includes a monitoring application, which is used to detect the working data of the intelligent control device in real time and identify the working status of the intelligent control device based on the working data; if the working status is abnormal, the abnormal position of the intelligent control device is identified according to the working data, and an alarm is issued according to the abnormal position and abnormal content to prompt the user.
8. The device according to claim 1, It is characterized in that After controlling the motion trajectory of the friction welding according to the non-real-time control signal set, the method further includes: Acquire the vibration instruction in the non-real-time control signal set and the real-time acceleration and real-time moving direction of the friction welding; wherein the vibration instruction includes the target acceleration and the target moving direction; Acquire a first drive signal based on the concentrated vibration instruction of the non-real-time control signal and the real-time acceleration and real-time moving direction of the friction welding; Based on the first displacement sensor, the first pre-vibration position of the friction welding vibration slide before the vibration is started and the mid-vibration position during the vibration operation are collected; Based on the second displacement sensor, a second pre-vibration position of the friction welding vibration slide before the vibration is started and a post-vibration position of the friction welding vibration slide after the vibration is finished are collected; Acquire a second drive signal based on the first pre-vibration position and the mid-vibration position; Acquire a third driving signal based on the second pre-vibration position and the post-vibration position; Controlling the friction welding and the friction welding vibration slide movement based on the first drive signal, the second drive signal and the third drive signal; A first sampling frequency response of the first displacement sensor collecting the first pre-vibration position and the mid-vibration position is higher than a second sampling frequency response of the second displacement sensor collecting the second pre-vibration position and the post-vibration position.
9. An intelligent control method for friction welding, It is characterized in that The method is applied to the device according to any one of claims 1 to 8, and the method comprises: Collect displacement and acceleration information of friction welding; Predicting a future trajectory of the friction welding within a first time period based on the displacement and acceleration information of the friction welding, and outputting a real-time control signal to the non-real-time control module based on the future trajectory and the planned trajectory of the friction welding, wherein the real-time control signal is used to control the speed and movement direction of the friction welding so that the actual trajectory of the friction welding within the first time period is consistent with the planned trajectory of the friction welding; Wherein, the real-time control signal at least includes a first drive signal, a second drive signal and a third drive signal, the first drive signal is used to control the acceleration of the friction welding, the second drive signal is used to control the vibration center position of the friction welding vibration slide table, so that the vibration center position of the friction welding vibration slide table is the same as the first pre-vibration position, and the third drive signal is used to control the post-vibration position of the friction welding vibration slide table, so that the post-vibration position of the friction welding vibration slide table is the same as the second pre-vibration position; the first pre-vibration position and the second pre-vibration position are both initial positions of the friction welding vibration slide table; A non-real-time control signal set is generated based on the real-time control signal, wherein the non-real-time control signal set includes a plurality of control instructions with execution priority, and the non-real-time control module is further used to control the motion trajectory of the friction welding according to the non-real-time control signal set.
10. An intelligent control device for friction welding, It is characterized in that The device comprises the apparatus according to any one of claims 1-8.
