Handlebar control circuit of high-speed electric motorcycle
By adopting a magnetic bead isolated power supply design in the high-speed electric motorcycle handle control circuit, the electromagnetic interference and signal quality problems caused by the traditional power supply are solved, the system stability and troubleshooting convenience are improved, and the module is independently powered and powered by the module is ensured. Power protection improves the anti-interference ability and signal quality of the equipment.
Patent Information
- Application Number
- CN202411498048.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The power supply in the traditional motorcycle driver control circuit is not isolated, resulting in increased electromagnetic interference, reduced signal quality, difficult to detect faults, and decreased system stability, affecting driving safety and experience.
A high-speed electric motorcycle handheld control circuit is designed to isolate the power supply of different modules through magnetic beads, and provide independent 12V, 5V and 3.3V power supply. Each module is independently powered. The power protection control module has overvoltage protection and anti-reverse connection. Function, reduce electromagnetic interference between modules and simplify wiring.
It effectively reduces electromagnetic interference between modules, improves system stability and signal quality, simplifies troubleshooting, ensures that each module works under the optimal conditions, extends the equipment life, and improves the system's anti-interference ability.
Smart Images

Figure CN119024753A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of vehicle-mounted electronics, and in particular relates to a handlebar control circuit for a high-speed electric motorcycle. Background Art
[0002] With the continuous development of high-speed electric motorcycles, the handlebar control is the core device of high-speed electric motorcycles. It not only undertakes key tasks such as steering, acceleration, deceleration and various control functions, but also provides the driver with portability, comfort and the safety guarantee of the consistency of throttle acceleration and deceleration. Its importance is beyond words, so the control circuit that undertakes these tasks is also particularly important.
[0003] Currently, signal transmission on traditional motorcycles mostly uses hard-wired interfaces. The interference problem caused by the power supply between modules is serious, and may even affect the normal operation of the vehicle body, affecting driving safety and experience. In addition, the wiring harness is redundant, the cost is increased, and it cannot interact with the vehicle body control system in real time.
[0004] Disadvantages of traditional technology: Increased electromagnetic interference: A single power supply will increase electromagnetic interference between modules, especially for noise-sensitive modules such as Hall sensors and MCUs, and signal stability and accuracy may decrease.
[0005] Reduced signal quality: The power supply is not isolated, and the power supply noise directly affects each module, resulting in reduced signal quality, which may cause misjudgment and data errors.
[0006] Difficulty in troubleshooting: All modules share one power supply, which makes troubleshooting complicated and difficult to quickly locate the source of the problem, increasing the difficulty of maintenance.
[0007] Reduced system stability: The interference between modules increases, and the overall system stability decreases, which will affect the normal operation of the device and user experience. Summary of the invention
[0008] The purpose of the present invention is to provide a handlebar control circuit for a high-speed electric motorcycle, which solves the technical problems of reducing electrical interference and simplifying wiring by reasonably distributing and isolating power supply.
[0009] To achieve the above object, the present invention adopts the following technical solution: A handlebar control circuit for a high-speed electric motorcycle includes a 12V power supply interface, a 5V power supply interface, a power protection control module, an LED light control unit, a control module, a key input module, a dual Hall detection module and a communication module. The 12V power supply interface is connected to the input end of the power protection control module, and the power protection control module outputs ISO 5V power and 3.3V power. The LED light control unit, the key input module, the dual Hall detection module and the communication module are all connected to the control module; The 5V power supply interface connects to an external 5V power supply and outputs the VDD5V power supply. The VDD5V power supply outputs the VDD5V_1 power supply through a magnetic bead FB2. The VDD5V power supply and the VDD5V_1 power supply jointly power the dual Hall detection module. The power protection control module includes a 5V voltage stabilizing unit, a DCDC isolation unit, a 12V protection unit and a 3.3V voltage stabilizing unit. The 12V power supply interface is connected to an external 12V power supply and outputs a VDD12V power supply. The input end of the 12V protection unit is connected to a VDD12V power supply and the output end outputs a 12V power supply. The input end of the 5V voltage stabilizing unit is connected to a 12V power supply and the output end outputs a 5V power supply. The input end of the DCDC isolation unit is connected to a 5V power supply and the output end outputs an ISO 5V power supply. The input end of the 3.3V voltage stabilizing unit is connected to a 5V power supply and the output end outputs a 3.3V power supply. The LED light control unit, key input module and control module are all powered by a 3.3V power supply; The 3.3V power supply outputs the MCU_3V3 power supply through a magnetic bead FB7, and the MCU_3V3 power supply outputs the VDDA_3V3 power supply through a magnetic bead FB8. The 3.3V power supply also outputs the SF_3V3 power supply through a magnetic bead FB3. The ISO 5V power supply and MCU_3V3 power supply jointly power the communication unit, and the 3.3V power supply, MCU_3V3 power supply, VDDA_3V3 power supply and SF_3V3 power supply jointly power the control module; The output end of the communication module and the output end of the dual Hall detection module are also connected to an interface J8.
[0010] Preferably, the 12V protection unit includes a MOS tube Q2, a capacitor C310, a resistor R416, a diode D2, a resistor R401, a capacitor C291, a resistor R402, a MOS tube Q36, a capacitor C292, a resistor R417, a resistor R27, a resistor R418, a resistor R419, a transistor Q6, a capacitor C313 and a transistor Q5, the D pole of the MOS tube Q2 is connected to the VDD12V power supply, the G pole is connected to the ground wire through the resistor R417, and the S pole is connected to the S pole of the MOS tube Q36, the capacitor C310 is a filter capacitor of the D pole of the MOS tube Q2, the resistor R416 is connected between the G pole and the S pole of the MOS tube Q2, the cathode of the diode D2 is connected to the S pole of the MOS tube Q2, and the anode The ground line is connected through resistor R418, the base of transistor Q6 is connected to the positive electrode of diode D2 through resistor R27, the emitter is connected to the ground line, and the collector is connected to the S pole of MOS tube Q36 through resistor R401. Resistor R419 is connected between the base and emitter of transistor Q6, the base of transistor Q5 is connected to the collector of transistor Q6, the emitter is connected to the ground line, and the collector is connected to the G pole of MOS tube Q36. Capacitor C313 is a grounding capacitor of the base of transistor Q5, resistor R402 is connected between the S pole and the G pole of MOS tube Q36, capacitor C291 is connected in parallel with resistor R402, capacitor C292 is a filter capacitor of the D pole of MOS tube Q36, and the D pole of MOS tube Q36 outputs the 12V power supply.
[0011] The 5V voltage stabilizing unit is composed of a voltage stabilizer U30 and its peripheral circuits. The VIN terminal of the voltage stabilizer U30 is connected to the 12V power supply, and the PH terminal outputs a 5V power supply through an inductor L12. The DCDC isolation unit includes an isolator U26, a magnetic bead FB1, a capacitor C295, a capacitor C296, a capacitor C297, a resistor R423, a capacitor C322 and a capacitor C323, the VIN end of the isolator U26 is connected to the 5V power supply through the magnetic bead FB1, the capacitor C295 is a filter capacitor from the magnetic bead FB1 to the 5V power supply end, the capacitor C296 and the capacitor C297 are both filter capacitors at the VIN end of the isolator U26, the GND end of the isolator U26 is connected to the ground wire, the Ctrl end is connected to the 5V power supply through the resistor R423, the 0V9 end and the 0V8 end both output the ISOGND ground wire, the Vo end outputs the ISO 5V power supply, the 0V end outputs the ISO GND ground wire, and the capacitor C322 and the capacitor C323 are both filter capacitors at the Vo end of the isolator U26; The 3.3V voltage regulator unit is composed of a 3.3V voltage regulator U32 and its peripheral circuits. The VIN terminal of the 3.3V voltage regulator U32 is connected to the 5V power supply, and the VOUT terminal outputs a 3.3V power supply.
[0012] Preferably, the model of the voltage regulator U30 is TPS54331DR, the model of the isolator U26 is B0505ST16-W5 DC-DC module, the model of the diode D2 is S-LMSZ5246BT1G, and the model of the 3.3V voltage regulator U32 is AMS1117-3.3.
[0013] Preferably, the LED lamp control unit comprises a first LED driving unit, a second LED driving unit and a third LED driving unit, the first LED driving unit, the second LED driving unit and the third LED driving unit are all connected to the control module and are powered by the 3.3V power supply; The first LED driving unit includes a three-color LED lamp LED4, a capacitor C258, a resistor R370, a resistor R371, a resistor R372, a transistor Q21, a resistor R373, a transistor Q22, a resistor R374, a transistor Q23 and a resistor R375. Pin 2 of the three-color LED lamp LED4 is connected to the 3.3V power supply, and pin 2 of the three-color LED lamp LED4 is also connected to the ground wire through the capacitor C258. Pins 4, 3 and 1 of the three-color LED lamp LED4 are respectively connected to the 3.3V power supply. The collector of the transistor Q23, the collector of the transistor Q22 and the collector of the transistor Q21 are connected through resistors R370, R371 and R372 respectively, the base of the transistor Q23, the base of the transistor Q22 and the base of the transistor Q21 are connected to different IO ports of the control module through resistors R373, R374 and R375 respectively, and the emitter of the transistor Q23, the emitter of the transistor Q22 and the emitter of the transistor Q21 are all connected to the ground wire; The circuit principles of the second LED driving unit and the third LED driving unit are the same as the circuit principle of the first LED driving unit.
[0014] Preferably, the key input module includes a first key unit, a second key unit, a third key unit, a fourth key unit, a fifth key unit, a sixth key unit, a seventh key unit and an eighth key unit, and the first key unit, the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are all powered by a 3.3V power supply and are respectively connected to different IO ports of the control module; The first button unit includes a button K8, a resistor R376, a resistor R377 and a capacitor C261, wherein pin 1 of the button K8 is connected to the ground, pin 3 is connected to the 3.3V power supply through the resistor R376, pin 4 is connected to pin 3 of the button K8, and pin 2 is connected to the ground, pin 3 of the button K8 is also connected to an IO port of the control module through the resistor R377, and the capacitor C261 is an anti-shake capacitor on pin 3 of the button K8; The circuit principles of the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are the same as that of the first key unit.
[0015] Preferably, the control module includes a main controller U33 and its peripheral circuits and a memory U34 and its peripheral circuits, the model of the main controller U33 is AC7801X, the model of the memory U34 is W25Q16JVSNIQ, the main controller U33 is powered by a VDDA_3.3V power supply and an MCU_3V3 power supply, and the memory U34 is powered by a SF_3V3 power supply; The main controller U33 and the memory U34 communicate with each other via the SPI bus.
[0016] Preferably, the dual Hall detection module is composed of a dual Hall detection chip U31 and its peripheral circuits, the VDD1 terminal of the dual Hall detection chip U31 is powered by a VDD5V power supply, and the VDD2 terminal is powered by a VDD5V_1 power supply; The OUT1 and OUT2 terminals of the dual Hall detection chip U31 are respectively connected to two different IO ports of the control module; The OUT1 and OUT2 ends of the dual Hall detection chip U31 are also connected to pins 4 and 3 of the interface J8 respectively.
[0017] Preferably, the communication module includes a CAN bus transceiver U25 and its peripheral circuits, an interface J7, a resistor R350, a resistor R351, a capacitor C257 and a capacitor C1, the VCC2 terminal of the CAN bus transceiver U25 is powered by ISO 5V, the GND2 terminal is connected to the ISO GND ground wire, the VCC1 terminal is connected to the MCU_3V3 power supply, the TXD terminal and the RXD terminal are connected to a serial port of the control module, GND1 is connected to the ground wire, and the CANH terminal and the CANL terminal of the CAN bus transceiver U25 are respectively connected to pins 2 and 1 of the interface J8 through an inductor L11; Pins 2 and 3 of interface J7 are connected to a serial port of the control module, pin 1 is connected to the ground wire, and pin 4 is connected to the MCU_3V3 power supply. Resistors R350 and R351 are pull-up resistors on pins 2 and 3 of interface J7 respectively, and capacitors C257 and C1 are filter capacitors on pin 4 of interface J7.
[0018] The handlebar control circuit of a high-speed electric motorcycle described in the present invention solves the technical problems of reducing electrical interference and simplifying wiring by reasonably allocating and isolating the power supply. The present invention isolates the power supply of different modules through magnetic beads, effectively reduces the electromagnetic interference between modules, and improves the overall stability of the system. Each module is independently powered, which reduces the influence of power supply noise on the signal, especially in the power supply of sensitive Hall sensors and MCUs, ensuring higher signal quality. Through isolation and filtering, key components such as MCU and Hall sensors can work in a low-noise environment, reducing misjudgment and data errors. The independent power supply and isolation design of the modules makes troubleshooting easier and easier to locate problems. Multiple power supply interfaces provide stable voltages for different modules to ensure that each module can work under optimal conditions. The power protection control module has overvoltage protection and anti-reverse connection functions, which can protect subsequent circuits and extend the life of the equipment. Different power supplies are isolated by magnetic beads and isolation modules, which reduces electromagnetic interference between modules and improves the anti-interference ability of the system. Each functional module (such as LED control, key input, Hall detection and communication module) is independently powered, and the design is more flexible, convenient for maintenance and upgrading. The design of multiple filter capacitors and resistors effectively reduces power supply noise and improves signal quality and stability. The power supply isolation is achieved through magnetic beads in the circuit design, and the external wiring is simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a general schematic diagram block diagram of the present invention; Figure 2 is a circuit diagram of a power protection control module of the present invention; Figure 3 is a circuit diagram of an LED lamp control unit of the present invention; Figure 4 is a circuit diagram of a key input module of the present invention; Figure 5 is a circuit diagram of a control module of the present invention; Figure 6 is a circuit diagram of a dual Hall detection module of the present invention; Figure 7 is a circuit diagram of a communication module of the present invention. DETAILED DESCRIPTION
[0020] Depend on Figure 1-Figure 7 A handlebar control circuit of a high-speed electric motorcycle shown in the figure includes a 12V power supply interface, a 5V power supply interface, a power protection control module, an LED light control unit, a control module, a key input module, a dual Hall detection module and a communication module. The 12V power supply interface is connected to the input end of the power protection control module, and the power protection control module outputs ISO 5V power and 3.3V power. The LED light control unit, the key input module, the dual Hall detection module and the communication module are all connected to the control module; The 5V power supply interface connects to an external 5V power supply and outputs the VDD5V power supply. The VDD5V power supply outputs the VDD5V_1 power supply through a magnetic bead FB2. The VDD5V power supply and the VDD5V_1 power supply jointly power the dual Hall detection module. In this embodiment, the external 5V power supply (VDD5V) and the dual Hall detection module power supply (VDD5V_1) are isolated. The high-frequency noise interference is reduced through the filtering effect of the magnetic beads, and the high-frequency noise of the external power supply is prevented from interfering with the Hall sensor, ensuring that the Hall sensor outputs a stable signal.
[0021] The power protection control module includes a 5V voltage stabilizing unit, a DCDC isolation unit, a 12V protection unit and a 3.3V voltage stabilizing unit. The 12V power supply interface is connected to an external 12V power supply and outputs a VDD12V power supply. The input end of the 12V protection unit is connected to a VDD12V power supply and the output end outputs a 12V power supply. The input end of the 5V voltage stabilizing unit is connected to a 12V power supply and the output end outputs a 5V power supply. The input end of the DCDC isolation unit is connected to a 5V power supply and the output end outputs an ISO 5V power supply. The input end of the 3.3V voltage stabilizing unit is connected to a 5V power supply and the output end outputs a 3.3V power supply. The 12V protection unit includes a MOS tube Q2, a capacitor C310, a resistor R416, a diode D2, a resistor R401, a capacitor C291, a resistor R402, a MOS tube Q36, a capacitor C292, a resistor R417, a resistor R27, a resistor R418, a resistor R419, a transistor Q6, a capacitor C313 and a transistor Q5. The D pole of the MOS tube Q2 is connected to the VDD12V power supply, the G pole is connected to the ground wire through the resistor R417, and the S pole is connected to the S pole of the MOS tube Q36. The capacitor C310 is a filter capacitor of the D pole of the MOS tube Q2. The resistor R416 is connected between the G pole and the S pole of the MOS tube Q2. The cathode of the diode D2 is connected to the S pole of the MOS tube Q2, and the anode is connected to the ground wire through the resistor R417. The resistor R418 is connected to the ground wire, the base of the transistor Q6 is connected to the positive electrode of the diode D2 through the resistor R27, the emitter is connected to the ground wire, and the collector is connected to the S pole of the MOS tube Q36 through the resistor R401. The resistor R419 is connected between the base and the emitter of the transistor Q6, the base of the transistor Q5 is connected to the collector of the transistor Q6, the emitter is connected to the ground wire, and the collector is connected to the G pole of the MOS tube Q36. The capacitor C313 is a grounding capacitor of the base of the transistor Q5, the resistor R402 is connected between the S pole and the G pole of the MOS tube Q36, the capacitor C291 is connected in parallel with the resistor R402, the capacitor C292 is a filter capacitor of the D pole of the MOS tube Q36, and the D pole of the MOS tube Q36 outputs the 12V power supply.
[0022] When 12V is input normally, the current flows from the D pole to the S pole through the body diode of Q2. Since the voltage value of the D2 Zener diode is 16V, which is greater than 12V, it does not conduct, so Q6 does not conduct, Q5 conducts, and the G pole signal of Q36 is grounded, the S pole and the D pole are conducted, and +12V is output normally; when the power supply voltage is greater than 16V, the current flows from the D pole to the S pole through the body diode of Q2. Since the voltage value of the D2 Zener diode is 16V, the voltage is greater than 16V at this time, and the Zener tube starts to conduct, so Q6 conducts, Q5 does not conduct, and Q36 does not conduct, resulting in the inability to output +12V; when the positive and negative poles of the power supply are reversed, Q2 does not conduct because the G pole is at a high level, and the current cannot flow into the next stage to protect the next stage circuit.
[0023] The 5V voltage stabilizing unit is composed of a voltage stabilizer U30 and its peripheral circuits. The VIN terminal of the voltage stabilizer U30 is connected to the 12V power supply, and the PH terminal outputs a 5V power supply through an inductor L12. Capacitor C290, capacitor C282, resistor R396, resistor R397, capacitor C283, capacitor C284, inductor L12, capacitor C285, capacitor C286, resistor R398, resistor R399, capacitor C287, capacitor C288, resistor R400 and diode D22, capacitor C290, capacitor C282, resistor R396, resistor R397, capacitor C283, capacitor C284, inductor L12, capacitor C285, capacitor C286, resistor R398, resistor R399, capacitor C287, capacitor C288, resistor R400 and diode D22 constitute the peripheral circuit of regulator U30.
[0024] The DCDC isolation unit includes an isolator U26, a magnetic bead FB1, a capacitor C295, a capacitor C296, a capacitor C297, a resistor R423, a capacitor C322 and a capacitor C323, the VIN end of the isolator U26 is connected to the 5V power supply through the magnetic bead FB1, the capacitor C295 is a filter capacitor from the magnetic bead FB1 to the 5V power supply end, the capacitor C296 and the capacitor C297 are both filter capacitors at the VIN end of the isolator U26, the GND end of the isolator U26 is connected to the ground wire, the Ctrl end is connected to the 5V power supply through the resistor R423, the 0V9 end and the 0V8 end both output the ISOGND ground wire, the Vo end outputs the ISO 5V power supply, the 0V end outputs the ISO GND ground wire, and the capacitor C322 and the capacitor C323 are both filter capacitors at the Vo end of the isolator U26; When the 5V voltage enters pin 3 of U26, pin 1 is connected to pin R423 and the 5V voltage is used as a pull-up signal. At this time, the U26 chip starts, and after internal conversion, pins 13 and 14 output isolated ISO_5V signals, and pins 9, 15, and 16 output isolated ISO_GND signals.
[0025] The 3.3V voltage regulator unit is composed of a 3.3V voltage regulator U32 and its peripheral circuits. The VIN terminal of the 3.3V voltage regulator U32 is connected to the 5V power supply, and the VOUT terminal outputs a 3.3V power supply.
[0026] Capacitor C331, capacitor C312, capacitor C293 and capacitor C294 constitute the peripheral circuit of the 3.3V regulator U32.
[0027] When +12V is output, it is connected to the 2nd pin of U30 chip. EN detects the voltage divided by R396 and R397 and then starts the chip. The 5th pin is the inverting node voltage of the transconductance (gm) error amplifier, and the 8th pin PH is the output voltage of 5V. When the 5V voltage is output, it passes through U32 and then outputs 3.3V.
[0028] The model of the voltage regulator U30 is TPS54331DR, the model of the isolator U26 is B0505ST16-W5 DC-DC module, the model of the diode D2 is S-LMSZ5246BT1G, and the model of the 3.3V voltage regulator U32 is AMS1117-3.3.
[0029] In this embodiment, the power protection control module has three functions: first, to realize 16V~150V overvoltage protection and anti-reverse connection function; second, to provide isolation voltage and ground for isolating CAN; third, to provide +12V, 5V, and 3.3V voltage platforms required by the subsequent stage.
[0030] The LED light control unit, key input module and control module are all powered by a 3.3V power supply; The LED lamp control unit comprises a first LED driving unit, a second LED driving unit and a third LED driving unit, the first LED driving unit, the second LED driving unit and the third LED driving unit are all connected to the control module and are all powered by the 3.3V power supply; The first LED driving unit includes a three-color LED lamp LED4, a capacitor C258, a resistor R370, a resistor R371, a resistor R372, a transistor Q21, a resistor R373, a transistor Q22, a resistor R374, a transistor Q23 and a resistor R375. Pin 2 of the three-color LED lamp LED4 is connected to the 3.3V power supply, and pin 2 of the three-color LED lamp LED4 is also connected to the ground wire through the capacitor C258. Pins 4, 3 and 1 of the three-color LED lamp LED4 are respectively connected to the 3.3V power supply. The collector of the transistor Q23, the collector of the transistor Q22 and the collector of the transistor Q21 are connected through resistors R370, R371 and R372 respectively, the base of the transistor Q23, the base of the transistor Q22 and the base of the transistor Q21 are connected to different IO ports of the control module through resistors R373, R374 and R375 respectively, and the emitter of the transistor Q23, the emitter of the transistor Q22 and the emitter of the transistor Q21 are all connected to the ground wire; The second LED driving unit includes a three-color LED lamp LED3, a capacitor C259, a resistor R364, a resistor R365, a resistor R366, a transistor Q37, a resistor R367, a transistor Q38, a resistor R368, a transistor Q20 and a resistor R369.
[0031] The third LED driving unit includes a three-color LED lamp LED2, a capacitor C260, a resistor R358, a resistor R359, a resistor R360, a transistor Q15, a resistor R361, a transistor Q16, a resistor R362, a transistor Q17 and a resistor R363.
[0032] The circuit principles of the second LED driving unit and the third LED driving unit are the same as the circuit principle of the first LED driving unit.
[0033] The LED light control is a 120° quadrant display with three LED tricolor lights, and the color and flashing frequency can be freely configured according to the user's ideas.
[0034] The positive pole of the LED lamp is connected to a 3.3V voltage, and the negative poles 1, 3, and 4 pins correspond to red, green, and blue respectively. The three pins are connected to the corresponding current limiting resistors and the collectors of the transistors respectively. The emitter is grounded, and the base is connected to the U33 chip pin of the control module unit after passing through the current limiting resistor. When the pin outputs a high level, the LED lamp lights up.
[0035] The 3.3V power supply outputs the MCU_3V3 power supply through a magnetic bead FB7, and the MCU_3V3 power supply outputs the VDDA_3V3 power supply through a magnetic bead FB8. The 3.3V power supply also outputs the SF_3V3 power supply through a magnetic bead FB3. The ISO 5V power supply and MCU_3V3 power supply jointly power the communication unit, and the 3.3V power supply, MCU_3V3 power supply, VDDA_3V3 power supply and SF_3V3 power supply jointly power the control module; In this embodiment, the 3.3V power supply and MCU_3V3 power supply are isolated to improve the purity of the MCU power supply, reduce external interference, and prevent high-frequency noise in the 3.3V power supply from affecting the stable operation of the MCU. The 3.3V power supply and SF_3V3 power supply are isolated to provide a more stable voltage for the memory power supply, prevent the memory from being interfered by noise from other circuits during the reading and writing process, and improve the reliability of the memory.
[0036] The output end of the communication module and the output end of the dual Hall detection module are also connected to an interface J8.
[0037] The key input module includes a first key unit, a second key unit, a third key unit, a fourth key unit, a fifth key unit, a sixth key unit, a seventh key unit and an eighth key unit, the first key unit, the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are all powered by a 3.3V power supply and are respectively connected to different IO ports of the control module; The first button unit includes a button K8, a resistor R376, a resistor R377 and a capacitor C261, wherein pin 1 of the button K8 is connected to the ground, pin 3 is connected to the 3.3V power supply through the resistor R376, pin 4 is connected to pin 3 of the button K8, and pin 2 is connected to the ground, pin 3 of the button K8 is also connected to an IO port of the control module through the resistor R377, and the capacitor C261 is an anti-shake capacitor on pin 3 of the button K8; The circuit principles of the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are the same as that of the first key unit.
[0038] The key input module provides the corresponding signal after the user presses the button. In this embodiment, button pins 1 and 2 are grounded, pins 3 and 4 are connected to pull-up resistors and then to 3.3V. At the same time, they are connected to the U33 chip pins after being connected to the current limiting resistors. When the button is not pressed, the chip defaults to a high level. When the button is pressed, the chip considers it to be a low level. There are a total of eight groups of buttons.
[0039] The control module includes a main controller U33 and its peripheral circuits and a memory U34 and its peripheral circuits. The model of the main controller U33 is AC7801X, the model of the memory U34 is W25Q16JVSNIQ, the main controller U33 is powered by a VDDA_3.3V power supply and an MCU_3V3 power supply, and the memory U34 is powered by a SF_3V3 power supply; The main controller U33 and the memory U34 communicate with each other via the SPI bus.
[0040] The control module receives the button input module signal, the dual Hall detection module signal, and the communication module signal, and integrates them together to process and control the LED light control, and transmits the button and dual Hall signal to the high-speed electric motorcycle's central control via CAN communication to inform the current user of the button message and the throttle handle rotation angle.
[0041] In this embodiment, the power supply 3.3V outputs MCU_3V3 after passing through the FB7 magnetic bead, connected to the 5th and 31st pins of the U33 chip and connected to the C314, C315, and C316 capacitors for filtering. After passing through the FB3 magnetic bead, the output SF_3V3 is connected to the 8th pin of the U34 chip and connected to C255 for filtering. After passing through the FB8 magnetic bead, the MCU_3V3 outputs VDDA_3V3, connected to the 6th pin of the U33 chip and connected to the C320 and C321 capacitors for filtering; the 7th and 30th pins of the chip U33 are connected to the ground; the 10th, 11th, and 18th pins are grounded through a pull-down resistor; the 14th and 15th pins are connected to the chip U31 of the dual Hall detection unit to detect the current rotation angle of the throttle handle, and because there are two ADCs, they can be used together. The main and auxiliary are used to determine the current throttle state and improve accuracy; pins 16, 17, 25, 26, 29, 37, 38, and 45 are connected to the key input module. When the key is pressed, U33 can determine which button is pressed and determine the corresponding function; pins 8 and 9 are connected to the external crystal oscillator Y4 for the chip; pins 46 and 48 are respectively connected to MCU_3V3 and ground as the debugging port; pins 3 and 4 are connected to the U25 chip in the communication output module to convert it into CAN signal output; pins 13, 23, 24, 33, 35, 12, 2, 1, and 36 are connected to the LED light control unit to control the color and on and off of the LED light; pins 22, 21, 20, and 19 are connected to the U34 chip for SPI communication. The U34 chip is NOR FLASH, which can save the user's last operation and habits for more humanized settings; pins 44 and 43 are connected to the J7 connector of the communication module for testing and inspection.
[0042] In this embodiment, the MCU_3V3 power supply and the VDDA_3V3 power supply are further isolated to provide a purer power supply for the analog circuit of the MCU, thereby ensuring that the analog circuit part of the MCU is not interfered by the noise of the digital part, thereby improving the accuracy of the analog signal.
[0043] The dual Hall detection module is composed of a dual Hall detection chip U31 and its peripheral circuits. The VDD1 terminal of the dual Hall detection chip U31 is powered by a VDD5V power supply, and the VDD2 terminal is powered by a VDD5V_1 power supply. The OUT1 and OUT2 terminals of the dual Hall detection chip U31 are respectively connected to two different IO ports of the control module; The OUT1 and OUT2 ends of the dual Hall detection chip U31 are also connected to pins 4 and 3 of the interface J8 respectively.
[0044] The model of the dual Hall detection chip U31 is FI6900.
[0045] The dual Hall detection module detects the rotation angle of the throttle handle and converts it into two ADC signal outputs to maximize the accuracy of Hall acquisition. When the user rotates the throttle handle, the Hall sensor outputs an ADC voltage value. The ADC voltage corresponds to the rotation angle, and the error control range is 0.05%. The specific principle is as follows: The VDD5V power supply outputs the VDD5V_1 power supply after passing through the magnetic bead FB2, which is provided to the 3rd and 11th pins of U31 respectively. When the throttle handle is rotated, the internal chip and the magnet of the handlebar generate electromagnetic induction. After internal filtering, two ADC voltage values proportional to the rotation angle are obtained. The range is ADC1: 0.5V-1.5V, ADC2: 1-3.0 respectively. The output values from pins 15 and 6 are filtered by the U33 chip of the control module unit and transmitted to the central control device of the high-speed electric motorcycle through pins 4 and 3 of J8 of the communication module.
[0046] The communication module includes a CAN bus transceiver U25 and its peripheral circuits, an interface J7, a resistor R350, a resistor R351, a capacitor C257 and a capacitor C1. The VCC2 terminal of the CAN bus transceiver U25 is powered by ISO 5V, the GND2 terminal is connected to the ISOGND ground wire, the VCC1 terminal is connected to the MCU_3V3 power supply, the TXD terminal and the RXD terminal are connected to a serial port of the control module, and the GND1 is connected to the ground wire. The CANH terminal and the CANL terminal of the CAN bus transceiver U25 are respectively connected to the 2nd and 1st pins of the interface J8 through an inductor L11; Pins 2 and 3 of interface J7 are connected to a serial port of the control module, pin 1 is connected to the ground wire, and pin 4 is connected to the MCU_3V3 power supply. Resistors R350 and R351 are pull-up resistors on pins 2 and 3 of interface J7 respectively, and capacitors C257 and C1 are filter capacitors on pin 4 of interface J7.
[0047] The communication module uses an isolated CAN chip to output CAN signals, converts the serial port signals output by the U33 chip of the control module unit into CAN signals for the central control device of the high-speed electric motorcycle, and shields and isolates the signals to ensure signal stability.
[0048] In this embodiment, MCU_3V3 is connected to pin 1, isolated power supply ISO_5V is connected to pin 8, pin 4 is grounded, and pin 5 is connected to isolated ground ISO_GND. The serial port signal output by the U33 chip of the control module unit is connected to pins 2 and 3, and is converted into a CAN signal by the internal chip, and then passes through the common mode inductor L11 and ESD1 to suppress signal interference and surge static interference before outputting the CAN signal; Pin 4 of the J7 connector is connected to the MCU_3V3 power supply, pin 1 is grounded, and pins 3 and 4 are connected to pins 44 and 43 of the U33 chip of the control module unit for testing and inspection; the J8 connector is connected to the central control device of the high-speed electric motorcycle, and transmits the dual Hall hard-wire signals ADC1 and ADC2 to the central control device and CAN signals of the high-speed electric motorcycle.
[0049] The handlebar control circuit of a high-speed electric motorcycle described in the present invention solves the technical problems of reducing electrical interference and simplifying wiring by reasonably allocating and isolating the power supply. The present invention isolates the power supply of different modules through magnetic beads, effectively reduces the electromagnetic interference between modules, and improves the overall stability of the system. Each module is independently powered, which reduces the influence of power supply noise on the signal, especially in the power supply of sensitive Hall sensors and MCUs, ensuring higher signal quality. Through isolation and filtering, key components such as MCU and Hall sensors can work in a low-noise environment, reducing misjudgment and data errors. The independent power supply and isolation design of the modules makes troubleshooting easier and easier to locate problems. Multiple power supply interfaces provide stable voltages for different modules to ensure that each module can work under optimal conditions. The power protection control module has overvoltage protection and anti-reverse connection functions, which can protect subsequent circuits and extend the life of the equipment. Different power supplies are isolated by magnetic beads and isolation modules, which reduces electromagnetic interference between modules and improves the anti-interference ability of the system. Each functional module (such as LED control, key input, Hall detection and communication module) is independently powered, and the design is more flexible, convenient for maintenance and upgrading. The design of multiple filter capacitors and resistors effectively reduces power supply noise and improves signal quality and stability. The power supply isolation is achieved through magnetic beads in the circuit design, and the external wiring is simple.
Claims
1. A handlebar control circuit for a high-speed electric motorcycle. Features: It includes a 12V power supply interface, a 5V power supply interface, a power protection control module, an LED light control unit, a control module, a key input module, a dual Hall detection module and a communication module. The 12V power supply interface is connected to the input end of the power protection control module, and the power protection control module outputs ISO 5V power and 3.3V power. The LED light control unit, the key input module, the dual Hall detection module and the communication module are all connected to the control module; The 5V power supply interface connects to an external 5V power supply and outputs the VDD5V power supply. The VDD5V power supply outputs the VDD5V_1 power supply through a magnetic bead FB2. The VDD5V power supply and the VDD5V_1 power supply jointly power the dual Hall detection module. The power protection control module includes a 5V voltage stabilizing unit, a DCDC isolation unit, a 12V protection unit and a 3.3V voltage stabilizing unit. The 12V power supply interface is connected to an external 12V power supply and outputs a VDD12V power supply. The input end of the 12V protection unit is connected to a VDD12V power supply and the output end outputs a 12V power supply. The input end of the 5V voltage stabilizing unit is connected to a 12V power supply and the output end outputs a 5V power supply. The input end of the DCDC isolation unit is connected to a 5V power supply and the output end outputs an ISO 5V power supply. The input end of the 3.3V voltage stabilizing unit is connected to a 5V power supply and the output end outputs a 3.3V power supply. The LED light control unit, key input module and control module are all powered by a 3.3V power supply; The 3.3V power supply outputs the MCU_3V3 power supply through a magnetic bead FB7, and the MCU_3V3 power supply outputs the VDDA_3V3 power supply through a magnetic bead FB8. The 3.3V power supply also outputs the SF_3V3 power supply through a magnetic bead FB3. The ISO 5V power supply and MCU_3V3 power supply jointly power the communication unit, and the 3.3V power supply, MCU_3V3 power supply, VDDA_3V3 power supply and SF_3V3 power supply jointly power the control module; The output end of the communication module and the output end of the dual Hall detection module are also connected to an interface J8.
2. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The 12V protection unit includes a MOS tube Q2, a capacitor C310, a resistor R416, a diode D2, a resistor R401, a capacitor C291, a resistor R402, a MOS tube Q36, a capacitor C292, a resistor R417, a resistor R27, a resistor R418, a resistor R419, a transistor Q6, a capacitor C313 and a transistor Q5. The D pole of the MOS tube Q2 is connected to the VDD12V power supply, the G pole is connected to the ground wire through the resistor R417, and the S pole is connected to the S pole of the MOS tube Q36. The capacitor C310 is a filter capacitor of the D pole of the MOS tube Q2. The resistor R416 is connected between the G pole and the S pole of the MOS tube Q2. The cathode of the diode D2 is connected to the S pole of the MOS tube Q2, and the anode is connected to the ground wire through the resistor R417. The resistor R418 is connected to the ground wire, the base of the transistor Q6 is connected to the positive electrode of the diode D2 through the resistor R27, the emitter is connected to the ground wire, and the collector is connected to the S pole of the MOS tube Q36 through the resistor R401. The resistor R419 is connected between the base and the emitter of the transistor Q6, the base of the transistor Q5 is connected to the collector of the transistor Q6, the emitter is connected to the ground wire, and the collector is connected to the G pole of the MOS tube Q36. The capacitor C313 is a grounding capacitor of the base of the transistor Q5, the resistor R402 is connected between the S pole and the G pole of the MOS tube Q36, the capacitor C291 is connected in parallel with the resistor R402, the capacitor C292 is a filter capacitor of the D pole of the MOS tube Q36, and the D pole of the MOS tube Q36 outputs the 12V power supply; The 5V voltage stabilizing unit is composed of a voltage stabilizer U30 and its peripheral circuits. The VIN terminal of the voltage stabilizer U30 is connected to the 12V power supply, and the PH terminal outputs a 5V power supply through an inductor L12. The DCDC isolation unit includes an isolator U26, a magnetic bead FB1, a capacitor C295, a capacitor C296, a capacitor C297, a resistor R423, a capacitor C322 and a capacitor C323, the VIN end of the isolator U26 is connected to the 5V power supply through the magnetic bead FB1, the capacitor C295 is a filter capacitor from the magnetic bead FB1 to the 5V power supply end, the capacitor C296 and the capacitor C297 are both filter capacitors at the VIN end of the isolator U26, the GND end of the isolator U26 is connected to the ground wire, the Ctrl end is connected to the 5V power supply through the resistor R423, the 0V9 end and the 0V8 end both output the ISO GND ground wire, the Vo end outputs the ISO 5V power supply, the 0V end outputs the ISO GND ground wire, and the capacitor C322 and the capacitor C323 are both filter capacitors at the Vo end of the isolator U26; The 3.3V voltage regulator unit is composed of a 3.3V voltage regulator U32 and its peripheral circuits. The VIN terminal of the 3.3V voltage regulator U32 is connected to the 5V power supply, and the VOUT terminal outputs a 3.3V power supply.
3. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 2, Features: The model of the voltage regulator U30 is TPS54331DR, the model of the isolator U26 is B0505ST16-W5 DC-DC module, the model of the diode D2 is S-LMSZ5246BT1G, and the model of the 3.3V voltage regulator U32 is AMS1117-3.
3.
4. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The LED lamp control unit comprises a first LED driving unit, a second LED driving unit and a third LED driving unit, the first LED driving unit, the second LED driving unit and the third LED driving unit are all connected to the control module and are all powered by the 3.3V power supply; The first LED driving unit includes a three-color LED lamp LED4, a capacitor C258, a resistor R370, a resistor R371, a resistor R372, a transistor Q21, a resistor R373, a transistor Q22, a resistor R374, a transistor Q23 and a resistor R375. Pin 2 of the three-color LED lamp LED4 is connected to the 3.3V power supply, and pin 2 of the three-color LED lamp LED4 is also connected to the ground wire through the capacitor C258. Pins 4, 3 and 1 of the three-color LED lamp LED4 are respectively connected to the 3.3V power supply. The collector of the transistor Q23, the collector of the transistor Q22 and the collector of the transistor Q21 are connected through resistors R370, R371 and R372 respectively, the base of the transistor Q23, the base of the transistor Q22 and the base of the transistor Q21 are connected to different IO ports of the control module through resistors R373, R374 and R375 respectively, and the emitter of the transistor Q23, the emitter of the transistor Q22 and the emitter of the transistor Q21 are all connected to the ground wire; The circuit principles of the second LED driving unit and the third LED driving unit are the same as the circuit principle of the first LED driving unit.
5. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The key input module includes a first key unit, a second key unit, a third key unit, a fourth key unit, a fifth key unit, a sixth key unit, a seventh key unit and an eighth key unit, the first key unit, the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are all powered by a 3.3V power supply and are respectively connected to different IO ports of the control module; The first button unit includes a button K8, a resistor R376, a resistor R377 and a capacitor C261, wherein pin 1 of the button K8 is connected to the ground, pin 3 is connected to the 3.3V power supply through the resistor R376, pin 4 is connected to pin 3 of the button K8, and pin 2 is connected to the ground, pin 3 of the button K8 is also connected to an IO port of the control module through the resistor R377, and the capacitor C261 is an anti-shake capacitor on pin 3 of the button K8; The circuit principles of the second key unit, the third key unit, the fourth key unit, the fifth key unit, the sixth key unit, the seventh key unit and the eighth key unit are the same as that of the first key unit.
6. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The control module includes a main controller U33 and its peripheral circuits and a memory U34 and its peripheral circuits. The model of the main controller U33 is AC7801X, the model of the memory U34 is W25Q16JVSNIQ, the main controller U33 is powered by a VDDA_3.3V power supply and an MCU_3V3 power supply, and the memory U34 is powered by a SF_3V3 power supply; The main controller U33 and the memory U34 communicate with each other via the SPI bus.
7. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The dual Hall detection module is composed of a dual Hall detection chip U31 and its peripheral circuits. The VDD1 terminal of the dual Hall detection chip U31 is powered by a VDD5V power supply, and the VDD2 terminal is powered by a VDD5V_1 power supply. The OUT1 and OUT2 terminals of the dual Hall detection chip U31 are respectively connected to two different IO ports of the control module; The OUT1 and OUT2 ends of the dual Hall detection chip U31 are also connected to pins 4 and 3 of the interface J8 respectively.
8. A handlebar control circuit for a high-speed electric motorcycle as claimed in claim 1, Features: The communication module includes a CAN bus transceiver U25 and its peripheral circuits, an interface J7, a resistor R350, a resistor R351, a capacitor C257 and a capacitor C1, a VCC2 terminal of the CAN bus transceiver U25 is powered by ISO 5V, a GND2 terminal is connected to the ISO GND ground wire, a VCC1 terminal is connected to the MCU_3V3 power supply, a TXD terminal and a RXD terminal are connected to a serial port of the control module, and GND1 is connected to the ground wire. The CANH terminal and the CANL terminal of the CAN bus transceiver U25 are respectively connected to pins 2 and 1 of the interface J8 through an inductor L11; Pins 2 and 3 of interface J7 are connected to a serial port of the control module, pin 1 is connected to the ground wire, and pin 4 is connected to the MCU_3V3 power supply. Resistors R350 and R351 are pull-up resistors on pins 2 and 3 of interface J7 respectively, and capacitors C257 and C1 are filter capacitors on pin 4 of interface J7.
Citation Information
Patent Citations
Bus signal interference isolation method and system
CN117608269A
Adjustable high-power water-cooling controller
CN203480395U
PWM communication non -contact angle detection circuit
CN205618655U
Speed governing circuit of motor bassinet and motor bassinet of applied this speed governing circuit
CN207882773U
Subside sensor control circuit
CN208206102U
