Motor hall switching circuit and device

CN224610666UActive Publication Date: 2026-08-07WUXI JINGHUI ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
WUXI JINGHUI ELECTRONICS
Filing Date
2025-09-15
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

这导致调试人员的工作任务繁重,劳动强度大,且容易出现连接错误,影响电机的正常运行;同时,现有技术缺乏一种便捷、通用的转接线装置,无法快速、准确地实现不同电机霍尔信号标准之间的转换

Benefits of technology

[0033] By setting up a button matrix module and a reverse module between the first output interface, the second output interface and the first input interface, the manual rewiring is no longer required. Different motor Hall effect sensors can be switched at will by button operation, which effectively improves the ease of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224610666U_ABST
    Figure CN224610666U_ABST
Patent Text Reader

Abstract

The utility model relates to electric motor car controller technical field especially relates to a kind of motor hall switching circuit and device.Electric motor hall switching circuit: first output interface, second output interface are used to output the motor hall signal of first target type, second target type;The power end, ground end, motor temperature control end between first output interface, second output interface, first input interface, second input interface are mutually electrically connected;Three hall signal ends connected between first output interface and second output interface are connected to three hall input phase lines connected between first input interface and second input interface by key matrix module and reverse module;First input interface, second input interface are used to input the motor hall signal of first type, second type, so that manual rewiring is no longer needed when hall switches, and different motor hall random switching can be realized only by key operation mode, effectively improving the operation convenience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of electric vehicle controller technology, and in particular to a motor Hall switching circuit and device. Background Technology

[0002] In the electric bicycle industry, the Hall signals used by motors and controllers of different brands and models vary, mainly in the phase sequence of the Hall signals and the differences in Hall signal characteristics between 60-degree and 120-degree motors. Currently, the common standards for Hall signals of electric bicycle motors on the market are general standards and manufacturer-specific standards.

[0003] Existing technologies typically employ complex methods to address compatibility issues between Hall effect signals from motors of different standards. When adjusting the Hall effect sequence, technicians often need to manually connect different lines to try various phase sequence combinations to determine the appropriate Hall effect phase sequence. This method is not only cumbersome and inefficient but also demands a high level of expertise and experience from the technicians. For example, determining the phase sequence for a 60-degree motor and a 120-degree motor requires a deep understanding of the motor's internal structure and the principles of Hall effect signals to connect the wiring correctly. This results in a heavy workload and high labor intensity for technicians, and is prone to connection errors that can affect the normal operation of the motor. Furthermore, existing technologies lack a convenient and universal adapter cable, making it impossible to quickly and accurately convert between different motor Hall effect signal standards. When the motor or controller of an electric bicycle needs to be replaced with a product of a different standard, it often requires rewiring or replacing the entire control circuit, increasing maintenance and replacement costs and causing inconvenience to users.

[0004] Therefore, there is a need for a technical solution that does not rely on manual wiring and allows for arbitrary switching of Hall effect sensors for different motors. Utility Model Content

[0005] To solve the above-mentioned technical problems, this utility model provides a motor Hall switching circuit and device.

[0006] This utility model provides a motor Hall switching circuit suitable for electric bicycles, including a first output interface, a second output interface, a first input interface, a second input interface, a button matrix module, and an inverting module;

[0007] The first output interface is used to output a motor Hall signal of the first target type. Its power supply terminal, ground terminal, and motor temperature control terminal are electrically connected to the second output interface, the first input interface, the power supply terminal, ground terminal, and motor temperature control terminal of the second input interface, respectively. Its first Hall signal terminal is electrically connected to the first Hall signal terminal of the second output interface as a first common Hall terminal and connected to the first output terminal of the button matrix module. Its second Hall signal terminal is electrically connected to the second Hall signal terminal of the second output interface as a second common Hall terminal and connected to the second output terminal of the button matrix module. Its third Hall signal terminal is electrically connected to the third Hall signal terminal of the second output interface as a third common Hall terminal and connected to the third output terminal of the button matrix module.

