Frequency domain analysis method based on ZYNQ stress relaxation control system

By using the embedded heterogeneous architecture of the ZYNQ chip in the stress relaxation control system, combined with the dual-core ARM-A9 processor and programmable logic resources, a stress relaxation control system based on spectrum analysis is developed, which solves the problem of the large size and high cost of the existing system. , non-portability and unfriendly human-computer interaction problems, and achieved system compactness, improved efficiency and enhanced portability.

CN118567334APending Publication Date: 2024-08-30UNIV OF JINAN
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410736736.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing stress relaxation control system is bulky, high-cost, inconvenient to carry, and unfriendly to human-computer interaction, making it difficult to meet the needs of modern industrial control.

Method used

Using the embedded heterogeneous architecture of the ZYNQ chip, combined with the dual-core ARM-A9 processor and rich programmable logic resources, a stress relaxation control system based on spectrum analysis is developed. The Linux system and Qt framework on the PS side are used to develop user applications, combined with PL End-to-end parallel processing and data analysis capabilities enable system compactness and efficient computing.

Benefits of technology

The stress relaxation control system is reduced in size, cost, and portability, has a friendly user interface, improves system efficiency, and reduces equipment installation complexity and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567334A
    Figure CN118567334A
Patent Text Reader

Abstract

The invention discloses a frequency domain analysis method based on a ZYNQ stress relaxation control system, which comprises a stress relaxation device, a motor driving module, a signal conversion conditioning module, a ZYNQ control system module and a high-definition multimedia interface (HDMI) touch display. A stress relaxation control system based on spectral analysis is developed, a simplified Linux system and a user application program developed by a Qt framework run at a PS end to replace a traditional industrial control computer, meanwhile, by means of the parallel processing and data analysis capacity of a PL end, the running and calculation speed of the system is increased, meanwhile, the size of the stress relaxation control system is reduced, and the system performance is improved. The portability is improved, the installation is simpler, and the equipment cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of stress relaxation control, and more specifically, to a frequency domain analysis method based on a ZYNQ stress relaxation control system. Background Art

[0002] During the processing, manufacturing and service of mechanical workpieces, they experience plastic deformation, temperature changes, phase changes, etc., which cause residual stress inside the material. The existence of residual stress will affect the mechanical properties and service life of the workpiece, cause deformation and dimensional changes of the workpiece, and affect the processing accuracy and assembly quality. In particular, the existence of tensile stress will increase the risk of stress corrosion cracking. Eliminating residual stress in the workpiece is an important part of ensuring the quality and reliability of the workpiece, and is of great significance to improving the mechanical properties, processing performance and service life of the product.

[0003] The stress relaxation control systems currently used in factories can generally be divided into two categories. One is a sub-resonance stress elimination system based on full-range frequency sweeping, and the other is a spectrum time-effect stress elimination system based on spectrum analysis. Both achieve the purpose of residual stress relaxation in the workpiece by controlling the vibration of the exciting motor. Through laboratory comparative experimental results and on-site inspections, the stress relaxation effect of the workpiece treated by the spectrum time-effect stress elimination system is significantly better than that of the workpiece treated by the sub-resonance stress elimination system. The fully automatic feature of spectrum time-effect also greatly reduces the user threshold. Since the birth of spectrum time-effect, it has been widely popularized and promoted throughout the country, and related companies have also actively responded to the call to research and develop spectrum time-effect stress elimination systems based on spectrum analysis. The stress relaxation control systems based on spectrum analysis in the current market are basically composed of three parts: industrial control computers, signal acquisition and conditioning boards, and core control boards. They have the problems of large size, difficulty in carrying, high cost, waste of resources, and unfriendly user interface.

[0004] Nowadays, with the continuous development of chip technology and the emergence of embedded heterogeneous architecture chips, the application of embedded heterogeneous architecture chips in the field of stress relaxation has become a new development direction. The emergence of Xilinx's Zynq7000 series chips has further promoted the progress and development in this direction. The PS end inside the chip integrates a dual-core ARM-A9 processor and rich programmable logic resources. The two are interconnected through the AXI interface to achieve high-speed data transmission. The chip has been verified in a large number of industrial fields and is fully suitable for the field of industrial control. Summary of the invention

