Motor speed measuring device and system
By designing an automated motor speed measurement device, using control modules, relay modules and Hall sensors, the relationship between automatic acquisition of control signals and speed signals is realized, solving the problems of high labor and time consumption in the prior art, and improving testing efficiency and accuracy.
Patent Information
- Application Number
- CN202420387895.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2034-02-28
AI Technical Summary
The existing motor speed test method requires specialized testers to change the parameters of pulse width modulation wave signal in real time, resulting in large labor and time consumption and low testing efficiency.
A motor speed measurement device is designed, including a control module, a relay module and a motor module. Through the control module, the on-off signal is sent to the relay module, the power supply status of the motor to be tested is automatically controlled, and the speed signal is detected through the Hall sensor to automatically obtain the relationship between the control signal and the speed signal.
Automatic motor speed test is realized, saving manpower and time, improving testing efficiency and accuracy, and being able to respond in a timely manner and detect faulty motors.
Smart Images

Figure CN222599793U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of motor speed measurement, and in particular to a motor speed measurement device and system. Background Art
[0002] The speed test of programmable motors is one of the important testing procedures when the motors leave the factory and enter the factory of the application unit. The test process is usually: use pulse width modulation wave signals with different characteristics to drive the motor to rotate, and use the speed measuring device to detect the rotation speed of the motor, and judge whether the motor meets the standard according to the rotation speed of the motor.
[0003] Current testing methods usually require dedicated testers to be on site to change the parameters of the pulse width modulation wave signal in real time.
[0004] However, it will take a lot of manpower and time to change the parameters of the pulse width modulation wave signal in real time by specialized testers, and the test efficiency is low. Utility Model Content
[0005] The purpose of the present application is to provide a motor speed measuring device and system to address the deficiencies in the above-mentioned prior art, so as to solve the problems in the prior art of consuming a lot of manpower and time and having low testing efficiency.
[0006] To achieve the above objectives, the technical solutions adopted in this application are as follows:
[0007] In a first aspect, the present application provides a motor speed measuring device, the device comprising: a control module, a plurality of relay modules, and a plurality of motor modules corresponding to each relay module one by one;
[0008] Each of the motor modules includes a plurality of motors to be tested, and the relay modules are connected to the power supply terminals of the motors to be tested in the corresponding motor modules one by one;
[0009] The control module is connected to the relay module;
[0010] The control module is used to send an on / off signal to the relay module, and to supply power to the motor under test connected to the relay module when the relay module is turned on;
[0011] The control end and output end of each of the motors under test are connected to the control module. The control end of the motor under test is used to receive a control signal from the control module, and the output end of the motor under test is used to send a speed signal to the control module during operation.
[0012] Optionally, the device further comprises: a plurality of isolation modules corresponding one-to-one to each motor module;
[0013] Each of the isolation modules comprises a plurality of isolation circuits, and each isolation circuit is connected to each motor under test in the corresponding motor module in a one-to-one correspondence;
[0014] The control module is connected to the control end of the motor under test corresponding to the isolation circuit via the isolation circuit;
[0015] The isolation circuit is used to receive the control signal from the control module, filter and isolate the control signal, and send the filtered and isolated control signal to the control end of the motor under test.
[0016] Optionally, the motor under test includes a Hall sensor;
[0017] The Hall sensor is used to detect the rotation speed of the motor under test and generate the rotation speed signal.
[0018] Optionally, the control module includes a field programmable gate array chip.
[0019] Optionally, the device further comprises: a communication module;
[0020] The communication module is connected to the control module;
[0021] The control module is specifically used to receive external control instructions through the communication module, generate the on-off signal and the control signal according to the external control instructions, and send the speed information indicated by the speed signal of each measured motor to an external device through the communication module.
[0022] Optionally, the external control instruction includes: a relay on / off instruction;
[0023] The relay on-off instruction is used to indicate the on-off of the relay module;
[0024] The relay on / off instruction includes: a frame header segment, a relay control segment and a frame tail segment;
[0025] The relay control section includes a plurality of relay control sub-sections having the same number as the relay modules, and each relay control sub-section is used to indicate the on and off of the corresponding relay module.
[0026] Optionally, the external control instruction further includes: a motor static control instruction;
[0027] The motor static control instruction is used to instruct the operation of each motor under test in one of the motor modules;
[0028] The motor static control instruction includes: a frame header segment, a quantity segment, a motor control segment and a frame tail segment;
[0029] The quantity segment is used to indicate the quantity of control signals of the motor under test;
[0030] The motor control segment includes at least one motor control sub-segment, and the number of the motor control sub-segments is the same as the number of control signals indicated by the number segment;
[0031] Each of the motor control sub-segments includes: the direction and position of the control signal, the duty cycle of the control signal, and the frequency of the control signal.
[0032] Optionally, the external control instruction further includes: a motor dynamic control instruction;
[0033] The motor dynamic control instruction is used to dynamically instruct the operation of each motor under test in one of the motor modules according to a preset time interval;
[0034] The motor dynamic control instruction includes: a frame header segment, a total duration and time interval segment, a motor control segment, and a frame tail segment;
[0035] The total duration and time interval segments are used to indicate the total duration and change time interval of the control signal of the motor;
[0036] The motor control section includes at least one motor control sub-section;
[0037] Each of the motor control sub-segments includes: a position of a control signal, a direction of a control signal, a starting duty cycle of a control signal, a starting frequency of a control signal, a duty cycle increment of a control signal, and a frequency increment of a control signal.
[0038] In a second aspect, the present application provides a motor speed measurement system, the system comprising an external device and the motor speed measurement device as described in any one of the first aspects;
[0039] The external device communicates with the control module in the motor speed measuring device through the communication module in the motor speed measuring device.
[0040] Optionally, the external device is used to perform test analysis on each motor under test in the motor speed measuring device according to the speed information sent by the control module in the motor speed measuring device.
[0041] The beneficial effects of the present application are as follows: the motor speed measuring device includes a control module, multiple relay modules and multiple motor modules, the relay modules are respectively connected one-to-one with the power supply ends of each motor under test of the corresponding motor module, the control module is connected to the relay module, and the control end and the output end of the motor under test are both connected to the control module, so that the motor under test, driven by the received control signal, sends the current speed information to the control module, and automatically obtains the relationship between multiple control signals and the speed of the motor under test, thereby detecting faulty motors, freeing up manpower, breaking space limitations, and having high testing efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 is a structural schematic diagram of a motor speed measuring device provided in an embodiment of the present application;
[0044] Figure 2 is a structural schematic diagram of another motor speed measuring device provided in an embodiment of the present application;
[0045] Figure 3 is a structural schematic diagram of another motor speed measuring device provided in an embodiment of the present application;
[0046] Figure 4 It is a structural schematic diagram of a relay on-off instruction provided in an embodiment of the present application;
[0047] Figure 5 It is a structural diagram of a motor static control instruction provided in an embodiment of the present application;
[0048] Figure 6 is a schematic diagram of the structure of a motor dynamic control instruction provided in an embodiment of the present application;
[0049] Figure 7 It is a flowchart of sending and executing instructions based on a motor speed measuring device provided in an embodiment of the present application;
[0050] Figure 8 It is a structural schematic diagram of a motor speed measurement system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0052] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0053] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0054] At present, motor manufacturers and application units usually need to arrange special testers to test the motor speed at the test site to change the parameters of the pulse width modulation wave signal in real time, so as to make the motor safe and reliable. However, arranging special testers to change the parameters of the pulse width modulation wave signal in real time on site will consume a lot of manpower and time, and the test accuracy is low, the efficiency is low, and it is impossible to respond quickly.
[0055] Based on this, the present application proposes a motor speed measuring device, which includes a control module, a plurality of relay modules and a plurality of motor modules, wherein the relays in the relay module are respectively connected to the motors to be tested in the control module and the corresponding motor modules, and the control module can supply power to the motor to be tested through the relay module. At the same time, the control module is also connected to the motor to be tested in the motor module, and is used to send a control signal to the motor to be tested, so that the energized motor to be tested can be driven by the control signal to run, and send a speed signal to the control module during operation, so that the control module obtains the corresponding relationship between the control signal and the speed signal. This device can automatically obtain the relationship between multiple control signals and speeds, save a lot of manpower and time, can achieve timely response, and has high test accuracy and high efficiency. At the same time, the present application adds a communication module on the basis of the above-mentioned motor speed measuring device, so that the communication module can receive external control instructions, and generate on-off signals and control signals according to the external control instructions, and send the speed information indicated by the speed signal of each motor to be tested to an external device through the communication module. The speed signal is received and sent by the communication module to the external device, thereby realizing remote control, saving manpower, and avoiding the test personnel from performing real-time on-site control parameters and other work.
[0056] Figure 1 Schematic diagram of the structure of a motor speed measuring device provided in an embodiment of the present application. Figure 1 As shown, the motor speed measuring device includes a control module, multiple relay modules, and multiple motor modules corresponding to each relay module. The specific connection results are as follows:
[0057] Optionally, each motor module includes a plurality of motors to be measured, and the relay modules are connected to the power supply terminals of each motor to be measured in the corresponding motor module in a one-to-one correspondence.
[0058] Optionally, during the motor speed measurement process, multiple motors can be connected at one time for speed testing, thereby ensuring efficient speed measurement.
[0059] Optionally, the number of motors to be tested in the motor module is set with reference to the voltage that the relay module can carry. It is worth mentioning that each motor to be tested needs to be grounded.
[0060] Optionally, the control module is connected to the relay module.
[0061] Optionally, the control module is used to send an on / off signal to the relay module, and supply power to the motor under test connected to the relay module when the relay module is turned on.
[0062] Optionally, after receiving the on-off signal, the relay module performs on-off according to the on-off action indicated by the on-off signal, so that the motor module corresponding to the on relay module is powered on, and correspondingly, the motor module corresponding to the off relay module is powered off.
[0063] Optionally, the control end and output end of each motor under test are connected to the control module, the control end of the motor under test is used to receive a control signal from the control module, and the output end of the motor under test is used to send a speed signal to the control module during operation.
[0064] Optionally, the control module can send a control signal to each motor under test in each motor module. The control signal can be a pulse width modulation (PWM) wave. By modulating the pulse width of the PWM wave, the required analog parameters can be effectively obtained, thereby realizing the output of the analog signal. After the motor under test receives the control signal sent by the control signal, it can operate based on the control signal, and detect the motor speed during the operation, generate the motor speed, convert it into a speed signal and send it to the control module.
[0065] As an optional implementation, the control module may periodically send a control signal to the motor under test according to a preset strategy, wherein the preset strategy may be to send a fixed control signal to the motor under test, or to periodically adjust the control signal sent to the motor under test according to a preset period and preset increment.
[0066] Optionally, the control module can check whether the motor under test is faulty based on the speed signal of each motor under test. As an optional implementation, when the speed indicated by the speed signal of a motor under test does not meet the preset speed corresponding to the current control signal, an error is reported. After the error is reported, the control personnel can troubleshoot the motor under test based on the error content.
[0067] In this embodiment, the motor speed measuring device includes a control module, multiple relay modules and multiple motor modules. The relay modules are connected one-to-one with the power supply ends of each motor under test of the corresponding motor module. The control module is connected to the relay module. The control end and the output end of the motor under test are connected to the control module, so that the motor under test, driven by the received control signal, sends the current speed information to the control module, and automatically obtains the relationship between multiple control signals and the speed of the motor under test, thereby detecting faulty motors, freeing up manpower, breaking space limitations, and having high testing efficiency and accuracy.
[0068] The motor speed measuring device also includes a plurality of isolation modules corresponding to each motor module. Figure 2 shown.
[0069] Optionally, each isolation module includes a plurality of isolation circuits, and each isolation circuit is connected to each measured motor in the corresponding motor module in a one-to-one correspondence.
[0070] Optionally, in each isolation module, the number of isolation circuits is related to the number of channels in the isolation circuit and the number of motors to be measured in the corresponding motor module.
[0071] Optionally, the control module is connected to a control terminal of the motor under test corresponding to the isolation circuit via the isolation circuit.
[0072] Optionally, the isolation circuit is used to receive a control signal from the control module, filter and isolate the control signal, and send the filtered and isolated control signal to the control end of the motor under test.
[0073] Optionally, the isolation circuit can be used to isolate noise and match the level. Exemplarily, the isolation circuit can be implemented using an ADUM1401 interface circuit, which is a four-channel digital isolator. The number of ADUM1401 interface circuits can be controlled according to the number of motors under test in the motor module and the number of channels in the digital isolator. Exemplarily, the control module is connected to 4 motor modules, each of which includes 3 motors under test, and the control module outputs a maximum of 24 groups of control signals, so 8 ADUM1401 interface circuits are used to achieve filtering and isolation of the control signals.
[0074] In this embodiment, an isolation module is provided between the control module and the motor module, thereby filtering and isolating the control signal, isolating the noise, and making the control signal suitable for the corresponding motor under test.
[0075] As an optional implementation, the motor under test includes a Hall sensor.
[0076] Among them, the Hall sensor is used to detect the speed of the motor under test and generate a speed signal.
[0077] Optionally, the Hall sensor is a magnetic sensor that uses the Hall effect to detect the magnetic field of the motor and its changes, and converts the magnetic field changes into voltage, generates a speed signal based on the voltage, and sends it to the control module.
[0078] In this embodiment, the rotation speed of the motor to be measured is detected by using a simple detection device such as a Hall sensor, thereby improving the detection accuracy and saving costs.
[0079] As an optional implementation, the control module includes a field programmable gate array chip.
[0080] Among them, Field Programmable Gate Array (FPGA), FPGA chips can flexibly implement digital circuits and are suitable for application fields that require continuous changes in physical computing logic.
[0081] Optionally, the FPGA chip can send a control signal to the motor under test in each motor module according to a preset strategy, so that the motor under test operates according to the control signal. The FPGA chip receives the speed information sent by the motor under test, and can analyze whether the motor under test corresponding to the speed information is faulty based on the speed information. Among them, the preset strategy can be to send a control signal fixedly, or to send a control signal according to a preset cycle and preset increment. The FPGA chip can also send an on-off signal to the relay module, so that the relay module is turned on and off according to the corresponding on-off signal, thereby supplying power to the motor module.
[0082] In this embodiment, the field programmable gate array chip can flexibly send signals to the motor module and the relay module according to a preset strategy, and the field programmable gate array chip has parallelism and can measure multiple motors under test at the same time, thereby saving test time.
[0083] As an optional implementation, Figure 3 As shown, the motor speed measuring device also includes: a communication module.
[0084] Optionally, the communication module is connected to the control module.
[0085] Optionally, the control module is specifically used to receive external control instructions through the communication module, and generate on-off signals and control signals according to the external control instructions, and send the speed information indicated by the speed signal of each measured motor to an external device through the communication module.
[0086] Optionally, the communication module can be a WIFI module or a wired communication module. The communication module is used to send an external control instruction to the control module, and can send the speed information indicated by the speed information sent by the control module to an external device. Exemplarily, the WIFI module can be a module based on ESP8266-01S, which communicates with the FPGA chip through a serial port, and the transmission rate can be set to 460800 bytes per second.
[0087] Optionally, the external device may be an electronic device with computing capability, such as a host computer.
[0088] As another optional implementation, in addition to the control module actively sending control signals and on-off signals, the control personnel can also send external control instructions and send the instructions to the control module through the communication module. The control module can parse the external control instructions and generate control signals and on-off signals to control the motor under test. After the motor under test starts running, the control module sends the speed information indicated by the speed signal of each motor under test to the external device through the communication module at a preset update rate. The preset update rate can be once every 100 milliseconds.
[0089] Among them, the external control instructions may include relay on-off instructions, motor static control instructions and motor dynamic control instructions.
[0090] In this embodiment, the communication module is connected to the control module. The control module receives external control instructions through the communication module, generates on-off signals and control signals according to the external control instructions, and sends the speed information indicated by the speed signal of each motor under test to the external device through the communication module, thereby realizing remote control and automatically setting the relationship between multiple control signals and speeds, so that the motor speed measuring device can save manpower and improve the test accuracy of the speed.
[0091] Next, the relay on / off instructions included in the external control instructions are introduced.
[0092] Optionally, the relay on-off instruction is used to instruct the on-off of the relay module.
[0093] Optionally, the relay on / off instruction includes: a frame header segment, a relay control segment and a frame tail segment.
[0094] Optionally, the frame header segment is used to enable the control module to start recording valid data, that is, the data indicated by the relay control segment. Exemplarily, the frame header can be at the front end of the instruction, which are 8'HAA, 8'HBB, 8'HCC and 8'HDD. The frame tail segment is used to check the integrity of the data packet. Exemplarily, the frame tail can be a byte of data transmission error detection (Cyclic Redundancy Check, CRC) instruction.
[0095] Optionally, the relay control section includes a plurality of relay control sub-sections, the number of which is the same as the number of the relay modules, and each relay control sub-section is used to indicate the on and off of a corresponding relay module.
[0096] Exemplarily, the motor speed measuring device in this embodiment includes a total of 4 relay modules, and the relay control segment includes 4 relay control sub-segments. Each relay control sub-segment occupies 2 bytes and is set as follows: when the control module receives 8'h55EE, the corresponding relay module is turned on; when 8'H0000 is received, the corresponding relay module is turned off; when the control module receives other data, the state of the relay module remains unchanged. It is worth noting that after turning on the relay module, the control module can generate relay status information, including a relay status output flag bit, which is used to indicate the state of the corresponding relay. The relay status output flag bit can be used as an output flag of a control signal, that is, when the output flag exists, a control signal can be generated; if the output flag does not exist, no control signal is generated. Exemplarily, the structure of the relay on-off instruction can be as follows Figure 4 shown.
[0097] In this embodiment, the on-off control of the relay module is realized by setting the relay on-off instruction, thereby realizing automatic speed measurement of the motor.
[0098] Next, the motor static control instructions in the external control instructions are introduced.
[0099] Optionally, the motor static control instruction is used to instruct the operation of each motor under test in a motor module.
[0100] Optionally, the motor static control instruction includes: a frame header segment, a quantity segment, a motor control segment and a frame tail segment.
[0101] Optionally, the structure of the motor static control instruction can be as follows Figure 5 The frame tail segment can be a checksum, which is used to determine whether the number of control signals indicated in the quantity segment is the same as the frame tail segment. If they are the same, the control signal is generated based on the motor static control instruction. If they are not the same, the instruction is discarded and an instruction error mark is output. The control personnel can modify the external control instruction or the hardware relationship of the control module according to the error mark.
[0102] Optionally, the quantity segment is used to indicate the quantity of the control signals of the motor under test.
[0103] It is worth noting that if there is no need to detect a motor under test in the control module, there is no need to issue a motor static control instruction to it, and the quantity section does not need to count the motor under test.
[0104] Optionally, after the control module completes parsing of the motor control sub-segment in the motor control segment, the number of sub-segments is increased by one until all parsing is completed.
[0105] Optionally, the motor control segment includes at least one motor control sub-segment, and the number of the motor control sub-segments is the same as the number of control signals indicated by the quantity segment.
[0106] Optionally, each motor control sub-segment includes: the direction and position of the control signal, the duty cycle of the control signal, and the frequency of the control signal.
[0107] Optionally, the direction of the control signal is used to indicate the forward rotation, reverse rotation and stop of the motor, and the position of the control signal is used to indicate the position of the controlled motor under test. Exemplarily, the direction and position of the control signal occupy 1 byte in total, a total of 4 bits. Among them, the position signal is a high bit and the direction signal is a low bit. When the value of the direction signal is 4'HE, it indicates that the motor under test is forward rotation, when the value of the direction signal is 4'H9, it indicates that the motor under test is stopped, and when the value of the direction signal is 4'H3, it indicates that the motor under test is reversed. The duty cycle of the control signal occupies 1 byte, and the frequency of the control signal occupies 2 bytes.
[0108] Optionally, if the control signal is a PWM signal, the duty cycle of the control signal is the duty cycle of the PWM wave indicated by the PWM signal, and the frequency of the control signal is the frequency of the PWM wave indicated by the PWM signal.
[0109] In this embodiment, after the motor static control instruction in the external control instruction is used to send to the control module, the control module parses the sent motor static control instruction and sends it to the motor under test and the relay module according to the parsed control signal and on-off signal. It is worth noting that the control signal and on-off signal sent by the control module will not change during the stage of this motor static control instruction.
[0110] Next, the motor dynamic control instructions in the external control instructions are introduced.
[0111] Optionally, the motor dynamic control instruction is used to dynamically instruct the operation of each motor under test in a motor module according to a preset time interval.
[0112] Optionally, under the instruction of the motor dynamic control instruction, the control signal can be changed at a preset time interval, thereby instructing each tested motor in the motor module to operate according to different control signals.
[0113] Optionally, the motor dynamic control instruction includes: a frame header segment, a total duration and time interval segment, a motor control segment, and a frame tail segment.
[0114] Optionally, the structure of the motor dynamic control instruction can be as follows Figure 6 shown.
[0115] As an optional implementation, the total duration occupies one byte, and the time interval segment occupies one byte. It should be noted that the time interval indicated by the time interval segment may range from 5 minutes to 3 hours.
[0116] Optionally, the total duration and time interval segments are used to indicate the total duration and the change time interval of the control signal of the motor.
[0117] Optionally, when the motor dynamic control instruction takes effect, the control module starts timing, and when the change time interval indicated by the time interval segment is reached, the control signal is changed according to the motor control segment, and this cycle is repeated until the total time reaches the total duration of the control signal indicated by the total duration.
[0118] Optionally, the motor control section includes at least one motor control sub-section.
[0119] Optionally, the number of motor control subsections does not exceed the total number of motors under test.
[0120] Optionally, each motor control sub-segment includes: the position of the control signal, the direction of the control signal, the starting duty cycle of the control signal, the starting frequency of the control signal, the duty cycle increment of the control signal and the frequency increment of the control signal.
[0121] Optionally, the position of the control signal is used to indicate the position of the controlled motor under test, the direction of the control signal is used to indicate the rotation direction of the controlled motor under test, the starting duty cycle of the control signal indicates the duty cycle of the first control signal sent by the control module, the starting frequency of the control signal indicates the frequency of the first control signal sent by the control module, and the duty cycle increment of the control signal indicates the change in the duty cycle of each preset time interval based on the starting duty cycle of the control signal and the change time interval. The frequency increment of the control signal indicates the change in the frequency of each preset time interval based on the starting frequency of the control signal and the change time interval.
[0122] Exemplarily, if there are 4 motor modules, each of which includes 3 motors to be tested, and the channels connected to the motors to be tested are numbered respectively, there are 12 channels. If the position value of the control signal is 8'H1-8'H12, the corresponding channels are controlled, if the value is 8'H13, the control signals of the motors to be tested in all channels are the same, if the position value of the control signal is 8'H14, channels 1-6 are controlled, if the position value of the control signal is 8'H15, channels 7-12 are controlled, if the position value of the control signal is 8'H16, channels 1-3 are controlled, if the position value of the control signal is 8'H17, channels 4-6 are controlled, if the position value of the control signal is 8'H18, channels 7-9 are controlled, and if the position value of the control signal is 8'H19, channels 10-12 are controlled.
[0123] In this embodiment, after the motor dynamic control instruction in the external control instruction is used to send to the control module, the control module parses the sent motor dynamic control instruction and generates a control signal according to the time interval, total duration, position of the control signal, direction of the control signal, starting duty cycle of the control signal, starting frequency of the control signal, duty cycle increment of the control signal and frequency increment of the control signal indicated by the instruction. The control signal changes according to the time interval during the total duration, so that the controlled motor can detect the motor speed under different control signals and send the speed signal to the control module, thereby realizing automatic adjustment of the control signal and detecting the corresponding adjustment relationship of the speed signal, saving manpower and time.
[0124] As an optional implementation, refer to Figure 7 The sending and execution of commands based on the motor speed measuring device are explained.
[0125] After the control module receives the external control instruction sent by the communication module, it determines whether the instruction is a relay on-off instruction. If so, the relay module indicated by it is turned on based on the relay on-off instruction, and the relay status information is updated. If not, the relay state is determined according to the relay status information, and the external control instruction is parsed and checked. If the instruction is wrong, the instruction error flag is returned. If correct, it is determined whether the external control instruction is a motor dynamic control instruction. If so, the timer starts timing, and based on the motor dynamic control instruction, a control signal is sent to the motor under test at a preset time interval, so that the motor under test collects the speed signal and transmits it transparently to the control module. If not, the motor static control instruction is parsed, and the control signal is updated and sent to the motor under test, so that the motor under test collects the speed signal and transmits it transparently to the control module. After the control module receives the speed signal, the speed information represented by the speed signal is sent to the outside through the communication module, so that the control personnel can determine whether the motor under test is faulty based on the speed information.
[0126] An embodiment of the present application also provides a motor speed measurement system, which includes an external device and the above-mentioned motor speed measurement device.
[0127] Optionally, the external device communicates with the control module in the motor speed measuring device through the communication module in the motor speed measuring device.
[0128] Alternatively, if Figure 8 As shown, the control personnel can input instructions into the external device, and the external device generates an external control instruction based on the above instruction, and sends the control instruction to the control module through the communication module, so that the control module can control the operation of each motor under test in the motor module based on the external control instruction. When the motor under test is running, the speed signal is sent to the control module, and the control module can send the speed information represented by the speed signal to the external device through the communication module. The external device can process the speed information and determine the faulty motor, and can also display the speed information of each motor under test to the control personnel, so that the control personnel can judge whether the motor under test is faulty based on the speed information.
[0129] Optionally, the external device is used to perform test analysis on each motor under test in the motor speed measuring device according to the speed information sent by the control module in the motor speed measuring device.
[0130] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A motor speed measuring device, characterized in that: The device comprises: a control module, a plurality of relay modules and a plurality of motor modules corresponding to each relay module one by one; Each of the motor modules includes a plurality of motors to be tested, and the relay modules are connected to the power supply terminals of the motors to be tested in the corresponding motor modules one by one; The control module is connected to the relay module; The control module is used to send an on / off signal to the relay module, and to supply power to the motor under test connected to the relay module when the relay module is turned on; The control end and output end of each of the motors under test are connected to the control module. The control end of the motor under test is used to receive a control signal from the control module, and the output end of the motor under test is used to send a speed signal to the control module during operation.
2. The device according to claim 1, characterized in that The device further comprises: a plurality of isolation modules corresponding one-to-one to each motor module; Each of the isolation modules comprises a plurality of isolation circuits, and each isolation circuit is connected to each motor under test in the corresponding motor module in a one-to-one correspondence; The control module is connected to the control end of the motor under test corresponding to the isolation circuit via the isolation circuit; The isolation circuit is used to receive the control signal from the control module, filter and isolate the control signal, and send the filtered and isolated control signal to the control end of the motor under test.
3. The device according to claim 1, characterized in that The motor under test includes a Hall sensor; The Hall sensor is used to detect the rotation speed of the motor under test and generate the rotation speed signal.
4. The device according to any one of claims 1 to 3, characterized in that: The control module includes a field programmable gate array chip.
5. The device according to any one of claims 1 to 4, characterized in that: The device further comprises: a communication module; The communication module is connected to the control module; The control module is specifically used to receive external control instructions through the communication module, generate the on-off signal and the control signal according to the external control instructions, and send the speed information indicated by the speed signal of each measured motor to an external device through the communication module.
6. The device according to claim 5, characterized in that The external control instructions include: relay on / off instructions; The relay on-off instruction is used to indicate the on-off of the relay module; The relay on / off instruction includes: a frame header segment, a relay control segment and a frame tail segment; The relay control section includes a plurality of relay control sub-sections which are the same in number as the relay modules, and each relay control sub-section is used to indicate the on and off of the corresponding relay module.
7. The device according to claim 6, characterized in that The external control instructions also include: motor static control instructions; The motor static control instruction is used to instruct the operation of each motor under test in one of the motor modules; The motor static control instruction includes: a frame header segment, a quantity segment, a motor control segment and a frame tail segment; The quantity segment is used to indicate the quantity of control signals of the motor under test; The motor control segment includes at least one motor control sub-segment, and the number of the motor control sub-segments is the same as the number of control signals indicated by the number segment; Each of the motor control sub-segments includes: the direction and position of the control signal, the duty cycle of the control signal, and the frequency of the control signal.
8. The device according to claim 6, characterized in that The external control instructions also include: motor dynamic control instructions; The motor dynamic control instruction is used to dynamically instruct the operation of each motor under test in one of the motor modules according to a preset time interval; The motor dynamic control instruction includes: a frame header segment, a total duration and time interval segment, a motor control segment, and a frame tail segment; The total duration and time interval segments are used to indicate the total duration and change time interval of the control signal of the motor; The motor control section includes at least one motor control sub-section; Each of the motor control sub-segments includes: a position of a control signal, a direction of a control signal, a starting duty cycle of a control signal, a starting frequency of a control signal, a duty cycle increment of a control signal, and a frequency increment of a control signal.
9. A motor speed measurement system, characterized in that: The system comprises an external device and the motor speed measuring device according to any one of claims 5 to 8; The external device communicates with the control module in the motor speed measuring device through the communication module in the motor speed measuring device.
10. The system according to claim 9, characterized in that The external device is used to perform test analysis on each motor under test in the motor speed measuring device according to the speed information sent by the control module in the motor speed measuring device.