[0008] The second output interface is used to output a motor Hall signal of the second target type;

[0009] The first input interface is used to input a first type of motor Hall signal. Its first Hall input phase line is electrically connected to the first Hall input phase line of the second input interface as a first common Hall input phase line and connected to the first input terminal of the button matrix module. Its second Hall input phase line is electrically connected to the second Hall input phase line of the second input interface as a second common Hall input phase line and connected to the input terminal of the reverse module. Its third Hall input phase line is electrically connected to the third Hall input phase line of the second input interface as a third common Hall input phase line and connected to the third input terminal of the button matrix module.

[0010] The second input interface is used to input a second type of motor Hall signal;

[0011] The button matrix module is used to connect the first common Hall terminal, the second common Hall terminal, and the third common Hall terminal to its first input terminal, second input terminal, and third input terminal in a target order through button operation, and its second input terminal is electrically connected to the output terminal of the inverting module.

[0012] In one possible implementation, the button matrix module includes a U1 self-locking switch, a U2 self-locking switch, a U3 self-locking switch, a V1 self-locking switch, a V2 self-locking switch, a V3 self-locking switch, a W1 self-locking switch, a W2 self-locking switch, and a W3 self-locking switch.

[0013] The normally open pins on the first side of each of the U1 self-locking switch, the U2 self-locking switch, and the U3 self-locking switch are connected to each other as the first output terminal of the button matrix module;

[0014] The normally open pins on the first side of each of the V1 self-locking switch, the V2 self-locking switch, and the V3 self-locking switch are interconnected as the second output terminal of the button matrix module;

[0015] The normally open pins on the first side of each of the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are connected to each other as the third output terminal of the button matrix module;

[0016] The first side common pins of the U1 self-locking switch, the V1 self-locking switch, and the W1 self-locking switch are connected to each other as the first input terminal of the key matrix module;

[0017] The first side common pins of the U2 self-locking switch, the V2 self-locking switch, and the W2 self-locking switch are connected to each other as the second input terminal of the button matrix module;

[0018] The first-side common pins of the U3 self-locking switch, the V3 self-locking switch, and the W3 self-locking switch are interconnected to serve as the third input terminal of the button matrix module.

[0019] In one possible implementation, an indicator module is also included to indicate the switching status of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch, respectively.

[0020] The power supply terminal of the indicator module is used to connect to the working voltage. Its first indicator input terminal, second indicator input terminal, third indicator input terminal, fourth indicator input terminal, fifth indicator input terminal, sixth indicator input terminal, seventh indicator input terminal, eighth indicator input terminal, and ninth indicator input terminal are respectively electrically connected to the second normally open pin of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch.

[0021] The second-side common pins of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are electrically grounded.

[0022] In one possible implementation, the indicator module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first LED, a second LED, a third LED, a fourth LED, a fifth LED, a sixth LED, a seventh LED, an eighth LED, and a ninth LED.

[0023] The first terminals of the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor, the eighth resistor, and the ninth resistor are interconnected and used to connect to the working voltage. The second terminals of each resistor are electrically connected to the positive terminals of the first LED, the second LED, the third LED, the fourth LED, the fifth LED, the sixth LED, the seventh LED, the eighth LED, and the ninth LED, respectively.

[0024] The negative terminals of the first LED, the second LED, the third LED, the fourth LED, the fifth LED, the sixth LED, the seventh LED, the eighth LED, and the ninth LED are respectively electrically connected to the normally open pins on the second side of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch.

[0025] In one possible implementation, the reverse module includes an angle switching button, a transistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a fourteenth resistor;

[0026] The normally open pin on the first side of the angle switching button and its normally closed pin on the second side are electrically connected as the output terminal of the inverting module. Its common pin on the first side is electrically connected to the first end of the tenth resistor. Its normally open pin on the second side is electrically connected to the first end of the twelfth resistor and the first end of the fourteenth resistor, respectively. Its common pin on the second side is the input terminal of the inverting module.