[0005] The present invention utilizes the PS+PL heterogeneous architecture in the ZYNQ chip to develop a stress relaxation control system based on spectrum analysis. A streamlined Linux system and a user application developed with the Qt framework are run on the PS side to replace the traditional industrial control computer. At the same time, with the help of the parallel processing and data analysis capabilities of the PL side, the operation and calculation speed of the system is improved, while the size of the stress relaxation control system is reduced, the portability is improved, the installation is simpler, and the equipment cost is reduced.

[0006] The technical solutions adopted by the embodiments of the present invention to achieve the above-mentioned purpose are as follows:

[0007] According to one aspect of the present invention, a frequency domain analysis method based on a ZYNQ stress relaxation control system is provided, characterized in that the frequency domain analysis method based on the ZYNQ stress relaxation control system comprises the following steps: step 1: the processor system (PS side for short) in ZYNQ runs the Boot startup program, automatically loads the Linux system and the underlying device driver, initializes the Linux system, lights up the display screen, enters the command line interface, the system automatically runs the Qt user application, enters the user operation interface, configures the parameters of the stress relaxation system, controls the start and stop of the system, and displays the data in real time and visualizes the drawing; step 2: after the system is started, the PS side application controls the excitation motor to accelerate to the target speed within a certain time range to realize the frequency sweeping operation, monitors the motor current value in real time while sweeping the frequency, collects and stores the acceleration value in real time, and Draw the acceleration-time image; Step 3: After the frequency sweep in step 2 is completed, the programmable logic (PL end for short) extracts the stored acceleration values ​​in segments, performs fast Fourier transform, and temporarily stores the transformed results, and sends them to the PS end user program to draw the spectrum diagram, and obtains 10 frequency points with larger amplitudes after processing the spectrum data; Step 4: The 10 frequency points in step 3 are fed back to the application program on the PS end through the drive, and the 10 frequency points are converted into 10 different motor speeds. The exciting motor is controlled in turn to rotate stably at these 10 speeds for a few minutes to achieve different vibration degrees and achieve the effect of stress relaxation; Step 5: While the motor rotates stably in step 4, the PS end user program monitors the motor current value in real time, collects and stores acceleration values, and draws the acceleration-time image, and judges the stress relaxation effect by observing the curve changes.

[0008] The present invention provides a ZYNQ-based stress relaxation control system, comprising a stress relaxation device, a motor drive module, a signal conversion and conditioning module, a ZYNQ control system module, and a high-definition multimedia interface (HDMI interface for short) touch display.

[0009] The PS end of the ZYNQ control system module integrates a dual-core ARM-A9 processor, and the PL end contains rich programmable logic resources as well as storage and digital signal processor (DSP) resources; the HDMI interface touch display has a touch screen and an HDMI interface, and supports 1080p@60Hz video format; the stress relaxation device includes a DC excitation motor and an acceleration sensor with a speed feedback device; the motor drive module realizes motor control and current signal acquisition; the signal conversion and conditioning module realizes level conversion and signal conditioning of acceleration, motor speed, motor current, and speed control signals.

[0010] The HDMI interface touch display is connected to the PS part of the ZYNQ control system module, the signal conversion and conditioning module is connected to the PL part of the ZYNQ control system board, the PS part and the PL part of the ZYNQ control system module are interconnected through an advanced extensible interface (AXI interface for short), the motor drive board is connected to the signal conversion and conditioning module, the excitation motor inside the stress relaxation device is connected to the motor drive board, and the acceleration sensor and motor speed feedback module inside the stress relaxation device are connected to the signal conversion and conditioning module.

[0011] Furthermore, in step 1, ZYNQ is the ZYNQ7000 series of Xilinx, whose internal PS end integrates an ARM processor capable of running a streamlined Linux system. The underlying device drivers automatically loaded by the system include PL-end IP core driver, input device driver, and HDMI interface display driver. The user application is written using the Qt cross-platform application development framework for human-computer interaction and data visualization.

[0012] Furthermore, in the step 2, the PS end controls the acceleration of the exciting motor by means of the IP core driver, obtains the frequency of the PL end frequency measurement module, converts it into the motor speed, and controls the PL end pulse width modulation (PWM) module to output the PWM wave based on the PID speed loop DC motor control algorithm. The IP core driver is compiled and generated in the cross-compilation environment of petalinux, an embedded Linux development kit launched by Xilinx, in combination with the platform framework and the miscellaneous device (misc device) framework. The PWM module and the frequency measurement module are encapsulated into an IP core with an AXI-Lite interface on the PL end. The acquisition of the acceleration signal is realized through the AD8685 module. The output of the AD8685 is obtained on the PL end and converted into an acceleration value, which is stored in the storage resources inside the PL in sequence, and is transmitted to the PS end application software to draw the image with the help of the AXI-lite interface and the Linux device driver.

