A numerical control system performance test system with switching function and a test method thereof

By designing a performance testing system for CNC systems with switching functions, the problem of only testing a single CNC system in the existing technology and the test process is complicated and inefficient, and the rapid switching and performance testing of multiple CNC systems is achieved, which improves the testing efficiency.

CN120295219BActive Publication Date: 2025-08-08SHANDONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510779325.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-08-08
Estimated Expiration
2045-06-12

AI Technical Summary

Technical Problem

The existing technology can only test a single CNC system, and the test process is complex and inefficient.

Method used

A performance testing system for CNC system with switching functions is designed, including a CNC system selection test circuit to be tested, a test data selection reading module and an FPGA main control module. The CNC system selection test circuit and a test data selection reading module are controlled through the FPGA main control module to be tested, so as to realize the rapid switching and performance testing of multiple CNC systems.

Benefits of technology

Without changing the machine tool mechanical device, rapid switching and performance testing of multiple CNC systems are achieved, improving the testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295219B_ABST
    Figure CN120295219B_ABST
Patent Text Reader

Abstract

The present application provides a numerical control system performance test system with a switching function and a test method thereof, belonging to the technical field of numerical control machine tools. The test system includes: a numerical control system selection test circuit for selecting a target numerical control system to be tested and connecting the target numerical control system to be tested to a motor; a test data selection and reading module, through which an encoder is connected to the target numerical control system to be tested and reads test data of the target numerical control system to be tested through the test data selection and reading module; an FPGA main control module, connected to the numerical control system selection test circuit for controlling the numerical control system selection test circuit to select the target numerical control system to be tested; the FPGA main control module is also connected to the test data selection and reading module for controlling the test data selection and reading module to select the target numerical control system to be tested from which test data will be read. Rapid switching and performance testing of multiple numerical control systems to be tested are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of numerical control machine tools, and in particular relates to a numerical control system performance test system with a switching function and a test method thereof. Background Art

[0002] In modern manufacturing, the performance of CNC systems plays a critical role in machining accuracy and efficiency. With the advancement of CNC technology, bus-based CNC systems have gradually become mainstream. However, the performance of different CNC systems varies. Inadequate performance can lead to position deviations, speed mismatches, and reduced machining accuracy during machine tool operation, seriously impacting machining quality and production efficiency.

[0003] In order to accurately evaluate the performance of CNC systems, an efficient and reliable testing solution is needed. Traditional testing methods can usually only test a single CNC system, and the testing process is complicated and inefficient.

[0004] To this end, the present invention provides a numerical control system performance test system with a switching function and a test method thereof. Summary of the Invention

[0005] The present invention provides a numerical control system performance test system with a switching function and a test method thereof, so as to at least solve the problem in the prior art that only a single numerical control system can be tested and the test process is complicated and inefficient.

[0006] In a first aspect, an embodiment of the present application provides a CNC system performance test system with a switching function, comprising: a motor and a plurality of CNC systems to be tested, the test system further comprising:

[0007] The CNC system to be tested selection test circuit is used to select a target CNC system to be tested and connect the target CNC system to be tested to the motor;

[0008] A test data selection and reading module is provided between the encoder and a plurality of CNC systems to be tested, the encoder is connected to the target CNC system to be tested through the test data selection and reading module, and the test data of the target CNC system to be tested is read through the test data selection and reading module;

[0009] The FPGA main control module is connected to the CNC system selection test circuit to control the CNC system selection test circuit to select the target CNC system to be tested;

[0010] The FPGA main control module is also 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 to be tested from which the test data is to be read.

[0011] Furthermore, the test circuit for selecting the numerical control system to be tested includes a motor power line trunk and a plurality of motor power line branches, each of which is connected to the motor through a driver of the numerical control system to be tested and a test selection switch;

[0012] The test circuit for selecting the numerical control system to be tested further comprises a master control relay and a plurality of branch selection circuits. The plurality of branch selection circuits are connected in parallel with each other and then connected in series with the master control relay on the motor power line trunk.

[0013] Furthermore, the branch selection circuits each include a branch relay and a branch contactor, and the test selection switch is a normally open contact of the branch contactor.

[0014] Furthermore, after the branch relay is connected in parallel with the normally closed contact of the branch contactor, it is sequentially connected in series with the normally closed contacts of the branch contactors of other branch selection circuits and the coils of the branch contactors.

