Motor controller testing device
By designing a motor controller testing device, which includes a control module, a CAN communication module, a power assist sensor detection module, a gyroscope detection module, a wheel speed sensor detection module, and a power detection module, the problem that existing testing fixtures do not support the detection of gyroscopes, power assist sensors, and wheel speed sensors is solved. This enables comprehensive testing of the motor controller and improves the accuracy and efficiency of the test.
Patent Information
- Application Number
- CN202520496103.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2035-03-20
AI Technical Summary
The existing motor controller testing fixtures do not support the detection functions of gyroscopes, power assist sensors, and wheel speed sensors, which affects the testing results of motor controllers.
By designing a motor controller testing device, including a control module, a CAN communication module, a power assist sensor detection module, a gyroscope detection module, a wheel speed sensor detection module, and a power detection module, the device enables testing of the status of the gyroscope, power assist sensor, and wheel speed sensor, as well as the power supply performance of the motor controller, thereby improving the testing efficiency and effectiveness of the motor controller.
It enables comprehensive detection of the status of gyroscopes, power assist sensors, wheel speed sensors, and the power supply performance of motor controllers, improving the accuracy and efficiency of testing.
Smart Images

Figure CN223624548U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the technical field of testing devices, and in particular to a motor controller testing device. Background Technology
[0002] Currently, some motor controllers use the CAN protocol as the communication interface and the assist sensor as the drive signal. They also have built-in gyroscope and wheel speed sensor detection functions. Existing test fixtures require the throttle as the drive signal and cannot support the detection functions of the gyroscope, assist sensor, and wheel speed sensor, thus affecting the test results of the motor controller. This needs to be improved. Summary of the Invention
[0003] This invention addresses the shortcomings of existing motor controller testing fixtures, such as the lack of support for gyroscope, power assist sensor, and wheel speed sensor detection, which affects the testing results of motor controllers. It provides a new motor controller testing device.
[0004] To solve the above-mentioned technical problems, this utility model achieves this through the following technical solution:
[0005] A motor controller testing device includes a control module, a CAN communication module, a power assist sensor detection module, a gyroscope detection module, a wheel speed sensor detection module, and a power detection module. The power assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module are all electrically connected to the control module. The CAN communication module is electrically connected to the control module and the motor controller. The CAN communication module is used to establish communication between the motor controller and the control module. The power assist sensor detection module is used to send power assist sensor detection commands to the motor controller. The gyroscope detection module is used to send gyroscope detection commands to the motor controller. The wheel speed sensor detection module is used to send wheel speed sensor detection commands to the motor controller. The power detection module is used to send power detection commands to the motor controller.
[0006] The control module is used to analyze the state of the power assist sensor based on the power assist feedback signal output by the motor controller after receiving the power assist sensor detection command, analyze the state of the gyroscope based on the gyroscope feedback signal output by the motor controller after receiving the gyroscope detection command, analyze the state of the wheel speed sensor based on the wheel speed feedback signal output by the motor controller after receiving the wheel speed sensor detection command, and analyze the power supply state of the motor controller based on the voltage and current signals output by the motor controller after receiving the power detection command.
[0007] The CAN communication module enables communication between the motor controller testing device and the motor controller. Through the control module, power assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module, the status of the gyroscope, power assist sensor, wheel speed sensor, and the power supply performance of the motor controller can be tested, which improves the testing efficiency and effect of the motor controller and facilitates its use.
[0008] Preferably, in the motor controller testing device described above, the control module is a single-chip microcomputer or MCU.
[0009] Using a microcontroller or MCU has the advantages of mature technology, low cost, high flexibility, and ease of integration and use.
[0010] Preferably, in the motor controller testing device described above, the power detection module includes a voltage detection unit. The voltage detection unit is used to collect the voltages of the motor controller, the power assist sensor, the gyroscope, and the wheel speed sensor, and transmit the collected voltage signals to the control module. The control module analyzes the operating voltage performance of the motor controller based on the received voltage signals.
[0011] By collecting the voltage of key components such as the motor controller, power assist sensor, gyroscope, and wheel speed sensor through the voltage detection unit, the power supply status of the motor controller can be comprehensively monitored, allowing for more accurate analysis of fault locations and facilitating subsequent maintenance.
[0012] Preferably, in the motor controller testing device described above, the power detection module further includes a current detection unit. The current detection unit is used to collect the phase current of the motor and transmit the collected current signal to the control module. The control module analyzes the operating current performance of the motor controller based on the received current signal.
[0013] By collecting the phase current of the motor through the current detection unit, the status of the motor and motor controller can be monitored, the fault location can be analyzed more accurately, and subsequent maintenance can be facilitated.
[0014] Preferably, the motor controller testing device described above further includes a mode detection module electrically connected to the control module. The mode detection module includes a combined mode detection unit and a single mode detection unit. The combined mode detection unit is used to detect the integrated mode of the motor controller and the motor, and to send a first instruction to the assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module. The single mode detection unit is used to detect a single motor controller, and to send a second instruction to the assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module. The control module controls the mode detection module to send the first or second instruction to the assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module based on the received assist feedback signal, gyroscope feedback signal, wheel speed feedback signal, voltage signal, and current signal. The assist sensor detection module, gyroscope detection module, wheel speed sensor detection module, and power detection module output corresponding instructions to the motor controller for detection based on the received first or second instruction.
[0015] The above structure enables the motor controller testing device to be used not only for testing individual motor controllers, but also for testing motor controllers integrated with motors, thus improving the practicality of the testing device.
[0016] Preferably, the motor controller testing device described above further includes a communication detection module electrically connected to the control module. The communication detection module is used to analyze the CAN communication performance of the motor controller based on the communication feedback of the motor controller.
[0017] The communication detection module enables the testing of the CAN communication performance of the motor controller, further improving the practicality of the motor controller testing device. Attached Figure Description
[0018] Figure 1 This is a structural block diagram of the present invention;
[0019] Figure 2 The circuit schematic diagram of the assist sensor detection module provided by this utility model;
[0020] Figure 3 The circuit diagram of the gyroscope detection module provided by this utility model;
[0021] Figure 4 The circuit diagram of the wheel speed sensor detection module provided by this utility model;
[0022] Figure 5 This is a circuit diagram of the voltage detection unit of this utility model;
[0023] Figure 6 This is a circuit diagram of the current detection unit of this utility model;
[0024] Figure 7 The circuit diagram of the communication detection module provided by this utility model.
[0025] Explanation of reference numerals in the attached diagram: 1. Control module; 2. CAN communication module; 3. Assist sensor detection module; 4. Gyroscope detection module; 5. Wheel speed sensor detection module; 6. Power detection module; 61. Voltage detection unit; 62. Current detection unit; 7. Mode detection module; 71. Combined mode detection unit; 72. Individual mode detection unit; 8. Communication detection module. Detailed Implementation
[0026] The following is in conjunction with the appendix Figure 1-7 The present invention will be further described in detail with reference to specific embodiments, but these are not intended to limit the present invention:
[0027] Example 1
[0028] like Figures 1-7 As shown, a motor controller testing device includes a control module 1, a CAN communication module 2, a power assist sensor detection module 3, a gyroscope detection module 4, a wheel speed sensor detection module 5, and a power detection module 6. The power assist sensor detection module 3, gyroscope detection module 4, wheel speed sensor detection module 5, and power detection module 6 are all electrically connected to the control module 1. The CAN communication module 2 is electrically connected to the control module 1 and the motor controller. The CAN communication module 2 is used to establish communication between the motor controller and the control module 1. The power assist sensor detection module 3 is used to send power assist sensor detection commands to the motor controller. The gyroscope detection module 4 is used to send gyroscope detection commands to the motor controller. The wheel speed sensor detection module 5 is used to send wheel speed sensor detection commands to the motor controller. The power detection module 6 is used to send power detection commands to the motor controller.
[0029] The control module 1 is used to analyze the state of the power assist sensor based on the power assist feedback signal output by the motor controller after receiving the power assist sensor detection command, analyze the state of the gyroscope based on the gyroscope feedback signal output by the motor controller after receiving the gyroscope detection command, analyze the state of the wheel speed sensor based on the wheel speed feedback signal output by the motor controller after receiving the wheel speed sensor detection command, and analyze the power supply state of the motor controller based on the voltage and current signals output by the motor controller after receiving the power detection command.
[0030] Preferably, the control module 1 is a single-chip microcomputer or MCU.
[0031] Preferably, the power detection module 6 includes a voltage detection unit 61, which is used to collect the voltages of the motor controller, the power assist sensor, the gyroscope, and the wheel speed sensor, and transmit the collected voltage signals to the control module 1. The control module 1 analyzes the operating voltage performance of the motor controller based on the received voltage signals.
[0032] Preferably, the power detection module 6 further includes a current detection unit 62, which is used to collect the phase current of the motor and transmit the collected current signal to the control module 1. The control module 1 analyzes the operating current performance of the motor controller based on the received current signal.
[0033] Preferably, the system further includes a mode detection module 7 electrically connected to the control module 1. The mode detection module 7 includes a combined mode detection unit 71 and a single mode detection unit 72. The combined mode detection unit 71 is used to detect the integrated mode of the motor controller and the motor, and to send a first command to the assist sensor detection module 3, the gyroscope detection module 4, the wheel speed sensor detection module 5, and the power detection module 6. The single mode detection unit 72 is used to detect a single motor controller, and to send a second command to the assist sensor detection module 3, the gyroscope detection module 4, the wheel speed sensor detection module 5, and the power detection module 6. The control module 1 controls the mode detection module 7 to send the first command or the second command to the assist sensor detection module 3, the gyroscope detection module 4, the wheel speed sensor detection module 5, and the power detection module 6 based on the received assist feedback signal, gyroscope feedback signal, wheel speed feedback signal, voltage signal, and current signal. The assist sensor detection module 3, the gyroscope detection module 4, the wheel speed sensor detection module 5, and the power detection module 6 output corresponding commands to the motor controller for detection based on the received first command or second command.
[0034] Preferably, the system also includes a communication detection module 8 electrically connected to the control module 1, the communication detection module 8 being used to analyze the CAN communication performance of the motor controller based on the communication feedback of the motor controller.
[0035] Specifically, in this embodiment, the control module 1 uses a microcontroller, and the integration mode of the motor controller and the motor includes discrete integration mode, mechatronics integration mode, modular integration mode, chip-level integration mode, intelligent integration mode, and distributed integration mode. When testing the motor controller, the testing device can test the individual motor controller or the motor controller integrated with the motor.
[0036] When testing the motor controller, control module 1 first sends a first command to the assist sensor detection module 3, gyroscope detection module 4, wheel speed sensor detection module 5, and power detection module 6 via control mode detection module 7. After receiving the first command, assist sensor detection module 3, gyroscope detection module 4, wheel speed sensor detection module 5, and power detection module 6 send assist sensor detection command, gyroscope detection command, wheel speed sensor detection command, and power detection command to the motor controller. After receiving the corresponding detection command, the motor controller sends assist feedback signal, gyroscope feedback signal, wheel speed feedback signal, voltage signal, and current signal to control module 1. Control module 1 analyzes and judges the received feedback signals.
[0037] The control module 1 has preset performance information for the current motor controller. When the feedback signal received by the control module 1 does not match the preset performance information, the control mode detection module 7 of the control module 1 sends a second command to the assist sensor detection module 3, gyroscope detection module 4, wheel speed sensor detection module 5, and power detection module 6. After receiving the second command, the assist sensor detection module 3, gyroscope detection module 4, wheel speed sensor detection module 5, and power detection module 6 adjust and send the corresponding assist sensor detection command, gyroscope detection command, wheel speed sensor detection command, and power detection command to the motor controller for testing. This allows for testing of the performance of the gyroscope, assist sensor, wheel speed sensor, and the power supply performance of the motor controller. It is applicable not only to the testing of a single motor controller but also to the testing of motor controllers in integrated motor mode, improving the practicality of the testing device.
[0038] In summary, the above description is only a preferred embodiment of the present utility model. All equivalent changes and modifications made within the scope of the patent application of the present utility model shall be covered by the present utility model.
Claims
1. A motor controller testing device, characterized in that: The system includes a control module (1), a CAN communication module (2), a power assist sensor detection module (3), a gyroscope detection module (4), a wheel speed sensor detection module (5), and a power detection module (6). The power assist sensor detection module (3), gyroscope detection module (4), wheel speed sensor detection module (5), and power detection module (6) are all electrically connected to the control module (1). The CAN communication module (2) is electrically connected to the control module (1) and the motor controller. The CAN communication module (2) is used to establish communication between the motor controller and the control module (1). The power assist sensor detection module (3) is used to send power assist sensor detection commands to the motor controller. The gyroscope detection module (4) is used to send gyroscope detection commands to the motor controller. The wheel speed sensor detection module (5) is used to send wheel speed sensor detection commands to the motor controller. The power detection module (6) is used to send power detection commands to the motor controller. The control module (1) is used to analyze the state of the assist sensor based on the assist feedback signal output by the motor controller after receiving the assist sensor detection command, analyze the state of the gyroscope based on the gyroscope feedback signal output by the motor controller after receiving the gyroscope detection command, analyze the state of the wheel speed sensor based on the wheel speed feedback signal output by the motor controller after receiving the wheel speed sensor detection command, and analyze the power supply state of the motor controller based on the voltage and current signals output by the motor controller after receiving the power detection command.
2. The motor controller testing device according to claim 1, characterized in that: The control module (1) is a single-chip microcomputer or MCU.
3. The motor controller testing device according to claim 1, characterized in that: The power detection module (6) includes a voltage detection unit (61), which is used to collect the voltage of the motor controller, the power assist sensor, the gyroscope, and the wheel speed sensor and transmit the collected voltage signal to the control module (1). The control module (1) analyzes the working voltage performance of the motor controller based on the received voltage signal.
4. The motor controller testing device according to claim 1, characterized in that: The power detection module (6) also includes a current detection unit (62), which is used to collect the phase current of the motor and transmit the collected current signal to the control module (1). The control module (1) analyzes the operating current performance of the motor controller based on the received current signal.
5. The motor controller testing device according to claim 1, characterized in that: It also includes a mode detection module (7) electrically connected to the control module (1). The mode detection module (7) includes a combined mode detection unit (71) and a separate mode detection unit (72). The combined mode detection unit (71) is used to detect the integrated mode of the motor controller and the motor, and to send a first command to the power assist sensor detection module (3), the gyroscope detection module (4), the wheel speed sensor detection module (5), and the power detection module (6). The separate mode detection unit (72) is used to detect a single motor controller, and to send a first command to the power assist sensor detection module (3), the gyroscope detection module (4), the wheel speed sensor detection module (5), and the power detection module (6). 5) Send a second instruction to the power detection module (6). The control module (1) controls the mode detection module (7) to send a first instruction or a second instruction to the power sensor detection module (3), the gyroscope detection module (4), the wheel speed sensor detection module (5), and the power detection module (6) according to the received assist feedback signal, gyroscope feedback signal, wheel speed feedback signal, voltage signal, and current signal. The power sensor detection module (3), the gyroscope detection module (4), the wheel speed sensor detection module (5), and the power detection module (6) output corresponding instructions to the motor controller for detection according to the received first instruction or second instruction.
6. The motor controller testing device according to claim 1, characterized in that: It also includes a communication detection module (8) electrically connected to the control module (1), the communication detection module (8) being used to analyze the CAN communication performance of the motor controller based on the communication feedback of the motor controller.