[0013] Furthermore, the speed measurement module is characterized in that the speed measurement module converts the current motor speed by measuring the square wave frequency output by the photoelectric switch using a photoelectric switch and a grid photoelectric encoder. The speed conversion formula is as follows: Where N is the motor speed in revolutions per minute (RPM), F is the square wave frequency of the photoelectric switch output in Hz, k is the conversion coefficient, where k is 60, and n is the number of grids of the photoelectric encoder, where n is 15.

[0014] Furthermore, in step three, the method used to analyze the acceleration data is short-time Fourier transform, which is performed by intercepting the data collected in a short time at a fixed interval speed during the acceleration process, and then extracting 10 frequency points with larger amplitudes through a sorting algorithm.

[0015] Furthermore, in step 4, the formula for converting the frequency point obtained by spectrum analysis to the motor speed is as follows: Where N is the motor speed in RPM, F is the frequency value corresponding to the frequency point obtained by spectrum analysis in Hz, and k is the conversion coefficient, where the value of k is 60.

[0016] Furthermore, in step five, if the stress relaxation is performed at several rotation speeds, the acceleration-time curve is observed in the user program. If the curve first rises, then falls, and then tends to be flat, it means that stress relaxation is achieved.

[0017] Furthermore, in step 2 and step 5, the working current of the excitation motor is collected using an ADC module (referred to as XADC hard core) integrated in the FPGA by Xilinx. With the help of the dynamic configuration interface (referred to as DRP interface) and IP core driver, the user program obtains the current value for real-time display and overcurrent protection. When the current exceeds a certain threshold, the application will control the motor to stop and pop up a dialog box to prompt the operator.

[0018] The present invention provides a frequency domain analysis method based on a ZYNQ stress relaxation control system, which makes use of a ZYNQ chip with an embedded heterogeneous architecture. The chip contains a dual-core ARM system and a resource-rich programmable logic array. The two interact with each other through an AXI interface, thereby solving the problems of the current stress relaxation control system, such as bulky size, backward system, complex hardware design, inconvenient portability, unfriendly human-computer interaction, and high cost, and improving the efficiency of the stress relaxation control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1This is the system architecture diagram of the frequency domain analysis method based on the ZYNQ stress relaxation control system;

[0020] Figure 2 It is the software flow chart of the frequency domain analysis method based on ZYNQ stress relaxation control system;

[0021] Figure 3 System startup flow chart for the frequency domain analysis method based on the ZYNQ stress relaxation control system. DETAILED DESCRIPTION

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0024] In this embodiment, a frequency domain analysis method based on a ZYNQ stress relaxation control system is provided.

[0025] Figure 1 It is a system architecture diagram of a frequency domain analysis method based on a ZYNQ stress relaxation control system. The hardware platform used in the present invention includes a stress relaxation device, a motor drive module, a signal conversion and conditioning module, a ZYNQ control system module, and an HDMI touch display.

[0026] The ZYNQ chip is a new generation of fully programmable system on chip (APSoC) launched by Xilinx. The present invention adopts the Zynq7000 series chip, model XC7Z020-2CLG400I, which includes processor system parts PS and PL. The core of the PS part is two ARM Cortex-A9 processors, ARM-v7 architecture, on-chip bootROM and 256KB on-chip RAM. Each CPU has 32KB of first-level instruction and data cache, and 512KB of second-level cache shared by two CPUs. The core of the PL part is FPGA, which has 85K logic units, 220 multipliers, 106400 triggers, and two internal AD converters.

[0027] The stress relaxation device comprises a 1.2KW permanent ferrite DC excitation motor with a speed feedback device and a CA-YD piezoelectric acceleration sensor.

[0028] The motor drive module is based on the STC15 single-chip microcomputer. It filters the control PWM signal and uses the internal AD of the single-chip microcomputer to collect the control output PWM wave to drive the insulated gate bipolar transistor (IGBT) driver, thereby controlling the IGBT to drive the motor to rotate. The sampling resistor is connected in series in the motor circuit to collect the motor current signal.

