Testing device, testing method, computer equipment and storage medium
Through the combination of the switch matrix and the data acquisition module, efficient testing of the servo drive and servo motor is achieved, which solves the problems of high space and cost in the existing technology and realizes efficient testing of multi-axis drives.
Patent Information
- Application Number
- CN202410342171.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-09-26
AI Technical Summary
In the prior art, the testing devices for servo drives and servo motors occupy a large space and are costly, making it impossible to efficiently perform drive port testing on multi-axis drives.
By combining a switch matrix, a test bench, a data acquisition module, and a host computer, the switch matrix controls the connection between the servo drive and the servo motor to test multiple drive ports of the servo drive. Only one servo motor is needed to complete the test.
The space occupation and cost of the test device are reduced, and the performance test of multiple servo motors can be completed by replacing the servo motors, thereby improving the test efficiency and accuracy.
Smart Images

Figure CN120703472A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment testing, and in particular to a testing device, a testing method, a computer device, and a storage medium. Background Art
[0002] With the continuous development of servo control technology and the continuous improvement of industrial production requirements, servo drives and servo motors have been used in many fields, such as precision industries such as aerospace and military industry, or production fields such as the automotive industry, robotics, and medical equipment.
[0003] During the development of servo drives and servo motors, prototypes typically need to be tested to determine whether their operating data meets requirements. Related technologies have proposed a test platform that simultaneously tests multiple drive ports of a multi-axis drive by setting up corresponding driven devices and loads. However, this approach requires a large number of servo motors, occupies a large test platform space, and is costly. Summary of the Invention
[0004] Based on this, it is necessary to provide a testing device, testing method, computer equipment and storage medium that occupy little space and are low in cost to address the above technical problems.
[0005] In a first aspect, the present application proposes a test device for testing a servo drive or a servo motor, the test device comprising: a switch matrix, the switch matrix comprising multiple input ports and multiple output ports, each input port corresponding to one output port, the input port being used to connect to the drive port of the servo drive; a test bench, the test bench comprising a test port, all the output ports being connected to the test port, the test port being used to connect to the control port of the servo motor; a data acquisition module, the data acquisition module being used to connect to the rotating shaft of the servo motor and obtain test data; a host computer, the host computer being connected to the switch matrix and the data acquisition module respectively, the host computer being used to control a group of the input ports and the output ports in the switch matrix to be turned on, and the host computer being used to obtain the test data.
[0006] In one embodiment, the host computer is further configured to connect to a communication port of the servo driver, and the host computer is configured to send drive information to the servo driver, and the host computer is configured to receive operation data output by the servo driver.
[0007] In one embodiment, the data acquisition module includes: a torque sensor and a sensor data acquisition unit, the torque sensor is used to connect to the rotating shaft of the servo motor, the torque sensor is communicatively connected to the sensor data acquisition unit, and the sensor data acquisition unit is communicatively connected to the host computer.
[0008] In one embodiment, the data acquisition module further includes: an eddy current brake, the eddy current brake is connected to the torque sensor, and the eddy current brake is communicatively connected to the sensor data acquisition unit.
[0009] In one embodiment, the servo motor is a brushed motor or a brushless motor.
[0010] In one embodiment, the test bench further includes a motor fixture, wherein the motor fixture is used to clamp the servo motor.
[0011] In the second aspect, the present application also proposes a testing method, which is applied to the testing device described in the embodiment of the first aspect above. The testing method includes: when obtaining a test start instruction, sequentially controlling a group of the input ports and the output ports in the switch matrix to be turned on; and obtaining the test data in real time through the data acquisition module.
[0012] In one embodiment, the testing method further includes: acquiring motor control parameters based on the motor control instruction; and sending the motor control parameters to the servo driver.
[0013] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned test method when executing the computer program.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above-mentioned testing method when executed by a processor.
[0015] Above-mentioned test device, test method, computer equipment and storage medium, when servo driver is tested, by a group of input port and output port conducting in host computer control switch matrix, so that the drive port of corresponding servo driver is connected with servomotor, to complete the test of a drive port to servo driver, then by this way, all drive ports in servo driver are tested successively. Because all output ports of the switch matrix of the present application are all connected to test port, therefore, only need a servomotor to complete the test of multiple drive ports in servo driver, need not configure multiple servomotors, reduce the space that test device occupies, and reduce the cost of test device. Meanwhile, when testing servomotor by test device, the test to multiple servomotor performances can be completed by the mode of replacing servomotor. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the following briefly introduces the drawings required for use in the embodiments or the conventional technology descriptions. 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 creative work.
[0017] Figure 1 A schematic diagram of a module of a testing device according to an embodiment;
[0018] Figure 2 A schematic diagram of a module of a testing device in another embodiment;
[0019] Figure 3 is a schematic diagram of a data acquisition module in one embodiment;
[0020] Figure 4 is a schematic diagram of a data acquisition module in another embodiment;
[0021] Figure 5 is a schematic diagram of a motor fixture in one embodiment;
[0022] Figure 6 A schematic diagram of a test device for testing a brushed motor in one embodiment;
[0023] Figure 7 A schematic diagram of a testing device for testing a brushless motor in one embodiment;
[0024] Figure 8 A flowchart of a testing method in one embodiment;
[0025] Figure 9 A flowchart of a testing method in another embodiment;
[0026] Figure 10 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment.
[0027] Description of reference numerals:
[0028] Switch matrix 110 , test bench 120 , data acquisition module 130 , host computer 140 , servo driver 150 , servo motor 160 , torque sensor 131 , sensor data acquisition unit 132 , eddy current brake 133 , motor fixture 121 . DETAILED DESCRIPTION
[0029] To facilitate understanding of the present application, the present application will be described more fully below with reference to the accompanying drawings. The accompanying drawings provide embodiments of the present application. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the present application more thorough and comprehensive.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.
[0031] When an element is referred to as being "attached to" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element. The terms "vertical," "horizontal," "upper," "lower," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only implementations.
[0032] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element or connected to the other element through an intervening element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc., if there is transmission of electrical signals or data between the connected objects.
[0033] When used herein, the singular forms "a", "an" and "the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0034] The test device proposed in the present application is used to test the servo driver 150 or the servo motor 160. When the servo driver 150 needs to be tested, the servo motor 160 connected to the test device selects a standard test motor, and then all the servo drivers 150 are tested in sequence. When the servo motor 160 needs to be tested, the servo driver 150 connected to the test device selects a standard test driver, and then all the servo motors 160 are tested in sequence. The test device of the present application can test a single-axis servo driver 150 or a multi-axis servo driver 150. The single-axis servo driver 150 is a servo driver 150 with only one drive port, and the multi-axis servo driver 150 is a servo driver 150 with two or more drive ports. The multi-axis servo driver 150 is used to control multiple servo motors 160 separately.
[0035] In one embodiment, Figure 1 As shown, a test device is provided, including: a switch matrix 110, a test bench 120, a data acquisition module 130 and a host computer 140. The switch matrix 110 includes multiple input ports and multiple output ports, each input port corresponds to an output port, and the input port is used to connect to the drive port of the servo driver 150; the test bench 120 includes a test port, all output ports are connected to the test port, and the test port is used to connect to the control port of the servo motor 160; the data acquisition module 130 is used to connect to the shaft of the servo motor 160 and obtain test data; the host computer 140 is respectively connected to the switch matrix 110 and the data acquisition module 130, and the host computer 140 is used to control a group of input ports and output ports in the switch matrix 110 to be conductive, and the host computer 140 is used to obtain test data.
[0036] Specifically, the switch matrix 110 includes multiple groups of controllable switch circuits, one end of each of which is an input port and the other end of each of which is an output port. The switch matrix 110 can turn a specific group of switch circuits on or off under the control of the host computer 140. It will be understood that in the test device of the present application, in order to prevent the drive ports of multiple servo drivers 150 from being interconnected, thereby causing confusion in the drive signals output by the test ports, the switch matrix 110 can be configured to only turn on one group of input ports and output ports at a time. The switch matrix 110 can communicate serially with the host computer 140.
[0037] In some embodiments, the switch matrix 110 includes a plurality of switch units, which may be composed of switching devices such as transistors and relays, and which can be turned on and off according to control signals from the host computer 140. In some other embodiments, the switch matrix 110 further includes a control circuit for controlling the switching devices in the switch units to ensure that they operate according to the set logic and timing. The switch matrix 110 further includes a bus interface for communicating with the host computer 140 to ensure accurate and efficient information transmission. The switch matrix 110 further includes a self-test module for detecting the operating status of all switching devices and locating the position of a faulty switch by opening and closing the switching devices in the switch array. The switch matrix 110 further includes a power supply module for supplying power to other modules in the switch matrix 110. The power supply module provides different voltages to different modules through a linear regulated power supply to ensure stable operation of the entire switch matrix 110.
[0038] The test bench 120 is provided with a test port, one end of which is connected to all output ports in the switch matrix 110, and the other end of the test port is connected to the control port of the servo motor 160, and is used to transmit a drive signal to the servo motor 160, and the drive signal is used to control the servo motor 160. In some embodiments, the test bench 120 is also used to fix the servo motor 160. The data acquisition module 130 is used to connect the rotating shaft of the servo motor 160 to obtain parameter data when the servo motor 160 is running and obtain test data. The test data may include parameters such as the speed, torque, temperature, noise when the servo motor 160 is running, which can be obtained by detecting the sensors in the data acquisition module 130. When collecting test data, the data acquisition module 130 will send the test data to the host computer 140 in real time. The host computer 140 can determine whether the servo driver 150 or the servo motor 160 has design deviations or defects through the obtained test data.
[0039] The following describes the test process of the present application's test device in detail by taking the test servo driver 150 as an example. When the servo driver 150 is tested, the drive ports to be tested on the servo driver 150 are first connected one-to-one with the input ports of the switch matrix 110. After the connection is successful, the host computer 140 controls a group of input ports and output ports in the switch matrix 110 to be turned on, so that the drive ports of the corresponding servo driver 150 are connected to the test ports on the test bench 120. At this time, the drive signal output from the drive port of the servo driver 150 is applied to the control port of the servo motor 160, so that the servo motor 160 starts to rotate. During the rotation of the servo motor 160, the data acquisition module 130 can collect the parameter data of the servo motor 160 in real time, thereby obtaining test data. After the host computer 140 receives the corresponding test data, it can determine whether the drive signal output by the servo driver 150 is normal. It is understood that when testing the servo motor 160, the servo driver 150 can select a standard test driver. The test data of the normal servo motor 160 driven by the test driver is determined. The host computer 140 can compare the obtained test data to determine whether the servo motor 160 is normal. It is understood that the host computer 140 can also process and calculate the obtained test data and customize the output reports and curves according to user requirements, thereby improving testing efficiency.
[0040] When testing the servo driver 150, the above-mentioned test device controls a group of input ports and output ports in the switch matrix 110 through the host computer 140 to conduct, thereby connecting the corresponding drive port of the servo driver 150 to the servo motor 160 to complete the test of one drive port of the servo driver 150. Then, in this way, all drive ports in the servo driver 150 are tested in sequence. Because all output ports of the switch matrix 110 of the present application are connected to the test port, only one servo motor 160 is required to complete the test of multiple drive ports in the servo driver 150, eliminating the need to configure multiple servo motors 160, reducing the space occupied by the test device and lowering the cost of the test device. At the same time, when testing the servo motor 160 through the test device, the performance of multiple servo motors 160 can be tested by replacing the servo motor 160.
[0041] In one embodiment, Figure 2 As shown, the host computer 140 is also used to connect to the communication port of the servo driver 150 , the host computer 140 is used to send driving information to the servo driver 150 , and the host computer 140 is used to receive operating data output by the servo driver 150 .
[0042] Specifically, the host computer 140 in this embodiment is also configured to communicate with the servo driver 150 (e.g., via CAN communication). The host computer 140 can send drive information to the servo driver 150, thereby controlling the drive signal output by the drive port of the servo driver 150 to change the operating state of the servo motor 160, thereby completing testing under different operating states. Simultaneously, the host computer 140 can also receive operating data output by the servo driver 150. The operating data includes information related to motor control and driver status, such as motor position information, motor speed information, motor torque or load information, current and voltage of the drive signal, and fault or error codes. In some other embodiments, when the host computer 140 is not in communication with the servo driver 150, the servo driver 150 can output a fixed drive signal according to an internally stored program when testing the servo driver 150. When testing the servo motor 160, the test driver can also output a fixed drive signal according to an internally stored program.
[0043] In one embodiment, Figure 3 As shown, the data acquisition module 130 includes: a torque sensor 131 and a sensor data acquisition unit 132. The torque sensor 131 is used to connect to the rotating shaft of the servo motor 160. The torque sensor 131 is communicated with the sensor data acquisition unit 132. The sensor data acquisition unit 132 is communicated with the host computer 140.
[0044] Specifically, the torque sensor 131 can be connected to the rotating shaft of the servo motor 160 via a coupling. The torque sensor 131 can convert the physical change in torque into a precise electrical signal, thereby measuring the torsional torque on the rotating shaft of the servo motor 160. In this embodiment, the torque sensor 131 outputs an analog signal. After acquiring the corresponding analog signal, the sensor data acquisition unit 132 processes it and converts it into a digital signal. The sensor data acquisition unit 132 can connect to the host computer 140 via serial communication (RS232 or RS485), thereby transmitting the processed digital signal to the host computer 140 for processing. In other embodiments, the torque sensor 131 can also be a sensor with communication capabilities. It can directly transmit the detected torque information to the host computer 140 via serial communication (RS232 or RS485) or wireless communication (ZigBee, Wi-Fi, Bluetooth, etc.), meeting the testing requirements of different environments.
[0045] In one embodiment, Figure 4 As shown, the data acquisition module 130 further includes: an eddy current brake 133 , the eddy current brake 133 is connected to the torque sensor 131 , and the eddy current brake 133 is communicatively connected to the sensor data acquisition unit 132 .
[0046] Specifically, in this embodiment, one end of the torque sensor 131 is connected to the shaft of the servo motor 160, and the other end of the torque sensor 131 is connected to the eddy current brake 133. The eddy current brake 133 can absorb power by using the principle of eddy current loss, thereby completing the braking of the shaft of the servo motor 160. The host computer 140 can control the eddy current brake 133 through the sensor data acquisition unit 132, and the eddy current brake 133 can change the braking torque under different excitation currents. By setting the eddy current brake 133, the load condition of the servo motor 160 can be simulated, so that the servo motor 160 can be subjected to no-load test, load test, stall test, etc., thereby enriching the testing capability of the testing device.
[0047] In one embodiment, the servo motor 160 is a brushed motor or a brushless motor. The servo motor 160 can also be an AC motor or a DC motor. The servo motor 160 can rotate under the control of a corresponding servo driver 150.
[0048] In one embodiment, Figure 5 As shown, the test bench 120 also includes: a motor fixture 121, and the motor fixture 121 is used to clamp the servo motor 160. Specifically, the test bench 120 in this embodiment is also provided with a motor fixture 121, and the motor fixture 121 is used to clamp and fix the servo motor 160. In some embodiments, the test bench 120 also includes: a slide, and the motor fixture 121 is provided on the slide and can move along the slide. By providing the slide, the distance between the servo motor 160 and the data acquisition module 130 can be adjusted to accommodate servo motors 160 with different shaft lengths. It can be understood that the motor fixture 121 is highly replaceable, and the testing requirements of servo motors 160 of different models can be met by replacing fixtures of different sizes. In some embodiments, the motor fixture 121 is provided with a movable mechanism for adjusting the size of the clamping range of the motor fixture 121.
[0049] The following describes in detail the testing principle of the testing device of the present application using a specific embodiment. Figure 6 The figure shows a schematic diagram of a test device for testing a brushed motor in one embodiment. The control port of the brushed motor includes two connection terminals. The servo driver 150 adjusts the drive signal output by the drive port by receiving the PWM (Pulse Width Modulation) signal sent by the host computer 140. When a group of input ports and output ports of the switch matrix 110 are turned on, the drive signal is transmitted to the test port of the test bench 120, thereby driving the servo motor 160 to rotate. Figure 7Figure 1 shows a schematic diagram of a test apparatus for testing a brushless motor in one embodiment. The brushless motor's control port includes three connection terminals. Servo driver 150 can output drive signals from these ports according to internal program settings. When a set of input and output ports on switch matrix 110 are conductive, the drive signals are transmitted to the test ports on test bench 120, thereby driving servo motor 160.
[0050] In one embodiment, Figure 8 As shown, the present application also proposes a testing method, which is applied to the testing device in the above embodiment. The testing method can be executed by the host computer 140 in the testing device. The testing method includes but is not limited to the following steps:
[0051] Step S210, when a test start instruction is obtained, a group of input ports and output ports in the switch matrix are controlled to be turned on in sequence;
[0052] Step S220: Acquire test data in real time through the data acquisition module.
[0053] Specifically, after the tester connects the test device to the servo driver 150 and servo motor 160 respectively, the tester sends a test start command to the host computer 140 through the user interface. After receiving the test start command, the host computer 140 begins to execute the automatic test program. During the test process, the host computer 140 sequentially controls a group of input ports and output ports in the switch matrix 110 to conduct. When a group of input ports and output ports are conducting, the servo driver 150 sends a drive signal to the servo motor 160 through the conducting switch circuit. The servo motor 160 rotates under the drive signal. At the same time, the data acquisition module 130 acquires test data in real time. After the current drive port test is completed, the host computer 140 controls the next group of input ports and output ports to conduct, thereby testing the next drive port. By looping through the above steps, the test of all drive ports of the servo driver 150 can be completed. After the data acquisition module 130 completes the acquisition of test data, the host computer 140 processes the test data and generates a test report required by the tester.
[0054] In one embodiment, Figure 9 As shown, the test method also includes:
[0055] Step S230, obtaining motor control parameters based on the motor control instruction;
[0056] Step S240: Send the motor control parameters to the servo driver.
[0057] Specifically, in this embodiment, the host computer 140 can communicate with the servo driver 150. The tester can input motor control instructions through the user interface. The motor control instructions are used to indicate the operating state of the servo motor 160, for example, controlling the motor to accelerate or decelerate. After the host computer 140 obtains the motor control instructions, it generates corresponding motor control parameters based on the motor control instructions and sends the motor control parameters to the servo driver 150 to change the operating state of the servo motor 160. For example, if the motor control instruction is to accelerate, the motor control parameters will increase the voltage and current. After receiving the corresponding motor control parameters, the servo driver 150 will increase the voltage and current output to the servo motor 160, thereby increasing the speed of the servo motor 160.
[0058] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0059] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 10As shown. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals via wired or wireless means, and the wireless means can be achieved via Wi-Fi, a mobile cellular network, NFC (near field communication), or other technologies. When executed by the processor, the computer program implements a testing method. The display unit of the computer device is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0060] Those skilled in the art will understand that Figure 10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0061] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0062] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented.
[0063] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.
[0064] In the description of this specification, reference to the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a specific feature, structure, material, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0065] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0066] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A testing device, characterized in that: Used to test a servo drive or a servo motor, the test device comprises: A switch matrix, the switch matrix comprising a plurality of input ports and a plurality of output ports, each of the input ports corresponding to one of the output ports, the input ports being used to connect to the drive ports of the servo drive; A test bench, the test bench comprising a test port, all of the output ports are connected to the test port, and the test port is used to connect to the control port of the servo motor; A data acquisition module, the data acquisition module is used to connect to the rotating shaft of the servo motor and obtain test data; A host computer is connected to the switch matrix and the data acquisition module respectively, and is used to control a group of the input ports and the output ports in the switch matrix to be turned on, and is used to obtain the test data.
2. The testing device according to claim 1, wherein: The host computer is also used to connect to the communication port of the servo driver, and the host computer is used to send driving information to the servo driver, and the host computer is used to receive the operating data output by the servo driver.
3. The testing device according to claim 1, wherein: The data acquisition module includes: a torque sensor and a sensor data acquisition unit. The torque sensor is used to connect to the rotating shaft of the servo motor. The torque sensor is communicatively connected to the sensor data acquisition unit. The sensor data acquisition unit is communicatively connected to the host computer.
4. The testing device according to claim 3, characterized in that: The data acquisition module further includes: an eddy current brake, which is connected to the torque sensor and is communicatively connected to the sensor data acquisition unit.
5. The testing device according to claim 1, wherein: The servo motor is a brushed motor or a brushless motor.
6. The testing device according to claim 1, wherein: The test bench further includes a motor fixture, which is used to clamp the servo motor.
7. A testing method, characterized in that: Applied to the testing device according to any one of claims 1 to 6, the testing method comprises: When a test start instruction is obtained, sequentially controlling a group of the input ports and the output ports in the switch matrix to be turned on; The test data is acquired in real time through the data acquisition module.
8. The testing method according to claim 7, characterized in that: The method further comprises: obtaining motor control parameters based on motor control instructions; The motor control parameters are sent to the servo driver.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to claim 7 or 8 are implemented.
10. A computer-readable 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 any one of claims 7 or 8 are implemented.
Citation Information
Patent Citations
Switch matrix test platform and switch matrix test method
CN117310465A
Servo control driver test system
CN117666446A
Multiaxis servo driver full automatic checkout device that dispatches from factory
CN205562691U