[0027] The collector of the transistor is electrically connected to the second terminal of the tenth resistor and the first terminal of the eleventh resistor, respectively; its base is electrically connected to the second terminal of the twelfth resistor and the first terminal of the thirteenth resistor; and its emitter is electrically connected to the second terminal of the thirteenth resistor and grounded.

[0028] The second end of the eleventh resistor and the second end of the fourteenth resistor are respectively used to connect to the working voltage.

[0029] This utility model also provides a motor Hall switching device, suitable for electric bicycles, including a printed circuit board and the motor Hall switching circuit as described above;

[0030] The motor Hall switching circuit is located on the printed circuit board.

[0031] In one possible implementation, the printed circuit board is further provided with a silkscreened instruction area for marking operation instructions.

[0032] The technical solution provided by this utility model has at least the following beneficial effects:

[0033] By setting up a button matrix module and a reverse module between the first output interface, the second output interface and the first input interface, the manual rewiring is no longer required. Different motor Hall effect sensors can be switched at will by button operation, which effectively improves the ease of operation. Attached Figure Description

[0034] Figure 1 A structural block diagram of a motor Hall switching circuit provided in an embodiment of this utility model;

[0035] Figure 2 A circuit diagram of a motor Hall effect switching circuit provided in this embodiment of the present invention;

[0036] Figure 3 A structural block diagram of a motor Hall effect switching device provided in an embodiment of this utility model.

[0037] In the attached diagram, 11 is the button matrix module; 12 is the reverse module; 13 is the indicator light module; 20 is the printed circuit board; and 21 is the silkscreen instruction area. Detailed Implementation

[0038] To enhance understanding of this utility model, it will be described in further detail below with reference to the accompanying drawings and embodiments. These embodiments are only used to explain this utility model and do not limit the scope of protection of this utility model.

[0039] Please refer to Figures 1 to 2 The present invention provides a motor Hall switching circuit suitable for electric bicycles, including a first output interface J1, a second output interface J2, a first input interface J3, a second input interface J4, a button matrix module 11, and an inverting module 12.

[0040] The first output interface J1 is used to output a motor Hall signal of the first target type. Its power supply terminal, ground terminal GND, and motor temperature control terminal TEMP are electrically connected to the power supply terminal, ground terminal GND, and motor temperature control terminal TEMP of the second output interface J2, the first input interface J3, and the second input interface J4, respectively. Its first Hall signal terminal is electrically connected to the first Hall signal terminal of the second output interface J2 as a first common Hall terminal HU and connected to the first output terminal of the button matrix module 11. Its second Hall signal terminal is electrically connected to the second Hall signal terminal of the second output interface J2 as a second common Hall terminal HV and connected to the second output terminal of the button matrix module 11. Its third Hall signal terminal is electrically connected to the third Hall signal terminal of the second output interface J2 as a third common Hall terminal HW and connected to the third output terminal of the button matrix module 11.

[0041] The second output interface J2 is used to output a motor Hall signal of the second target type;

[0042] The first input interface J3 is used to input a first type of motor Hall signal. Its first Hall input phase line is electrically connected to the first Hall input phase line of the second input interface J4 as a first common Hall input phase line A and connected to the first input terminal of the button matrix module 11. Its second Hall input phase line is electrically connected to the second Hall input phase line of the second input interface J4 as a second common Hall input phase line B and connected to the input terminal of the reverse module 12. Its third Hall input phase line is electrically connected to the third Hall input phase line of the second input interface J4 as a third common Hall input phase line C and connected to the third input terminal of the button matrix module 11.

[0043] The second input interface J4 is used to input a second type of motor Hall signal;

[0044] The button matrix module 11 is used to connect the first common Hall terminal HU, the second common Hall terminal HV, and the third common Hall terminal HW to its first input terminal, second input terminal, and third input terminal in a target order through button operation, and its second input terminal is electrically connected to the output terminal of the inverting module 12.

