Sine wave modulation system for numerical control machining control
By collecting and analyzing power data of CNC equipment, calculating and updating the compensated sine wave value in real time, the problem of the difference between the output signal of the sine wave modulation system and the ideal sine wave in CNC machining control is solved, and the processing accuracy is improved.
Patent Information
- Application Number
- CN202411572129.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
There is a significant difference between the output signal and the ideal sine wave modulation system in the existing CNC machining control, which affects the processing accuracy.
By collecting the current and voltage data at the input and output ends of the CNC equipment, calculating the power system efficiency and PMW signal empty ratio, calculating the compensated sine wave value, and updating it in real time to adjust the voltage and current signal required by the motor.
The difference between the output signal and the ideal sine wave is reduced, the impact on machining accuracy is reduced, and the machining accuracy is improved.
Smart Images

Figure CN119519677A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of numerical control machining, in particular to a sine wave modulation system for numerical control machining control. Background Art
[0002] CNC machining equipment refers to mechanical equipment that uses computer numerical control technology for automated machining. This type of equipment can automatically complete machining, cutting, milling, drilling and other processes according to pre-written machining programs. CNC machining equipment is widely used in machinery manufacturing, aerospace, automobile manufacturing, electronic products and other industries;
[0003] In CNC machining control, the sine wave modulation system is mainly used to achieve precise control of the motor to ensure the stability and accuracy of the machining process. Its main purpose is to improve the efficiency of the motor drive while reducing magnetic noise and vibration. Through this technology, the motor can remain stable throughout the entire operating range, thereby improving machining accuracy.
[0004] At present, there is a problem that there is an obvious difference between the output signal and the ideal sine wave, which affects the processing accuracy and leads to a decrease in processing accuracy. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the deficiencies of the prior art, the present invention provides a sine wave modulation system for numerical control machining control, which has the function of collecting current and voltage data at the input and output ends of the power supply of the numerical control equipment, and at the same time, collecting the high-level data of the PMW signal of the numerical control equipment, and calculating the power system efficiency and the PMW signal duty cycle of the numerical control equipment according to these data, and calculating the compensated sine wave value according to the power system efficiency and the PMW signal duty cycle of the numerical control equipment. When the compensated sine wave value is generated, it is sent to the numerical control equipment control unit, and the numerical control equipment control unit sends the value to the motor drive module, and the motor drive module After receiving the compensated sine wave value, it is converted into the corresponding voltage and current signals required by the motor. By acquiring the voltage and current data of the power input and power output terminals of the CNC equipment in real time, and collecting the high-level data of the PMW signal, and performing real-time calculation and analysis based on the collected data, the compensated sine wave value is updated in real time as the voltage and current of the power input and power output terminals of the CNC equipment change in real time, thereby realizing real-time adjustment of the voltage and current required by the motor of the CNC equipment, reducing the obvious difference between the output signal and the ideal sine wave, reducing the impact on the processing accuracy, improving the processing accuracy, etc., and solving the above-mentioned problems.
[0007] (II) Technical solution
[0008] To achieve the above object, the present invention provides the following technical solutions: a sine wave modulation system for numerical control machining control, comprising a power supply voltage data acquisition unit, a power supply current data acquisition unit, a PMW signal high level data acquisition unit, a data processing unit and a numerical control equipment control unit;
[0009] The power supply voltage data acquisition unit is used to acquire the power supply output terminal voltage data and the power supply input terminal current data of the numerical control machining equipment, the power supply current data acquisition unit is used to acquire the power supply output terminal current data and the power supply input terminal current data, the PMW signal high level data acquisition unit is used to acquire the PPMW signal high level data, and there are several power supply output terminal voltage data, power supply input terminal voltage data, power supply output terminal current data and power supply input terminal current data, the acquisition cycle and acquisition interval of each data are the same, and there are several PMW signal high level data in these data acquisition intervals; the power supply voltage data acquisition unit sends the acquired power supply output terminal voltage data and power supply input terminal current data to the data processing unit, the power supply current data acquisition unit sends the acquired power supply output terminal current data and power supply input terminal current data to the data processing unit, and the PMW signal high level data acquisition unit sends the acquired PMW signal high level data to the data processing unit;
[0010] The data processing unit calculates the power output power according to the power output terminal voltage data and the power output terminal current data at the same acquisition moment, the data processing unit calculates the power input power according to the power input terminal voltage data and the power input terminal current data at the same acquisition moment, the data processing unit calculates the power system efficiency of the numerical control machining equipment according to the calculated power output power and power input power, the data processing unit calculates the PMW signal duty cycle according to a plurality of PMW signal high level data, the data processing module calculates the compensated sine wave value according to the PMW signal duty cycle and the power system efficiency, and the data processing unit sends the calculated compensated sine wave value to the numerical control equipment control unit;
[0011] The CNC machine tool control unit controls the motor of the CNC equipment to make corresponding adjustments according to the received sine wave value.
[0012] Preferably, the voltage data of the plurality of power supply output terminals are represented as: SY1, SY2, ...SY n , the current outputs of the multiple power supply output terminals are represented as: SL1, SL2, ...SL n , the voltage data of the multiple power input terminals are represented as: YY1, YY2, ...YY n , the current data of the multiple power input terminals are represented as: YL1, YL2, ...YL n, the high level data of the PMW signals are represented as: X1, X2, ...X m , and X1~X m The collection period is n-(n-1).
[0013] Preferably, the power output power calculation expression is:
[0014] SGL i =SY i *SL i
[0015] In the formula, SGL represents the power output, i represents the time when the corresponding data is collected, and SGL i Represents the power output power at time i.
[0016] Preferably, the power input power calculation expression is:
[0017] YGL i =YY i *YL i
[0018] In the formula, YGL represents the power input power, i represents the time when the corresponding data is collected, and YGL i Represents the power input power at the i-th moment.
[0019] Preferably, the power system efficiency calculation expression of the numerical control machining equipment is as follows:
[0020]
[0021] In the formula, GXL represents the power system efficiency of CNC machining equipment, GXL i Represents the power system efficiency of the CNC machining equipment at the i-th moment.
[0022] Preferably, the PMW signal duty cycle calculation expression is as follows:
[0023]
[0024] In the formula, 1+2+...+m represents the total duration of the occurrence of high-level data of the PMW signal, t represents the high-level data acquisition period of the PMW signal, that is, t=n-(n-1), and the PMW signal duty ratio is expressed as XZB.
[0025] Preferably, the numerical calculation expression of the compensated sine wave is as follows:
[0026]
[0027] In the formula, BZX i+1 represents the value of the sine wave after compensation, In the equation, sj represents time, which is equal to the PMW signal high level data acquisition period, f represents the current sine wave frequency, sin(*) represents the sine function, 2π represents the period of the sine function, and 2πf represents mapping the current sine wave frequency to the angle range. Indicates the phase angle, that is, the starting position of the sine wave frequency waveform in the current acquisition period.
[0028] Preferably, when the numerical control device control unit receives the compensated sine wave value BZX i+1 After that, the CNC equipment control unit will compensate the sine wave value BZX i+1 The motor drive module receives the compensated sine wave value BZX. i+1 Convert it into the corresponding voltage and current signals required by the motor.
[0029] Compared with the prior art, the present invention provides a sine wave modulation system for CNC machining control, which has the following beneficial effects:
[0030] The present invention collects current and voltage data of the input and output ends of the power supply of the numerical control equipment, and collects high-level data of the PMW signal of the numerical control equipment at the same time, calculates the power system efficiency and the PMW signal duty ratio of the numerical control processing equipment according to these data, and calculates the compensated sine wave value according to the power system efficiency and the PMW signal duty ratio of the numerical control processing equipment. When the compensated sine wave value is generated, it is sent to the numerical control equipment control unit, and the numerical control equipment control unit sends the value to the motor drive module. The motor drive module converts the compensated sine wave value into a corresponding voltage and current signal required by the motor after receiving it. The voltage and current data of the power input and output ends of the numerical control equipment are obtained in real time, and the high-level data of the PMW signal are collected. The collected data are used for real-time calculation and analysis, so that the compensated sine wave value is updated in real time as the voltage and current of the power input and output ends of the numerical control equipment change in real time, thereby achieving real-time adjustment of the voltage and current required by the motor of the numerical control equipment, reducing the obvious difference between the output signal and the ideal sine wave, reducing the influence on the processing accuracy, and improving the processing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the system flow of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] See also Figure 1 , a sine wave modulation system for numerical control machining control, including a power supply voltage data acquisition unit, a power supply current data acquisition unit, a PMW signal high level data acquisition unit, a data processing unit and a numerical control equipment control unit.
[0034] The power supply voltage data acquisition unit is used to collect the power supply output terminal voltage data and power supply input terminal current data of the CNC machining equipment. There are several power supply output terminal voltage data and power supply input terminal current data, and the collected data are numbered. Multiple power supply output terminal voltage data are represented as: SY1, SY2, ...SY n , the current output of multiple power supply output terminals is expressed as: SL1, SL2, ...SL n .
[0035] The power supply current data acquisition unit is used to collect the power supply output current data and the power supply input current data. There are several power supply input voltage data and power supply input current data, and the collected data are numbered. Multiple power supply input voltage data are represented as: YY1, YY2, ...YY n , the current data of multiple power input terminals are expressed as: YL1, YL2, ...YL n ;
[0036] There are several pieces of the above-mentioned power supply output terminal voltage data, power supply input terminal voltage data, power supply output terminal current data and power supply input terminal current data, and the collection cycle and collection interval of each piece of data are the same.
[0037] The PMW signal high level data acquisition unit is used to collect the PPMW signal high level data and number them. The multiple PMW signal high level data are represented as: X1, X2, ...X m , and X1~X m The collection period is n-(n-1).
[0038] The power supply voltage data acquisition unit, the power supply current data acquisition unit and the PMW signal high level data acquisition unit send the collected data to the data processing unit;
[0039] The data processing unit processes and calculates the data according to the received data, as follows:
[0040] 1. The data processing unit calculates the power output power according to the power output terminal voltage data and the power output terminal current data at the same acquisition time. The calculation expression is as follows:
[0041] SGL i =SY i *SL i
[0042] In the formula, SGL represents the power output, i represents the time when the corresponding data is collected, and SGL i Represents the power output power at time i.
[0043] The data processing unit calculates the power input power according to the power input terminal voltage data and the power input terminal current data at the same acquisition time. The calculation expression is as follows:
[0044] YGL i =YY i *YL i
[0045] In the formula, YGL represents the power input power, i represents the time when the corresponding data is collected, and YGL i Represents the power input power at the i-th moment.
[0046] 2. The data processing unit calculates the power system efficiency of the CNC machining equipment based on the power output power and power input power generated by the calculation. The calculation expression is as follows:
[0047]
[0048] In the formula, GXL represents the power system efficiency of CNC machining equipment, GXL i Represents the power system efficiency of the CNC machining equipment at the i-th moment.
[0049] 3. The data processing unit calculates the PMW signal duty cycle based on multiple PMW signal high-level data. The calculation expression is as follows:
[0050]
[0051] In the formula, 1+2+...+m represents the total duration of the occurrence of high-level data of the PMW signal, t represents the high-level data acquisition period of the PMW signal, that is, t=n-(n-1), and the PMW signal duty ratio is expressed as XZB.
[0052] 4. After the data processing unit calculates the PMW signal duty cycle and the power system efficiency of the CNC machining equipment, the compensated sine wave value is calculated based on these two data. The calculation expression is as follows;
[0053]
[0054] In the formula, BZX i+1 represents the value of the sine wave after compensation, In the equation, sj represents time, which is equal to the PMW signal high level data acquisition period, f represents the current sine wave frequency, sin(*) represents the sine function, 2π represents the period of the sine function, and 2πf represents mapping the current sine wave frequency to the angle range. It represents the phase angle, that is, the starting position of the sine wave frequency waveform in the current acquisition period. The current sine wave frequency and phase angle can be directly obtained.
[0055] When the data processing unit calculates the compensated sine wave value, the data processing unit sends the generated compensated sine wave value to the numerical control device control unit, and the numerical control device control unit sends the compensated sine wave value BZX i+1 The motor drive module receives the compensated sine wave value BZX. i+1 Convert it into the corresponding voltage and current signals required by the motor, so that the motor of the CNC equipment can be in a stable operating state and improve the processing accuracy.
[0056] By collecting the current and voltage data of the input and output ends of the power supply of the numerical control equipment, and collecting the high-level data of the PMW signal of the numerical control equipment, the power system efficiency and the PMW signal duty ratio of the numerical control processing equipment are calculated according to these data, and the compensated sine wave value is calculated according to the power system efficiency and the PMW signal duty ratio of the numerical control processing equipment. When the compensated sine wave value is generated, it is sent to the numerical control equipment control unit, and the numerical control equipment control unit sends the value to the motor drive module. The motor drive module converts the compensated sine wave value into the corresponding voltage and current signal required by the motor after receiving it. By acquiring the voltage and current data of the power input and output ends of the numerical control equipment in real time, collecting the high-level data of the PMW signal, and performing real-time calculation and analysis based on the collected data, the compensated sine wave value is updated in real time as the voltage and current of the power input and output ends of the numerical control equipment change in real time, thereby realizing real-time adjustment of the voltage and current required by the motor of the numerical control equipment, reducing the obvious difference between the output signal and the ideal sine wave, reducing the impact on the processing accuracy, and improving the processing accuracy.
[0057] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A sine wave modulation system for numerical control machining control, characterized in that: It includes a power supply voltage data acquisition unit, a power supply current data acquisition unit, a PMW signal high level data acquisition unit, a data processing unit and a numerical control equipment control unit; The power supply voltage data acquisition unit is used to acquire the power supply output terminal voltage data and the power supply input terminal current data of the numerical control machining equipment, the power supply current data acquisition unit is used to acquire the power supply output terminal current data and the power supply input terminal current data, the PMW signal high level data acquisition unit is used to acquire the PPMW signal high level data, and there are several power supply output terminal voltage data, power supply input terminal voltage data, power supply output terminal current data and power supply input terminal current data, the acquisition cycle and acquisition interval of each data are the same, and there are several PMW signal high level data in these data acquisition intervals; the power supply voltage data acquisition unit sends the acquired power supply output terminal voltage data and power supply input terminal current data to the data processing unit, the power supply current data acquisition unit sends the acquired power supply output terminal current data and power supply input terminal current data to the data processing unit, and the PMW signal high level data acquisition unit sends the acquired PMW signal high level data to the data processing unit; The data processing unit calculates the power output power according to the power output terminal voltage data and the power output terminal current data at the same acquisition moment, the data processing unit calculates the power input power according to the power input terminal voltage data and the power input terminal current data at the same acquisition moment, the data processing unit calculates the power system efficiency of the numerical control machining equipment according to the calculated power output power and power input power, the data processing unit calculates the PMW signal duty cycle according to a plurality of PMW signal high level data, the data processing module calculates the compensated sine wave value according to the PMW signal duty cycle and the power system efficiency, and the data processing unit sends the calculated compensated sine wave value to the numerical control equipment control unit; The CNC machine tool control unit controls the motor of the CNC device to make corresponding adjustments according to the received sine wave value.
2. A sine wave modulation system for numerical control machining control according to claim 1, characterized in that: The voltage data of the multiple power supply output terminals are represented as: SY1, SY2, ...SY n , the current outputs of the multiple power supply output terminals are represented as: SL1, SL2, ...SL n , the voltage data of the multiple power input terminals are represented as: YY1, YY2, ...YY n , the current data of the multiple power input terminals are represented as: YL1, YL2, ...YL n , the high level data of the PMW signals are represented as: X1, X2, ...X m , and X1~X m The collection period is n-(n-1).
3. A sine wave modulation system for numerical control machining control according to claim 2, characterized in that: The power supply output power calculation expression is: SGL i =SY i *SL i In the formula, SGL represents the power output, i represents the time when the corresponding data is collected, and SGL i Represents the power output power at time i.
4. A sine wave modulation system for numerical control machining control according to claim 3, characterized in that: The power input power calculation expression is: YGL i =YY i *YK i In the formula, YGL represents the power input power, i represents the time when the corresponding data is collected, and YGL i Represents the power input power at the i-th moment.
5. A sine wave modulation system for numerical control machining control according to claim 4, characterized in that: The power system efficiency calculation expression of the CNC machining equipment is as follows: In the formula, GXL represents the power system efficiency of CNC machining equipment, GXL i Represents the power system efficiency of the CNC machining equipment at the i-th moment.
6. A sine wave modulation system for numerical control machining control according to claim 5, characterized in that: The PMW signal duty cycle calculation expression is as follows: In the formula, 1+2+...+m represents the total duration of the occurrence of high-level data of the PMW signal, t represents the high-level data acquisition period of the PMW signal, that is, t=n-(n-1), and the PMW signal duty ratio is expressed as XZB.
7. A sine wave modulation system for numerical control machining control according to claim 6, characterized in that: The numerical calculation expression of the compensated sine wave is as follows: In the formula, BZX i+1 represents the value of the sine wave after compensation, In the equation, sj represents time, which is equal to the PMW signal high level data acquisition period, f represents the current sine wave frequency, sin(*) represents the sine function, 2π represents the period of the sine function, and 2πf represents mapping the current sine wave frequency to the angle range. Indicates the phase angle, that is, the starting position of the sine wave frequency waveform in the current acquisition period.
8. A sine wave modulation system for numerical control machining control according to claim 7, characterized in that: When the numerical control device control unit receives the compensated sine wave value BZX i+1 After that, the CNC equipment control unit will compensate the sine wave value BZX i+1 The motor drive module receives the compensated sine wave value BZX. i+1 Convert it into the corresponding voltage and current signals required by the motor.