[0029] The signal conversion and conditioning module uses a charge amplifier composed of AD620 and LM353 to obtain acceleration signals, and uses the AD8685 module to convert analog quantities into digital quantities. Optocouplers are used to achieve 5V-3.3V level conversion, and TIL117 is used to achieve 12V-3.3V level conversion. A two-stage filter circuit is built through a low-pass filter circuit and a 555 timer to achieve conversion and filtering of the motor speed signal. A voltage divider circuit is used to scale the current to a range of ±1V so that the internal XADC can perform current sampling. TIL117 is used to implement a speed-controlled PWM wave to achieve 3.3V-5V level conversion.

[0030] The HDMI interface touch display has a touch screen and an HDMI interface, and supports 1080p@60Hz video format.

[0031] Figure 2 It is a software flow chart of a frequency domain analysis method based on a ZYNQ stress relaxation control system. The user program software of the present invention is written based on a cross-platform Qt framework and runs under a Linux system on the PS side.

[0032] The software basically runs automatically. Users only need to make simple settings and real-time observations. The main process of user software operation is: power on the control system, wait for the software to be loaded, and the user sets the initial speed and end speed of the start frequency sweep and the frequency sweep time. After the settings are completed, click Run and wait for the system frequency sweep to be completed. During the waiting process, observe the acceleration-time curve drawn in real time in the software and the motor current value collected in real time. If the current value is too large, the system will automatically start the protection mechanism and stop running. The user can adjust the configuration parameters of the above steps and start again. After the frequency sweep is completed, the user program interface will display the analyzed spectrum diagram and give 10 recommended frequency points. The user can select one or more frequency points for stress relaxation. Generally, more than 7 are recommended. During the stress relaxation process, observe the acceleration-time curve drawn in real time in the software and the motor current value collected in real time. If the current is too large, the software will automatically skip the current frequency point and enter the next one. After the stress relaxation is completed, observe the acceleration-time curve at each frequency point. If the curve rises first, then falls, and then tends to be flat, it means that stress relaxation has been achieved.

[0033] Figure 3It is a system startup flow chart of the frequency domain analysis method based on the ZYNQ stress relaxation control system. The system aspects of the present invention mainly include a Boot program, a tailored Linux kernel and driver, a device tree file, a self-written IP core device driver, a Linux system, and a Qt user application.

[0034] The system startup process is as follows: the control board is powered on, the PS side runs the Boot startup program, automatically loads the Linux system, loads the driver and IP core driver according to the device tree file, lights up the HDMI interface screen, enters the command line interface, automatically runs the startup configuration file, starts the Qt application after the operation is completed, and waits for the user to complete the configuration before starting the system. When the system starts, the XADC current acquisition module, frequency measurement module, PWM module, acceleration acquisition and conversion module, fast Fourier (FFT) transform module, and acceleration storage module on the PL side run in parallel to realize the functions of accelerated frequency sweep, spectrum analysis, and stress relaxation.

Claims

1. A frequency domain analysis method based on a ZYNQ stress relaxation control system, characterized in that: The frequency domain analysis method based on the ZYNQ stress relaxation control system comprises the following steps: Step 1: Run the Boot program on the processor system (PS side) in ZYNQ, automatically load the Linux system and underlying device drivers, initialize the Linux system, light up the display, enter the command line interface, and the system automatically runs the Qt user application program, enters the user operation interface, configures the parameters of the stress relaxation system, controls the start and stop of the system, and displays the data in real time and visualizes the drawing; Step 2: After the system is started, the PS application controls the excitation motor to accelerate to the target speed within a certain time range to achieve the frequency sweep operation. While sweeping the frequency, the motor current value is monitored in real time, the acceleration value is collected and stored in real time, and the acceleration-time image is drawn; Step 3: After the frequency sweep in step 2 is completed, the programmable logic (PL end for short) extracts the stored acceleration values ​​in segments, performs fast Fourier transform, and temporarily stores the transformed results. At the same time, it is sent to the user program on the PS end to draw the spectrum diagram, and the spectrum data is processed to obtain 10 frequency points with large amplitudes; Step 4: The 10 frequency points in step 3 are fed back to the application on the PS side through the driver, and the 10 frequency points are converted into 10 different motor speeds. The exciting motor is controlled to rotate stably at these 10 speeds for a few minutes to achieve different vibration levels and achieve the effect of stress relaxation. Step 5: While the motor is rotating steadily in step 4, the PS end user program monitors the motor current value in real time, collects and stores the acceleration value and draws the acceleration-time graph, and judges the stress relaxation effect by observing the curve changes.