[0045] In this embodiment, the first output interface J1, the second output interface J2, the first input interface J3, and the second input interface J4 can use conventional Hall effect terminals. The motor Hall signal of the first target type can be a general standard motor Hall signal, and the motor Hall signal of the second target type can be a motor Hall signal of a specific manufacturer's standard. The motor Hall signal of the first type can be a general standard motor Hall signal, and the motor Hall signal of the second type can be a motor Hall signal of a specific manufacturer's standard. The first output interface J1 adopts a general standard output, the second output interface J2 adopts a specific manufacturer's standard, the first input interface J3 adopts a general standard input, and the second input interface J4 adopts a specific manufacturer's standard input. The first output interface J1 and the second output interface J2 are used to connect the motor, and the first input interface J3 and the second input interface J4 are used to connect the controller. The output signals of the first output interface J1 and the second output interface J2 include six signals: 5V power supply (corresponding to the power supply terminal), GND ground (corresponding to the ground terminal GND), motor temperature control (corresponding to the motor temperature control terminal TEMP), Hall U (corresponding to the first common Hall terminal HU), Hall V (corresponding to the second common Hall terminal HV), and Hall W (corresponding to the third common Hall terminal HW). The button matrix module 11 can be a 3×3 button matrix. Internally, the button matrix module 11 incorporates electronic switch circuitry. By pressing different button combinations, the connection of the signal lines can be changed, thereby altering the order of the input Hall signals UVW, enabling Hall signal output in six sequences: UVW, UWV, VUW, VWU, WUV, and WVU. The inverting module 12 can be constructed based on conventional transistors and electronic switches. When converting a 60-degree motor to a 120-degree motor (or vice versa), the electronic switch in the inverting module 12 reverses the B-channel Hall signal, achieving signal inversion and ensuring controller compatibility with both 60-degree and 120-degree motors. This application employs manual button operation, eliminating the need for complex automatic detection and feedback systems, resulting in lower costs and easier understanding and control for experienced manual operators. The motor Hall switching circuit in this application not only enables motor Hall signal switching but also serves as a debugging tool and adapter, meeting the needs of various scenarios.

[0046] In one possible implementation, the button matrix module 11 includes a U1 self-locking switch, a U2 self-locking switch, a U3 self-locking switch, a V1 self-locking switch, a V2 self-locking switch, a V3 self-locking switch, a W1 self-locking switch, a W2 self-locking switch, and a W3 self-locking switch.

[0047] The normally open pins on the first side of each of the U1 self-locking switch, the U2 self-locking switch, and the U3 self-locking switch are connected to each other as the first output terminal of the button matrix module 11;

[0048] The normally open pins on the first side of each of the V1 self-locking switch, the V2 self-locking switch, and the V3 self-locking switch are connected to each other as the second output terminal of the button matrix module 11;

[0049] The normally open pins on the first side of each of the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are connected to each other as the third output terminal of the button matrix module 11;

[0050] The first side common pins of the U1 self-locking switch, the V1 self-locking switch, and the W1 self-locking switch are connected to each other as the first input terminal of the key matrix module 11;

[0051] The first side common pins of the U2 self-locking switch, the V2 self-locking switch, and the W2 self-locking switch are connected to each other as the second input terminal of the key matrix module 11;

[0052] The first-side common pins of the U3 self-locking switch, the V3 self-locking switch, and the W3 self-locking switch are interconnected to serve as the third input terminal of the button matrix module 11.

