Numerical control system performance test system with switching function and test method thereof
By designing a CNC system performance test system with switching functions, and using the FPGA main control module to control the relay and select switch, rapid switching and performance testing of multiple CNC systems is achieved, solving the problem of inefficient only being tested on a single system in the existing technology, and improving the testing efficiency.
Patent Information
- Application Number
- CN202510779325.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2045-06-12
AI Technical Summary
The existing technology can only test a single CNC system, and the test process is complex and inefficient.
A CNC system performance testing system with switching function is designed, including a motor, a CNC system to be tested, a selection test circuit, a test data reading module and an FPGA main control module. The FPGA main control module control relay and a selection switch are used to realize the rapid switching and data reading of multiple CNC systems.
Without changing the machine tool mechanical device, rapid switching and performance testing of multiple CNC systems are realized, improving the testing efficiency.
Smart Images

Figure CN120295219A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of numerical control machine tools, and particularly relates to a numerical control system performance testing system with a switching function and a testing method thereof. Background Art
[0002] In modern manufacturing, the performance of the numerical control system plays a key role in machining accuracy and efficiency. With the development of numerical control technology, bus-type numerical control systems have gradually become the mainstream. However, the performances of different numerical control systems vary, and insufficient performance may lead to position deviation, speed mismatch, and decreased machining accuracy during the operation of the machine tool, seriously affecting machining quality and production efficiency.
[0003] To accurately evaluate the performance of the numerical control system, an efficient and reliable testing scheme is needed. Traditional testing methods usually can only test a single numerical control system, and the testing process is complex and inefficient.
[0004] Therefore, the present invention provides a numerical control system performance testing system with a switching function and a testing method thereof. Summary of the Invention
[0005] The present invention provides a numerical control system performance testing system with a switching function and a testing method thereof, so as to at least solve the problems in the prior art that only a single numerical control system can be tested, and the testing process is complex and inefficient.
[0006] In a first aspect, an embodiment of the present application provides a numerical control system performance testing system with a switching function, including: a motor and several numerical control systems to be tested. The testing system further includes: A to-be-tested numerical control system selection and testing circuit for selecting a target to-be-tested numerical control system and connecting the target to-be-tested numerical control system to the motor; A testing data selection and reading module disposed between the encoder and several to-be-tested numerical control systems. The encoder is connected to the target to-be-tested numerical control system through the testing data selection and reading module, and reads the testing data of the target to-be-tested numerical control system through the testing data selection and reading module; An FPGA main control module connected to the to-be-tested numerical control system selection and testing circuit for controlling the to-be-tested numerical control system selection and testing circuit to select the target to-be-tested numerical control system; The FPGA main control module is further connected to the testing data selection and reading module for controlling the testing data selection and reading module to select the target to-be-tested numerical control system from which the testing data is to be read.
[0007] Further, the to-be-tested numerical control system selection and testing circuit includes a main trunk of the motor power line and several branches of the motor power line. Each branch of the motor power line is respectively connected to the motor through a driver of a to-be-tested numerical control system and a test selection switch; The test circuit selection for the CNC system to be tested further includes a main control relay and several branch selection circuits. After the several branch selection circuits are connected in parallel, they are connected in series with the main control relay on the main motor power line.
[0008] Furthermore, each of the branch selection circuits includes a branch relay and a branch contactor, and the test selection switch is the normally open contact of the branch contactor.
[0009] Furthermore, after the branch relay is connected in parallel with the normally closed contact of the branch contactor, it is successively connected in series with the normally closed contacts of the branch contactors of other branch selection circuits and the coil of the branch contactor.
[0010] Furthermore, the FPGA main control module is respectively connected to the main control relay and the branch relay by signals.
[0011] Furthermore, the test data selection and reading module includes a first selection switch and a second selection switch; The first end of the first selection switch is connected to the DS+ signal line of the encoder, and the first end of the second selection switch is connected to the DS- signal line of the encoder; The second end of the first selection switch is respectively connected to the drivers of each CNC system to be tested; The second end of the second selection switch is respectively connected to the drivers of each CNC system to be tested; The FPGA main control module is respectively connected to the first selection switch and the second selection switch.
[0012] Furthermore, both the first selection switch and the second selection switch use 74153 chips.
[0013] In a second aspect, the embodiment of the present application further provides a test method applied to a performance test system of a CNC system with a switching function as described in the above aspects. The method includes: The FPGA main control module respectively sends control signals to the main control relay, the branch relay, the first selection switch, and the second selection switch; After receiving the control signals, the main control relay and the branch relay close; The coil of the branch contactor is powered on, and then the normally open contact of the branch contactor on the branch of the motor power line is controlled to close, connecting the target CNC system to be tested to the motor; After receiving the control signals, the first selection switch and the second selection switch control the corresponding pins to act, connecting the target CNC system to be tested to the encoder, and the encoder reads the test data of the target CNC system to be tested.
[0014] In a third aspect, an electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the method described in the above aspects are implemented.
[0015] In a fourth aspect, a storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the above aspects are implemented.
[0016] As can be seen from the above technical solutions, the present invention has the following advantages: In the performance testing system for a numerical control system with a switching function provided by the present application, on the premise that the machine tool mechanical device remains unchanged, rapid switching and performance testing of multiple numerical control systems to be tested can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the present application, the drawings required for description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 Circuit schematic diagram for selecting a test circuit for a numerical control system to be tested in a performance testing system for a numerical control system with a switching function.
[0019] Figure 2 Circuit schematic diagram for a test data selection and reading module in a performance testing system for a numerical control system with a switching function.
[0020] Figure 3 Pin diagram of the first selection switch in a performance testing system for a numerical control system with a switching function.
[0021] Figure 4 Pin diagram of the second selection switch in a performance testing system for a numerical control system with a switching function. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] In order to make the application purpose, features, and advantages of the present application more obvious and understandable, the technical solutions protected by the present application will be clearly and completely described below by using specific embodiments and the accompanying drawings. Obviously, the embodiments described below are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in this patent, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of this patent.
[0023] In the performance test system and test method of a numerically controlled system with a switching function described in detail below, various embodiments of the present disclosure will be more comprehensively described. The present disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents, and / or alternative options falling within the spirit and scope of the various embodiments of the present disclosure.
[0024] Hereinafter, the term "comprise" or "may comprise" that may be used in various embodiments of the present disclosure indicates the presence of the disclosed functions, operations, or elements, and does not limit the addition of one or more functions, operations, or elements. Further, as used in various embodiments of the present disclosure, the terms "comprise", "have" and their cognates are only intended to indicate a specific feature, number, step, operation, element, component, or combination of the foregoing items, and should not be construed as precluding the existence or possibility of adding one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items first.
[0025] In various embodiments of the present disclosure, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the listed words. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.
[0026] Expressions (such as "first", "second", etc.) used in various embodiments of the present disclosure may modify various constituent elements in the various embodiments, but do not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used for the purpose of distinguishing one element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, without departing from the scope of the various embodiments of the present disclosure, the first element may be referred to as the second element, and similarly, the second element may also be referred to as the first element.
[0027] It should be noted that if it is described that one constituent element is "connected" to another constituent element, the first constituent element may be directly connected to the second constituent element, and a third constituent element may be "connected" between the first constituent element and the second constituent element. On the contrary, when one constituent element is "directly connected" to another constituent element, it can be understood that there is no third constituent element between the first constituent element and the second constituent element.
[0028] The term "user" used in various embodiments of the present disclosure may indicate a person who uses an electronic device, and may be a monitoring person, a test person, or an operator.
[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0030] The embodiment of the present application provides a performance test system for a numerical control system with a switching function and its test method, which solves the technical problems that there is an urgent need for a system that can only test a single numerical control system, and the test process is complex and the efficiency is low.
[0031] The following will detail the technical solutions proposed in the embodiments of the present application through the accompanying drawings.
[0032] A performance test system for a numerical control system with a switching function provided by the embodiment of the present application includes: a motor and a plurality of numerical control systems to be tested. The test system further includes: An encoder; A test circuit for selecting the numerical control system to be tested, which is used to select the target numerical control system to be tested and connect the target numerical control system to the motor; A test data selection and reading module is arranged between the encoder and the plurality of numerical control systems to be tested. The encoder is connected to the target numerical control system to be tested through the test data selection and reading module, and reads the test data of the target numerical control system through the test data selection and reading module; An FPGA main control module is connected to the test circuit for selecting the numerical control system to be tested, and is used to control the test circuit for selecting the numerical control system to be tested to select the target numerical control system to be tested; The FPGA main control module is further connected to the test data selection and reading module, and is used to control the test data selection and reading module to select the target numerical control system from which the test data is to be read.
[0033] The test circuit for selecting the numerical control system to be tested includes a main trunk of the motor power line and a plurality of branches of the motor power line. Each branch of the motor power line is respectively connected to the motor through a driver of a numerical control system to be tested and a test selection switch.
[0034] The test circuit for selecting the numerical control system to be tested further includes a main control relay and a plurality of branch selection circuits. After the plurality of branch selection circuits are connected in parallel, they are connected in series with the main control relay on the main trunk of the motor power line.
[0035] Each branch selection circuit includes a branch relay and a branch contactor, and the test selection switch is the normally open contact of the branch contactor.
[0036] After being connected in parallel with the normally-closed contact of the branch contactor, the branch relay is successively connected in series with the normally-closed contacts of the branch contactors of other branch selection circuits and the coil of the branch contactor.
[0037] The FPGA main control module is respectively connected to the main control relay and the branch relay in terms of signals.
[0038] Exemplarily, the performance test is applied to a five-axis machine tool, which includes five motors. In this embodiment, one of the motors and four CNC systems to be tested are taken as examples for elaboration. Combining Figure 2 , the motor is connected to the first driver of the CNC system CNC1 to be tested through the first motor power line branch, the motor is connected to the second driver of the CNC system CNC2 to be tested through the second motor power line branch, the motor is connected to the third driver of the CNC system CNC3 to be tested through the third motor power line branch, the motor is connected to the fourth driver of the CNC system CNC4 to be tested through the fourth motor power line branch. The normally-open contact of the first branch contactor KM1 is connected in series on the first motor power line, the normally-open contact of the second branch contactor KM2 is connected in series on the second motor power line, the normally-open contact of the third branch contactor KM3 is connected in series on the third motor power line, and the normally-open contact of the fourth branch contactor KM4 is connected in series on the fourth motor power line.
[0039] Combining Figure 1 , the test circuit selected by the CNC system to be tested includes a main relay K1, a first branch selection circuit, a second branch selection circuit, a third branch selection circuit, and a fourth branch selection circuit. The main relay K1 is respectively connected in series with the first branch selection circuit, the second branch selection circuit, the third branch selection circuit, and the fourth branch selection circuit.
[0040] The first branch selection circuit includes the coil of the first branch contactor KM1 and the first branch relay K2, and the coil of the first branch contactor KM1 and the first branch relay K2 are connected in series with each other; The second branch selection circuit includes the coil of the second branch contactor KM2 and the second branch relay K3, and the coil of the second branch contactor KM2 and the second branch relay K3 are connected in series with each other; The third branch selection circuit includes the coil of the third branch contactor KM3 and the third branch relay K4, and the coil of the third branch contactor KM3 and the third branch relay K4 are connected in series with each other; The fourth branch selection circuit includes the coil of the fourth branch contactor KM4 and the fourth branch relay K5, and the coil of the fourth branch contactor KM4 and the fourth branch relay K5 are connected in series with each other.
[0041] After the first branch relay K2 is connected in parallel with the normally closed contact of the first branch contactor KM1, it is successively connected in series with the normally closed contact of the second branch contactor KM2, the normally closed contact of the third branch contactor KM3, the normally closed contact of the fourth branch contactor KM4, and the coil of the first branch contactor KM1.
[0042] After the second branch relay K3 is connected in parallel with the normally closed contact of the second branch contactor KM2, it is successively connected in series with the normally closed contact of the first branch contactor KM1, the normally closed contact of the third branch contactor KM3, the normally closed contact of the fourth branch contactor KM4, and the coil of the second branch contactor KM2.
[0043] After the third branch relay K4 is connected in parallel with the normally closed contact of the third branch contactor KM3, it is successively connected in series with the normally closed contact of the first branch contactor KM1, the normally closed contact of the second branch contactor KM2, the normally closed contact of the fourth branch contactor KM4, and the coil of the third branch contactor KM3.
[0044] After the fourth branch relay K5 is connected in parallel with the normally closed contact of the fourth branch contactor KM4, it is successively connected in series with the normally closed contact of the first branch contactor KM1, the normally closed contact of the second branch contactor KM2, the normally closed contact of the third branch contactor KM3, and the coil of the fourth branch contactor KM4.
[0045] The FPGA main control module is respectively connected to the main control relay K1, the first branch relay K2, the second branch relay K3, the third branch relay K4, and the fourth branch relay K5 for signal connection.
[0046] The FPGA main control module controls the main control relay K1 to be powered on, and: When the FPGA main control module controls the first branch relay K2 to be powered on, the first branch selection circuit is powered on, the coil of the first branch contactor KM1 is powered on, the normally open contact of the first branch contactor KM1, which is used in cooperation with the coil of the first branch contactor KM1 and is connected in series on the first motor power line branch, is closed, and at the same time, the normally closed contact of the first branch contactor KM1 connected in series on the second branch selection circuit, the normally closed contact of the first branch contactor KM1 connected in series on the third branch selection circuit, and the normally closed contact of the first branch contactor KM1 connected in series on the fourth branch selection circuit are disconnected. The first motor power line branch connecting the motor and the first driver of the CNC system CNC1 to be measured is conducted, and the CNC system CNC1 to be measured starts to operate.
[0047] When the FPGA main control module controls the second branch relay K3 to be powered on, the second branch selection circuit is powered on, the coil of the second branch contactor KM2 is powered on, the normally open contact of the second branch contactor KM2, which is used in cooperation with the coil of the second branch contactor KM2 and is connected in series on the second motor power line branch, is closed, and at the same time, the normally closed contacts of the second branch contactor KM2 connected in series on the first branch selection circuit, the normally closed contacts of the second branch contactor KM2 connected in series on the third branch selection circuit, and the normally closed contacts of the second branch contactor KM2 connected in series on the fourth branch selection circuit are disconnected. The second motor power line branch connecting the motor and the second driver of the CNC system to be tested CNC2 is conducted, and the CNC system to be tested CNC2 starts to run.
[0048] When the FPGA main control module controls the third branch relay K4 to be powered on, the third branch selection circuit is powered on, the coil of the third branch contactor KM3 is powered on, the normally open contact of the third branch contactor KM3, which is used in cooperation with the coil of the third branch contactor KM3 and is connected in series on the third motor power line branch, is closed, and at the same time, the normally closed contacts of the third branch contactor KM3 connected in series on the first branch selection circuit, the normally closed contacts of the third branch contactor KM3 connected in series on the second branch selection circuit, and the normally closed contacts of the third branch contactor KM3 connected in series on the fourth branch selection circuit are disconnected. The third motor power line branch connecting the motor and the third driver of the CNC system to be tested CNC3 is conducted, and the CNC system to be tested CNC3 starts to run.
[0049] When the FPGA main control module controls the fourth branch relay K5 to be powered on, the fourth branch selection circuit is powered on, the coil of the fourth branch contactor KM4 is powered on, the normally open contact of the fourth branch contactor KM4, which is used in cooperation with the coil of the fourth branch contactor KM4 and is connected in series on the fourth motor power line branch, is closed, and at the same time, the normally closed contacts of the fourth branch contactor KM4 connected in series on the first branch selection circuit, the normally closed contacts of the fourth branch contactor KM4 connected in series on the second branch selection circuit, and the normally closed contacts of the fourth branch contactor KM4 connected in series on the third branch selection circuit are disconnected. The fourth motor power line branch connecting the motor and the fourth driver of the CNC system to be tested CNC4 is conducted, and the CNC system to be tested CNC4 starts to run.
[0050] That is, when the CNC system to be tested CNC1 needs to be tested, the FPGA main control module controls the main control relay K1 and the first branch relay K2 to be conducted, the first branch selection circuit is powered on, and the motor is connected to the first driver of the CNC system to be tested CNC1.
[0051] The test data selection and reading module includes a first selection switch and a second selection switch; The first end of the first selection switch is connected to the DS+ signal line of the encoder, and the first end of the second selection switch is connected to the DS- signal line of the encoder; The second end of the first selection switch is respectively connected to the drivers of each CNC system to be tested; The second end of the second selection switch is respectively connected to the drivers of each CNC system to be tested; The FPGA main control module is respectively connected to the first selection switch and the second selection switch.
[0052] Combined Figures 2 to 4 , the first end of the first selection switch, that is, the first end of the 74153 chip sd+, that is, the pin Z of the 74153 chip sd+ is connected to the DS+ signal line of the encoder, and the first end of the second selection switch, that is, the first end of the 74153 chip sd-, that is, the pin Z of the 74153 chip sd- is connected to the DS- signal line of the encoder.
[0053] The second end of the 74153 chip sd+ is respectively connected to the first driver of the CNC system CNC1 to be tested, the second driver of the CNC system CNC2 to be tested, the third driver of the CNC system CNC3 to be tested, and the fourth driver of the CNC system CNC4 to be tested. Specifically, the second end of the 74153 chip sd+ includes pin D0, pin D1, pin D2, and pin D3. The pin D0 of the 74153 chip sd+ is connected to the first driver of the CNC system CNC1 to be tested, the pin D1 of the 74153 chip sd+ is connected to the second driver of the CNC system CNC2 to be tested, the pin D2 of the 74153 chip sd+ is connected to the third driver of the CNC system CNC3 to be tested, and the pin D3 of the 74153 chip sd+ is connected to the fourth driver of the CNC system CNC4 to be tested.
[0054] The second end of the 74153 chip sd- is respectively connected to the first driver of the CNC system CNC1 to be tested, the second driver of the CNC system CNC2 to be tested, the third driver of the CNC system CNC3 to be tested, and the fourth driver of the CNC system CNC4 to be tested. Specifically, the second end of the 74153 chip sd- includes pin D0, pin D1, pin D2, and pin D3. The pin D0 of the 74153 chip sd- is connected to the first driver of the CNC system CNC1 to be tested, the pin D1 of the 74153 chip sd- is connected to the second driver of the CNC system CNC2 to be tested, the pin D2 of the 74153 chip sd- is connected to the third driver of the CNC system CNC3 to be tested, and the pin D3 of the 74153 chip sd- is connected to the fourth driver of the CNC system CNC4 to be tested.
[0055] The FPGA main control module is connected to the first selection switch and is used to control the first selection switch. Specifically, the FPGA main control module is respectively connected to pin A1 and pin A0 of the 74153 chip sd+ to control pins D0, D1, D2, and D3 of the 74153 chip sd+.
[0056] When it is necessary to test the CNC system to be tested CNC1, the FPGA main control module controls the main control relay K1 and the first branch relay K2 to conduct, and the first branch selection circuit is powered on. The motor is connected to the first driver of the CNC system to be tested CNC1. At the same time, the FPGA main control module controls the action of pin D0 of the 74153 chip sd+, and the encoder is connected to the first driver of the CNC system to be tested CNC1 to read the test data of the CNC system to be tested CNC1.
[0057] The FPGA main control module is also connected to the encoder to obtain the test data of the CNC system to be tested CNC1 read by the encoder. The FPGA main control module is also connected to the PC side to evaluate the performance of the CNC system to be tested CNC1 through the PC side.
[0058] It should be noted that both the first selection switch and the second selection switch use 74153 chips.
[0059] The present invention also provides a test method for a performance test system of a numerically controlled system with a switching function as described in the above embodiments. The method includes: The FPGA main control module respectively sends control signals to the main control relay, the branch relay, the first selection switch, and the second selection switch; After receiving the control signals, the main control relay and the branch relay close; The coil of the branch contactor is powered on, and then the normally open contact of the branch contactor on the motor power line branch is controlled to close, connecting the target numerically controlled system to be tested to the motor; After receiving the control signals, the first selection switch and the second selection switch control the corresponding pins to act, connecting the target numerically controlled system to be tested to the encoder, and the encoder reads the test data of the target numerically controlled system to be tested. The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the method as described in the above aspects are implemented.
[0060] The present invention also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method as described in the above aspects are implemented.
[0061] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the invention is not limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0062] Such variations, modifications, substitutions and alterations to the embodiments fall within the scope of protection of the present invention without departing from the principles and spirit of the present invention.
Claims
1. A performance testing system for a numerical control system with a switching function, comprising: A motor and several numerically controlled systems to be tested, characterized in that the test system further includes: A test circuit for selecting the numerically controlled system to be tested, configured to select a target numerically controlled system to be tested and connect the target numerically controlled system to the motor; A test data selection and reading module, arranged between the encoder and several numerically controlled systems to be tested. The encoder is connected to the target numerically controlled system through the test data selection and reading module and reads the test data of the target numerically controlled system through the test data selection and reading module; An FPGA main control module, connected to the test circuit for selecting the numerically controlled system to be tested, configured to control the test circuit for selecting the numerically controlled system to be tested to select the target numerically controlled system to be tested; The FPGA main control module is further connected to the test data selection and reading module, configured to control the test data selection and reading module to select the target numerically controlled system from which the test data is to be read.
2. The performance testing system for a numerical control system with a switching function according to claim 1, wherein, The test circuit for selecting the numerically controlled system to be tested includes a main trunk of motor power lines and several branches of motor power lines. Each branch of the motor power lines is connected to the motor through a driver of a numerically controlled system to be tested and a test selection switch; The test circuit for selecting the numerically controlled system to be tested further includes a master control relay and several branch selection circuits. After the several branch selection circuits are connected in parallel, they are connected in series with the master control relay on the main trunk of the motor power lines.
3. The performance testing system for a numerical control system with a switching function according to claim 2, wherein Each of the branch selection circuits includes a branch relay and a branch contactor. The test selection switch is a normally open contact of the branch contactor.
4. The performance test system for a numerical control system with a switching function as described in claim 3, characterized in that, After the branch relay is connected in parallel with the normally closed contact of the branch contactor, it is successively connected in series with the normally closed contacts of the branch contactors of other branch selection circuits and the coil of the branch contactor.
5. The performance test system for a numerical control system with a switching function as described in claim 4, wherein, The FPGA main control module is respectively connected to the master control relay and the branch relay by signals.
6. The performance test system for a numerical control system with a switching function as described in claim 5, characterized in that, The test data selection and reading module includes a first selection switch and a second selection switch; The first end of the first selection switch is connected to the DS+ signal line of the encoder, and the first end of the second selection switch is connected to the DS- signal line of the encoder; The second end of the first selection switch is respectively connected to the drivers of each numerically controlled system to be tested; The second end of the second selection switch is respectively connected to the drivers of each numerically controlled system to be tested; The FPGA main control module is respectively connected to the first selection switch and the second selection switch.
7. The performance testing system for a numerical control system with a switching function as described in claim 6, characterized in that, Both the first selection switch and the second selection switch adopt 74153 chips.
8. A test method for a performance test system of a numerical control system with a switching function as described in any one of claims 1-7, characterized in that, The method includes: The FPGA main control module respectively sends control signals to the master control relay, the branch relay, the first selection switch, and the second selection switch; After receiving the control signals, the master control relay and the branch relay close; The coil of the branch contactor is energized, thereby controlling the normally open contact of the branch contactor on the branch of the motor power lines to close, and connecting the target numerically controlled system to be tested to the motor; After receiving the control signals, the first selection switch and the second selection switch control the corresponding pins to act, connecting the target numerically controlled system to be tested to the encoder, and the encoder reads the test data of the target numerically controlled system to be tested.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method as described in claim 8.
10. A storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by the processor, it implements the steps of the method as described in claim 8.
Citation Information
Patent Citations
Closed-loop virtual system of numerically-controlled machine tool and its control method
CN101154101A
Performance testing method and performance testing device of bus type motion control system
CN103217973A
Machine tool performance detection system and method, and numerical control machine tool
CN108536094A
Automatic traversal test circuit, automatic traversal test device, interrupt request test method and interrupt request test system
CN119396116A
Device of many sets of numerical control system fast switch overs is realized to single lathe bed
CN208673133U
Cited By
Quantitative comparison test method and device for track control precision of multi-model numerical control system and medium
CN121411410A