2. A stress relaxation control system based on ZYNQ, comprising a stress relaxation device, a motor drive module, a signal conversion and conditioning module, a ZYNQ control system module, and a high-definition multimedia interface (HDMI interface for short) touch display, characterized in that: The PS end of the ZYNQ control system module integrates a dual-core ARM-A9 processor, and the PL end contains rich programmable logic resources as well as storage and digital signal processor (DSP) resources; the HDMI interface touch display has a touch screen and an HDMI interface, and supports 1080p@60Hz video format; the stress relaxation device includes a DC excitation motor with a speed feedback device and an acceleration sensor; the motor drive module realizes motor control and current signal acquisition; the signal conversion and conditioning module realizes level conversion and signal conditioning of acceleration, motor speed, motor current, and speed control signal; The HDMI interface touch display is connected to the PS part of the ZYNQ control system module, the signal conversion and conditioning module is connected to the PL part of the ZYNQ control system board, the PS part and the PL part of the ZYNQ control system module are interconnected through an advanced extensible interface (AXI interface for short), the motor drive board is connected to the signal conversion and conditioning module, the excitation motor inside the stress relaxation device is connected to the motor drive board, and the acceleration sensor and motor speed feedback module inside the stress relaxation device are connected to the signal conversion and conditioning module.

3. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1 is characterized in that: In the step 1, ZYNQ is the ZYNQ7000 series of Xilinx (Xilinx for short), and its internal PS end integrates an ARM processor capable of running a streamlined Linux system. The underlying device drivers automatically loaded by the system include PL-end IP core driver, input device driver, and HDMI interface display driver. The user application is written using the Qt cross-platform application development framework for human-computer interaction and data visualization.

4. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1 is characterized in that: In the step 2, the PS end controls the acceleration of the exciting motor by means of the IP core driver, obtains the frequency of the PL end frequency measurement module, converts it into the motor speed, and controls the PL end pulse width modulation (PWM) module to output PWM wave based on the PID speed loop DC motor control algorithm. The IP core driver is compiled and generated in the cross-compilation environment of petalinux, an embedded Linux development kit launched by Xilinx, in combination with the platform framework and the miscellaneous device (misc device) framework. The PWM module and the frequency measurement module are encapsulated into an IP core with an AXI-Lite interface on the PL end. The acquisition of the acceleration signal is realized by the AD8685 module. The output of the AD8685 is obtained on the PL end and converted into an acceleration value, which is stored in the storage resources inside the PL in sequence, and is transmitted to the PS end application software to draw the image with the help of the AXI-lite interface and the Linux device driver.

5. The speed measurement module according to claim 4, characterized in that: The speed measurement module uses a photoelectric switch and a grid photoelectric encoder to measure the square wave frequency output by the photoelectric switch to convert it into the current motor speed. The speed conversion formula is as follows: ; Where N is the motor speed in revolutions per minute (RPM), F is the square wave frequency of the photoelectric switch output in Hz, k is the conversion coefficient, where k is 60, and n is the number of grids of the photoelectric encoder, where n is 15.

6. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1 is characterized in that: In the step three, the method used to analyze the acceleration data is short-time Fourier transform, which is performed by intercepting the data collected in a short time at a fixed interval speed during the acceleration process, and then extracting 10 frequency points with larger amplitudes through a sorting algorithm.

7. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1 is characterized in that: In step 4, the formula for converting the frequency point obtained by spectrum analysis to the motor speed is as follows: ; Where N is the motor speed in RPM, F is the frequency value corresponding to the frequency point obtained by spectrum analysis in Hz, and k is the conversion coefficient, where the value of k is 60.

8. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1 is characterized in that: In step 5, if the stress relaxation is performed at several rotation speeds, the acceleration-time curve is observed in the user program. If the curve first rises, then falls, and then tends to be flat, it means that stress relaxation has been achieved.

9. The frequency domain analysis method based on the ZYNQ stress relaxation control system according to claim 1, characterized in that: In the steps 2 and 5, the working current of the excitation motor is collected using an ADC module (XADC hard core) integrated in the FPGA by Xilinx. With the help of the dynamic configuration interface (DRP interface) and IP core driver, the user program obtains the current value for real-time display and over-current protection. When the current exceeds a certain threshold, the application will control the motor to stop and pop up a dialog box to prompt the operator.

Citation Information

Cited By

  • Heterogeneous platform radar control and signal processing module and radar system

    CN121091210A

  • A heterogeneous platform radar control and signal processing apparatus and radar system

    CN121091210B

  • SoC FPGA-based real-time spectrum analysis software implementation method

    CN121604006A