[0053] In this embodiment, the U1, U2, U3, V1, V2, V3, W1, W2, and W3 self-locking switches can all be conventional self-locking switches. In specific implementation, the first common Hall input phase line A is designated as terminal A, the second common Hall input phase line B as terminal B, the third common Hall input phase line C as terminal C, the first common Hall terminal HU as terminal HU, the second common Hall terminal HV as terminal HV, and the third common Hall terminal HW as terminal HW. When the U1 self-locking switch is pressed, terminal HU is connected to terminal A. When the U2 self-locking switch is pressed, terminal HU is connected to terminal B. When the U3 self-locking switch is pressed, terminal HU is connected to terminal C. When the V1 self-locking switch is pressed, terminal HV is connected to terminal A. When the V2 self-locking switch is pressed, terminal HV is connected to terminal B. When the V3 self-locking switch is pressed, terminal HV is connected to terminal C. When the W1 self-locking switch is pressed, the HW terminal is connected to the A terminal. When the W2 self-locking switch is pressed, the HW terminal is connected to the B terminal. When the W3 self-locking switch is pressed, the HW terminal is connected to the C terminal. It should be noted that in actual operation, assuming that the U1, U2, and U3 self-locking switches are sequentially arranged to form the first column of buttons, the V1, V2, and V3 self-locking switches are sequentially arranged to form the second column of buttons, and the W1, W2, and W3 self-locking switches are sequentially arranged to form the third column of buttons, and simultaneously, the U1, V1, and W1 self-locking switches are arranged in the first row of buttons, the U2, V2, and W2 self-locking switches are arranged in the second row of buttons, and the U3, V3, and W3 self-locking switches are arranged in the third row of buttons, then only one self-locking switch in each row and column can be pressed to ensure a normal Hall effect signal output.

[0054] In one possible implementation, an indicator module 13 is also included, which is used to indicate the switching status of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch, respectively.

[0055] The power supply terminal of the indicator module 13 is used to connect to the working voltage. Its first indicator input terminal UA_L, second indicator input terminal UB_L, third indicator input terminal UC_L, fourth indicator input terminal VA_L, fifth indicator input terminal VB_L, sixth indicator input terminal VC_L, seventh indicator input terminal WA_L, eighth indicator input terminal WB_L, and ninth indicator input terminal WC_L are respectively electrically connected to the second normally open pin of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch.

[0056] The second-side common pins of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are electrically grounded.

[0057] In this embodiment, the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are all conventional double-pole self-locking switches.

[0058] In one possible implementation, the indicator module 13 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a first LED LED1, a second LED LED2, a third LED LED3, a fourth LED LED4, a fifth LED LED5, a sixth LED LED6, a seventh LED LED7, an eighth LED LED8, and a ninth LED LED9.

[0059] The first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7, the eighth resistor R8, and the ninth resistor R9 are all interconnected at their first terminals and used to apply the working voltage. Their second terminals are respectively electrically connected to the positive terminals of the first LED LED1, the second LED LED2, the third LED LED3, the fourth LED LED4, the fifth LED LED5, the sixth LED LED6, the seventh LED LED7, the eighth LED LED8, and the ninth LED LED9.

[0060] The negative terminals of the first LED LED1, the second LED LED2, the third LED LED3, the fourth LED LED4, the fifth LED LED5, the sixth LED LED6, the seventh LED LED7, the eighth LED LED8, and the ninth LED LED9 are respectively electrically connected to the normally open pins on the second side of the self-locking switches U1, U2, U3, V1, V2, V3, W1, W2, and W3.

[0061] In this embodiment, the operating voltage can be 5V. In specific implementation, the indicator lights (LED1, LED2, LED3, LED4, LED5, LED6, LED7, LED8, and LED9) can be located next to the corresponding buttons (U1, U2, U3, V1, V2, V3, W1, W2, and W3 self-locking switches). When a button is pressed, the corresponding indicator light illuminates, allowing debugging personnel to quickly determine the current phase sequence setting and greatly improving debugging efficiency.

[0062] In one possible implementation, the reverse module 12 includes an angle switching button S1, a transistor Q1, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, and a fourteenth resistor R14.

[0063] The normally open pin on the first side of the angle switching button S1 and its normally closed pin on the second side are electrically connected as the output terminal of the inverting module 12. Its common pin on the first side is electrically connected to the first end of the tenth resistor R10. Its normally open pin on the second side is electrically connected to the first end of the twelfth resistor R12 and the first end of the fourteenth resistor R14, respectively. Its common pin on the second side is the input terminal of the inverting module 12.

