A method and device for measuring and controlling the flow rate of a shot peening machine
By using solenoid sensors and inductor-to-digital converter technology, combined with closed-loop control PID algorithm, real-time stable control of shot peening machine flow rate was achieved, solving the problems of flow rate fluctuation and interference, and improving the stability of the shot peening machine production process and product quality.
Patent Information
- Application Number
- CN202511303789.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-12
- Publication Date
- 2026-11-17
AI Technical Summary
The existing flow measurement and control system for shot peening machines cannot suppress flow fluctuations generated during production in a timely manner, resulting in poor flow stability and a large fluctuation range. At the same time, the system is easily affected by various factors on site, leading to distortion of measurement signals or inaccurate operation of the actuator.
The solenoid sensor and inductance-to-digital conversion technology are used to directly and in real time measure the shot peening flow rate and convert the physical quantity into a high-precision digital frequency signal. Combined with the closed-loop control PID algorithm for real-time correction, and driven by PWM to drive the solenoid valve, fully automatic closed-loop control is achieved.
This system improves the stability of shot peening flow rate, enhances the consistency and reliability of product processing quality, reduces reliance on manual intervention, and enables the system to automatically resist internal and external disturbances and maintain a long-term stable dynamic balance.
Smart Images

Figure CN123103530A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of measurement and control, and in particular to a method and device for measuring and controlling the flow rate of a shot peening machine. Background Technology
[0002] A shot peening machine is a surface strengthening device that uses a high-speed stream of shot to impact the surface of a metal workpiece, thereby generating plastic deformation and compressive stress on the workpiece surface. Commonly used blasting materials for shot peening machines include quartz sand, iron sand, ceramic shot, and steel shot. Iron shot is one of the mainstream media, as it has moderate hardness, controllable cost, and can be recycled. Pressure shot peening machines use compressed air as power to spray the blasting material at high speed onto the workpiece surface, which can effectively remove rust, oxide layers, and other adhering substances from the workpiece surface, improving the surface quality of the workpiece.
[0003] Existing shot peening machine flow measurement and control methods use sensors to detect the flow rate of abrasive material in the shot peening machine pipeline in real time. The control system compares the measured actual flow rate with the preset target flow rate and calculates the deviation. Based on the deviation, the amount of shot peening is adjusted using an adjustment mechanism to bring the actual flow rate closer to the target flow rate. However, existing flow measurement and control systems cannot suppress flow fluctuations that occur during production in a timely manner, resulting in poor flow stability and a large fluctuation range. At the same time, the system is easily affected by various factors on site, leading to distortion of measurement signals or inaccurate operation of the actuator. Summary of the Invention
[0004] This application provides a method and device for measuring and controlling the flow rate of a shot peening machine, which solves the technical problems of existing flow measurement and control systems being unable to suppress flow fluctuations generated during the production process in a timely manner, resulting in poor flow stability and large fluctuation range; at the same time, the system is easily affected by various factors on site, leading to distortion of measurement signals or inaccurate operation of the actuator.
[0005] To achieve the above objectives, this application adopts the following technical solution: Firstly, a method for measuring and controlling the flow rate of a shot peening machine is provided, including: Real-time shot peening flow rate is collected using a solenoid sensor; The collected real-time traffic flow is preprocessed to obtain the traffic flow signal; The shot peening flow rate signal is compared with a preset flow rate threshold; The shot peening flow rate is adjusted based on the comparison results.
[0006] Based on the above technical solution, the shot peening machine flow measurement and control method provided in this application adopts a solenoid sensor and inductance digital conversion technology to directly and in real time measure the shot peening flow rate and convert the physical quantity into a high-precision digital frequency signal, providing a reliable data foundation for precise control. Through real-time correction using a closed-loop control PID algorithm, flow fluctuations can be stabilized within a very small range, greatly ensuring the consistency and reliability of product processing quality. The entire signal link is dominated by digital signals, which, compared to traditional analog control systems, is less affected by electrical noise, temperature drift, and other interferences, resulting in higher stability. The PWM-driven solenoid valve has a fast response speed, quickly executing controller commands and adjusting the flow rate in a timely manner, thereby effectively suppressing system fluctuations. It achieves fully automatic closed-loop control from measurement and calculation to execution, requiring no manual intervention, reducing reliance on manpower and operator experience. The closed-loop feedback structure enables the system to automatically resist internal and external disturbances, maintain the set flow rate value, achieve long-term stable dynamic balance, and ensure the continuity of the production process and the stability of product quality.
[0007] In conjunction with the first aspect above, in one possible implementation, the acquisition of shot peening flow rate via a solenoid sensor includes: To obtain the magnetic field strength generated by a current-carrying element at any point P in space; its expression is: ;in, The vacuum permeability; For current elements, Let P be the distance from the current element to point P; The magnetic field component at point P is calculated based on the principle of symmetry, and its expression is as follows: ; Where R is the radius of the solenoid and X is the distance from point P to the center of the circle; the shot peening flow rate is calculated based on the magnetic field principle of the solenoid sensor.
[0008] In conjunction with the first aspect above, in one possible implementation, the calculation of the shot peening flow rate based on the magnetic field principle of the solenoid sensor includes: When the magnetic field distribution model is a single-layer solenoid, let the solenoid length be L, the radius be R, the number of turns be N, and the current be I. Establish a coordinate system with the center point O as the origin, and let the distance from point P to the origin O be X. Then the expression for the magnetic induction intensity at any point P on the central axis of the single-layer solenoid is: ; For a long, straight, tightly wound solenoid, the central region of the solenoid is approximately considered to be... , Then the magnetic flux density can be simplified to The magnetic field strength at the boundary can be simplified to: ; Through formula Calculate the increment of the magnetic flux density of the solenoid; where, Let be the radius of the sphere equivalent to that used in shot peening; The relative permeability of the shot peening is given; the shot peening flow rate is analyzed based on the increase in magnetic induction intensity.
[0009] In conjunction with the first aspect above, in one possible implementation, the step of analyzing the shot peening flow rate based on the magnetic induction intensity increment includes: The calculated magnetic flux density increment is converted into an inductance change using a solenoid sensor; the inductance change is then converted into a resonant frequency using an LC resonant circuit. Its expression is: ;in, The value of the inductance of the resonant circuit is represented by C, and the value of the fixed capacitance of the resonant circuit is represented by C. The change in the resonant frequency is marked as the real-time flow rate of the shot peening.
[0010] In conjunction with the first aspect above, in one possible implementation, the preprocessing of the collected real-time traffic to obtain the traffic signal includes: Construct a frequency-to-voltage conversion and acquisition circuit; the acquisition circuit includes: LC resonance, pulse shaping, frequency-to-voltage conversion, and zero-adjustment circuit; The resonant frequency in the LC resonant circuit is pulse shaped to obtain a standard square wave signal; the standard square wave signal is then input into a frequency voltage quasi-conversion circuit to obtain the corresponding flow voltage. By adjusting the sliding rheostat of the zero-adjustment circuit, the output voltage of the voltage follower is made equal to the initial voltage; the flow voltage is input into the zero-adjustment circuit to obtain the corresponding voltage difference, and the voltage difference is marked as the flow signal; The flow signal is periodically filtered to obtain the filtered signal.
[0011] In conjunction with the first aspect above, in one possible implementation, the periodic filtering of the traffic signal to obtain the filtered signal includes: The register data is read using an LDC1612 and converted into several frequencies according to a calculation formula. These frequencies are then integrated into a frequency array, which includes the frequencies of a complete cycle. Select two adjacent minimum points from the frequency array to determine a sampling period; perform an arithmetic mean operation on the frequencies within the sampling period; and perform data smoothing by subtracting the average from the initial frequency; where the initial frequency is the frequency of the shot peening machine when it is unloaded.
[0012] In conjunction with the first aspect above, in one possible implementation, comparing the shot peening flow rate signal with a preset flow rate threshold includes: A DAC chip is used to convert the filtered signal into an analog signal proportional to the shot peening quality; the analog signal is then input into a PID controller. The PID controller compares the analog signal with the preset flow rate value to obtain the deviation value; it then performs calculations based on the deviation value and outputs a control signal to the control circuit board.
[0013] In conjunction with the first aspect above, in one possible implementation, the adjustment of the shot peening flow rate based on the comparison result includes: Construct the adjustment function: ;in, Indicates control signals; This is the proportionality coefficient; The integral time constant; t is the differential time constant; t is the time interval. The control signal is substituted into the adjustment function to calculate the output signal; the duty cycle of the PWM signal is adjusted according to the output signal.
[0014] Secondly, a shot peening machine flow measurement and control device is provided, comprising: a communication unit and a processing unit; the communication unit is used to collect the real-time flow of shot peening through a solenoid sensor; the processing unit is used to preprocess the collected real-time flow to obtain a flow signal; compare the shot peening flow signal with a preset flow threshold; and regulate the shot peening flow according to the comparison result.
[0015] Thirdly, this application provides a shot peening machine flow measurement and control device, comprising: a processor and a storage medium; the storage medium includes instructions, and the processor is configured to execute the instructions to implement the method described in the first aspect and any possible implementation thereof. This shot peening machine flow measurement and control device may be an electronic device or a chip within an electronic device.
[0016] Fourthly, this application provides a shot peening machine flow measurement and control system, including: a data acquisition module and a processing module; wherein, the data acquisition module is used to acquire the real-time flow of shot peening through a solenoid sensor; the processing module is used to preprocess the acquired real-time flow to obtain a flow signal; compare the shot peening flow signal with a preset flow threshold; and regulate the shot peening flow based on the comparison result.
[0017] Fifthly, this application provides a computer-readable storage medium storing instructions that, when executed on a shot peening machine flow measurement and control device, cause the shot peening machine flow measurement and control device to perform the method described in the first aspect and any possible implementation thereof.
[0018] In a sixth aspect, this application provides a computer program product containing instructions that, when the computer program product is run on a shot peening machine flow measurement and control device, cause the shot peening machine flow measurement and control device to perform the method as described in the first aspect and any possible implementation thereof.
[0019] This application provides a method and device for measuring and controlling the flow rate of a shot peening machine. It utilizes a solenoid sensor and inductance-to-digital conversion technology to directly and in real-time measure the shot peening flow rate, converting the physical quantity into a high-precision digital frequency signal, providing a reliable data foundation for precise control. Through closed-loop control and a PID algorithm for real-time correction, flow fluctuations can be stabilized within a very small range, greatly ensuring the consistency and reliability of product processing quality. The entire signal chain is dominated by digital signals, making it less susceptible to interference from electrical noise and temperature drift compared to traditional analog control systems, resulting in higher stability. The PWM-driven solenoid valve has a fast response speed, quickly executing controller commands and adjusting the flow rate promptly, effectively suppressing system fluctuations. It achieves fully automatic closed-loop control from measurement and calculation to execution, eliminating the need for manual intervention and reducing reliance on human labor and operator experience. The closed-loop feedback structure enables the system to automatically resist internal and external disturbances, maintain the set flow rate value, and achieve long-term stable dynamic balance, ensuring the continuity of the production process and the stability of product quality.
[0020] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description
[0021] Figure 1 A system architecture diagram of a shot peening machine flow measurement and control system provided in this application embodiment; Figure 2 A schematic flowchart of a shot peening machine flow measurement and control method provided in an embodiment of this application; Figure 3 A schematic flowchart of another shot peening machine flow measurement and control method provided in an embodiment of this application; Figure 4 A schematic flowchart of another shot peening machine flow measurement and control method provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a shot peening machine flow measurement and control device provided in an embodiment of this application; Figure 6 A schematic diagram of the hardware structure of a shot peening machine flow measurement and control device provided in an embodiment of this application; Figure 7 A schematic diagram of the magnetic field distribution of a single current-carrying circular coil provided in an embodiment of this application; Figure 8 A schematic diagram of the magnetic field distribution of a single-layer solenoid provided in an embodiment of this application; Figure 9 This is a block diagram illustrating the frequency and voltage acquisition principle of an embodiment of this application. Figure 10 This is a schematic diagram illustrating the PID control principle provided in an embodiment of this application. Detailed Implementation
[0022] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.
[0023] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0024] The shot peening machine flow measurement and control method provided in this application embodiment can be applied to, for example... Figure 1 In the measurement and control system shown, such as Figure 1 As shown, the measurement and control system includes: a measurement and control device, a flow measurement and control board, and a PID controller.
[0025] The system works as follows: A PID controller sets the shot peening flow rate, and the valve opens to allow shot to fall. A solenoid sensor measures the current shot peening flow rate in real time, and an inductor-to-digital converter (ICD) converts the sensor's inductance value into a digital frequency signal. The microcontroller acquires this digital signal and processes it using a periodic average filtering algorithm. A DAC chip then converts it into an analog voltage signal (0-10V) proportional to the shot peening mass, which serves as the input to the PID controller. The controller calculates the deviation between the setpoint and the measured value and outputs a 0-10V control signal, which is fed back to the control circuit board. After attenuation, the control signal is acquired by the microcontroller's internal DAC port and used to adjust the duty cycle of the PWM signal. This PWM signal is then used by the drive circuit to control the opening or closing of the solenoid valve actuator. From the inductor sensor to the solenoid valve actuator, a closed-loop measurement and control system is formed, enabling precise measurement and control of the shot peening flow rate and maintaining stable system operation.
[0026] To address the technical problems of existing flow measurement and control systems failing to promptly suppress flow fluctuations during production, resulting in poor flow stability and large fluctuation ranges, and being susceptible to interference from various on-site factors, leading to distorted measurement signals or inaccurate actuator actions, this application provides a flow measurement and control method for a shot peening machine. This method includes: acquiring the real-time flow rate of shot peening through a solenoid sensor. The collected real-time traffic flow is preprocessed to obtain the traffic flow signal; The shot peening flow rate signal is compared with a preset flow rate threshold; Based on the comparison results, the shot peening flow rate is regulated. A solenoid sensor and inductance-to-digital converter are used to directly and in real-time measure the shot peening flow rate, converting the physical quantity into a high-precision digital frequency signal, providing a reliable data foundation for precise control. Real-time correction via a closed-loop PID algorithm stabilizes flow fluctuations within a very small range, greatly ensuring the consistency and reliability of product processing quality. The entire signal chain is dominated by digital signals, making it less susceptible to interference from electrical noise and temperature drift compared to traditional analog control systems, resulting in higher stability. The PWM-driven solenoid valve has a fast response speed, quickly executing controller commands and adjusting the flow rate promptly, effectively suppressing system fluctuations. Fully automatic closed-loop control from measurement and calculation to execution is achieved, eliminating the need for manual intervention and reducing reliance on human labor and operator experience. The closed-loop feedback structure enables the system to automatically resist internal and external disturbances, maintain the set flow rate value, and achieve long-term stable dynamic equilibrium, ensuring the continuity of the production process and the stability of product quality.
[0027] like Figure 2 As shown in the embodiment of this application, a shot peening machine flow measurement and control method includes: S201. Real-time flow rate of shot peening is collected through a solenoid sensor.
[0028] S202. Preprocess the collected real-time flow to obtain the flow signal.
[0029] S203. Compare the shot peening flow rate signal with the preset flow rate threshold.
[0030] S204. Adjust the shot peening flow rate based on the comparison results.
[0031] Based on the above technical solution, the shot peening machine flow measurement and control method provided in this application adopts a solenoid sensor and inductance digital conversion technology to directly and in real time measure the shot peening flow and convert the physical quantity into a high-precision digital frequency signal, providing a reliable data foundation for precise control. Through real-time correction using a closed-loop control PID algorithm, flow fluctuations can be stabilized within a very small range, greatly ensuring the consistency and reliability of product processing quality. The entire signal link is dominated by digital signals, which, compared to traditional analog control systems, is less affected by electrical noise, temperature drift, and other interferences, resulting in higher stability. The PWM-driven solenoid valve has a fast response speed, quickly executing controller commands and adjusting the flow in a timely manner, thereby effectively suppressing system fluctuations. It achieves fully automatic closed-loop control from measurement and calculation to execution, requiring no manual intervention, reducing reliance on manpower and operator experience. The closed-loop feedback structure enables the system to automatically resist internal and external disturbances, maintain the set flow value, achieve long-term stable dynamic balance, and ensure the continuity of the production process and the stability of product quality.
[0032] In one possible implementation of the embodiments of this application, combined with Figure 2 ,like Figure 3 As shown, the above S201 can be implemented through the following S301, S302 and S303, which are explained in detail below: S301. Obtain the magnetic induction intensity generated by the current element on the current-carrying conductor at any point P in space.
[0033] The expression is: ; The vacuum permeability; For current elements, Let be the distance from the current element to point P.
[0034] S302. Calculate the magnetic field components at point P based on the principle of symmetry.
[0035] The expression is: ; Where R is the radius of the solenoid and X is the distance from point P to the center of the circle; the shot peening flow rate is calculated based on the magnetic field principle of the solenoid sensor.
[0036] Example: First, analyze the magnetic field distribution of a single current-carrying circular coil, such as... Figure 7 It can be seen that by vector superposition of the magnetic field strength of each current element on the coil at point P, the magnetic field strength of the current-carrying circular coil at point P can be obtained; the magnetic induction intensity is decomposed into two components in two directions, parallel to the x-axis and perpendicular to the x-axis. According to the principle of symmetry, the component in the direction perpendicular to the x-axis is canceled out; therefore, the magnetic field vector at point P consists only of the magnetic field component parallel to the x-axis.
[0037] S303. When the magnetic field distribution model is a single-layer solenoid, let the solenoid length be L, the radius be R, the number of coil turns be N, and the current be I. Establish a coordinate system with the center point O as the origin, and let the distance from point P to the origin O be X. Then calculate the magnetic induction intensity at any point P on the central axis of the single-layer solenoid.
[0038] The expression is: .
[0039] S304. For long, straight, tightly wound solenoids, the magnetic induction intensity and the magnetic induction intensity at the boundary are simplified based on the approximate conditions of the central region of the solenoid.
[0040] The approximation condition is as follows: , Magnetic induction intensity can be simplified to The magnetic field strength at the boundary can be simplified to: .
[0041] S305, through formula Calculate the increment of magnetic induction intensity of the solenoid.
[0042] in, Let be the radius of the sphere equivalent to that used in shot peening; denoted as ρ, where ρ is the relative permeability of the shot peening solution.
[0043] It should be noted that, as Figure 8 As shown, this indicates that when the solenoid is infinitely long, the magnetic field strength can be considered uniform over a long region inside the solenoid, i.e., a uniform magnetic field, while the magnetic field strength near the two ends decreases to half of that inside. The magnetic field strength of the solenoid is related to the number of coil turns, length, and radius, which is important for studying the magnetic field distribution characteristics of the solenoid and optimizing the sensor structure. When shot peening passes through the solenoid sensor, from a geometric perspective, the large number of shot peening particles are closely arranged, and their overall spatial shape can be approximated as a large sphere macroscopically. Furthermore, the effective permeability, magnetic induction intensity, and other magnetic parameters exhibited by the large number of shot peening particles can be equivalent to the magnetic properties of a large sphere. In the process of mathematical model construction and solution, treating the large number of shot peening particles as a sphere with a large radius significantly reduces the difficulty of the solution and the complexity of factors such as interactions. 0, the magnetic induction intensity of the solenoid is enhanced, and it is mainly concentrated around the equivalent sphere.
[0044] S306. The calculated magnetic flux density increment is converted into an inductance change using a helical sensor; the inductance change is converted into a resonant frequency using an LC resonant circuit; the change in resonant frequency is marked as the real-time flow rate of shot peening.
[0045] The expression is: ; The value of C represents the inductance of the resonant circuit, and C represents the fixed capacitance of the resonant circuit.
[0046] In one possible implementation, combining Figure 2 ,like Figure 4 As shown, after S203, the shot peening machine flow measurement and control method provided in this application embodiment further includes the following S401 to S403: S401. Construct a frequency-to-voltage conversion and acquisition circuit; shaped the resonant frequency in the LC resonant circuit into a standard square wave signal; input the standard square wave signal into the frequency-to-voltage conversion circuit to obtain the corresponding flow voltage.
[0047] The acquisition circuit includes: LC resonance, pulse shaping, frequency-to-voltage conversion, and zero-adjustment circuit.
[0048] S402. By adjusting the sliding rheostat of the zero-adjustment circuit, the output voltage of the voltage follower is made equal to the initial voltage; the flow voltage is input into the zero-adjustment circuit to obtain the corresponding voltage difference, and the voltage difference is marked as the flow signal.
[0049] It should be noted that, as Figure 9 The solenoid sensor shown has an inductance value when unloaded. This inductance, after LC resonance, pulse shaping, and frequency-to-voltage conversion, outputs a voltage called the initial voltage. When shot peening passes through the solenoid, the converted voltage does not directly reflect the current shot peening flow rate; the difference between this voltage and the initial voltage is the actual flow rate. When shot peening passes through the sensor, the resonant frequency decreases, the converted voltage decreases, and the output voltage difference after addition and subtraction is negative. This voltage difference is amplified by an inverse proportional amplifier circuit. To match the range of different shot peening types, a sliding rheostat is introduced as a feedback resistor to achieve range adjustment, improving the circuit's versatility.
[0050] S403: Use LDC1612 to read register data and convert it into several frequencies according to the calculation formula. Integrate the several frequencies into a frequency array. Select two adjacent minimum points from the frequency array to determine a sampling period. Perform an arithmetic average operation on the frequencies within the sampling period. And subtract the frequency from the initial frequency to achieve data smoothing.
[0051] The frequency array includes the frequency of a complete cycle; the initial frequency is the frequency of the shot peening machine when it is unloaded.
[0052] S404. The DAC chip is used to convert the filtered signal into an analog signal that is proportional to the shot peening quality; the analog signal is input to the PID controller; the PID controller compares the analog signal with the preset flow rate value to obtain the deviation value; the control signal is output and fed back to the control circuit board based on the deviation value.
[0053] S405. Construct the adjustment function; input the control signal into the adjustment function to calculate the output signal; adjust the duty cycle of the PWM signal according to the output signal.
[0054] The adjustment function is as follows: ;in, Indicates control signals; This is the proportionality coefficient; The integral time constant; is the differential time constant; t is the time interval.
[0055] It should be noted that, as Figure 10 As shown, a PID controller consists of three parts: proportional, integral, and derivative; the proportional coefficient... This determines the extent to which the current error affects the control output, enabling the controller to respond quickly to the error and make corresponding adjustments. Integral time constant It controls the effects of accumulated errors and continuously eliminates deviations. Differential time constant. Based on the impact of the error change rate, the trend of deviation change is predicted, allowing for proactive measures. An external integrated digital display PID controller interacts with the flow control board via an external interface. The external PID controller facilitates range setting and PID parameter adjustment, and offers multiple functional interfaces and good expandability. During system operation, the target flow rate is set via the PID controller, the solenoid sensor acquires the shot peening flow rate in real time as the measuring element, and the solenoid valve actuator precisely controls the opening and closing time of the solenoid valve based on the collected flow rate, thereby controlling the shot peening flow rate. The PID controller is used to adjust parameters to achieve dynamic balance, ensuring the system's control accuracy and stability.
[0056] The above primarily describes the solutions of the embodiments of this application from the perspective of device implementation. It is understood that each device, such as a shot peening machine flow measurement and control device, includes at least one of the hardware structures and software modules corresponding to the execution of each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0057] This application embodiment can divide the shot peening machine flow measurement and control device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0058] When using integrated units, Figure 5 A possible structural schematic diagram of the shot peening machine flow measurement and control device (denoted as 50) involved in the above embodiments is shown. The shot peening machine flow measurement and control device 50 includes a processing unit 501 and a communication unit 502, and may also include a storage unit 503. Figure 5 The schematic diagram shown can be used to illustrate the structure of the shot peening machine flow measurement and control device involved in the above embodiments.
[0059] when Figure 5 The schematic diagram shown illustrates the structure of the shot peening machine flow measurement and control device involved in the above embodiments. The processing unit 501 is used to control and manage the operation of the shot peening machine flow measurement and control device, the communication unit 502 is used for the shot peening machine flow measurement and control device to communicate with other devices, and the storage unit 503 is used to store the program code and data of the shot peening machine flow measurement and control device.
[0060] For example, communication unit 502 is used to collect real-time shot peening flow rate via a solenoid sensor; The processing unit 501 is used to preprocess the collected real-time flow to obtain a flow signal; compare the shot peening flow signal with a preset flow threshold; and regulate the shot peening flow based on the comparison result.
[0061] The processing unit 501 can be a processor or a controller, and the communication unit 502 can be a communication interface, transceiver, transceiver circuit, transceiver device, etc. The term "communication interface" is a general term and may include one or more interfaces. The storage unit 503 can be a memory. When the shot peening machine flow measurement and control device 50 is a chip, the processing unit 501 can be a processor or a controller, and the communication unit 502 can be an input interface and / or an output interface, pins, or circuits, etc. The storage unit 503 can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip (e.g., read-only memory (ROM), random access memory (RAM, etc.)).
[0062] The communication unit can also be called a transceiver unit. The antenna and control circuit with transceiver functions in the shot peening machine flow measurement and control device 50 can be considered as the communication unit 502 of the shot peening machine flow measurement and control device 50, and the processor with processing functions can be considered as the processing unit 501 of the shot peening machine flow measurement and control device 50. Optionally, the device in the communication unit 502 used to implement the receiving function can be considered as a communication unit, which is used to execute the receiving steps in the embodiments of this application. The communication unit can be a receiver, a receiver circuit, etc. The device in the communication unit 502 used to implement the transmitting function can be considered as a transmitting unit, which is used to execute the transmitting steps in the embodiments of this application. The transmitting unit can be a transmitter, a transmitter, a transmitting circuit, etc.
[0063] Figure 5 If the integrated units in the process are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. Storage media for storing computer software products include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0064] Figure 5 The units in the process can also be called modules; for example, a processing unit can be called a processing module.
[0065] This application also provides a hardware structure diagram of a shot peening machine flow measurement and control device (denoted as 60), see [link to diagram]. Figure 6 The shot peening machine flow measurement and control device 60 includes a processor 601, and optionally, a memory 602 connected to the processor 601.
[0066] In the first possible implementation, see Figure 6 The shot peening machine flow measurement and control device 60 also includes a transceiver 603. The processor 601, memory 602, and transceiver 603 are connected via a bus. The transceiver 603 is used to communicate with other devices or communication networks. Optionally, the transceiver 603 may include a transmitter and a receiver. The device in the transceiver 603 that implements the receiving function can be considered as a receiver, which is used to perform the receiving steps in the embodiments of this application. The device in the transceiver 603 that implements the transmitting function can be considered as a transmitter, which is used to perform the transmitting steps in the embodiments of this application.
[0067] Based on the first possible implementation method Figure 6 The schematic diagram shown can be used to illustrate the structure of the shot peening machine flow measurement and control device involved in the above embodiments.
[0068] in, Figure 6 The diagram can also illustrate the system chip in the shot peening machine flow measurement and control device. In this case, the actions performed by the aforementioned shot peening machine flow measurement and control device can be implemented by this system chip. The specific actions performed can be found above and will not be repeated here.
[0069] In implementation, each step of the method provided in this embodiment can be completed by integrated logic circuits in the processor or by instructions in software form. The steps of the method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0070] The processor in this application may include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, etc., which are various computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform calculations or processing. The processor may be a separate semiconductor chip or integrated with other circuits into a single semiconductor chip. For example, it may be integrated with other circuits (such as encoding / decoding circuits, hardware acceleration circuits, or various bus and interface circuits) to form a SoC (System-on-a-Chip), or it may be integrated as a built-in processor within an ASIC. The ASIC with the integrated processor may be packaged separately or together with other circuits. In addition to the cores for executing software instructions to perform calculations or processing, the processor may further include necessary hardware accelerators, such as field-programmable gate arrays (FPGAs), PLDs (programmable logic devices), or logic circuits that implement dedicated logic operations.
[0071] The memory in the embodiments of this application may include at least one of the following types: read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions; random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions; or electrically erasable programmable-only memory (EEPROM). In some scenarios, the memory may also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto.
[0072] This application also provides a computer-readable storage medium including instructions that, when run on a computer, cause the computer to perform any of the methods described above.
[0073] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the methods described above.
[0074] This application also provides a chip including a processor and an interface circuit. The interface circuit is coupled to the processor. The processor is used to run computer programs or instructions to implement the above-described method. The interface circuit is used to communicate with other modules outside the chip.
[0075] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).
[0076] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0077] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
Claims
1. A shot flow measuring control method of a shot blasting machine, characterized by, include: Real-time shot peening flow rate is collected using a solenoid sensor; The collected real-time traffic flow is preprocessed to obtain the traffic flow signal; The shot peening flow rate signal is compared with a preset flow rate threshold; The shot peening flow rate is adjusted based on the comparison results.
2. The flow measurement control method of a shot blasting machine according to claim 1, wherein The process of collecting shot peening flow rate via a solenoid sensor includes: The magnetic induction intensity generated by the current element on the current-carrying conductor at an arbitrary point P in space is obtained; the expression is: ; wherein, is the vacuum permeability; is the current element, is the distance from the current element to point P; The magnetic field component at point P is calculated based on the principle of symmetry, and its expression is as follows: ; Where R is the radius of the solenoid and X is the distance from point P to the center of the circle; the shot peening flow rate is calculated based on the magnetic field principle of the solenoid sensor.
3. The shot flow measuring control method according to claim 2, wherein The calculation of shot peening flow rate based on the magnetic field principle of the solenoid sensor includes: When the magnetic field distribution model is a single-layer solenoid, let the length of the solenoid be L, the radius be R, the number of turns be N, the current be I, and the center point O be the coordinate origin to establish a coordinate system, and the distance of point P to the origin O be X; then the magnetic induction intensity expression of the single-layer solenoid at an arbitrary point P on the central axis is: ; For a long, straight, tightly wound solenoid, the central region of the solenoid is approximately considered to be... , Then the magnetic flux density can be simplified to The magnetic field strength at the boundary can be simplified to: ; Through formula Calculate the increment of the magnetic flux density of the solenoid; where, Let be the radius of the sphere equivalent to that used in shot peening; The relative permeability of the shot peening is given; the shot peening flow rate is analyzed based on the increase in magnetic induction intensity.
4. The shot peening machine flow measurement and control method according to claim 3, characterized in that, The method of analyzing the shot peening flow rate based on the increase in magnetic induction intensity includes: The calculated magnetic flux density increment is converted into an inductance change using a solenoid sensor; the inductance change is then converted into a resonant frequency using an LC resonant circuit. Its expression is: ;in, The value of the inductance of the resonant circuit is represented by C, and the value of the fixed capacitance of the resonant circuit is represented by C. The change in the resonant frequency is marked as the real-time flow rate of the shot peening.
5. The method for measuring and controlling the flow rate of a shot peening machine according to claim 1, characterized in that, The preprocessing of the collected real-time traffic to obtain the traffic signal includes: Construct a frequency-to-voltage conversion and acquisition circuit; the acquisition circuit includes: LC resonance, pulse shaping, frequency-to-voltage conversion, and zero-adjustment circuit; The resonant frequency in the LC resonant circuit is pulse shaped to obtain a standard square wave signal; the standard square wave signal is then input into a frequency voltage quasi-conversion circuit to obtain the corresponding flow voltage. By adjusting the sliding rheostat of the zero-adjustment circuit, the output voltage of the voltage follower is made equal to the initial voltage; the flow voltage is input into the zero-adjustment circuit to obtain the corresponding voltage difference, and the voltage difference is marked as the flow signal; The flow signal is periodically filtered to obtain the filtered signal.
6. The method for measuring and controlling the flow rate of a shot peening machine according to claim 5, characterized in that, The process of periodically filtering the flow signal to obtain a filtered signal includes: The register data is read using an LDC1612 and converted into several frequencies according to a calculation formula. These frequencies are then integrated into a frequency array, which includes the frequencies of a complete cycle. Select two adjacent minimum points from the frequency array to determine a sampling period; perform an arithmetic mean operation on the frequencies within the sampling period; and perform data smoothing by subtracting the average from the initial frequency; where the initial frequency is the frequency of the shot peening machine when it is unloaded.
7. The method for measuring and controlling the flow rate of a shot peening machine according to claim 1, characterized in that, The step of comparing the shot peening flow rate signal with a preset flow rate threshold includes: A DAC chip is used to convert the filtered signal into an analog signal proportional to the shot peening quality; the analog signal is then input into a PID controller. The PID controller compares the analog signal with the preset flow rate value to obtain the deviation value; it then performs calculations based on the deviation value and outputs a control signal to the control circuit board.
8. The method for measuring and controlling the flow rate of a shot peening machine according to claim 1, characterized in that, The adjustment of shot peening flow rate based on the comparison results includes: Construct the adjustment function: ;in, Indicates control signals; This is the proportionality coefficient; The integral time constant; t is the differential time constant; t is the time interval. The control signal is substituted into the adjustment function to calculate the output signal; the duty cycle of the PWM signal is adjusted according to the output signal.
9. A shot peening machine flow measurement and control device, applied to the shot peening machine flow measurement and control method according to any one of claims 1-8, characterized in that, include: Communication unit and processing unit; The communication unit is used to collect the real-time flow rate of shot peening through a solenoid sensor; The processing unit is used to preprocess the collected real-time traffic to obtain a traffic signal; The shot peening flow rate signal is compared with a preset flow rate threshold; The shot peening flow rate is adjusted based on the comparison results.
10. A computer-readable storage medium storing instructions that, when executed on a shot peening machine flow measurement and control device, cause the shot peening machine flow measurement and control device to perform the method described in any possible implementation of claims 1-9.
