Testing device for automatically detecting qualification of current and rotating speed of direct-current brushless motor
The testing device automates brushless DC motor testing, using a single-chip control board to efficiently detect and control motor parameters, addressing manual testing inefficiencies and fatigue.
Patent Information
- Application Number
- CN202420621368.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2034-03-28
AI Technical Summary
Manual testing of brushless DC motors is cumbersome and causes eye fatigue, lacking efficiency and reliability.
A testing device with a motor drive module, LCD touch screen, RS485 adapter, key input module, and current/voltage acquisition module, utilizing a single-chip microcomputer control board to automatically detect and control motor current, speed, and voltage, issuing alarms for out-of-range values.
Automated testing reduces manpower and material resources, enhances efficiency and reliability by quickly determining motor quality, reducing human fatigue and development costs.
Smart Images

Figure CN222145179U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of testing the qualified current and rotation speed of a brushless DC motor, in particular to a testing device for automatically detecting the qualified current and rotation speed of a brushless DC motor. Background Art
[0002] At present, the power supply circuit of the brushless DC motor includes a transformer and a rectifier circuit. The AC power supply is connected to the input end of the rectifier circuit after being stepped down by the transformer. Each coil of the motor is connected in series with the corresponding transistor and then connected to the positive and negative output ends of the rectifier circuit. The control base of the transistor is directly connected to the control end of the controller. The controller determines the output level of the control end corresponding to the base of each transistor according to the rotor position detected by the Hall element. When the output is high, the corresponding transistor is turned on to connect the power supply of the corresponding coil. When the rotor is blocked, each control output end of the controller outputs a low level.
[0003] In the prior art, manual testing is very cumbersome during use, which causes fatigue to the human eye during the test. Utility Model Content
[0004] The utility model aims to solve the shortcomings of the prior art that manual testing is cumbersome and causes eye fatigue during testing, and proposes a testing device for automatically detecting the current and speed of a brushless DC motor.
[0005] In order to achieve the above purpose, the utility model adopts the following technical solutions:
[0006] A test device for automatically detecting whether the current and speed of a brushless DC motor are qualified comprises a motor drive module, an LCD touch screen module, an RS485 adapter, a key input module and a current and voltage acquisition module. The motor drive module is connected to a single-chip control board and a voltage and current acquisition module, and the voltage and current acquisition module is connected to the single-chip control board.
[0007] Preferably, the single-chip microcomputer control board is connected to a key input module, the single-chip microcomputer control board is bidirectionally connected to an RS485 adapter, and the RS485 adapter is bidirectionally connected to an LCD touch screen module.
[0008] Preferably, a display module and an alarm module are connected to the single chip control board, and the display module and the alarm module are bidirectionally connected.
[0009] Compared with the prior art, the advantages of the utility model are:
[0010] (1) In this scheme, the single-chip microcomputer control module generates a PWM wave to drive the motor control module. The control module captures the FG signal output by the motor module to obtain the real-time speed of the motor. The real-time voltage and current of the motor when it is running are collected in real time by the voltage and current acquisition module;
[0011] (2) The MCU module of this scheme packages the measured voltage, current and speed signals into data and uploads them to the display module for display. When the data exceeds the qualified range, an alarm reminder is issued, thereby achieving the purpose of automatically detecting whether the voltage, current and speed are qualified.
[0012] The utility model has a simple structure and can automatically control the start-up and operation of the motor. It can automatically detect the motor current, speed and voltage when the motor is running. When the relevant value exceeds the set threshold range, it will automatically give an error prompt, and can store and adjust the speed and current thresholds online according to different motors. It can test whether the current, voltage and speed of the motor are qualified in a short time, which greatly reduces the investment in manpower and material resources, reduces the company's development costs, and is convenient for people to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a software operation flow chart of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0014] Figure 2 This is a system principle block diagram of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0015] Figure 3 This is a MM32SPIN2 single-chip microcomputer diagram of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0016] Figure 4 This is a voltage and current acquisition principle diagram of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0017] Figure 5 This is a three-phase inverter circuit diagram of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0018] Figure 6 This is a system PCB diagram of a test device for automatically detecting the current and speed of a brushless DC motor proposed by the utility model;
[0019] Figure 7 The utility model discloses a connection block diagram of a single-chip microcomputer control board of a test device for automatically detecting the current and speed of a brushless DC motor. DETAILED DESCRIPTION
[0020] The technical solution of this embodiment will be clearly and completely described below in conjunction with the drawings in this embodiment. Obviously, the described embodiment is only a part of this embodiment, rather than all of the embodiments.
[0021] Reference Figure 1-Figure 7 A test device for automatically detecting whether the current and speed of a brushless DC motor are qualified includes a motor drive module, an LCD touch screen module, an RS485 adapter, a key input module and a current and voltage acquisition module. The motor drive module is connected to a single-chip microcomputer control board and a voltage and current acquisition module, and the voltage and current acquisition module is connected to the single-chip microcomputer control board.
[0022] In this embodiment, the single-chip microcomputer control board is connected to the key input module, the single-chip microcomputer control board is bidirectionally connected to the RS485 adapter, and the RS485 adapter is bidirectionally connected to the LCD touch screen module.
[0023] In this embodiment, a display module and an alarm module are connected to the single chip control board, and the display module and the alarm module are bidirectionally connected.
[0024] Software operation steps:
[0025] S1, system initialization: configure the timer to input capture mode;
[0026] S2, motor start: wait for the start test button to be pressed in the main loop of the program;
[0027] S3, capture FG signal and calculate speed: the timer captures the FG signal cycle and calculates the motor speed;
[0028] S4. Read voltage and current signals: configure serial communication receiving interrupt to receive voltage and current signals;
[0029] S5, buzzer alarm: use the set threshold for comparison, if it exceeds the threshold range, the buzzer will automatically alarm.
[0030] In this embodiment, in S1, input 12V voltage, connect the three-phase wires of the motor, click the setting option on the screen, enter the setting password 8888, set the voltage, current and speed thresholds according to requirements, click Save, and the capture mode can capture the FG signal.
[0031] In this embodiment, in S2, the timer captures the FG signal cycle and uses the formula V=f*60 / N (V is the motor speed, f is the FG signal frequency, and N is the number of motor pole pairs) to calculate the actual motor speed.
[0032] In this embodiment, in S3, the serial port receives and interrupts the voltage and current signals sent by the ammeter for analysis.
[0033] In this embodiment, the motor drive module is connected to a single-chip microcomputer control board and a voltage and current acquisition module, the voltage and current acquisition module is connected to the single-chip microcomputer control board, the single-chip microcomputer control board is connected to a key input module, the single-chip microcomputer control board is bidirectionally connected to an RS485 adapter, and the RS485 adapter is bidirectionally connected to an LCD touch screen module.
[0034] In this embodiment, when the system is powered on, each peripheral is initialized first, and the timer is configured as an input capture mode to capture the FG signal. The main loop of the program waits for the start test button to be pressed. When the button is pressed, the motor starts, and the timer captures the FG signal cycle. The actual motor speed is calculated by the formula V=f*60 / N (V is the motor speed, f is the FG signal frequency, and N is the number of motor pole pairs). The serial port communication receiving interrupt is configured, and the voltage and current signals sent by the ammeter are analyzed during the serial port receiving interrupt. Then, the signals are compared with the set threshold values. If the threshold value range is exceeded, the buzzer alarms, and then the RS485 communication differential signal is used for communication, and the signals are verified through the microcontroller serial port receiving buffer. After success, the data degree and voltage and current of the corresponding register are transmitted to the serial port screen for display, and the threshold judgment is performed as mentioned above. The test device can automatically control the start-up and operation of the motor, and automatically detect the motor current, speed and voltage when the motor is running. When the relevant value exceeds the set threshold range, an error prompt will be automatically given, and the speed and current thresholds can be stored and adjusted online according to different motors. Whether the motor's current, voltage and speed are qualified can be tested in a short time, which greatly reduces the investment in manpower and material resources and reduces the company's development costs. The system can automatically detect and control the motor, solve the tediousness of manual testing, reduce the fatigue caused by human eye testing, and improve the efficiency and reliability of the test.
[0035] The hardware consists of a single-chip microcomputer control board, a motor drive module, an RS485 adapter, a current and voltage acquisition module, and an LCD touch display module.
[0036] The main control chip is the MM32SPIN27 microcontroller from Lingdong Microelectronics. The MM32SPIN27 series chip is a high-performance 32-bit motion control MCU under Lingdong Micro. -M0 is the core, with a maximum operating frequency of 60MHz, built-in 32KB high-speed memory, and up to 26 GPIOs. This chip has low cost and high performance, making it very suitable as the main control of the device.
[0037] In terms of voltage and current collection, the DW-81 voltage and current meter is used for real-time detection of bus voltage and current. The DW-81 voltage and current meter has the characteristics of wide input voltage and high measurement accuracy. It is equipped with a digital tube that can display the bus voltage and current data in real time, and can send current and voltage signal data to the outside through the RS485 communication protocol. RX485 communication is established between the microcontroller and the voltage and current meter, and the voltage and current data signals are read and displayed on the display screen.
[0038] The motor drive software adopts the sensorless square wave motor drive algorithm, which makes the detection operation easier and greatly improves the detection speed accuracy. The hardware adopts the commonly used three-phase inverter to drive the motor. The inverter bridge usually refers to the circuit that converts DC power into AC power. The PWM wave output by the microcontroller drives the switching tube of the inverter to switch quickly according to the control signal, thereby converting the DC signal into an AC signal to drive the motor.
[0039] All structures in this application can be selected in terms of material and length according to actual usage. The accompanying drawings are all schematic structural diagrams, and the specific actual dimensions can be appropriately adjusted.
[0040] The above is only a preferred specific implementation of this embodiment, but the protection scope of this embodiment is not limited to this. Any technician familiar with the technical field can make equivalent replacements or changes based on the technical solution and utility model concept of this embodiment within the technical scope disclosed in this embodiment, which should be covered by the protection scope of this embodiment.
Claims
1. A test device for automatically detecting the current and speed of a brushless DC motor, comprising a motor drive module, an LCD touch screen module, an RS485 adapter, a key input module and a current and voltage acquisition module, characterized in that: The motor drive module is connected to a single-chip control board and a voltage and current acquisition module, and the voltage and current acquisition module is connected to the single-chip control board.
2. A test device for automatically detecting the qualified current and speed of a brushless DC motor according to claim 1, characterized in that: The single-chip microcomputer control board is connected with a key input module, and the single-chip microcomputer control board is bidirectionally connected with the RS485 adapter.
3. A test device for automatically detecting the qualified current and speed of a brushless DC motor according to claim 1, characterized in that: The RS485 adapter is bidirectionally connected to the LCD touch screen module.
4. A test device for automatically detecting the qualified current and speed of a brushless DC motor according to claim 1, characterized in that: The single chip control board is connected with a display module and an alarm module.
5. A test device for automatically detecting the qualified current and speed of a brushless DC motor according to claim 4, characterized in that: The display module is bidirectionally connected to the alarm module.