[0064] The collector of transistor Q1 is electrically connected to the second terminal of the tenth resistor R10 and the first terminal of the eleventh resistor R11, respectively. Its base is electrically connected to the second terminal of the twelfth resistor R12 and the first terminal of the thirteenth resistor R13. Its emitter is electrically connected to the second terminal of the thirteenth resistor R13 and grounded.

[0065] The second end of the eleventh resistor R11 and the second end of the fourteenth resistor R14 are respectively used to connect the working voltage.

[0066] In this embodiment, the angle switching button S1 can be a conventional double-locking switch. The transistor Q1 can be a conventional NPN transistor. The tenth resistor R10, eleventh resistor R11, twelfth resistor R12, thirteenth resistor R13, and fourteenth resistor R14 are all conventional resistors. In specific implementations, such as... Figure 2 When the angle switching button S1 is not pressed, the B-IN terminal is connected to the B terminal, and there is no reverse operation. After the angle switching button S1 is pressed, when the B terminal outputs a high level, the signal is transmitted to the BT terminal, the base voltage of transistor Q1 increases, transistor Q1 conducts, its collector voltage decreases, the BF terminal is at a low level, and the low-level signal is transmitted to the B-IN terminal; when the B terminal outputs a low level, the signal is transmitted to the BT terminal, transistor Q1 is cut off, the BF terminal is at a high level, and the high-level signal is transmitted to the B-IN terminal.

[0067] like Figure 3 This utility model also provides a motor Hall switching device, which is suitable for electric bicycles, including a printed circuit board 20 and a motor Hall switching circuit as described above;

[0068] The motor Hall switching circuit is arranged on the printed circuit board 20.

[0069] In one possible implementation, the printed circuit board 20 is further provided with a silkscreen instruction area 21 for marking operation instructions.

[0070] In this embodiment, during the actual debugging process of determining the Hall sequence, the silkscreen instruction area 21 can be printed with silkscreen instructions to clearly mark the phase sequence changes corresponding to different button combinations and the Hall reverse operation method, so as to facilitate quick determination of the phase sequence.

[0071] The above embodiments should not limit the present invention in any way. All technical solutions obtained by equivalent substitution or equivalent conversion fall within the protection scope of the present invention.

Claims

1. A motor Hall effect switching circuit, suitable for electric bicycles, characterized in that, It includes a first output interface, a second output interface, a first input interface, a second input interface, a key matrix module, and a reverse module; The first output interface is used to output a motor Hall signal of the first target type. Its power supply terminal, ground terminal, and motor temperature control terminal are electrically connected to the second output interface, the first input interface, the power supply terminal, ground terminal, and motor temperature control terminal of the second input interface, respectively. Its first Hall signal terminal is electrically connected to the first Hall signal terminal of the second output interface as a first common Hall terminal and connected to the first output terminal of the button matrix module. Its second Hall signal terminal is electrically connected to the second Hall signal terminal of the second output interface as a second common Hall terminal and connected to the second output terminal of the button matrix module. Its third Hall signal terminal is electrically connected to the third Hall signal terminal of the second output interface as a third common Hall terminal and connected to the third output terminal of the button matrix module. The second output interface is used to output a motor Hall signal of the second target type; The first input interface is used to input a first type of motor Hall signal. Its first Hall input phase line is electrically connected to the first Hall input phase line of the second input interface as a first common Hall input phase line and connected to the first input terminal of the button matrix module. Its second Hall input phase line is electrically connected to the second Hall input phase line of the second input interface as a second common Hall input phase line and connected to the input terminal of the reverse module. Its third Hall input phase line is electrically connected to the third Hall input phase line of the second input interface as a third common Hall input phase line and connected to the third input terminal of the button matrix module. The second input interface is used to input a second type of motor Hall signal; The button matrix module is used to connect the first common Hall terminal, the second common Hall terminal, and the third common Hall terminal to its first input terminal, second input terminal, and third input terminal in a target order through button operation, and its second input terminal is electrically connected to the output terminal of the inverting module.