[0015] Furthermore, the FPGA main control module is respectively connected to the main control relay and the branch relay signals.

[0016] Furthermore, the test data selection and reading module includes a first selection switch and a second selection switch;

[0017] A first end of the first selection switch is connected to a DS+ signal line of the encoder, and a first end of the second selection switch is connected to a DS- signal line of the encoder;

[0018] The second end of the first selection switch is respectively connected to the driver of each CNC system to be tested;

[0019] The second end of the second selection switch is respectively connected to the driver of each CNC system to be tested;

[0020] The FPGA main control module is connected to the first selection switch and the second selection switch respectively.

[0021] Furthermore, the first selection switch and the second selection switch both use 74153 chips.

[0022] In a second aspect, embodiments of the present application further provide a testing method for a numerical control system performance testing system with a switching function as described in the above aspects, the method comprising:

[0023] The FPGA main control module sends control signals to the main control relay, branch relay, first selection switch and second selection switch respectively;

[0024] The main control relay and branch relay are closed after receiving the control signal;

[0025] The coil of the branch contactor is energized, thereby controlling the normally open contact of the branch contactor on the motor power line branch to close, connecting the target CNC system to be tested with the motor;

[0026] After receiving the control signal, the first selection switch and the second selection switch control the corresponding pins to connect the target numerical control system to be tested with the encoder, and the encoder reads the test data of the target numerical control system to be tested.

[0027] In a third aspect, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above aspects when executing the program.

[0028] In a fourth aspect, a storage medium stores a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the method as described in the above aspects.

[0029] It can be seen from the above technical solutions that the present invention has the following advantages:

[0030] The CNC system performance test system with switching function provided in the present application can realize rapid switching and performance testing of multiple CNC systems to be tested without changing the mechanical device of the machine tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for the description. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0032] Figure 1 A circuit schematic diagram for selecting a test circuit for a CNC system to be tested in a CNC system performance test system with a switching function.

[0033] Figure 2 The circuit schematic diagram of the test data selection and reading module of the CNC system performance test system with switching function.

[0034] Figure 3 This is the pin diagram of the first selection switch of the CNC system performance test system with switching function.

[0035] Figure 4 This is the pin diagram of the second selection switch of the CNC system performance test system with switching function. DETAILED DESCRIPTION

[0036] In order to make the application objectives, features, and advantages of this application more obvious and easy to understand, the technical solutions protected by this application will be clearly and completely described below using specific embodiments and drawings. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this patent, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this patent.

[0037] Various embodiments of the present disclosure will be described in more detail below in the CNC system performance test system with switching function and the test method thereof. The present disclosure can have various embodiments, and adjustments and changes can 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 rather that the present disclosure should be understood to cover all adjustments, equivalents and / or alternatives that fall within the spirit and scope of the various embodiments of the present disclosure.

[0038] Hereinafter, the terms "include" or "may include" as used in various embodiments of the present disclosure indicate the presence of disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. In addition, as used in various embodiments of the present disclosure, the terms "include," "have," and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be understood as excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing, or the possibility of adding one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing.

[0039] In various embodiments of the present disclosure, the expression "or" or "at least one of A or / and B" includes any or all combinations of the words listed simultaneously. 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.

[0040] The expressions (such as "first", "second", etc.) used in the various embodiments of the present disclosure may modify the various constituent elements in the various embodiments, but may 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 to distinguish one element from other elements. For example, a first user device and a 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, a first element may be referred to as a second element, and similarly, a second element may also be referred to as a first element.

[0041] It should be noted that when a component is described as being “connected” to another component, the first component may be directly connected to the second component, and a third component may be “connected” between the first and second components. Conversely, when a component is described as being “directly connected” to another component, it can be understood that there is no third component between the first and second components.

[0042] 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.

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.

[0044] The embodiment of the present application provides a CNC system performance testing system with a switching function and a testing method thereof, which solves the currently urgently needed technical problem that only a single CNC system can be tested, and the testing process is complex and inefficient.

[0045] The technical solutions proposed in the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0046] An embodiment of the present application provides a CNC system performance test system with a switching function, comprising: a motor and several CNC systems to be tested, the test system further comprising:

[0047] encoder;

[0048] The CNC system to be tested selection test circuit is used to select a target CNC system to be tested and connect the target CNC system to be tested to the motor;