2. The motor Hall switching circuit according to claim 1, characterized in that, The button matrix module includes a U1 self-locking switch, a U2 self-locking switch, a U3 self-locking switch, a V1 self-locking switch, a V2 self-locking switch, a V3 self-locking switch, a W1 self-locking switch, a W2 self-locking switch, and a W3 self-locking switch; The normally open pins on the first side of each of the U1 self-locking switch, the U2 self-locking switch, and the U3 self-locking switch are connected to each other as the first output terminal of the button matrix module; The normally open pins on the first side of each of the V1 self-locking switch, the V2 self-locking switch, and the V3 self-locking switch are interconnected as the second output terminal of the button matrix module; The normally open pins on the first side of each of the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are connected to each other as the third output terminal of the button matrix module; The first side common pins of the U1 self-locking switch, the V1 self-locking switch, and the W1 self-locking switch are connected to each other as the first input terminal of the key matrix module; The first side common pins of the U2 self-locking switch, the V2 self-locking switch, and the W2 self-locking switch are connected to each other as the second input terminal of the button matrix module; The first-side common pins of the U3 self-locking switch, the V3 self-locking switch, and the W3 self-locking switch are interconnected to serve as the third input terminal of the button matrix module.

3. The motor Hall switching circuit according to claim 2, characterized in that, It also includes an indicator light module, used to indicate the switching status of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch, respectively; The power supply terminal of the indicator module is used to connect to the working voltage. Its first indicator input terminal, second indicator input terminal, third indicator input terminal, fourth indicator input terminal, fifth indicator input terminal, sixth indicator input terminal, seventh indicator input terminal, eighth indicator input terminal, and ninth indicator input terminal are respectively electrically connected to the second normally open pin of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch. The second-side common pins of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch are electrically grounded.

4. The motor Hall switching circuit according to claim 3, characterized in that, The indicator module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first LED, a second LED, a third LED, a fourth LED, a fifth LED, a sixth LED, a seventh LED, an eighth LED, and a ninth LED. The first terminals of the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor, the eighth resistor, and the ninth resistor are interconnected and used to connect to the working voltage. The second terminals of each resistor are electrically connected to the positive terminals of the first LED, the second LED, the third LED, the fourth LED, the fifth LED, the sixth LED, the seventh LED, the eighth LED, and the ninth LED, respectively. The negative terminals of the first LED, the second LED, the third LED, the fourth LED, the fifth LED, the sixth LED, the seventh LED, the eighth LED, and the ninth LED are respectively electrically connected to the normally open pins on the second side of the U1 self-locking switch, the U2 self-locking switch, the U3 self-locking switch, the V1 self-locking switch, the V2 self-locking switch, the V3 self-locking switch, the W1 self-locking switch, the W2 self-locking switch, and the W3 self-locking switch.

5. The motor Hall switching circuit according to claim 1, characterized in that, The reverse module includes an angle switching button, a transistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a fourteenth resistor; The normally open pin on the first side of the angle switching button and its normally closed pin on the second side are electrically connected as the output terminal of the inverting module. Its common pin on the first side is electrically connected to the first end of the tenth resistor. Its normally open pin on the second side is electrically connected to the first end of the twelfth resistor and the first end of the fourteenth resistor, respectively. Its common pin on the second side is the input terminal of the inverting module. The collector of the transistor is electrically connected to the second terminal of the tenth resistor and the first terminal of the eleventh resistor, respectively; its base is electrically connected to the second terminal of the twelfth resistor and the first terminal of the thirteenth resistor; and its emitter is electrically connected to the second terminal of the thirteenth resistor and grounded. The second end of the eleventh resistor and the second end of the fourteenth resistor are respectively used to connect to the working voltage.

6. A motor Hall effect switching device, suitable for electric bicycles, characterized in that, Includes a printed circuit board and a motor Hall effect switching circuit as described in any one of claims 1 to 5; The motor Hall switching circuit is located on the printed circuit board.

7. The motor Hall switching device according to claim 6, characterized in that, The printed circuit board also has a silkscreened instruction area for marking operation instructions.