[0049] A test data selection and reading module is provided between the encoder and a plurality of CNC systems to be tested, the encoder is connected to the target CNC system to be tested through the test data selection and reading module, and the test data of the target CNC system to be tested is read through the test data selection and reading module;

[0050] The FPGA main control module is connected to the CNC system selection test circuit to control the CNC system selection test circuit to select the target CNC system to be tested;

[0051] The FPGA main control module is also 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 to be tested from which the test data is to be read.

[0052] The test circuit for selecting the numerical control system to be tested includes a motor power line trunk and a plurality of motor power line branches. Each motor power line branch is connected to the motor through a driver of the numerical control system to be tested and a test selection switch.

[0053] The test circuit for selecting the numerical control system to be tested further comprises a master control relay and a plurality of branch selection circuits. The plurality of branch selection circuits are connected in parallel with each other and then connected in series with the master control relay on the motor power line trunk.

[0054] The branch selection circuits each include a branch relay and a branch contactor, and the test selection switch is a normally open contact of the branch contactor.

[0055] After the branch relay is connected in parallel with the normally closed contact of the branch contactor, it is sequentially connected in series with the normally closed contacts of the branch contactors of other branch selection circuits and the coils of the branch contactors.

[0056] The FPGA main control module is respectively connected to the main control relay and the branch relay signals.

[0057] For example, the performance test is applied to a five-axis machine tool, which includes five motors. This embodiment is described by taking one of the motors and four CNC systems to be tested as an example. Figure 2 The motor is connected to the first driver of the numerical control system CNC1 to be tested through the first motor power line branch, the motor is connected to the second driver of the numerical control system CNC2 to be tested through the second motor power line branch, the motor is connected to the third driver of the numerical control system CNC3 to be tested through the third motor power line branch, and the motor is connected to the fourth driver of the numerical control system CNC4 to be tested through the fourth motor power line branch. The first motor power line is connected in series with the normally open contact of the first branch contactor KM1, the second motor power line is connected in series with the normally open contact of the second branch contactor KM2, the third motor power line is connected in series with the normally open contact of the third branch contactor KM3, and the fourth motor power line is connected in series with the normally open contact of the fourth branch contactor KM4.

[0058] Combine Figure 1 The CNC system selection test circuit 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 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, respectively.

[0059] The first branch selection circuit includes a coil of a first branch contactor KM1 and a first branch relay K2, and the coil of the first branch contactor KM1 and the first branch relay K2 are connected in series;

[0060] The second branch selection circuit includes a coil of a second branch contactor KM2 and a second branch relay K3, and the coil of the second branch contactor KM2 and the second branch relay K3 are connected in series;

[0061] The third branch selection circuit includes a coil of a third branch contactor KM3 and a third branch relay K4, and the coil of the third branch contactor KM3 and the third branch relay K4 are connected in series;

[0062] The fourth branch selection circuit includes a coil of a fourth branch contactor KM4 and a fourth branch relay K5 , and the coil of the fourth branch contactor KM4 and the fourth branch relay K5 are connected in series.

[0063] After the first branch relay K2 is connected in parallel with the normally closed contact of the first branch contactor KM1, it is sequentially 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.

[0064] After the second branch relay K3 is connected in parallel with the normally closed contact of the second branch contactor KM2, it is sequentially 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.

[0065] After the third branch relay K4 is connected in parallel with the normally closed contact of the third branch contactor KM3, it is sequentially 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.

[0066] After the fourth branch relay K5 is connected in parallel with the normally closed contact of the fourth branch contactor KM4, it is 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.

[0067] 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 by signals.

[0068] The FPGA main control module controls the master control relay K1 to be energized, and:

[0069] When the FPGA master control module controls the first branch relay K2 to be energized, the first branch selection circuit is energized, the coil of the first branch contactor KM1 is energized, and the normally open contact of the first branch contactor KM1, which is used in conjunction with the coil of the first branch contactor KM1 and is connected in series to the first motor power line branch, is controlled to close. At the same time, the normally closed contact of the first branch contactor KM1 connected in series to the second branch selection circuit, the normally closed contact of the first branch contactor KM1 connected in series to the third branch selection circuit, and the normally closed contact of the first branch contactor KM1 connected in series to the fourth branch selection circuit are controlled to be disconnected. The first motor power line branch of the first driver connecting the motor to the CNC system to be tested CNC1 is connected, and the CNC system to be tested CNC1 begins to operate.

[0070] When the FPGA master control module controls the second branch relay K3 to be energized, the second branch selection circuit is energized, the coil of the second branch contactor KM2 is energized, and the normally open contact of the second branch contactor KM2, which is used in conjunction with the coil of the second branch contactor KM2 and is connected in series to the second motor power line branch, is controlled to close. At the same time, the normally closed contact of the second branch contactor KM2 connected in series to the first branch selection circuit, the normally closed contact of the second branch contactor KM2 connected in series to the third branch selection circuit, and the normally closed contact of the second branch contactor KM2 connected in series to the fourth branch selection circuit are controlled to be disconnected. The second motor power line branch connecting the motor and the second driver of the CNC system to be tested CNC2 is turned on, and the CNC system to be tested CNC2 begins to operate.

[0071] When the FPGA master control module controls the third branch relay K4 to be energized, the third branch selection circuit is energized, the coil of the third branch contactor KM3 is energized, and the normally open contact of the third branch contactor KM3, which is used in conjunction with the coil of the third branch contactor KM3 and is connected in series to the third motor power line branch, is controlled to close. At the same time, the normally closed contact of the third branch contactor KM3 connected in series to the first branch selection circuit, the normally closed contact of the third branch contactor KM3 connected in series to the second branch selection circuit, and the normally closed contact of the third branch contactor KM3 connected in series to the fourth branch selection circuit are controlled to open. The third motor power line branch connecting the motor and the third driver of the CNC system to be tested CNC3 is connected, and the CNC system to be tested CNC3 begins to operate.

[0072] When the FPGA master control module controls the fourth branch relay K5 to be energized, the fourth branch selection circuit is energized, the coil of the fourth branch contactor KM4 is energized, and the normally open contact of the fourth branch contactor KM4, which is used in conjunction with the coil of the fourth branch contactor KM4 and is connected in series to the fourth motor power line branch, is controlled to close. At the same time, the normally closed contact of the fourth branch contactor KM4 connected in series to the first branch selection circuit, the normally closed contact of the fourth branch contactor KM4 connected in series to the second branch selection circuit, and the normally closed contact of the fourth branch contactor KM4 connected in series to the third branch selection circuit are controlled to be disconnected. The fourth motor power line branch connecting the motor and the fourth driver of the CNC system to be tested CNC4 is connected, and the CNC system to be tested CNC4 begins to operate.

[0073] 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 turned on, the first branch selection circuit is energized, and the motor is connected to the first driver of the CNC system to be tested CNC1.

[0074] The test data selection and reading module includes a first selection switch and a second selection switch;

[0075] A first end of the first selection switch is connected to a DS+ signal line of the encoder, and a first end of the second selection switch is connected to a DS- signal line of the encoder;

[0076] The second end of the first selection switch is respectively connected to the driver of each CNC system to be tested;

[0077] The second end of the second selection switch is respectively connected to the driver of each CNC system to be tested;

[0078] The FPGA main control module is connected to the first selection switch and the second selection switch respectively.

[0079] Combine Figures 2 to 4 The first selection switch, that is, the first end of the 74153 chip sd+, that is, pin Z of the 74153 chip sd+, is connected to the DS+ signal line of the encoder, and the second selection switch, that is, the first end of the 74153 chip sd-, that is, pin Z of the 74153 chip sd-, is connected to the DS- signal line of the encoder.

[0080] 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. Pin D0 of the 74153 chip sd+ is connected to the first driver of the CNC system CNC1 to be tested, pin D1 of the 74153 chip sd+ is connected to the second driver of the CNC system CNC2 to be tested, pin D2 of the 74153 chip sd+ is connected to the third driver of the CNC system CNC3 to be tested, and pin D3 of the 74153 chip sd+ is connected to the fourth driver of the CNC system CNC4 to be tested.

[0081] 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. Pin D0 of the 74153 chip sd- is connected to the first driver of the CNC system CNC1 to be tested, pin D1 of the 74153 chip sd- is connected to the second driver of the CNC system CNC2 to be tested, pin D2 of the 74153 chip sd- is connected to the third driver of the CNC system CNC3 to be tested, and pin D3 of the 74153 chip sd- is connected to the fourth driver of the CNC system CNC4 to be tested.

[0082] 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+ and is used to control pin D0, pin D1, pin D2, and pin D3 of the 74153 chip sd+.

[0083] When testing the CNC1 system under test, the FPGA master control module turns on the master control relay K1 and the first branch relay K2, energizing the first branch selection circuit and connecting the motor to the first driver of the CNC1 system under test. Simultaneously, the FPGA master control module activates pin D0 of the SD+ pin on the 74153 chip, connecting the encoder to the first driver of the CNC1 system under test and reading test data from the CNC1 system under test.

[0084] 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 end to evaluate the performance of the CNC system to be tested CNC1 through the PC end.

[0085] It should be noted that both the first selection switch and the second selection switch use 74153 chips.

[0086] The present invention further provides a testing method for the numerical control system performance testing system with a switching function described in each of the above embodiments, the method comprising:

[0087] The FPGA main control module sends control signals to the main control relay, branch relay, first selection switch and second selection switch respectively;

[0088] The main control relay and branch relay are closed after receiving the control signal;

[0089] The coil of the branch contactor is energized, thereby controlling the normally open contact of the branch contactor on the motor power line branch to close, connecting the target CNC system to be tested with the motor;

[0090] After receiving the control signal, the first selector switch and the second selector switch control the corresponding pins to connect 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. The present invention also provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method described in the above aspects.

[0091] The present invention also provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method as described in the above aspects.

[0092] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one 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 present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

[0093] These changes, modifications, substitutions and variations to the embodiments without departing from the principles and spirit of the present invention are still within the scope of protection of the present invention.

Claims

1. A CNC system performance test system with a switching function, comprising: A motor and several CNC systems to be tested, characterized in that the test system also includes: The CNC system to be tested selection test circuit is used to select a target CNC system to be tested and connect the target CNC system to be tested to the motor; A test data selection and reading module is provided between the encoder and a plurality of CNC systems to be tested, the encoder is connected to the target CNC system to be tested through the test data selection and reading module, and the test data of the target CNC system to be tested is read through the test data selection and reading module; The FPGA main control module is connected to the CNC system selection test circuit to control the CNC system selection test circuit to select the target CNC system to be tested; The FPGA main control module is also 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 CNC system to be tested from which the test data will be read; The test circuit for selecting the numerical control system to be tested includes a motor power line trunk and a plurality of motor power line branches, each of which is connected to the motor through a driver of the numerical control system to be tested and a test selection switch; The test circuit for selecting the numerical control system to be tested further comprises a master control relay and a plurality of branch selection circuits, wherein the plurality of branch selection circuits are connected in parallel with each other and are connected in series with the master control relay to the motor power line trunk; The branch selection circuits each include a branch relay and a branch contactor, and the test selection switch is a normally open contact of the branch contactor; After the branch relay is connected in parallel with the normally closed contact of the branch contactor, it is sequentially connected in series with the normally closed contacts of the branch contactors of other branch selection circuits and the coils of the branch contactors.

2. The CNC system performance test system with switching function according to claim 1, characterized in that: The FPGA main control module is respectively connected to the main control relay and the branch relay signals.

3. The CNC system performance test system with switching function according to claim 2, characterized in that: The test data selection and reading module includes a first selection switch and a second selection switch; A first end of the first selection switch is connected to a DS+ signal line of the encoder, and a first end of the second selection switch is connected to a DS- signal line of the encoder; The second end of the first selection switch is respectively connected to the driver of each CNC system to be tested; The second end of the second selection switch is respectively connected to the driver of each CNC system to be tested; The FPGA main control module is connected to the first selection switch and the second selection switch respectively.

4. The CNC system performance test system with switching function according to claim 3, characterized in that: The first selection switch and the second selection switch both use 74153 chips.

5. A testing method applied to a CNC system performance testing system with a switching function as claimed in any one of claims 1 to 4, characterized in that: The method comprises: The FPGA main control module sends control signals to the main control relay, branch relay, first selection switch and second selection switch respectively; The main control relay and branch relay are closed after receiving the control signal; The coil of the branch contactor is energized, thereby controlling the normally open contact of the branch contactor on the motor power line branch to close, connecting the target CNC system to be tested with the motor; After receiving the control signal, the first selection switch and the second selection switch control the corresponding pins to connect the target numerical control system to be tested with the encoder, and the encoder reads the test data of the target numerical control system to be tested.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method according to claim 5 are implemented.

7. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 5 are implemented.

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