WO2021082955A1 - Self-balancing vehicle control system and self-balancing vehicle - Google Patents

Self-balancing vehicle control system and self-balancing vehicle Download PDF

Info

Publication number
WO2021082955A1
WO2021082955A1 PCT/CN2020/121547 CN2020121547W WO2021082955A1 WO 2021082955 A1 WO2021082955 A1 WO 2021082955A1 CN 2020121547 W CN2020121547 W CN 2020121547W WO 2021082955 A1 WO2021082955 A1 WO 2021082955A1
Authority
WO
WIPO (PCT)
Prior art keywords
pin
module
resistor
unit
bluetooth
Prior art date
Application number
PCT/CN2020/121547
Other languages
French (fr)
Chinese (zh)
Inventor
臧传美
Original Assignee
浙江阿尔郎科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江阿尔郎科技有限公司 filed Critical 浙江阿尔郎科技有限公司
Publication of WO2021082955A1 publication Critical patent/WO2021082955A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0891Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for land vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw

Definitions

  • the invention relates to the field of control, in particular to a balance car control system and a balance car.
  • Balance cars also called somatosensory cars and thinking cars, include uni-wheel balance cars and two-wheel balance cars. Its operating principle is to use the attitude sensor (such as gyroscope, acceleration sensor, etc.) inside the car body to detect the change of the car body's attitude, and use the servo control system to accurately drive the motor to make corresponding adjustments to achieve the corresponding functions.
  • attitude sensor such as gyroscope, acceleration sensor, etc.
  • the unicycle balance car relies on the angular momentum after the rotation of the unicycle to resist the external torque, so as to realize steering or maintain self-balance.
  • the unicycle balance car uses a gyroscope to detect changes in the body's posture, so as to achieve acceleration, deceleration or braking. For example, when a person stands on a running unicycle, the body leans forward to make the manned platform of the unicycle lean forward.
  • the gyroscope detects the forward tilt of the manned platform and uses the servo control system to drive the motor to accelerate.
  • the horizontal forward force generated by the forward lean is balanced with the inertial force of the acceleration of the unicycle, so that the human body will not fall, thus realizing the acceleration of the unicycle.
  • the two-wheel balance car mostly uses the difference in the rotational speed of the hub motors built in the two wheels to control the steering.
  • the acceleration or braking principle of the two-wheel balance car is basically the same as that of the uni-wheel balance car, and the steering control of the two-wheel balance car is different from that of the uni-wheel balance car:
  • the two-wheeled balance car with joystick relies on hands or legs to control the deviation direction of the joystick.
  • the Hall steering sensor detects the deviation direction of the joystick and converts it into a control signal.
  • the main control chip controls the two wheels according to the control signal.
  • the rotation speed difference of the built-in hub motor realizes the steering.
  • a two-wheeled balance car with dual pedals and the pedals can rotate relative to the main shaft also known as an electric twist car, relies on a gyroscope set under each pedal to collect the posture of each pedal and generate a pair of control signals. After the chip determines the posture of each pedal based on the pair of control signals, it controls the speed difference of the built-in hub motors in the two wheels to achieve steering.
  • a battery and a motherboard equipped with various control devices are required.
  • additional configuration is required. board.
  • various additional functional circuits or protection circuits will be set on the balance car, such as: Bluetooth communication circuit, Bluetooth speaker, turn signal, RGB color light.
  • the original balance car motherboard was only equipped with the circuits needed to ensure the normal operation of the balance car. With the gradual addition of new functions, there is no reserved space on the motherboard to place these new functions.
  • the main control chip is due to processing speed or induction. The limitation of the number of pins is gradually not enough to support these functions. Therefore, more and more functions are configured on the secondary board. For example, the signals of classic Bluetooth and Bluetooth low energy are not compatible. In order to have Bluetooth communication and Bluetooth audio functions at the same time, the balance car control system needs to be equipped with Bluetooth low energy circuit for Bluetooth communication and classic Bluetooth for Bluetooth audio.
  • the embodiments of the present invention provide a balance car control system and a balance car having the balance car control system, so as to at least solve the problem of the high degree of discretization of the balance car control system in the related art.
  • a balance car control system including: a main board, and a Bluetooth module, an attitude sensor module, a first motor drive module, a second motor drive module, and a lower Voltage module, external interface module; among them,
  • the attitude sensor module is connected to the Bluetooth module, and the attitude sensor module is used to generate a detection signal according to the attitude of the balance car;
  • the Bluetooth module is used for receiving and sending communication signals, and receiving and processing audio signals
  • the Bluetooth module is used to control the first motor drive module and the second motor drive module according to the detection signal, and the Bluetooth module is also used to control external devices connected to the external interface module;
  • the first motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and steering of the first motor;
  • the second motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and direction of the second motor;
  • the input end of the step-down module is connected to the battery, and the output end is respectively connected to the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module,
  • the step-down module is used to convert the output voltage of the battery into the work required by the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module Voltage.
  • a balance car including the balance car control system as described in the first aspect.
  • the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, the step-down module, and the external interface module are all configured on the main board to control
  • the function is integrated in the Bluetooth module, which solves the problem of the high degree of discretization of the balance car control system in related technologies, improves the integration of the balance car control system, and improves the data stability of the Bluetooth communication.
  • Figure 1 is a structural block diagram of a balance car control system according to an embodiment of the present invention
  • Figure 2 is a preferred structural block diagram of a balance car control system according to an embodiment of the present invention.
  • FIG. 3 is a schematic circuit diagram of a Bluetooth module according to a preferred embodiment of the present invention.
  • FIG. 4 is a functional block diagram of a Bluetooth module according to a preferred embodiment of the present invention.
  • FIG. 5 is a schematic circuit diagram of a Bluetooth antenna according to a preferred embodiment of the present invention.
  • Fig. 6 is a schematic circuit diagram of a power amplifier module according to a preferred embodiment of the present invention.
  • Fig. 7 is a schematic circuit diagram of a posture sensor module according to a preferred embodiment of the present invention.
  • Fig. 8 is a schematic circuit diagram of a first PWM output unit according to a preferred embodiment of the present invention.
  • Fig. 9 is a circuit schematic diagram of a first three-phase full bridge circuit according to a preferred embodiment of the present invention.
  • Fig. 10 is a schematic circuit diagram of a first current detection unit according to a preferred embodiment of the present invention.
  • Fig. 11 is a schematic circuit diagram of a second current detection unit according to a preferred embodiment of the present invention.
  • Fig. 12 is a schematic circuit diagram of a third current detection unit according to a preferred embodiment of the present invention.
  • Fig. 13 is a circuit diagram of a first sampling resistor unit according to a preferred embodiment of the present invention.
  • Fig. 14 is a schematic circuit diagram of a second PWM output unit according to a preferred embodiment of the present invention.
  • Fig. 15 is a circuit schematic diagram of a second three-phase full-bridge unit according to a preferred embodiment of the present invention.
  • Fig. 16 is a circuit diagram of a fourth current detection unit according to a preferred embodiment of the present invention.
  • Fig. 17 is a circuit schematic diagram of a fifth current detection unit according to a preferred embodiment of the present invention.
  • Fig. 18 is a circuit schematic diagram of a sixth current detection unit according to a preferred embodiment of the present invention.
  • Fig. 19 is a circuit diagram of a second sampling resistor unit according to a preferred embodiment of the present invention.
  • Fig. 20 is a circuit diagram of a power supply unit according to a preferred embodiment of the present invention.
  • FIG. 21 is a schematic circuit diagram of a first step-down unit according to a preferred embodiment of the present invention.
  • Fig. 22 is a schematic circuit diagram of a second step-down unit according to a preferred embodiment of the present invention.
  • Figure 23 is a circuit schematic diagram of a third step-down unit according to a preferred embodiment of the present invention.
  • FIG. 24 is a circuit schematic diagram of a first photoelectric switch interface unit according to a preferred embodiment of the present invention.
  • FIG. 25 is a schematic circuit diagram of a second photoelectric switch interface unit according to a preferred embodiment of the present invention.
  • Fig. 26 is a schematic circuit diagram of a steering sensor interface unit according to a preferred embodiment of the present invention.
  • Fig. 27 is a circuit schematic diagram of a turn signal interface unit according to a preferred embodiment of the present invention.
  • Fig. 28 is a circuit schematic diagram of a fault light interface unit according to a preferred embodiment of the present invention.
  • Figure 29 is a schematic circuit diagram of a first slave communication interface unit according to a preferred embodiment of the present invention.
  • Figure 30 is a schematic circuit diagram of a second slave board communication interface unit according to a preferred embodiment of the present invention.
  • FIG. 31 is a schematic circuit diagram of a program burning device interface unit according to a preferred embodiment of the present invention.
  • Fig. 32 is a schematic circuit diagram of a rotational speed detection interface unit according to a preferred embodiment of the present invention.
  • Fig. 33 is a schematic circuit diagram of an RGB lamp interface unit according to a preferred embodiment of the present invention.
  • Fig. 34 is a schematic circuit diagram of a charging interface unit according to a preferred embodiment of the present invention.
  • Figure 35 is a schematic circuit diagram of a buzzer module according to a preferred embodiment of the present invention.
  • Fig. 36 is a schematic circuit diagram of a Bluetooth power-on indication module according to a preferred embodiment of the present invention.
  • Fig. 37 is a schematic diagram of a circuit layout according to a preferred embodiment of the present invention.
  • a balance car control system is provided.
  • Fig. 1 is a structural block diagram of a balance car control system according to an embodiment of the present invention, in which the thick solid line represents the power supply line, and the thin solid line represents the communication line.
  • the balance car control system includes: a main board 100, and a Bluetooth module 101, an attitude sensor module 103, a first motor drive module 104, a second motor drive module 105, and a step-down module 106 arranged on the main board 100 ,
  • the external interface module 107 among them,
  • the attitude sensor module 103 is connected to the Bluetooth module 101, and the attitude sensor module 103 is used to generate a detection signal according to the attitude of the balance car;
  • the Bluetooth module 101 is used for receiving and sending communication signals, as well as receiving and processing audio signals;
  • the Bluetooth module 101 is used to control the first motor drive module 104 and the second motor drive module 105 according to the detection signal, and the Bluetooth module is also used to control external devices connected to the external interface module 107;
  • the first motor drive module 104 is connected to the Bluetooth module 101, and is used to control the rotation speed and direction of the first motor;
  • the second motor drive module 105 is connected to the Bluetooth module 101, and is used to control the rotation speed and direction of the second motor;
  • the input end of the step-down module 106 is connected to the battery, and the output end of the step-down module 106 is connected to the Bluetooth module 101, the attitude sensor module 103, the first motor drive module 104, the second motor drive module 105, and the external interface module 107, respectively.
  • the voltage module 106 is used to convert the output voltage of the battery into the operating voltage required by the Bluetooth module 101, the attitude sensor module 103, the first motor drive module 104, the second motor drive module 105, and the external interface module 107.
  • the balance car control system uses the Bluetooth module 101 to replace the Bluetooth data synchronization circuit and the Bluetooth audio circuit, and integrates the Bluetooth module 101 on the main board 100 of the balance car control system, which not only improves The integration of the balance car control system, and the Bluetooth module 101 integrates control functions, no need to introduce additional control chips to process the Bluetooth protocol stack and control signals, thereby reducing power consumption, shortening the data transmission path, and improving data
  • the stability of the transmission is conducive to improving the stability of the balance car control system.
  • the selection of the Bluetooth chip in the Bluetooth module 101 preferably adopts a single-chip microcomputer with a main frequency higher than 70MHz and an integer computing capability (DMIPS) higher than 60.
  • the specific pin can be determined according to the pins required by the peripheral circuit. Bluetooth chip.
  • the single-chip microcomputer with more pins can meet the demand, and has a certain expansion capability.
  • the Bluetooth module 101 includes: a data transmission unit for receiving data such as external Bluetooth control signals, an audio transmission unit for receiving audio signals from an external Bluetooth device, and a data processing unit for calculating and processing various inputs Data and output control signals to other modules.
  • a data transmission unit for receiving data such as external Bluetooth control signals
  • an audio transmission unit for receiving audio signals from an external Bluetooth device
  • a data processing unit for calculating and processing various inputs Data and output control signals to other modules.
  • the above-mentioned units may be units divided by hardware or units divided by functions.
  • the power amplifier module is used to drive the speaker to produce sound after amplifying the audio signal.
  • the first motor drive module 104 and the second motor drive module 105 are substantially the same.
  • the first motor drive module 104 includes: a first PWM output unit and a first three-phase full-bridge drive unit; wherein, the first PWM output unit is respectively connected to the first three-phase full-bridge drive unit, the Bluetooth module 101, and the buck The output end of the module 106 is connected; the first three-phase full-bridge drive unit is respectively connected to the output end of the battery and the first motor.
  • the second motor drive module 105 includes: a second PWM output unit and a second three-phase full-bridge drive unit; wherein the second PWM output unit is respectively connected to the second three-phase full-bridge drive unit, the Bluetooth module 101, and the step-down module 106 The output end of the second three-phase full-bridge drive unit is connected to the output end of the battery and the second motor respectively.
  • the selection of the chips in the first PWM output unit and the second PWM output unit can use three high-voltage drive chips integrated with a half-bridge drive to realize the forward and reverse rotation of a three-phase DC motor, for example IR2104 series chips; it is preferable to use a high-voltage driver chip that integrates three half-bridge drivers to save space on the motherboard.
  • the FD6287 series chip integrates three independent half-bridge gate driver integrated circuit chips, which are designed for high-voltage , High-speed drive MOSFET and IGBT design, can work up to +250V voltage.
  • the FD6287 series chips have built-in VCC/VBS undervoltage (UVLO) protection function to prevent the power tube from working under too low voltage.
  • UVLO VCC/VBS undervoltage
  • FD6287 has built-in shoot-through prevention and dead time to prevent the driven high- and low-side MOSFETs or IGBTs from shoot-through, effectively protecting power devices.
  • FD6287 series chips also have built-in input signal filtering to prevent input noise interference.
  • the first motor drive module 104 further includes but is not limited to at least one of the following circuits: a first current detection unit, a second current detection unit, a third current detection unit, and a first sampling resistance unit;
  • the motor drive module 105 also includes but is not limited to at least one of the following circuits: a fourth current detection unit, a fifth current detection unit, a sixth current detection unit, and a second sampling resistance unit.
  • the first sampling resistance unit and the second sampling resistance unit preferably use 0 ohm resistors to electrically connect the power ground and the common terminal of the main board, thereby effectively limiting the loop current and suppressing noise.
  • the step-down module 106 includes: a power supply unit, a first step-down unit, a second step-down unit, and a third step-down unit; wherein the voltage input terminal of the power supply unit is connected to the battery, and the voltage output of the power supply unit Terminal is connected to the voltage input terminal of the first step-down unit, the voltage output terminal of the first step-down unit is connected to the voltage input terminal of the second step-down unit, and the voltage output terminal of the second step-down unit is connected to the voltage input terminal of the third step-down unit. Voltage input terminal connection.
  • a multi-level step-down module is used to achieve multiple voltage levels of output.
  • a digital step-down chip is used for step-down.
  • the digital step-down chip can reduce the space occupied by the components on the motherboard.
  • Optional step-down chips include but are not limited to: LM2596 series chips, SC9003 series chips, LY3671 series chips, SY8120 series chips, AMS1117 series chips, etc.
  • the external interface module 107 includes but is not limited to at least one of the following circuits: a first photoelectric switch interface unit, a second photoelectric switch interface unit, a steering sensor interface unit, a turn signal interface unit, a fault light interface unit, The first sub-board communication interface unit, the second sub-board communication interface unit, the program burning device interface unit, the speed detection interface unit, the RGB lamp interface unit, and the charging interface unit.
  • the photoelectric switch interface unit is used to connect the photoelectric switch circuit, and the photoelectric switch circuit can be set under the pedal of the balance car to detect whether the balance car is carrying people.
  • the steering sensor interface unit is used to connect to the steering sensor circuit, and the steering sensor circuit is preferably a Hall sensor, which is generally arranged on a two-wheeled balance vehicle with an operating rod to detect the deviation of the operating rod, so as to realize steering control.
  • the steering sensor circuit is preferably a Hall sensor, which is generally arranged on a two-wheeled balance vehicle with an operating rod to detect the deviation of the operating rod, so as to realize steering control.
  • the turn signal interface unit is used to connect the turn signal circuit, and the turn signal of the turn signal circuit is arranged on both sides of the balance car to realize the steering reminder.
  • the fault light interface unit is used to connect the fault light, and the fault light is used to indicate whether the balance car has a fault.
  • the sub-board communication interface unit is used to connect the sub-board communication circuit to support more function expansion on the sub-board, or to communicate with other sensors (such as gyroscopes) provided on the sub-board.
  • the program burning device interface unit is used to connect the program burning device, and the program burning device is used to burn the program to the Bluetooth chip.
  • the rotation speed detection interface unit is used to connect the rotation speed detection circuit, and the rotation speed detection circuit can be arranged inside the hub motor to detect the rotation speed and steering of the hub motor.
  • the RGB light interface unit is used to connect the RGB light circuit, and the RGB light circuit is used to realize the function of the color light of the balance car to increase the user experience.
  • the charging interface unit is used to connect the charging circuit, and the charging circuit is used to charge the battery of the balance car.
  • the number and types of the external interface modules 107 can be deleted or added according to the type of the balance car and the additional functions that need to be implemented. For example, in an electric torque car, the steering sensor interface unit is unnecessary, and the steering sensor interface unit can be deleted from the main board, thereby reducing the cost of the main board or reducing the space occupied by the main board.
  • the main board includes all the above-mentioned external interface modules, and some of the external interface modules can be left unused in some types of balance vehicles.
  • the advantage of this design is that different types of balance cars can share the same set of motherboards, thereby saving the design cost of the motherboard.
  • a variety of external interface modules are easy to realize the function expansion of various types of balance cars.
  • the motherboard 100 is also provided with at least one of the following circuits: a buzzer module, a Bluetooth power-on indication module; wherein the buzzer module is connected to the Bluetooth module 101; the Bluetooth power-on indication module and the Bluetooth module 101 connections.
  • the buzzer module can be used to send a buzzer to remind the user when the balance car fails or changes its state or when the battery is insufficient.
  • the Bluetooth power-on indication module is used to indicate the working status of the Bluetooth.
  • Fig. 2 is a preferred structural block diagram of a balance car control system according to an embodiment of the present invention.
  • the thick solid line represents the power supply line
  • the thin solid line represents the communication line.
  • an implementation scheme of a balance car control system is provided. It should be noted that this implementation scheme is used to describe the embodiments of the present invention, and the specific implementation of each part of the circuit is also exemplary.
  • Fig. 3 is a schematic circuit diagram of a Bluetooth module according to a preferred embodiment of the present invention.
  • the Bluetooth module 101 includes: a Bluetooth chip U6, a resistor R32, a resistor R33, a resistor R42, and a capacitor C26 , Capacitor C31, in which the Bluetooth chip U6 includes pins 1 to 64, of which, pin 1, pin 13, pin 32, pin 19, pin 48, pin 64, and the step-down module 106 The third voltage output terminal of the step-down module is connected; pin 12, pin 18, pin 31, pin 47, and pin 63 are connected to the common terminal GND; pin 7 is connected to the third voltage output of the step-down module There is a resistor R42 in series between the terminals, and a capacitor C26 in series with the common terminal GND; pin 41, pin 42, pin 43, pin 33, pin 34, pin 35, pin 36, pin 9 , Pin 24, pin 25, connected to the first motor drive module 104; pin 14, pin 22, pin 23, pin 26, pin
  • FIG. 4 is a block diagram of the functional units of the Bluetooth module.
  • the Bluetooth module includes a data transmission unit for receiving external Bluetooth control signals and other data, an audio transmission unit for receiving audio signals from external Bluetooth devices, and a data processing unit for calculating and processing various Kind of input data and output control signal to other modules.
  • the above-mentioned units may be units divided by hardware or units divided by functions.
  • the integration of the Bluetooth module can make the signal transmission stable and reduce interference.
  • FIG. 5 is a schematic circuit diagram of a Bluetooth antenna according to a preferred embodiment of the present invention.
  • the Bluetooth chip is connected to the Bluetooth antenna E through a series resistor R30 and a capacitor C22, and passes through the connection point of the capacitor C22 and the Bluetooth antenna E The capacitor C44 is grounded.
  • Fig. 6 is a schematic circuit diagram of a power amplifier module according to a preferred embodiment of the present invention.
  • the power amplifier module includes: power amplifier chip U4, resistor R5, resistor R6, resistor R7, resistor R8, capacitor R9, capacitor C10. Capacitor C11.
  • the power amplifier chip U4 includes pins 1 to 8. Among them, a resistor R7 is connected in series with the second voltage output terminal of the step-down module of the step-down module 106 and the power amplifier chip U4 is connected in series with the second voltage output terminal of the step-down module 106.
  • resistor R7 in series between the terminal GND, and a resistor R1 in series with the pin of the Bluetooth chip U6; pin 2, a capacitor C11 in series with the common terminal GND; pin 3, and the second voltage of the step-down module
  • resistor R5 in series between the output terminals; a resistor R8 and a capacitor C9 are connected in series between the pin 4 and the pin 7 of the Bluetooth chip U6, and the pin 4 is used to receive audio signals; the pin 5 is connected to the speaker interface P1 Pin 2 is connected; pin 6 is connected to the second voltage output terminal of the step-down module, and a capacitor C10 is connected in series with the common terminal GND; pin 7 is connected to the common terminal GND; pin 8 is connected to the speaker interface P1 The pin 1 is connected, and the pins 5 and 8 are used to drive the speaker to produce sound.
  • Fig. 7 is a schematic circuit diagram of a posture sensor module according to a preferred embodiment of the present invention.
  • the posture sensor module 103 includes: posture sensor chip U5, resistor R28, resistor R29, resistor R74, resistor R75, capacitor C18, Capacitor C19, Capacitor C20, Capacitor C21, where the attitude sensor chip U5 is preferably a gyroscope, including pins 1 to 13, where pin 1, and the third voltage output terminal of the step-down module of the step-down module 106 Connected, a capacitor C21 is connected in series with the common terminal GND; a resistor R74 is connected in series with the pin 61 of the Bluetooth chip U6, and a resistor R28 is connected in series with the third voltage output terminal of the step-down module; lead Pin 3, there is a resistor R75 in series with the pin 62 of the Bluetooth chip U6, and a resistor R29 in series with the third voltage output terminal of the step-down module; pins 2 and
  • FIG. 8 is a circuit principle diagram of the first PWM output unit according to a preferred embodiment of the present invention.
  • the first PWM output unit of the first motor drive module 104 includes: a first PWM output chip U8, a diode DL1, Diode DL2, diode DL3, capacitor CL6, capacitor CL8, capacitor CL14, capacitor CL15, resistor RL17, resistor RL23, resistor RL24, resistor RL25, resistor RL26, resistor RL28, wherein the first PWM output chip U8 includes pin 1 to lead Pin 20, of which, pin 1, and the pin 43 of the Bluetooth chip U6 is connected in series with a resistor RL17; pin 2, and the pin 42 of the Bluetooth chip U6 is connected in series with a resistor RL24; and the pin 3 is connected with the Bluetooth chip A resistor RL26 is connected in series between pin 41 of U6; a resistor RL23 is connected in series between pin 4 and pin 36 of Bluetooth chip U6; a resistor RL25
  • Fig. 9 is a circuit schematic diagram of a first three-phase full bridge circuit according to a preferred embodiment of the present invention.
  • the first three-phase full bridge circuit of the first motor drive module 104 includes: a power tube ML1, a power tube ML2, power tube ML3, power tube ML4, power tube ML5, power tube ML6, diode DL4, diode DL5, diode DL6, diode DL7, diode DL8, diode DL9, resistor RL8, resistor RL9, resistor RL10, resistor RL11, resistor RL12 , Resistor RL13, resistor RL14, resistor RL15, resistor RL16, resistor RL18, resistor RL19, resistor RL20, resistor RL21, resistor RL22, capacitor CL3, capacitor CL4, capacitor CL7, capacitor CL8, capacitor CL9, capacitor CL10, capacitor CL11, capacitor CL12, capacitor CL13, where the source of the power tube ML
  • a resistor RL16 is connected in series between the pin 11 of the first PWM output chip U8, and the diode DL7 is connected in anti-parallel to the resistor RL16.
  • the gate and drain of the power tube ML4 are also connected in series with a resistor RL20 and a capacitor CL11 respectively.
  • a resistor RL14 is also connected in series between the source and drain of the tube ML4; the source of the power tube ML2 is connected to the voltage output terminal of the power supply unit of the battery, and the drain of the power tube ML2 is connected to the second phase line X2 and X2 of the first motor.
  • the pin 15 of the first PWM output chip U8 is connected, a resistor RL19 is connected in series between the gate of the power tube ML2 and the pin 16 of the first PWM output chip U8, and the diode DL5 is connected in anti-parallel to the resistor RL19, and the power tube ML2
  • a resistor RL12 and a capacitor CL9 are also connected in series between the gate and drain of the ML5; the source of the power tube ML5 is connected to the second phase line X2, and the gate of the power tube ML5 is connected to the pin 10 of the first PWM output chip U8.
  • a resistor RL18 is connected in series with the diode DL8 in anti-parallel connection with the resistor RL18.
  • a resistor RL21 and a capacitor CL12 are connected in series between the gate and drain of the power tube ML5, and the source and drain of the power tube ML5 are also connected in series.
  • a resistor RL15 is connected in series; the source of the power tube ML3 is connected to the voltage output terminal of the power supply unit of the battery, and a capacitor CL4 is connected in series between the voltage output terminal of the power supply unit of the battery and the common terminal GND_L.
  • a resistor RL10 is connected in series between the gate of the power tube ML3 and pin 13 of the first PWM output chip U8, and the diode DL6 is connected in anti-parallel to the resistor RL10, the power tube
  • a resistor RL13 and a capacitor CL10 are also connected in series between the gate and drain of ML3; the source of the power tube ML6 is connected to the third phase line X3, and the gate of the power tube ML6 is connected to the pin 9 of the first PWM output chip U8.
  • a resistor RL19 is connected in series, and a diode DL9 is connected in reverse parallel to the resistor RL19.
  • a resistor RL22 and a capacitor CL13 are connected in series between the gate and drain of the power tube ML6, and between the source and drain of the power tube ML6.
  • a resistor RL37 is also connected in series.
  • the power tube can be a power switching device such as MOSFET and IGBT.
  • the first PWM output chip U8 is a high-voltage drive chip, which can independently drive three half-bridge MOSFETs.
  • VB and VS are the high-voltage side power supply
  • HO is the high-voltage side drive output
  • COM is the low-voltage side drive power supply
  • LO is the low-voltage side drive output
  • VCC is the digital circuit power supply.
  • the upper and lower bridge arms are turned on alternately. Taking the half bridge where ML1 and ML4 are located as an example, whenever the lower bridge arm is turned on, the potential of the VS pin when the upper bridge arm is turned off is that of the lower bridge arm power tube ML4.
  • the saturated conduction voltage drop is basically close to the ground potential.
  • VCC charges the bootstrap capacitor CL8 through the bootstrap diode DL3 to make it close to the VCC voltage.
  • the voltage at the VS terminal will increase. Since the voltage across the capacitor cannot change suddenly, the level of the VB terminal is close to the sum of the voltages at the VS and VCC terminals, while the voltage between VB and VS is still close VCC voltage.
  • the bootstrap capacitor CL8 acts as a floating voltage source to drive the low-side power tube ML4; the bootstrap diode DL3 will be replenished in the next cycle when the low-side power tube ML4 is turned on.
  • This kind of bootstrap power supply is realized by using the level of VS end to swing continuously between high and low levels. Since the bootstrap circuit does not require a floating power supply, it is the cheapest. The bootstrap circuit charges a capacitor, and the voltage on the capacitor fluctuates based on the source voltage of the high-side output transistor. Among them, the bootstrap diode DL3 is an important bootstrap device. It should be able to block the high voltage on the DC mains.
  • the current it bears is the product of the gate charge and the switching frequency.
  • the reverse leakage current should be small
  • the power supply for the high voltage part of the chip comes from the charge on the bootstrap capacitor CL8; in order to ensure that the high voltage part of the circuit has sufficient energy supply, the size of C2 should be selected appropriately.
  • each half-bridge driving circuit the resistor connected in series with the gate of the power tube is connected in reverse parallel with a diode for voltage stabilization, so as to protect the gate of the power tube from being broken down.
  • resistors and capacitors in series between the gate and drain of the power tube to reduce electromagnetic interference (EMI) and slow down the pulse edge speed.
  • EMI electromagnetic interference
  • a freewheeling resistor is connected between the source and drain of the power tube to avoid reverse current breakdown of the power tube after the motor stops.
  • FIG. 10 is a circuit schematic diagram of a first current detection unit according to a preferred embodiment of the present invention.
  • the first current detection unit of the first motor drive module 104 includes: a first differential operation chip, a diode DL10, and a diode DL11, resistor RL29, resistor RL30, resistor RL31, resistor RL32, resistor RL33, resistor RL34, resistor RL35, resistor RL36, among which, the first differential operation chip includes pins 1 to 8, among which, pin 1, and Bluetooth
  • the pin 25 of the chip U6 is connected; pin 2, a resistor RL29 is connected in series with pin 1, and a resistor RL31 is connected in series with the common terminal GND_L; pin 3, a resistor RL35 is connected in series with the first phase line X1 ,
  • FIG. 11 is a schematic circuit diagram of a second current detection unit according to a preferred embodiment of the present invention.
  • the second current detection unit of the first motor drive module 104 includes: a transistor QL1, a resistor RL1, a resistor RL2, and a resistor RL5.
  • Capacitor CL1 wherein a resistor RL1 is connected in series between the collector of the transistor QL1 and the third voltage output terminal of the buck module, and a resistor RL2 is connected in series between the collector of the transistor QL1 and the pin 33 of the Bluetooth chip U6.
  • the transistor The emitter of QL1 is connected to the common terminal GND, and a capacitor CL1 is connected in series between the emitter of the transistor QL1 and the pin 33 of the Bluetooth chip U6, and a resistor RL5 is connected in series between the base of the transistor QL1 and the common terminal GND_L.
  • the PB12 In the second current detection unit shown in Figure 11, if the voltage between the common terminal GND_L and the common terminal GND is zero, the PB12 outputs a high level to the Bluetooth chip; if the voltage of the common terminal GND_L rises, it reaches the transistor QL1 Turn on the voltage, the transistor is turned on, and the level of PB12 is set to low level at this time.
  • the second current detection unit can detect whether the output current is too large, and when the current exceeds a preset range, a signal is sent to the Bluetooth chip, and the hardware cuts off the motor drive signal output by the Bluetooth chip to protect the safety of the system.
  • FIG. 12 is a circuit principle diagram of a third current detection unit according to a preferred embodiment of the present invention.
  • the third current detection unit of the first motor drive module 104 includes: a first differential operator, a resistor RL3, and a resistor RL4, resistor RL6, resistor RL7, capacitor CL2, wherein a resistor RL4 is connected in series between the negative input terminal of the first differential operator and the common terminal GND, and the negative input terminal of the first differential operator is connected to the negative terminal of the first differential operator A resistor RL3 is connected in series between the input terminals, a resistor RL6 is connected in series between the positive input terminal of the first differential operator and the third voltage output terminal of the buck module, and between the positive input terminal of the first differential operator and the common terminal GND_L A resistor RL7 is connected in series, a capacitor CL2 is connected in series between the positive input terminal of the first differential arithmetic unit and the common terminal GND, the ground terminal of the first differential arithm
  • FIG. 13 is a circuit schematic diagram of a first sampling resistance unit according to a preferred embodiment of the present invention.
  • the first sampling resistance unit of the first motor drive module 104 includes a resistor RL27, which is connected to the common terminal GND_L and the common terminal GND_L. Between the terminals GND, the resistor RL27 is a 4 milliohm resistor.
  • the second motor drive module 105 and the first motor drive module 104 have the same circuit structure.
  • the second PWM output unit of the second motor drive module 105 includes: a second PWM output chip U9, diodes DR1, Diode DR2, diode DR3, capacitor CR6, capacitor CR8, capacitor CR14, capacitor CR15, resistor RR17, resistor RR23, resistor RR24, resistor RR25, resistor RR26, resistor RR27, wherein the second PWM output chip U9 includes pin 1 to lead Pin 20, among them, pin 1, connects the resistance RR17 in series with the pin 39 of the bluetooth chip U6; pin 2, connects the resistance RR24 in series with the pin 38 of the bluetooth chip U6; pin 3, connects with the bluetooth chip A resistor RR26 is connected in series between pin 37 of U6; a resistor RR23 is connected in series between pin 4 and pin 27 of Bluetooth chip U6; a resistor RR25 is connected in series between pin 5
  • FIG. 15 is a circuit schematic diagram of a second three-phase full-bridge unit according to a preferred embodiment of the present invention.
  • the second three-phase full-bridge unit of the second motor drive module 105 includes: a power tube MR1, a power tube MR2, power tube MR3, power tube MR4, power tube MR5, power tube MR6, diode DR4, diode DR5, diode DR6, diode DR7, diode DR8, diode DR9, resistor RR8, resistor RR9, resistor RR10, resistor RR11, resistor RR12 , Resistor RR13, resistor RR14, resistor RR15, resistor RR16, resistor RR18, resistor RR19, resistor RR20, resistor RR21, resistor RR22, capacitor CR3, capacitor CR5, capacitor CR7, capacitor CR8, capacitor CR9, capacitor CR10, capacitor CR11, capacitor CR12, capacitor CR13,
  • a resistor RR8 and a diode DR4 are connected in series between the gate of the power tube MR1 and the pin 19 of the second PWM output chip U9. It is connected in anti-parallel to the resistor RR8, and a resistor RR11 and a capacitor CR7 are connected in series between the gate and drain of the power tube MR1; the source of the power tube MR4 is connected to the first phase line X1, and the gate of the power tube MR4 is connected to the first phase line X1.
  • a resistor RR16 is connected in series between the pin 11 of the second PWM output chip U9, and the diode DR7 is connected in anti-parallel to the resistor RR16.
  • the gate and drain of the power tube MR4 are also connected in series with a resistor RR20 and a capacitor CR11, respectively.
  • a resistor RR14 is connected in series between the source and drain of the tube MR4; the source of the power tube MR2 is connected to the voltage output terminal of the battery's power supply unit, and the drain of the power tube MR2 is connected to the second phase line X2 of the second motor
  • the pin 15 of the second PWM output chip U9 is connected.
  • a resistor RR19 is connected in series between the gate of the power tube MR2 and the pin 16 of the second PWM output chip U9, and the diode DR5 is connected in anti-parallel to the resistor RR19, and the power tube MR2
  • a resistor RR12 and a capacitor CR9 are connected in series between the gate and drain respectively; the source of the power tube MR5 is connected to the second phase line X2, and the gate of the power tube MR5 is connected to the pin 10 of the second PWM output chip U9.
  • a resistor RR18 is connected in series with the diode DR8 in reverse parallel connection with the resistor RR18.
  • a resistor RR21 and a capacitor CR12 are connected in series between the gate and drain of the power tube MR5.
  • the source and drain of the power tube MR5 are also connected in series.
  • a resistor RR15 is connected in series; the source of the power tube MR3 is connected to the voltage output terminal of the battery power supply unit, and a capacitor CR4 is connected in series between the voltage output terminal of the battery power supply unit and the common terminal GND_R.
  • the third phase line of the second motor X3 is connected to pin 12 of the second PWM output chip U9.
  • a resistor RR10 is connected in series between the gate of the power tube MR3 and pin 13 of the second PWM output chip U9, and the diode DR6 is connected in anti-parallel to the resistor RR10.
  • a resistor RR13 and a capacitor CR10 are connected in series between the gate and drain of the tube MR3; the source of the power tube MR6 is connected to the third phase line X3, and the gate of the power tube MR6 is connected to the pin of the second PWM output chip U9
  • a resistor RR19 is connected in series between 9 and a diode DR9 is connected in anti-parallel to the resistor RR19.
  • a resistor RR22 and a capacitor CR13 are connected in series between the gate and drain of the power tube MR6.
  • the source and drain of the power tube MR6 are connected in series. There is also a resistor RR37 in series between.
  • FIG. 16 is a circuit schematic diagram of a fourth current detection unit according to a preferred embodiment of the present invention.
  • the fourth current detection unit of the second motor drive module 105 includes: a second differential operation chip, a diode DR10, and a diode DR11, resistor RR29, resistor RR30, resistor RR31, resistor RR32, resistor RR33, resistor RR34, resistor RR35, resistor RR36.
  • the second differential arithmetic chip includes pin 1 to pin 8.
  • pin 1 and Bluetooth The pin 14 of the chip U6 is connected; pin 2, a resistor RR29 is connected in series with pin 1, and a resistor RR31 is connected in series with the common terminal GND_R; pin 3, a resistor RR35 is connected in series with the first phase line X1 , There is a resistor RR33 in series with the third voltage output terminal of the step-down module, and a diode DR10 is connected in series between pin 3 and pin 2; pin 4 is connected to the common terminal GND; pin 5 is connected to the second phase There is a resistor RR36 in series between the line X2 and a resistor RR34 in series with the third voltage output terminal of the step-down module.
  • a diode DR11 is connected in series between the pin 5 and the pin 6; between the pin 6 and the common terminal GND_R A resistor RR32 is connected in series, and a resistor RR30 is connected in series with pin 7; pin 7 is connected to pin 11 of the Bluetooth chip U6; pin 8 is connected to the third voltage output terminal of the step-down module.
  • FIG. 17 is a circuit principle diagram of a fifth current detection unit according to a preferred embodiment of the present invention.
  • the fifth current detection unit of the second motor drive module 105 includes: a transistor QR1, a resistor RR1, a resistor RR2, and a resistor RR5. Capacitor CR1.
  • a resistor RR1 is connected in series between the collector of the transistor QR1 and the third voltage output terminal of the buck module
  • a resistor RR2 is connected in series between the collector of the transistor QR1 and the pin 22 of the Bluetooth chip U6.
  • the emitter of QR1 is connected to the common terminal GND, and a capacitor CR1 is connected in series between the emitter of the transistor QR1 and the pin 22 of the Bluetooth chip U6, and a resistor RR5 is connected in series between the base of the transistor QR1 and the common terminal GND_R.
  • FIG. 18 is a circuit principle diagram of a sixth current detection unit according to a preferred embodiment of the present invention.
  • the sixth current detection unit of the second motor drive module 105 includes: a second differential arithmetic unit, a resistor RR3, and a resistor RR4, resistor RR6, resistor RR7, capacitor CR2, wherein a resistor RR4 is connected in series between the negative input terminal of the second differential operator and the common terminal GND, and the negative input terminal of the second differential operator is connected to the negative terminal of the second differential operator A resistor RR3 is connected in series between the input terminals, a resistor RR6 is connected in series between the positive input terminal of the second differential operator and the third voltage output terminal of the buck module, and between the positive input terminal of the second differential operator and the common terminal GND_R A resistor RR7 is connected in series, a capacitor CR2 is connected in series between the positive input terminal of the second differential operator and the common terminal GND, the ground terminal of the second differential operator is
  • FIG. 19 is a circuit schematic diagram of the second sampling resistance unit according to a preferred embodiment of the present invention.
  • the second sampling resistance unit of the second motor drive module 105 includes a resistor RR28, which is connected to the common terminal GND_R and the common terminal GND_R. Between the terminals GND, the resistor RR28 is a 4 milliohm resistor.
  • the power supply unit of the step-down module 106 includes: socket P17, socket P18, capacitor C37, capacitor C38, capacitor C39, capacitor C40, Among them, the capacitor C37, the capacitor C38, the capacitor C39, and the capacitor C40 are respectively connected between the socket P17 and the socket P18, and the socket P18 is connected to the common terminal GND;
  • FIG. 21 is a schematic circuit diagram of a first step-down unit according to a preferred embodiment of the present invention.
  • the first step-down unit of the step-down module 106 includes: a power MOSFET chip U10, a first step-down chip U11, Resistor R66, resistor R68, resistor R71, resistor R73, resistor R60, resistor R63, resistor R57, resistor R54, resistor R53, resistor R52, resistor R55, resistor R58, resistor R59, resistor R62, resistor R56, capacitor C54, capacitor C46 , Capacitor C36, Capacitor C41, Capacitor C42, Capacitor C43, Capacitor C45, Capacitor C44, Inductor L3, Diode DZ1, Diode D6, Diode D7, Diode D4, Diode D3, Diode D5, Transistor Q9, Power Tube Q8, Switch Interface P19 ,among them,
  • the power MOSFET chip U10 includes pin 1, pin 2 and pin 3. Among them, pin 1 is connected in series with the voltage output terminal of the battery's power supply unit, and there is a resistor R56 in series with the collector of the transistor Q9. R57, the emitter of the transistor Q9 is connected to the common terminal GND, a resistor R63 and a capacitor R46 are respectively connected in series between the base and the emitter of the transistor Q9; a resistor R53 and a resistor are connected in series between the pin 2, and the common terminal GND in sequence A capacitor C41 is connected in series between R54 and the common terminal GND.
  • connection node of the resistor R53 and the resistor R54 is connected to the pin 10 of the Bluetooth chip U6, and the connection node of the resistor R53 and the resistor R54 is connected in series with the common terminal GND.
  • Capacitor C36; Pin 3 is connected to the voltage output terminal of the battery's power supply unit, and a diode D4 is connected in series with the charging terminal BAT_Charge;
  • the switch interface P19 includes pin 1 and pin 2. Among them, a diode D6 and a resistor R60 are connected in series between the pin 1 and the base of the transistor Q9, and a resistor R71 and a capacitor C54 are connected in series with the common terminal GND. And the connection node of the resistor R71 and the capacitor C54 is connected to the pin 40 of the Bluetooth chip U6, a resistor R68 is connected in series with the common terminal GND, and a reverse bias diode DZ1, a diode D6 and a resistor R60 are connected in parallel to the resistor R68 A reverse-biased diode D7 and a resistor R73 are connected in series between the connection node and the common terminal GND. The connection node of the reverse-biased diode D7 and the resistor R73 is connected to the pin 28 of the Bluetooth chip U6; pin 2, A resistor R66 is connected in series with the voltage output terminal of the power supply unit of the battery;
  • the first step-down chip U11 includes pins 1 to 8, wherein a resistor R52 is connected in series between the pin 1 and the power tube Q8, and is connected in series with the first voltage output terminal of the step-down module of the step-down module 106
  • a reverse bias diode D3 a capacitor C42 and an inductor L3 are connected in series with the first voltage output terminal of the step-down module
  • pin 2 a resistor R55 is connected in series with the first voltage output terminal of the step-down module
  • a capacitor C43 and a resistor R58 are connected in series with the connection node of the capacitor C42 and the inductor L3 respectively
  • pin 3 is floating
  • pin 4 a resistor R59 is connected in series with the connection node of the capacitor C42 and the inductor L3, and the power tube
  • the source of Q8 is connected; pin 5 is connected to the gate of the power tube Q8; pins 6 and 7 are floating; pin 8 is connected to the connection node of the capacitor C42 and the inductor L
  • FIG. 22 is a schematic circuit diagram of a second step-down unit according to a preferred embodiment of the present invention.
  • the second step-down unit 106 of the step-down module 106 includes: a second step-down chip U12, a resistor R65, and a resistor R69, resistor R67, resistor R70, resistor R64, capacitor C50, capacitor C47, capacitor C53, capacitor C48, capacitor C49, inductor L7, where the second step-down chip U12 includes pins 1 to 6, where pins 1.
  • a capacitor C47 and an inductor L4 are connected in series with the second voltage output terminal of the step-down module; pin 2 is connected to the common terminal GND; pin 3 is connected in series with the common terminal GND with a resistor R70, and A resistor R67 and a capacitor C48 are respectively connected in series between the second voltage output terminal of the voltage module; a resistor R65 is connected in series with the first voltage output terminal of the buck module, and a resistor R65 is connected in series with the common terminal GND.
  • Pin 5 is connected to the first voltage output terminal of the step-down module, and a capacitor C50 is connected in series with the common terminal GND;
  • Pin 6 is connected to the connection node of capacitor C47 and inductor L4;
  • a capacitor C49 is also connected in series between the second voltage output terminal and the common terminal of the module, and a resistor R64 is also connected in series with the second voltage output terminal of the step-down module, and the resistor R64 is a zero-ohm resistor;
  • FIG. 23 is a circuit schematic diagram of a third step-down unit according to a preferred embodiment of the present invention.
  • the third step-down unit of the step-down module 106 includes: a third step-down chip U13, a resistor R72, and a capacitor C55 , Capacitor C56, of which,
  • the third step-down chip U13 includes pins 1 to 4, wherein pin 1 is connected to the common terminal GND; pin 2 is connected to the third voltage output terminal of the step-down module; pin 3 is connected to the step-down module The second voltage output terminal of the module is connected; a capacitor C55 is connected in series between the second voltage output terminal of the step-down module and the common terminal GND, and a capacitor C56 is connected in series between the third voltage output terminal of the step-down module and the common terminal GND.
  • a resistor R72 is connected in series between the third voltage output terminal and the fourth output terminal of the step-down module.
  • FIG. 24 is a schematic circuit diagram of a first photoelectric switch interface unit according to a preferred embodiment of the present invention.
  • the first photoelectric switch interface unit of the external interface module 107 includes: a first photoelectric switch interface P3, a resistor R12, Capacitor C12,
  • the first photoelectric switch interface P3 includes pin 1, pin 2, and pin 3.
  • pin 1 is connected to the third voltage output terminal of the step-down module;
  • pin 2 is connected to the common terminal GND;
  • Pin 3 is connected to pin 58 of the Bluetooth chip U6, and a resistor R12 and a capacitor C12 are connected in series with the common terminal GND;
  • FIG. 25 is a schematic circuit diagram of a second photoelectric switch interface unit according to a preferred embodiment of the present invention.
  • the second photoelectric switch interface unit of the external interface module 107 includes: a second photoelectric switch interface P7, a resistor R15, Capacitor C15,
  • the second photoelectric switch interface P7 includes pin 1, pin 2, and pin 3.
  • pin 1 is connected to the third voltage output terminal of the step-down module;
  • pin 2 is connected to the common terminal GND;
  • Pin 3 is connected to pin 54 of the Bluetooth chip U6, and a resistor R15 and a capacitor C15 are connected in series with the common terminal GND.
  • Fig. 26 is a schematic circuit diagram of a steering sensor interface unit according to a preferred embodiment of the present invention.
  • the steering sensor interface unit includes: steering sensor interface P10, resistor R23, capacitor C16, and capacitor C17, wherein the steering sensor interface P10 includes pin 1, pin 2, and pin 3.
  • pin 1 is connected to the third voltage output terminal of the step-down module, and a capacitor C16 is connected in series with the common terminal GND; pin 2, and the common terminal GND connection; a resistor R23 is connected in series with the pin 15 of the Bluetooth chip U6, and a capacitor C17 is connected in series with the common terminal GND.
  • Figure 27 is a circuit schematic diagram of a turn signal interface unit according to a preferred embodiment of the present invention.
  • the turn signal interface unit includes: a first turn signal interface P5, a second turn signal interface P8, a resistor R16, and a resistor R17 , Resistor R26, Resistor R27, Resistor R21, LED DS2, Transistor Q1, Transistor Q2, among them,
  • the first turn signal interface P5 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the collector of diode Q2 with a resistor R17 in series; pin 2 is connected to pin 1; 3. Connect with the first voltage output terminal of the step-down module;
  • the second turn signal interface P8 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the collector of diode Q1 with resistor R16 in series; pin 2 is connected to pin 1; 3. Connect to the first voltage output terminal of the step-down module; the emitter of the transistor Q1 is connected to the common terminal GND, the base of the transistor Q1 and the pin 50 of the Bluetooth chip U6 are connected in series with a resistor R26 and the emitter of the transistor Q2 Connected to the common terminal GND, the base of the transistor Q2 and the common terminal GND are connected in series with a resistor R27, a resistor R21, and a light emitting diode DS2 in sequence. The connection node of the resistor R27 and the resistor R21 is connected to the pin 44 of the Bluetooth chip U6.
  • Fig. 28 is a schematic circuit diagram of a fault light interface unit according to a preferred embodiment of the present invention.
  • the fault light interface unit includes: a fault light interface P9, a resistor R19, a resistor R20, a resistor R24, a resistor R25, and a transistor Q4 , Transistor Q5, where the fault light interface P9 includes pin 1, pin 2, pin 3, and pin 4.
  • resistor R20 in series between pin 1, and the collector of transistor Q5; pin 2, A resistor R19 is connected in series with the collector of the transistor Q4; pin 3 is suspended; pin 4 is connected to the first voltage output terminal of the step-down module; the emitter of the transistor Q4 is connected to the common terminal GND, and the base of the transistor Q4 A resistor R24 is connected in series with the pin 5 of the Bluetooth chip U6, the emitter of the transistor Q5 is connected to the common terminal GND, and a resistor R25 is connected in series between the base of the transistor Q5 and the pin 6 of the Bluetooth chip U6.
  • Figure 29 is a schematic circuit diagram of the first secondary board communication interface unit according to a preferred embodiment of the present invention.
  • the first secondary board communication interface unit includes: a first secondary board communication interface P4, a resistor R10, and a resistor R11 , Resistor R13, Resistor R14, Capacitor C13, Capacitor C14, wherein the first sub-board communication interface P4 includes pins 1 to 7, wherein pin 1 is connected to the first voltage output terminal of the step-down module; lead Pin 2, there is a resistor R10 in series with the pin 29 of the Bluetooth chip U6; Pin 3, there is a resistor R11 in series with the pin 30 of the Bluetooth chip U6; Pin 4, connected to the common terminal GND; Pin 5 A resistor R13 and a capacitor C14 are connected in series with the common terminal GND.
  • connection node of the resistor R13 and the capacitor C14 is connected to the pin 21 of the Bluetooth chip U6; the pin 6 and the common terminal GND are sequentially connected in series with a resistor R14
  • the connection node of the capacitor C13, the resistor R14 and the capacitor C13 is connected to the pin 20 of the Bluetooth chip U6; the pin 7 is connected to the second voltage output terminal of the step-down module.
  • FIG. 30 is a schematic circuit diagram of a second slave board communication interface unit according to a preferred embodiment of the present invention.
  • the second slave board communication interface unit includes: a second slave board communication interface P20, a resistor R61, and a resistor R76 , Resistor R77, wherein the second sub-board communication interface P20 includes pins 1 to 5, among which, pin 1 is connected in series with pin 53 of the Bluetooth chip U6 with a resistor R61; pin 2 is connected to the common terminal GND connection; pin 3, there is a resistor R76 in series with the pin 62 of the Bluetooth chip U6; pin 4, there is a resistor R77 in series with the pin 61 of the Bluetooth chip U6; pin 5, with the buck module The second voltage output terminal is connected.
  • the first sub-board interface and the second sub-board interface can be connected to the sub-control board, and can also be connected to additional modules such as a display board.
  • FIG. 31 is a schematic circuit diagram of a program burning device interface unit according to a preferred embodiment of the present invention.
  • the program burning device interface unit includes: a program burning device interface P11, wherein the program burning device interface P11 It includes pin 1, pin 2, pin 3 and pin 4. Among them, pin 1 is connected to the third voltage output terminal of the step-down module; pin 2 is connected to pin 49 of the Bluetooth chip U6; Pin 3 is connected to the common terminal GND; Pin 4 is connected to pin 46 of the Bluetooth chip U6.
  • Fig. 32 is a circuit principle diagram of a rotation speed detection interface unit according to a preferred embodiment of the present invention.
  • the rotation speed detection interface unit includes: a first rotation speed detection interface P13, a second rotation speed detection interface P16, a diode D2, and a resistor R35 , Resistor R36, resistor R37, resistor R39, resistor R40, resistor R41, resistor R46, resistor R47, resistor R48, resistor R49, resistor R50, resistor R51, capacitor C23, capacitor C24, capacitor C25, capacitor C28, capacitor C29, capacitor C30, where
  • the first rotational speed detection interface P13 includes pins 1 to 5, wherein a diode D2 is connected in series between pin 1 and the second voltage output terminal of the step-down module; pin 2 is connected to the third voltage of the step-down module A resistor R35 is connected in series between the output terminals, and a resistor R39 and a capacitor C25 are connected in series with the common terminal GND.
  • the connection node of the resistor R39 and the capacitor C25 is connected to the pin 4 of the Bluetooth chip U6; pin 3 is connected to the buck
  • a resistor R36 is connected in series between the third voltage output terminal of the module, and a resistor R40 and a capacitor C24 are connected in series with the common terminal GND.
  • connection node of the resistor R40 and the capacitor C24 is connected to the pin 3 of the Bluetooth chip U6; 4.
  • a resistor R37 is connected in series with the third voltage output terminal of the step-down module, and a resistor R41, a capacitor C23 are connected in series with the common terminal GND, the connection node of the resistor R41 and the capacitor C23 and the pin of the Bluetooth chip U6 2 connection;
  • the second speed detection interface P16 includes pins 1 to 5, among which, pin 1 is connected in series with the second voltage output terminal of the step-down module with a diode D2; pin 2 is connected to the third voltage of the step-down module A resistor R46 is connected in series between the output terminals, and a resistor R49 and a capacitor C30 are connected in series with the common terminal GND.
  • the connection node of the resistor R49 and the capacitor C30 is connected to the pin 53 of the Bluetooth chip U6; pin 3 is connected to the buck
  • a resistor R47 is connected in series between the third voltage output terminal of the module, and a resistor R50 and a capacitor C29 are connected in series with the common terminal GND.
  • connection node of the resistor R50 and the capacitor C29 is connected to the pin 52 of the Bluetooth chip U6; 4.
  • a resistor R48 in series with the third voltage output terminal of the step-down module, and a resistor R51, a capacitor C28 in series with the common terminal GND, and the connection node of the resistor R51 and the capacitor C28 and the pin of the Bluetooth chip U6 51 connections.
  • Fig. 33 is a circuit schematic diagram of an RGB lamp interface unit according to a preferred embodiment of the present invention.
  • the RGB lamp interface unit includes: a first RBG lamp interface P12, a second RGB lamp interface P14, a resistor R34, and a resistor R38 , Capacitor C22, among them,
  • the first RGB light interface P12 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the second voltage output terminal of the step-down module, and a capacitor C22 is connected in series with the common terminal GND; 2. A resistor R34 is connected in series with pin 1, and a resistor R38 is connected in series with pin 57 of the Bluetooth chip U6; pin 3 is connected to the common terminal GND;
  • the second RGB light interface P14 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to pin 1 of the first RGB light interface P14; pin 2 is connected to the first RGB light interface P14. Pin 2 is connected; pin 3 is connected to the common terminal GND.
  • Fig. 34 is a circuit schematic diagram of a charging interface unit according to a preferred embodiment of the present invention.
  • the charging interface unit includes: a charging interface P15, a resistor R43, a resistor R44, a resistor R45, a transistor Q7, and a capacitor C27.
  • the charging interface P15 includes pin 1, pin 2, pin 3, and pin 4. Among them, pin 1, a resistor R45 is connected in series with the common terminal GND, and a resistor R43 and a resistor are connected in series with the common terminal GND.
  • R44 connected to the charging terminal BAT_Charge; pin 2, connected to pin 1; pin 3, pin 4, connected to the common terminal GND; the connection node of the resistor R43 and the resistor R44 is connected to the base of the transistor Q7, the transistor The collector of Q7 is connected to the pin 45 of the Bluetooth chip U6, which is used to transmit the charging signal and detect whether it is charging.
  • the emitter of the transistor Q7 is connected to the common terminal GND, and the collector of the transistor Q7 is one of the emitter of the transistor Q7.
  • a capacitor C27 is connected in series. Transistor Q7 is used to transmit the charge detection signal to detect whether it is charging.
  • Fig. 35 is a circuit schematic diagram of a buzzer module according to a preferred embodiment of the present invention.
  • the buzzer module includes: a buzzer, a diode D1, a transistor Q6, a resistor R31, and a resistor R30.
  • One end of the buzzer is connected to the first voltage output terminal of the step-down module, the other end of the buzzer is connected to the collector of the transistor Q6, and a reverse bias diode D1 and a transistor are connected in series between one end and the other end of the buzzer.
  • the emitter of Q6 is connected to the common terminal GND, a resistor R31 is connected in series between the base of the transistor Q6 and the common terminal GND, and a resistor R30 is connected in series between the base of the transistor Q6 and the pin 59 of the Bluetooth chip U6.
  • FIG. 36 is a schematic circuit diagram of a Bluetooth power-on indicator module according to a preferred embodiment of the present invention.
  • the Bluetooth power-on indicator module includes: a light-emitting diode DS1 and a resistor R9, wherein the anode of the light-emitting diode DS1 is connected to the voltage drop The fourth voltage output terminal of the module is connected, and a resistor R9 is connected in series between the cathode of the light emitting diode DS1 and the pin of the Bluetooth chip U6.
  • Fig. 37 is a schematic diagram of a circuit layout according to a preferred embodiment of the present invention.
  • a balance car which includes the aforementioned balance car control system.
  • circuits and modules in the above embodiments can be integrated on the same circuit board, or can be divided into different circuit boards to be set up according to requirements, for example, the motor drive module can be set separately for the circuit board to communicate with the main board, or the attitude sensor can also be set separately A circuit board communicates with the main board.

Abstract

A self-balancing vehicle control system and a self-balancing vehicle. The self-balancing vehicle control system is provided with a Bluetooth module (101), an attitude sensor module (103), a first motor drive module (104), a second motor drive module (105), a step-down module (106), and an external interface module (107) that are all configured on a main board (100), so that the problem of high discretization of the self-balancing vehicle control system is solved, thereby improving the integration of the self-balancing vehicle control system.

Description

平衡车控制系统及平衡车Balance car control system and balance car 技术领域Technical field
本发明涉及控制领域,特别是涉及一种平衡车控制系统及平衡车。The invention relates to the field of control, in particular to a balance car control system and a balance car.
背景技术Background technique
平衡车,又叫体感车、思维车,包括独轮平衡车和双轮平衡车。其运作原理是利用车体内部的姿态传感器(例如陀螺仪、加速度传感器等)来检测车体姿态的变化,并利用伺服控制系统精确地驱动电机进行相应的调整,以实现相应的功能。Balance cars, also called somatosensory cars and thinking cars, include uni-wheel balance cars and two-wheel balance cars. Its operating principle is to use the attitude sensor (such as gyroscope, acceleration sensor, etc.) inside the car body to detect the change of the car body's attitude, and use the servo control system to accurately drive the motor to make corresponding adjustments to achieve the corresponding functions.
以独轮平衡车为例,独轮平衡车依靠独轮转动后的角动量抵御外力矩,从而实现转向或者保持自平衡。独轮平衡车采用陀螺仪来检测车体姿态的变化,从而实现加速、减速或者制动。例如,当人站立在运行的独轮平衡车上后,身体往前倾使得独轮平衡车的载人平台前倾,陀螺仪检测到载人平台前倾则利用伺服控制系统驱动电机加速,人体前倾产生的水平向前的力与独轮平衡车加速的惯性力保持平衡,人体不至于倾倒,从而实现了独轮平衡车加速。独轮平衡车的制动原理亦是如此。Taking the unicycle balance car as an example, the unicycle balance car relies on the angular momentum after the rotation of the unicycle to resist the external torque, so as to realize steering or maintain self-balance. The unicycle balance car uses a gyroscope to detect changes in the body's posture, so as to achieve acceleration, deceleration or braking. For example, when a person stands on a running unicycle, the body leans forward to make the manned platform of the unicycle lean forward. The gyroscope detects the forward tilt of the manned platform and uses the servo control system to drive the motor to accelerate. The horizontal forward force generated by the forward lean is balanced with the inertial force of the acceleration of the unicycle, so that the human body will not fall, thus realizing the acceleration of the unicycle. The same applies to the braking principle of a unicycle.
再以双轮平衡车为例,双轮平衡车多采用两个轮子中内置的轮毂电机的转速差来控制转向。双轮平衡车的加速或者制动原理与独轮平衡车基本相同,而双轮平衡车的转向控制不同于独轮平衡车:Take a two-wheel balance car as an example. The two-wheel balance car mostly uses the difference in the rotational speed of the hub motors built in the two wheels to control the steering. The acceleration or braking principle of the two-wheel balance car is basically the same as that of the uni-wheel balance car, and the steering control of the two-wheel balance car is different from that of the uni-wheel balance car:
具有操纵杆的双轮平衡车依靠手或者双腿控制操作杆的偏移方向,霍尔转向传感器检测到操作杆的偏移方向后转换为控制信号,主控芯片根据控制信号控制两个轮子中内置的轮毂电机的转速差实现转向。The two-wheeled balance car with joystick relies on hands or legs to control the deviation direction of the joystick. The Hall steering sensor detects the deviation direction of the joystick and converts it into a control signal. The main control chip controls the two wheels according to the control signal. The rotation speed difference of the built-in hub motor realizes the steering.
具有双踏板且踏板可以绕主轴相对转动的双轮平衡车,又称为电动扭扭车,则依靠每个踏板下设置的陀螺仪来采集每个踏板的姿态并生成一对控制信号,主控芯片根据这对控制信号判断出每个踏板的姿态后,控制两个轮子中内置的轮毂电机的转速差实现转向。A two-wheeled balance car with dual pedals and the pedals can rotate relative to the main shaft, also known as an electric twist car, relies on a gyroscope set under each pedal to collect the posture of each pedal and generate a pair of control signals. After the chip determines the posture of each pedal based on the pair of control signals, it controls the speed difference of the built-in hub motors in the two wheels to achieve steering.
技术问题technical problem
为了实现上述的功能,在狭小的平衡车内部空间内,需要设置电池、搭载有各种控制器件的主板,有的平衡车为了在车体两个踏板下都设置姿态传感器则还需要额外配置副板。除此之外,为了提升用户的使用体验或者保障平衡车的运行安全,在平衡车上还会设置各种附加功能的电路或者保护电路,例如:蓝牙通讯电路、蓝牙音箱、转向灯、RGB彩灯。In order to achieve the above functions, in the small internal space of the balance car, a battery and a motherboard equipped with various control devices are required. In some balance cars, in order to install attitude sensors under both pedals of the car body, additional configuration is required. board. In addition, in order to improve the user experience or ensure the safety of the balance car, various additional functional circuits or protection circuits will be set on the balance car, such as: Bluetooth communication circuit, Bluetooth speaker, turn signal, RGB color light.
最初的平衡车主板上仅配置了保证平衡车正常运转所需的电路,随着新的功能的逐渐加入,在主板上没有预留空间来安置这些新增功能,主控芯片因处理速度或者引脚数量的限制也逐渐不足以实现对这些功能的支持,因此,越来越多的功能被配置在副板上。例如,经典蓝牙和低功耗蓝牙的信号不兼容,为了同时具备蓝牙通讯和蓝牙音频功能,在平衡车控制系统中需要配置用于蓝牙通讯的低功耗蓝牙电路和用于蓝牙音频的经典蓝牙电路;又由于主板空间限制,这两个蓝牙电路被分别设置在两个副板上;如果采用双模蓝牙模块,由于现有的双模蓝牙解决方案都需要使用外部处理器才足以实现蓝牙协议栈,因此,除了在副板上设置双模蓝牙模块之外,副板上还需要额外配置控制芯片来支持双模蓝牙功能。这种离散化的电路结构,不仅导致了平衡车控制系统的集成度愈加下降、多个控制芯片之间的交互愈加复杂,离散化的电路结构还降低了平衡车的稳定性,还增加了平衡车控制系统的功耗。The original balance car motherboard was only equipped with the circuits needed to ensure the normal operation of the balance car. With the gradual addition of new functions, there is no reserved space on the motherboard to place these new functions. The main control chip is due to processing speed or induction. The limitation of the number of pins is gradually not enough to support these functions. Therefore, more and more functions are configured on the secondary board. For example, the signals of classic Bluetooth and Bluetooth low energy are not compatible. In order to have Bluetooth communication and Bluetooth audio functions at the same time, the balance car control system needs to be equipped with Bluetooth low energy circuit for Bluetooth communication and classic Bluetooth for Bluetooth audio. Circuit; due to the space limitation of the main board, these two Bluetooth circuits are respectively set on two sub-boards; if a dual-mode Bluetooth module is used, the existing dual-mode Bluetooth solutions need to use an external processor to realize the Bluetooth protocol Therefore, in addition to setting a dual-mode Bluetooth module on the secondary board, the secondary board also needs to be equipped with an additional control chip to support the dual-mode Bluetooth function. This discretized circuit structure has not only caused the integration of the balance car control system to decrease, and the interaction between multiple control chips has become more complicated. The discretized circuit structure has also reduced the stability of the balance car, but also increased the balance. The power consumption of the vehicle control system.
技术解决方案Technical solutions
基于此,本发明实施例提供了一种平衡车控制系统及具有该平衡车控制系统的平衡车,以至少解决相关技术中的平衡车控制系统的离散化程度高的问题。Based on this, the embodiments of the present invention provide a balance car control system and a balance car having the balance car control system, so as to at least solve the problem of the high degree of discretization of the balance car control system in the related art.
根据本发明实施例的一个方面,提供了一种平衡车控制系统,包括:主板,以及设置在所述主板上的蓝牙模块、姿态传感器模块、第一电机驱动模块、第二电机驱动模块、降压模块、外部接口模块;其中,According to one aspect of the embodiments of the present invention, there is provided a balance car control system, including: a main board, and a Bluetooth module, an attitude sensor module, a first motor drive module, a second motor drive module, and a lower Voltage module, external interface module; among them,
所述姿态传感器模块与所述蓝牙模块连接,所述姿态传感器模块用于根据平衡车的姿态生成检测信号;The attitude sensor module is connected to the Bluetooth module, and the attitude sensor module is used to generate a detection signal according to the attitude of the balance car;
所述蓝牙模块用于接收和发送通讯信号,以及接收和处理音频信号;The Bluetooth module is used for receiving and sending communication signals, and receiving and processing audio signals;
所述蓝牙模块,用于根据所述检测信号控制所述第一电机驱动模块和所述第二电机驱动模块,蓝牙模块还用于控制与所述外部接口模块连接的外部器件;The Bluetooth module is used to control the first motor drive module and the second motor drive module according to the detection signal, and the Bluetooth module is also used to control external devices connected to the external interface module;
所述第一电机驱动模块与所述蓝牙模块连接,用于控制第一电机的转速和转向;The first motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and steering of the first motor;
所述第二电机驱动模块与所述蓝牙模块连接,用于控制第二电机的转速和转向;The second motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and direction of the second motor;
所述降压模块的输入端与电池连接,输出端分别与所述蓝牙模块、所述姿态传感器模块、所述第一电机驱动模块、所述第二电机驱动模块以及所述外部接口模块连接,所述降压模块用于将所述电池的输出电压转换为所述蓝牙模块、所述姿态传感器模块、所述第一电机驱动模块、所述第二电机驱动模块以及外部接口模块所需的工作电压。The input end of the step-down module is connected to the battery, and the output end is respectively connected to the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module, The step-down module is used to convert the output voltage of the battery into the work required by the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module Voltage.
根据本发明实施例的另一个方面,还提供了一种平衡车,包括如第一方面所述的平衡车控制系统。According to another aspect of the embodiments of the present invention, there is also provided a balance car, including the balance car control system as described in the first aspect.
有益效果Beneficial effect
通过本发明实施例提供的平衡车控制系统及平衡车,将蓝牙模块、姿态传感器模块、第一电机驱动模块、第二电机驱动模块、降压模块、外部接口模块均配置在主板上,将控制功能集成在蓝牙模块中,解决了相关技术中的平衡车控制系统的离散化程度高的问题,提高了平衡车控制系统的集成度,提高了蓝牙通信的数据稳定性。Through the balance car control system and the balance car provided by the embodiments of the present invention, the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, the step-down module, and the external interface module are all configured on the main board to control The function is integrated in the Bluetooth module, which solves the problem of the high degree of discretization of the balance car control system in related technologies, improves the integration of the balance car control system, and improves the data stability of the Bluetooth communication.
附图说明Description of the drawings
图1是根据本发明实施例的平衡车控制系统的结构框图;Figure 1 is a structural block diagram of a balance car control system according to an embodiment of the present invention;
图2是根据本发明实施例的平衡车控制系统的优选结构框图;Figure 2 is a preferred structural block diagram of a balance car control system according to an embodiment of the present invention;
图3是根据本发明优选实施例的蓝牙模块的电路原理图;Figure 3 is a schematic circuit diagram of a Bluetooth module according to a preferred embodiment of the present invention;
图4是根据本发明优选实施例的蓝牙模块的功能框图;Figure 4 is a functional block diagram of a Bluetooth module according to a preferred embodiment of the present invention;
图5是根据本发明优选实施例的蓝牙天线的电路原理图;Figure 5 is a schematic circuit diagram of a Bluetooth antenna according to a preferred embodiment of the present invention;
图6是根据本发明优选实施例的功率放大模块的电路原理图;Fig. 6 is a schematic circuit diagram of a power amplifier module according to a preferred embodiment of the present invention;
图7是根据本发明优选实施例的姿态传感器模块的电路原理图;Fig. 7 is a schematic circuit diagram of a posture sensor module according to a preferred embodiment of the present invention;
图8是根据本发明优选实施例的第一PWM输出单元的电路原理图;Fig. 8 is a schematic circuit diagram of a first PWM output unit according to a preferred embodiment of the present invention;
图9是根据本发明优选实施例的第一三相全桥电路的电路原理图;Fig. 9 is a circuit schematic diagram of a first three-phase full bridge circuit according to a preferred embodiment of the present invention;
图10是根据本发明优选实施例的第一电流检测单元的电路原理图;Fig. 10 is a schematic circuit diagram of a first current detection unit according to a preferred embodiment of the present invention;
图11是根据本发明优选实施例的第二电流检测单元的电路原理图;Fig. 11 is a schematic circuit diagram of a second current detection unit according to a preferred embodiment of the present invention;
图12是根据本发明优选实施例的第三电流检测单元的电路原理图;Fig. 12 is a schematic circuit diagram of a third current detection unit according to a preferred embodiment of the present invention;
图13是根据本发明优选实施例的第一采样电阻单元的电路原理图;Fig. 13 is a circuit diagram of a first sampling resistor unit according to a preferred embodiment of the present invention;
图14是根据本发明优选实施例的第二PWM输出单元的电路原理图;Fig. 14 is a schematic circuit diagram of a second PWM output unit according to a preferred embodiment of the present invention;
图15是根据本发明优选实施例的第二三相全桥单元的电路原理图;Fig. 15 is a circuit schematic diagram of a second three-phase full-bridge unit according to a preferred embodiment of the present invention;
图16是根据本发明优选实施例的第四电流检测单元的电路原理图;Fig. 16 is a circuit diagram of a fourth current detection unit according to a preferred embodiment of the present invention;
图17是根据本发明优选实施例的第五电流检测单元的电路原理图;Fig. 17 is a circuit schematic diagram of a fifth current detection unit according to a preferred embodiment of the present invention;
图18是根据本发明优选实施例的第六电流检测单元的电路原理图;Fig. 18 is a circuit schematic diagram of a sixth current detection unit according to a preferred embodiment of the present invention;
图19是根据本发明优选实施例的第二采样电阻单元的电路原理图;Fig. 19 is a circuit diagram of a second sampling resistor unit according to a preferred embodiment of the present invention;
图20是根据本发明优选实施例的供电单元的电路原理图;Fig. 20 is a circuit diagram of a power supply unit according to a preferred embodiment of the present invention;
图21是根据本发明优选实施例的第一降压单元的电路原理图;FIG. 21 is a schematic circuit diagram of a first step-down unit according to a preferred embodiment of the present invention;
图22是根据本发明优选实施例的第二降压单元的电路原理图;Fig. 22 is a schematic circuit diagram of a second step-down unit according to a preferred embodiment of the present invention;
图23是根据本发明优选实施例的第三降压单元的电路原理图;Figure 23 is a circuit schematic diagram of a third step-down unit according to a preferred embodiment of the present invention;
图24是根据本发明优选实施例的第一光电开关接口单元的电路原理图;24 is a circuit schematic diagram of a first photoelectric switch interface unit according to a preferred embodiment of the present invention;
图25是根据本发明优选实施例的第二光电开关接口单元的电路原理图;FIG. 25 is a schematic circuit diagram of a second photoelectric switch interface unit according to a preferred embodiment of the present invention;
图26是根据本发明优选实施例的转向传感器接口单元的电路原理图;Fig. 26 is a schematic circuit diagram of a steering sensor interface unit according to a preferred embodiment of the present invention;
图27是根据本发明优选实施例的转向灯接口单元的电路原理图;Fig. 27 is a circuit schematic diagram of a turn signal interface unit according to a preferred embodiment of the present invention;
图28是根据本发明优选实施例的故障灯接口单元的电路原理图;Fig. 28 is a circuit schematic diagram of a fault light interface unit according to a preferred embodiment of the present invention;
图29是根据本发明优选实施例的第一副板通讯接口单元的电路原理图;Figure 29 is a schematic circuit diagram of a first slave communication interface unit according to a preferred embodiment of the present invention;
图30是根据本发明优选实施例的第二副板通讯接口单元的电路原理图;Figure 30 is a schematic circuit diagram of a second slave board communication interface unit according to a preferred embodiment of the present invention;
图31是根据本发明优选实施例的程序烧录设备接口单元的电路原理图;FIG. 31 is a schematic circuit diagram of a program burning device interface unit according to a preferred embodiment of the present invention;
图32是根据本发明优选实施例的转速检测接口单元的电路原理图;Fig. 32 is a schematic circuit diagram of a rotational speed detection interface unit according to a preferred embodiment of the present invention;
图33是根据本发明优选实施例的RGB灯接口单元的电路原理图;Fig. 33 is a schematic circuit diagram of an RGB lamp interface unit according to a preferred embodiment of the present invention;
图34是根据本发明优选实施例的充电接口单元的电路原理图;Fig. 34 is a schematic circuit diagram of a charging interface unit according to a preferred embodiment of the present invention;
图35是根据本发明优选实施例的蜂鸣器模块的电路原理图;Figure 35 is a schematic circuit diagram of a buzzer module according to a preferred embodiment of the present invention;
图36是根据本发明优选实施例的蓝牙上电指示模块的电路原理图;Fig. 36 is a schematic circuit diagram of a Bluetooth power-on indication module according to a preferred embodiment of the present invention;
图37是根据本发明优选实施例的电路布局示意图。Fig. 37 is a schematic diagram of a circuit layout according to a preferred embodiment of the present invention.
本发明的实施方式Embodiments of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
在本实施例中提供了一种平衡车控制系统。图1是根据本发明实施例的平衡车控制系统的结构框图,其中,粗实线表示供电线路,细实线表示通讯线路。In this embodiment, a balance car control system is provided. Fig. 1 is a structural block diagram of a balance car control system according to an embodiment of the present invention, in which the thick solid line represents the power supply line, and the thin solid line represents the communication line.
如图1所示,该平衡车控制系统包括:主板100,以及设置在主板100上的蓝牙模块101、姿态传感器模块103、第一电机驱动模块104、第二电机驱动模块105、降压模块106、外部接口模块107;其中,As shown in Figure 1, the balance car control system includes: a main board 100, and a Bluetooth module 101, an attitude sensor module 103, a first motor drive module 104, a second motor drive module 105, and a step-down module 106 arranged on the main board 100 , The external interface module 107; among them,
姿态传感器模块103与蓝牙模块101连接,姿态传感器模块103用于根据平衡车的姿态生成检测信号;The attitude sensor module 103 is connected to the Bluetooth module 101, and the attitude sensor module 103 is used to generate a detection signal according to the attitude of the balance car;
蓝牙模块101,用于接收和发送通讯信号,以及接收和处理音频信号;The Bluetooth module 101 is used for receiving and sending communication signals, as well as receiving and processing audio signals;
蓝牙模块101,用于根据检测信号控制第一电机驱动模块104和第二电机驱动模块105,蓝牙模块还用于控制与外部接口模块107连接的外部器件;The Bluetooth module 101 is used to control the first motor drive module 104 and the second motor drive module 105 according to the detection signal, and the Bluetooth module is also used to control external devices connected to the external interface module 107;
第一电机驱动模块104与蓝牙模块101连接,用于控制第一电机转速和转向;The first motor drive module 104 is connected to the Bluetooth module 101, and is used to control the rotation speed and direction of the first motor;
第二电机驱动模块105与蓝牙模块101连接,用于控制第二电机转速和转向;The second motor drive module 105 is connected to the Bluetooth module 101, and is used to control the rotation speed and direction of the second motor;
降压模块106的输入端与电池连接,降压模块106的输出端分别与蓝牙模块101、姿态传感器模块103、第一电机驱动模块104、第二电机驱动模块105以及外部接口模块107连接,降压模块106用于将电池的输出电压转换为蓝牙模块101、姿态传感器模块103、第一电机驱动模块104、第二电机驱动模块105以及外部接口模块107所需的工作电压。The input end of the step-down module 106 is connected to the battery, and the output end of the step-down module 106 is connected to the Bluetooth module 101, the attitude sensor module 103, the first motor drive module 104, the second motor drive module 105, and the external interface module 107, respectively. The voltage module 106 is used to convert the output voltage of the battery into the operating voltage required by the Bluetooth module 101, the attitude sensor module 103, the first motor drive module 104, the second motor drive module 105, and the external interface module 107.
相对于相关技术而言,本实施例提供的平衡车控制系统,使用蓝牙模块101替代蓝牙数据同步电路和蓝牙音频电路,并且将蓝牙模块101集成到平衡车控制系统的主板100上,不仅提高了平衡车控制系统的集成度,而且蓝牙模块101集成了控制功能,不再需要引入额外的控制芯片来处理蓝牙协议栈和控制信号,从而降低了功耗,缩短了数据传输的路径,提高了数据传输的稳定性,有利于提高平衡车控制系统的稳定性。Compared with related technologies, the balance car control system provided in this embodiment uses the Bluetooth module 101 to replace the Bluetooth data synchronization circuit and the Bluetooth audio circuit, and integrates the Bluetooth module 101 on the main board 100 of the balance car control system, which not only improves The integration of the balance car control system, and the Bluetooth module 101 integrates control functions, no need to introduce additional control chips to process the Bluetooth protocol stack and control signals, thereby reducing power consumption, shortening the data transmission path, and improving data The stability of the transmission is conducive to improving the stability of the balance car control system.
在本实施例中,蓝牙模块101中蓝牙芯片的选型优选采用主频高于70MHz、整数计算能力(DMIPS)高于60的单片机,此外还可以根据外围电路所需的引脚来确定具体的蓝牙芯片。可以采用更多引脚的单片机就可以满足需求,并具备一定的扩展能力。In this embodiment, the selection of the Bluetooth chip in the Bluetooth module 101 preferably adopts a single-chip microcomputer with a main frequency higher than 70MHz and an integer computing capability (DMIPS) higher than 60. In addition, the specific pin can be determined according to the pins required by the peripheral circuit. Bluetooth chip. The single-chip microcomputer with more pins can meet the demand, and has a certain expansion capability.
在一些实施例中,蓝牙模块101包括:数据传输单元,用于接收外部蓝牙的控制信号等数据,音频传输单元,用于接收外部蓝牙设备的音频信号,以及数据处理单元,计算处理各种输入数据和输出控制信号给其他的模块。上述单元可以是按硬件划分的单元也可以是按功能划分的单元。In some embodiments, the Bluetooth module 101 includes: a data transmission unit for receiving data such as external Bluetooth control signals, an audio transmission unit for receiving audio signals from an external Bluetooth device, and a data processing unit for calculating and processing various inputs Data and output control signals to other modules. The above-mentioned units may be units divided by hardware or units divided by functions.
功率放大模块用于为音频信号放大后驱动扬声器发声。The power amplifier module is used to drive the speaker to produce sound after amplifying the audio signal.
在一些实施例中,第一电机驱动模块104和第二电机驱动模块105是基本相同的。其中,第一电机驱动模块104包括:第一PWM输出单元和第一三相全桥驱动单元;其中,第一PWM输出单元分别与第一三相全桥驱动单元、蓝牙模块101,以及降压模块106的输出端连接;第一三相全桥驱动单元分别与电池的输出端,以及第一电机连接。第二电机驱动模块105包括:第二PWM输出单元和第二三相全桥驱动单元;其中,第二PWM输出单元分别与第二三相全桥驱动单元、蓝牙模块101,以及降压模块106的输出端连接;第二三相全桥驱动单元分别与电池的输出端,以及第二电机连接。In some embodiments, the first motor drive module 104 and the second motor drive module 105 are substantially the same. Among them, the first motor drive module 104 includes: a first PWM output unit and a first three-phase full-bridge drive unit; wherein, the first PWM output unit is respectively connected to the first three-phase full-bridge drive unit, the Bluetooth module 101, and the buck The output end of the module 106 is connected; the first three-phase full-bridge drive unit is respectively connected to the output end of the battery and the first motor. The second motor drive module 105 includes: a second PWM output unit and a second three-phase full-bridge drive unit; wherein the second PWM output unit is respectively connected to the second three-phase full-bridge drive unit, the Bluetooth module 101, and the step-down module 106 The output end of the second three-phase full-bridge drive unit is connected to the output end of the battery and the second motor respectively.
在本实施例中,第一PWM输出单元和第二PWM输出单元中芯片的选型可以采用三个分别集成了一个半桥驱动的高压驱动芯片实现三相直流电机的正转和反转,例如IR2104系列芯片;优选采用的是集成了三个半桥驱动的高压驱动芯片,以节省占用主板的空间,例如,FD6287系列芯片集成了三个独立的半桥栅极驱动集成电路芯片,专为高压、高速驱动MOSFET和IGBT设计,可在高达+250V电压下工作。此外,FD6287系列芯片内置VCC/VBS欠压(UVLO)保护功能,防止功率管在过低的电压下工作。FD6287内置直通防止和死区时间,防止被驱动的高低侧MOSFET或IGBT直通,有效保护功率器件。FD6287系列芯片还内置输入信号滤波,防止输入噪声干扰。In this embodiment, the selection of the chips in the first PWM output unit and the second PWM output unit can use three high-voltage drive chips integrated with a half-bridge drive to realize the forward and reverse rotation of a three-phase DC motor, for example IR2104 series chips; it is preferable to use a high-voltage driver chip that integrates three half-bridge drivers to save space on the motherboard. For example, the FD6287 series chip integrates three independent half-bridge gate driver integrated circuit chips, which are designed for high-voltage , High-speed drive MOSFET and IGBT design, can work up to +250V voltage. In addition, the FD6287 series chips have built-in VCC/VBS undervoltage (UVLO) protection function to prevent the power tube from working under too low voltage. FD6287 has built-in shoot-through prevention and dead time to prevent the driven high- and low-side MOSFETs or IGBTs from shoot-through, effectively protecting power devices. FD6287 series chips also have built-in input signal filtering to prevent input noise interference.
在一些实施例中,第一电机驱动模块104还包括但不限于以下至少之一的电路:第一电流检测单元、第二电流检测单元、第三电流检测单元和第一采样电阻单元;第二电机驱动模块105还包括但不限于以下至少之一的电路:第四电流检测单元、第五电流检测单元、第六电流检测单元和第二采样电阻单元。In some embodiments, the first motor drive module 104 further includes but is not limited to at least one of the following circuits: a first current detection unit, a second current detection unit, a third current detection unit, and a first sampling resistance unit; The motor drive module 105 also includes but is not limited to at least one of the following circuits: a fourth current detection unit, a fifth current detection unit, a sixth current detection unit, and a second sampling resistance unit.
其中,第一采样电阻单元和第二采样电阻单元优选采用0欧电阻,以将电源地和主板的公共端之间电气连接,从而有效地限制环路电流和抑制噪声。Among them, the first sampling resistance unit and the second sampling resistance unit preferably use 0 ohm resistors to electrically connect the power ground and the common terminal of the main board, thereby effectively limiting the loop current and suppressing noise.
在一些实施例中,降压模块106包括:供电单元、第一降压单元、第二降压单元和第三降压单元;其中,供电单元的电压输入端与电池连接,供电单元的电压输出端与第一降压单元的电压输入端连接,第一降压单元的电压输出端与第二降压单元的电压输入端连接,第二降压单元的电压输出端与第三降压单元的电压输入端连接。In some embodiments, the step-down module 106 includes: a power supply unit, a first step-down unit, a second step-down unit, and a third step-down unit; wherein the voltage input terminal of the power supply unit is connected to the battery, and the voltage output of the power supply unit Terminal is connected to the voltage input terminal of the first step-down unit, the voltage output terminal of the first step-down unit is connected to the voltage input terminal of the second step-down unit, and the voltage output terminal of the second step-down unit is connected to the voltage input terminal of the third step-down unit. Voltage input terminal connection.
在平衡车控制系统中,蓝牙芯片、各种外围芯片以及外部接口模块需要的工作电压可能存在差别。常见的芯片的工作电压为12V、5V以及3.3V。为了将电池电压等级降低到各个芯片或者外部接口模块所需的工作电压,在本实施例中,采用多级降压模块,实现了多种电压等级的输出。In the balance car control system, there may be differences in the operating voltages required by the Bluetooth chip, various peripheral chips, and external interface modules. The operating voltages of common chips are 12V, 5V and 3.3V. In order to reduce the battery voltage level to the operating voltage required by each chip or external interface module, in this embodiment, a multi-level step-down module is used to achieve multiple voltage levels of output.
优选地,在本实施例中采用数字降压芯片来进行降压,相对于采用模拟电路降压的方案而言,数字降压芯片能够减少元器件对主板空间的占用。可选的降压芯片包括但不限于:LM2596系列芯片、SC9003系列芯片、LY3671系列芯片、SY8120系列芯片、AMS1117系列芯片等。Preferably, in this embodiment, a digital step-down chip is used for step-down. Compared with a solution that uses an analog circuit to step-down, the digital step-down chip can reduce the space occupied by the components on the motherboard. Optional step-down chips include but are not limited to: LM2596 series chips, SC9003 series chips, LY3671 series chips, SY8120 series chips, AMS1117 series chips, etc.
在本实施例中,外部接口模块107包括但不限于以下至少之一的电路:第一光电开关接口单元、第二光电开关接口单元、转向传感器接口单元、转向灯接口单元、故障灯接口单元、第一副板通讯接口单元、第二副板通讯接口单元、程序烧录设备接口单元、转速检测接口单元、RGB灯接口单元,以及充电接口单元。In this embodiment, the external interface module 107 includes but is not limited to at least one of the following circuits: a first photoelectric switch interface unit, a second photoelectric switch interface unit, a steering sensor interface unit, a turn signal interface unit, a fault light interface unit, The first sub-board communication interface unit, the second sub-board communication interface unit, the program burning device interface unit, the speed detection interface unit, the RGB lamp interface unit, and the charging interface unit.
其中,光电开关接口单元用于连接光电开关电路,光电开关电路可以设置在平衡车踏板下,用于检测平衡车是否载人。Among them, the photoelectric switch interface unit is used to connect the photoelectric switch circuit, and the photoelectric switch circuit can be set under the pedal of the balance car to detect whether the balance car is carrying people.
其中,转向传感器接口单元用于连接转向传感器电路,转向传感器电路优选为霍尔传感器,一般设置在具有操作杆的双轮平衡车上用于检测操作杆的偏移,从而实现转向控制。Wherein, the steering sensor interface unit is used to connect to the steering sensor circuit, and the steering sensor circuit is preferably a Hall sensor, which is generally arranged on a two-wheeled balance vehicle with an operating rod to detect the deviation of the operating rod, so as to realize steering control.
其中,转向灯接口单元用于连接转向灯电路,转向灯电路的转向灯设置在平衡车两侧,用于实现转向提醒。Among them, the turn signal interface unit is used to connect the turn signal circuit, and the turn signal of the turn signal circuit is arranged on both sides of the balance car to realize the steering reminder.
其中,故障灯接口单元用于连接故障灯,故障灯用于指示平衡车是否发生故障。Among them, the fault light interface unit is used to connect the fault light, and the fault light is used to indicate whether the balance car has a fault.
其中,副板通讯接口单元用于连接副板通讯电路,以支持在副板上进行更多的功能拓展,或者与副板上设置的其他的传感器(例如陀螺仪)的通讯。Among them, the sub-board communication interface unit is used to connect the sub-board communication circuit to support more function expansion on the sub-board, or to communicate with other sensors (such as gyroscopes) provided on the sub-board.
其中,程序烧录设备接口单元用于连接程序烧录设备,程序烧录设备用于将程序烧录至蓝牙芯片。Among them, the program burning device interface unit is used to connect the program burning device, and the program burning device is used to burn the program to the Bluetooth chip.
其中,转速检测接口单元用于连接转速检测电路,转速检测电路可以设置在轮毂电机内部,以检测轮毂电机的转速和转向。Wherein, the rotation speed detection interface unit is used to connect the rotation speed detection circuit, and the rotation speed detection circuit can be arranged inside the hub motor to detect the rotation speed and steering of the hub motor.
其中,RGB灯接口单元用于连接RGB灯电路,RGB灯电路用于实现平衡车彩灯功能,以增加用户体验。Among them, the RGB light interface unit is used to connect the RGB light circuit, and the RGB light circuit is used to realize the function of the color light of the balance car to increase the user experience.
其中,充电接口单元用于连接充电电路,充电电路用于为平衡车的电池充电。Among them, the charging interface unit is used to connect the charging circuit, and the charging circuit is used to charge the battery of the balance car.
需要说明的是,上述的外部接口模块107的数量和类型在一些实施例中可以根据平衡车的类型以及所需实现的附加功能进行删减或者增加。例如,在电动扭扭车中,转向传感器接口单元是非必要的,可以将转向传感器接口单元从主板上删减掉,从而降低主板的成本或者减小主板占用的空间。It should be noted that, in some embodiments, the number and types of the external interface modules 107 can be deleted or added according to the type of the balance car and the additional functions that need to be implemented. For example, in an electric torque car, the steering sensor interface unit is unnecessary, and the steering sensor interface unit can be deleted from the main board, thereby reducing the cost of the main board or reducing the space occupied by the main board.
在另一些实施例中,主板包括了上述全部的外部接口模块,在一些类型的平衡车中可以将其中一些外部接口模块闲置不用。这样设计的优势在于对于不同类型的平衡车均可以共用同一套主板,从而节约主板的设计成本,同时多种外部接口模块又易于实现各种型号平衡车的功能扩展。In other embodiments, the main board includes all the above-mentioned external interface modules, and some of the external interface modules can be left unused in some types of balance vehicles. The advantage of this design is that different types of balance cars can share the same set of motherboards, thereby saving the design cost of the motherboard. At the same time, a variety of external interface modules are easy to realize the function expansion of various types of balance cars.
在一些实施例中,主板100上还设置有以下至少之一的电路:蜂鸣器模块、蓝牙上电指示模块;其中,蜂鸣器模块与蓝牙模块101连接;蓝牙上电指示模块与蓝牙模块101连接。In some embodiments, the motherboard 100 is also provided with at least one of the following circuits: a buzzer module, a Bluetooth power-on indication module; wherein the buzzer module is connected to the Bluetooth module 101; the Bluetooth power-on indication module and the Bluetooth module 101 connections.
其中,蜂鸣器模块可以用于在平衡车故障或者发生状态改变或者电量不足时发出蜂鸣,以提示用户。Among them, the buzzer module can be used to send a buzzer to remind the user when the balance car fails or changes its state or when the battery is insufficient.
其中,蓝牙上电指示模块用于指示蓝牙的工作状态。Among them, the Bluetooth power-on indication module is used to indicate the working status of the Bluetooth.
图2是根据本发明实施例的平衡车控制系统的优选结构框图。其中,粗实线表示供电线路,细实线表示通讯线路。Fig. 2 is a preferred structural block diagram of a balance car control system according to an embodiment of the present invention. Among them, the thick solid line represents the power supply line, and the thin solid line represents the communication line.
下面将结合附图和优选实施例对本发明实施例进行描述和说明。The embodiments of the present invention will be described and illustrated below in conjunction with the accompanying drawings and preferred embodiments.
在本优选实施例中提供了一种平衡车控制系统的实现方案。需要说明的是,该实现方案用于对本发明实施例进行说明,其中各部分电路的具体实现也都是示例性的。In this preferred embodiment, an implementation scheme of a balance car control system is provided. It should be noted that this implementation scheme is used to describe the embodiments of the present invention, and the specific implementation of each part of the circuit is also exemplary.
图3是根据本发明优选实施例的蓝牙模块的电路原理图,如图3所示,在本优选实施例中,蓝牙模块101包括:蓝牙芯片U6、电阻R32、电阻R33、电阻R42、电容C26、电容C31,其中,蓝牙芯片U6包括引脚1至引脚64,其中,引脚1、引脚13、引脚32、引脚19、引脚48、引脚64,与降压模块106的降压模块的第三电压输出端连接;引脚12、引脚18、引脚31、引脚47、引脚63,与公共端GND连接;引脚7,与降压模块的第三电压输出端之间串联有电阻R42,与公共端GND之间串联有电容C26;引脚41、引脚42、引脚43、引脚33、引脚34、引脚35、引脚36、引脚9、引脚24、引脚25,与第一电机驱动模块104连接;引脚14、引脚22、引脚23、引脚26、引脚27、引脚8、引脚11、引脚37、引脚38、引脚39,与第二电机驱动模块105连接;引脚61、引脚62,与姿态传感器模块103连接;引脚28、引脚10、引脚40,与降压模块106连接;引脚59,与蜂鸣器模块连接;引脚44、引脚50、引脚20、引脚21、引脚29、引脚30、引脚5、引脚6、引脚54、引脚58、引脚2、引脚3、引脚4、引脚51、引脚52、引脚53、引脚57、引脚46、引脚49、引脚45,与外部接口模块107连接。Fig. 3 is a schematic circuit diagram of a Bluetooth module according to a preferred embodiment of the present invention. As shown in Fig. 3, in this preferred embodiment, the Bluetooth module 101 includes: a Bluetooth chip U6, a resistor R32, a resistor R33, a resistor R42, and a capacitor C26 , Capacitor C31, in which the Bluetooth chip U6 includes pins 1 to 64, of which, pin 1, pin 13, pin 32, pin 19, pin 48, pin 64, and the step-down module 106 The third voltage output terminal of the step-down module is connected; pin 12, pin 18, pin 31, pin 47, and pin 63 are connected to the common terminal GND; pin 7 is connected to the third voltage output of the step-down module There is a resistor R42 in series between the terminals, and a capacitor C26 in series with the common terminal GND; pin 41, pin 42, pin 43, pin 33, pin 34, pin 35, pin 36, pin 9 , Pin 24, pin 25, connected to the first motor drive module 104; pin 14, pin 22, pin 23, pin 26, pin 27, pin 8, pin 11, pin 37, Pin 38 and pin 39 are connected to the second motor drive module 105; pin 61 and pin 62 are connected to the attitude sensor module 103; pin 28, pin 10, and pin 40 are connected to the step-down module 106 ; Pin 59, connected to the buzzer module; Pin 44, Pin 50, Pin 20, Pin 21, Pin 29, Pin 30, Pin 5, Pin 6, Pin 54, Pin 58. Pin 2, pin 3, pin 4, pin 51, pin 52, pin 53, pin 57, pin 46, pin 49, and pin 45 are connected to the external interface module 107.
图4是蓝牙模块的功能单元框图,蓝牙模块包括数据传输单元,用于接收外部蓝牙的控制信号等数据,音频传输单元,用于接收外部蓝牙设备的音频信号,以及数据处理单元,计算处理各种输入数据和输出控制信号给其他的模块。上述单元可以是按硬件划分的单元也可以是按功能划分的单元。蓝牙模块的集成可以使信号传输稳定,减少干扰。Figure 4 is a block diagram of the functional units of the Bluetooth module. The Bluetooth module includes a data transmission unit for receiving external Bluetooth control signals and other data, an audio transmission unit for receiving audio signals from external Bluetooth devices, and a data processing unit for calculating and processing various Kind of input data and output control signal to other modules. The above-mentioned units may be units divided by hardware or units divided by functions. The integration of the Bluetooth module can make the signal transmission stable and reduce interference.
图5是根据本发明优选实施例的蓝牙天线的电路原理图,如图5所示,蓝牙芯片通过串联电阻R30和电容C22与蓝牙天线E连接,在电容C22与蓝牙天线E的连接点处通过电容C44接地。Figure 5 is a schematic circuit diagram of a Bluetooth antenna according to a preferred embodiment of the present invention. As shown in Figure 5, the Bluetooth chip is connected to the Bluetooth antenna E through a series resistor R30 and a capacitor C22, and passes through the connection point of the capacitor C22 and the Bluetooth antenna E The capacitor C44 is grounded.
图6是根据本发明优选实施例的功率放大模块的电路原理图,如图6所示,功率放大模块包括:功率放大芯片U4、电阻R5、电阻R6、电阻R7、电阻R8、电容R9、电容C10、电容C11,其中,功率放大芯片U4包括引脚1至引脚8,其中,引脚1,与降压模块106的降压模块的第二电压输出端之间串联有电阻R7,与公共端GND之间串联有电阻R7,与蓝牙芯片U6的引脚之间串联有电阻R1;引脚2,与公共端GND之间串联有电容C11;引脚3,与降压模块的第二电压输出端之间串联有电阻R5;引脚4,与蓝牙芯片U6的引脚7之间依次串联有电阻R8、电容C9,引脚4用于接收音频信号;引脚5,与扬声器接口P1的引脚2连接;引脚6,与降压模块的第二电压输出端连接,与公共端GND之间串联有电容C10;引脚7,与公共端GND连接;引脚8,与扬声器接口P1的引脚1连接,引脚5和引脚8用于驱动扬声器发声。Fig. 6 is a schematic circuit diagram of a power amplifier module according to a preferred embodiment of the present invention. As shown in Fig. 6, the power amplifier module includes: power amplifier chip U4, resistor R5, resistor R6, resistor R7, resistor R8, capacitor R9, capacitor C10. Capacitor C11. The power amplifier chip U4 includes pins 1 to 8. Among them, a resistor R7 is connected in series with the second voltage output terminal of the step-down module of the step-down module 106 and the power amplifier chip U4 is connected in series with the second voltage output terminal of the step-down module 106. There is a resistor R7 in series between the terminal GND, and a resistor R1 in series with the pin of the Bluetooth chip U6; pin 2, a capacitor C11 in series with the common terminal GND; pin 3, and the second voltage of the step-down module There is a resistor R5 in series between the output terminals; a resistor R8 and a capacitor C9 are connected in series between the pin 4 and the pin 7 of the Bluetooth chip U6, and the pin 4 is used to receive audio signals; the pin 5 is connected to the speaker interface P1 Pin 2 is connected; pin 6 is connected to the second voltage output terminal of the step-down module, and a capacitor C10 is connected in series with the common terminal GND; pin 7 is connected to the common terminal GND; pin 8 is connected to the speaker interface P1 The pin 1 is connected, and the pins 5 and 8 are used to drive the speaker to produce sound.
图7是根据本发明优选实施例的姿态传感器模块的电路原理图,如图7所示,姿态传感器模块103包括:姿态传感器芯片U5、电阻R28、电阻R29、电阻R74、电阻R75、电容C18、电容C19、电容C20、电容C21,其中,姿态传感器芯片U5优选为陀螺仪,包括引脚1至引脚13,其中,引脚1,与降压模块106的降压模块的第三电压输出端连接,与公共端GND之间串联有电容C21;引脚2,与蓝牙芯片U6的引脚61之间串联有电阻R74,与降压模块的第三电压输出端之间串联有电阻R28;引脚3,与蓝牙芯片U6的引脚62之间串联有电阻R75,与降压模块的第三电压输出端之间串联有电阻R29;引脚2和引脚3用于将检测到的平衡车姿态信息发送给蓝牙芯片U6;引脚4,与公共端GND连接;引脚5,与降压模块的第三电压输出端连接;引脚6悬空;引脚7悬空;引脚8、引脚9、引脚10、引脚11、引脚12、引脚13,与公共端GND连接。Fig. 7 is a schematic circuit diagram of a posture sensor module according to a preferred embodiment of the present invention. As shown in Fig. 7, the posture sensor module 103 includes: posture sensor chip U5, resistor R28, resistor R29, resistor R74, resistor R75, capacitor C18, Capacitor C19, Capacitor C20, Capacitor C21, where the attitude sensor chip U5 is preferably a gyroscope, including pins 1 to 13, where pin 1, and the third voltage output terminal of the step-down module of the step-down module 106 Connected, a capacitor C21 is connected in series with the common terminal GND; a resistor R74 is connected in series with the pin 61 of the Bluetooth chip U6, and a resistor R28 is connected in series with the third voltage output terminal of the step-down module; lead Pin 3, there is a resistor R75 in series with the pin 62 of the Bluetooth chip U6, and a resistor R29 in series with the third voltage output terminal of the step-down module; pins 2 and 3 are used to detect the balance car The posture information is sent to the Bluetooth chip U6; pin 4, connected to the common terminal GND; pin 5, connected to the third voltage output terminal of the step-down module; pin 6 floating; pin 7 floating; pin 8, pin 9. Pin 10, pin 11, pin 12, and pin 13 are connected to the common terminal GND.
图8是根据本发明优选实施例的第一PWM输出单元的电路原理图,如图8所示,第一电机驱动模块104的第一PWM输出单元包括:第一PWM输出芯片U8、二极管DL1、二极管DL2、二极管DL3、电容CL6、电容CL8、电容CL14、电容CL15、电阻RL17、电阻RL23、电阻RL24、电阻RL25、电阻RL26、电阻RL28,其中,第一PWM输出芯片U8包括引脚1至引脚20,其中,引脚1,与蓝牙芯片U6的引脚43之间串联有电阻RL17;引脚2,与蓝牙芯片U6的引脚42之间串联有电阻RL24;引脚3,与蓝牙芯片U6的引脚41之间串联有电阻RL26;引脚4,与蓝牙芯片U6的引脚36之间串联有电阻RL23;引脚5,与蓝牙芯片U6的引脚35之间串联有电阻RL25;引脚6,与蓝牙芯片U6的引脚34之间串联有电阻RL28;引脚7,与降压模块106的降压模块的第一电压输出端连接,与公共端GND之间串联有电容CL6,与第一PWM输出芯片U8的引脚14之间串联有二极管DL1,与第一PWM输出芯片U8的引脚17之间串联有二极管DL2,与第一PWM输出芯片U8的引脚20之间串联有二极管DL3;引脚8,与公共端GND连接;引脚9、引脚10、引脚11、引脚12、引脚13、引脚15、引脚16、引脚18、引脚19,与第一三相全桥电路连接;引脚14,与引脚12之间串联有电容CL15;引脚17,与引脚15之间串联有电容CL14;引脚20,与引脚18之间串联有电容CL8。FIG. 8 is a circuit principle diagram of the first PWM output unit according to a preferred embodiment of the present invention. As shown in FIG. 8, the first PWM output unit of the first motor drive module 104 includes: a first PWM output chip U8, a diode DL1, Diode DL2, diode DL3, capacitor CL6, capacitor CL8, capacitor CL14, capacitor CL15, resistor RL17, resistor RL23, resistor RL24, resistor RL25, resistor RL26, resistor RL28, wherein the first PWM output chip U8 includes pin 1 to lead Pin 20, of which, pin 1, and the pin 43 of the Bluetooth chip U6 is connected in series with a resistor RL17; pin 2, and the pin 42 of the Bluetooth chip U6 is connected in series with a resistor RL24; and the pin 3 is connected with the Bluetooth chip A resistor RL26 is connected in series between pin 41 of U6; a resistor RL23 is connected in series between pin 4 and pin 36 of Bluetooth chip U6; a resistor RL25 is connected in series between pin 5 and pin 35 of Bluetooth chip U6; Pin 6, a resistor RL28 is connected in series with the pin 34 of the Bluetooth chip U6; pin 7, connected to the first voltage output terminal of the step-down module of the step-down module 106, and a capacitor CL6 is connected in series with the common terminal GND , A diode DL1 is connected in series with pin 14 of the first PWM output chip U8, a diode DL2 is connected in series with pin 17 of the first PWM output chip U8, and a diode DL2 is connected in series with pin 20 of the first PWM output chip U8 There is a diode DL3 in series; pin 8, connected to the common terminal GND; pin 9, pin 10, pin 11, pin 12, pin 13, pin 15, pin 16, pin 18, pin 19 , Connected to the first three-phase full-bridge circuit; pin 14 and pin 12 are connected in series with a capacitor CL15; pin 17, and pin 15 is connected in series with a capacitor CL14; pin 20, and pin 18 A capacitor CL8 is connected in series.
图9是根据本发明优选实施例的第一三相全桥电路的电路原理图,如图9所示,第一电机驱动模块104的第一三相全桥电路包括:功率管ML1、功率管ML2、功率管ML3、功率管ML4、功率管ML5、功率管ML6、二极管DL4、二极管DL5、二极管DL6、二极管DL7、二极管DL8、二极管DL9、电阻RL8、电阻RL9、电阻RL10、电阻RL11、电阻RL12、电阻RL13、电阻RL14、电阻RL15、电阻RL16、电阻RL18、电阻RL19、电阻RL20、电阻RL21、电阻RL22、电容CL3、电容CL4、电容CL7、电容CL8、电容CL9、电容CL10、电容CL11、电容CL12、电容CL13,其中,功率管ML1的源极与电池的供电单元的电压输出端连接,且电池的供电单元的电压输出端与公共端GND_L之间串联有电容CL3,功率管ML1的漏极与第一电机的第一相线X1和第一PWM输出芯片U8的引脚18连接,功率管ML1的栅极与第一PWM输出芯片U8的引脚19之间串联有电阻RL8,且二极管DL4反向并联在电阻RL8上,功率管ML1的栅极和漏极之间还分别串联有电阻RL11和电容CL7;功率管ML4的源极与第一相线X1连接,功率管ML4的栅极与第一PWM输出芯片U8的引脚11之间串联有电阻RL16,且二极管DL7反向并联在电阻RL16上,功率管ML4的栅极和漏极之间还分别串联有电阻RL20和电容CL11,功率管ML4的源极和漏极之间还串联有电阻RL14;功率管ML2的源极与电池的供电单元的电压输出端连接,功率管ML2的漏极与第一电机的第二相线X2和第一PWM输出芯片U8的引脚15连接,功率管ML2的栅极与第一PWM输出芯片U8的引脚16之间串联有电阻RL19,且二极管DL5反向并联在电阻RL19上,功率管ML2的栅极和漏极之间还分别串联有电阻RL12和电容CL9;功率管ML5的源极与第二相线X2连接,功率管ML5的栅极与第一PWM输出芯片U8的引脚10之间串联有电阻RL18,且二极管DL8反向并联在电阻RL18上,功率管ML5的栅极和漏极之间还分别串联有电阻RL21和电容CL12,功率管ML5的源极和漏极之间还串联有电阻RL15;功率管ML3的源极与电池的供电单元的电压输出端连接,且电池的供电单元的电压输出端与公共端GND_L之间串联有电容CL4,功率管ML3的漏极与第一电机的第三相线X3和第一PWM输出芯片U8的引脚12连接,功率管ML3的栅极与第一PWM输出芯片U8的引脚13之间串联有电阻RL10,且二极管DL6反向并联在电阻RL10上,功率管ML3的栅极和漏极之间还分别串联有电阻RL13和电容CL10;功率管ML6的源极与第三相线X3连接,功率管ML6的栅极与第一PWM输出芯片U8的引脚9之间串联有电阻RL19,且二极管DL9反向并联在电阻RL19上,功率管ML6的栅极和漏极之间还分别串联有电阻RL22和电容CL13,功率管ML6的源极和漏极之间还串联有电阻RL37。Fig. 9 is a circuit schematic diagram of a first three-phase full bridge circuit according to a preferred embodiment of the present invention. As shown in Fig. 9, the first three-phase full bridge circuit of the first motor drive module 104 includes: a power tube ML1, a power tube ML2, power tube ML3, power tube ML4, power tube ML5, power tube ML6, diode DL4, diode DL5, diode DL6, diode DL7, diode DL8, diode DL9, resistor RL8, resistor RL9, resistor RL10, resistor RL11, resistor RL12 , Resistor RL13, resistor RL14, resistor RL15, resistor RL16, resistor RL18, resistor RL19, resistor RL20, resistor RL21, resistor RL22, capacitor CL3, capacitor CL4, capacitor CL7, capacitor CL8, capacitor CL9, capacitor CL10, capacitor CL11, capacitor CL12, capacitor CL13, where the source of the power tube ML1 is connected to the voltage output terminal of the power supply unit of the battery, and a capacitor CL3 is connected in series between the voltage output terminal of the power supply unit of the battery and the common terminal GND_L, and the drain of the power tube ML1 Connected to the first phase line X1 of the first motor and the pin 18 of the first PWM output chip U8, a resistor RL8 and a diode DL4 are connected in series between the gate of the power tube ML1 and the pin 19 of the first PWM output chip U8 It is connected in anti-parallel to the resistor RL8, and a resistor RL11 and a capacitor CL7 are connected in series between the gate and the drain of the power tube ML1; the source of the power tube ML4 is connected to the first phase line X1, and the gate of the power tube ML4 is connected to the first phase line X1. A resistor RL16 is connected in series between the pin 11 of the first PWM output chip U8, and the diode DL7 is connected in anti-parallel to the resistor RL16. The gate and drain of the power tube ML4 are also connected in series with a resistor RL20 and a capacitor CL11 respectively. A resistor RL14 is also connected in series between the source and drain of the tube ML4; the source of the power tube ML2 is connected to the voltage output terminal of the power supply unit of the battery, and the drain of the power tube ML2 is connected to the second phase line X2 and X2 of the first motor. The pin 15 of the first PWM output chip U8 is connected, a resistor RL19 is connected in series between the gate of the power tube ML2 and the pin 16 of the first PWM output chip U8, and the diode DL5 is connected in anti-parallel to the resistor RL19, and the power tube ML2 A resistor RL12 and a capacitor CL9 are also connected in series between the gate and drain of the ML5; the source of the power tube ML5 is connected to the second phase line X2, and the gate of the power tube ML5 is connected to the pin 10 of the first PWM output chip U8. A resistor RL18 is connected in series with the diode DL8 in anti-parallel connection with the resistor RL18. A resistor RL21 and a capacitor CL12 are connected in series between the gate and drain of the power tube ML5, and the source and drain of the power tube ML5 are also connected in series. A resistor RL15 is connected in series; the source of the power tube ML3 is connected to the voltage output terminal of the power supply unit of the battery, and a capacitor CL4 is connected in series between the voltage output terminal of the power supply unit of the battery and the common terminal GND_L. The third phase line of a motor X3 Connected to pin 12 of the first PWM output chip U8, a resistor RL10 is connected in series between the gate of the power tube ML3 and pin 13 of the first PWM output chip U8, and the diode DL6 is connected in anti-parallel to the resistor RL10, the power tube A resistor RL13 and a capacitor CL10 are also connected in series between the gate and drain of ML3; the source of the power tube ML6 is connected to the third phase line X3, and the gate of the power tube ML6 is connected to the pin 9 of the first PWM output chip U8. A resistor RL19 is connected in series, and a diode DL9 is connected in reverse parallel to the resistor RL19. A resistor RL22 and a capacitor CL13 are connected in series between the gate and drain of the power tube ML6, and between the source and drain of the power tube ML6. A resistor RL37 is also connected in series.
功率管可以为MOSFET、IGBT等功率开关器件。The power tube can be a power switching device such as MOSFET and IGBT.
在上述的第一电机驱动模块104中,第一PWM输出芯片U8是一个高压驱动芯片,可以独立驱动3个半桥MOSFET。其中,VB、VS为高压端供电;HO为高压端驱动输出;COM为低压端驱动供电,LO为低压端驱动输出;VCC为数字电路供电。在每个半桥电路中上下桥臂是交替导通的,以ML1和ML4所在半桥为例,每当下桥臂开通,上桥臂关断时VS脚的电位为下桥臂功率管ML4的饱和导通压降,基本上接近地电位,此时VCC通过自举二极管DL3对自举电容CL8充电使其接近VCC电压。当下桥臂功率管ML4关断时VS端的电压就会升高,由于电容两端的电压不能突变,因此VB端的电平接近于VS和VCC端电压之和,而VB和VS之间的电压还是接近VCC电压。当下桥臂功率管ML4开通时,自举电容CL8作为一个浮动的电压源驱动下桥臂功率管ML4;而自举二极管DL3在下桥臂功率管ML4开通其间损失的电荷在下一个周期又会得到补充,这种自举供电方式就是利用VS端的电平在高低电平之间不停地摆动来实现的。由于自举电路无需浮动电源,因此是最便宜的,自举电路给一只电容器充电,电容器上的电压基于高端输出晶体管源极电压上下浮动。其中自举二极管DL3是一个重要的自举器件,应能阻断直流干线上的高压,其承受的电流是栅极电荷与开关频率之积,为了减少电荷损失,应选择反向漏电流小的快恢复二极管,芯片内高压部分的供电都来自自举电容CL8上的电荷;为保证高压部分电路有足够的能量供给,应适当选取C2的大小。In the above-mentioned first motor drive module 104, the first PWM output chip U8 is a high-voltage drive chip, which can independently drive three half-bridge MOSFETs. Among them, VB and VS are the high-voltage side power supply; HO is the high-voltage side drive output; COM is the low-voltage side drive power supply, LO is the low-voltage side drive output; VCC is the digital circuit power supply. In each half-bridge circuit, the upper and lower bridge arms are turned on alternately. Taking the half bridge where ML1 and ML4 are located as an example, whenever the lower bridge arm is turned on, the potential of the VS pin when the upper bridge arm is turned off is that of the lower bridge arm power tube ML4. The saturated conduction voltage drop is basically close to the ground potential. At this time, VCC charges the bootstrap capacitor CL8 through the bootstrap diode DL3 to make it close to the VCC voltage. When the low-arm power tube ML4 is turned off, the voltage at the VS terminal will increase. Since the voltage across the capacitor cannot change suddenly, the level of the VB terminal is close to the sum of the voltages at the VS and VCC terminals, while the voltage between VB and VS is still close VCC voltage. When the low-side power tube ML4 is turned on, the bootstrap capacitor CL8 acts as a floating voltage source to drive the low-side power tube ML4; the bootstrap diode DL3 will be replenished in the next cycle when the low-side power tube ML4 is turned on. , This kind of bootstrap power supply is realized by using the level of VS end to swing continuously between high and low levels. Since the bootstrap circuit does not require a floating power supply, it is the cheapest. The bootstrap circuit charges a capacitor, and the voltage on the capacitor fluctuates based on the source voltage of the high-side output transistor. Among them, the bootstrap diode DL3 is an important bootstrap device. It should be able to block the high voltage on the DC mains. The current it bears is the product of the gate charge and the switching frequency. In order to reduce the charge loss, the reverse leakage current should be small For fast recovery diodes, the power supply for the high voltage part of the chip comes from the charge on the bootstrap capacitor CL8; in order to ensure that the high voltage part of the circuit has sufficient energy supply, the size of C2 should be selected appropriately.
此外,在每个半桥驱动电路中,功率管的栅极串联的电阻均反向并联有二极管用于稳压,以保护功率管的栅极不被击穿。在功率管的栅极和漏极之间串联有电阻和电容以降低电磁干扰(EMI),以及减缓脉冲沿速度的作用。在功率管的源极和漏极之间连接有续流电阻,以避免电机停转后反向电流击穿功率管。In addition, in each half-bridge driving circuit, the resistor connected in series with the gate of the power tube is connected in reverse parallel with a diode for voltage stabilization, so as to protect the gate of the power tube from being broken down. There are resistors and capacitors in series between the gate and drain of the power tube to reduce electromagnetic interference (EMI) and slow down the pulse edge speed. A freewheeling resistor is connected between the source and drain of the power tube to avoid reverse current breakdown of the power tube after the motor stops.
图10是根据本发明优选实施例的第一电流检测单元的电路原理图,如图10所示,第一电机驱动模块104的第一电流检测单元包括:第一差分运算芯片、二极管DL10、二极管DL11、电阻RL29、电阻RL30、电阻RL31、电阻RL32、电阻RL33、电阻RL34、电阻RL35、电阻RL36,其中,第一差分运算芯片包括引脚1至引脚8,其中,引脚1,与蓝牙芯片U6的引脚25连接;引脚2,与引脚1之间串联有电阻RL29,与公共端GND_L之间串联有电阻RL31;引脚3,与第一相线X1之间串联有电阻RL35,与降压模块的第三电压输出端之间串联有电阻RL33,引脚3和引脚2之间串联有二极管DL10;引脚4,与公共端GND连接;引脚5,与第二相线X2之间串联有电阻RL36,与降压模块的第三电压输出端之间串联有电阻RL34,引脚5和引脚6之间串联有二极管DL11;引脚6,与公共端GND_L之间串联有电阻RL32,与引脚7之间串联有电阻RL30;引脚7,与蓝牙芯片U6的引脚24连接;引脚8,与降压模块的第三电压输出端连接。第一电流检测模块检测三相电机U相和V相的电流,并传输给蓝牙芯片。FIG. 10 is a circuit schematic diagram of a first current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 10, the first current detection unit of the first motor drive module 104 includes: a first differential operation chip, a diode DL10, and a diode DL11, resistor RL29, resistor RL30, resistor RL31, resistor RL32, resistor RL33, resistor RL34, resistor RL35, resistor RL36, among which, the first differential operation chip includes pins 1 to 8, among which, pin 1, and Bluetooth The pin 25 of the chip U6 is connected; pin 2, a resistor RL29 is connected in series with pin 1, and a resistor RL31 is connected in series with the common terminal GND_L; pin 3, a resistor RL35 is connected in series with the first phase line X1 , There is a resistor RL33 in series with the third voltage output terminal of the step-down module, and a diode DL10 is connected in series between pin 3 and pin 2; pin 4 is connected to the common terminal GND; pin 5 is connected to the second phase There is a resistor RL36 in series between the line X2, a resistor RL34 in series with the third voltage output terminal of the step-down module, and a diode DL11 in series between pin 5 and pin 6; between pin 6 and the common terminal GND_L A resistor RL32 is connected in series, and a resistor RL30 is connected in series with pin 7; pin 7 is connected to pin 24 of the Bluetooth chip U6; pin 8 is connected to the third voltage output terminal of the step-down module. The first current detection module detects the U-phase and V-phase currents of the three-phase motor and transmits them to the Bluetooth chip.
图11是根据本发明优选实施例的第二电流检测单元的电路原理图,如图11所示,第一电机驱动模块104的第二电流检测单元包括:三极管QL1、电阻RL1、电阻RL2、电阻RL5、电容CL1,其中,三极管QL1的集电极与降压模块的第三电压输出端之间串联有电阻RL1,三极管QL1的集电极与蓝牙芯片U6的引脚33之间串联有电阻RL2,三极管QL1的发射极与公共端GND连接,且三极管QL1的发射极与蓝牙芯片U6的引脚33之间串联有电容CL1,三极管QL1的基极与公共端GND_L之间串联有电阻RL5。FIG. 11 is a schematic circuit diagram of a second current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 11, the second current detection unit of the first motor drive module 104 includes: a transistor QL1, a resistor RL1, a resistor RL2, and a resistor RL5. Capacitor CL1, wherein a resistor RL1 is connected in series between the collector of the transistor QL1 and the third voltage output terminal of the buck module, and a resistor RL2 is connected in series between the collector of the transistor QL1 and the pin 33 of the Bluetooth chip U6. The transistor The emitter of QL1 is connected to the common terminal GND, and a capacitor CL1 is connected in series between the emitter of the transistor QL1 and the pin 33 of the Bluetooth chip U6, and a resistor RL5 is connected in series between the base of the transistor QL1 and the common terminal GND_L.
在图11所示的第二电流检测单元中,如果公共端GND_L与公共端GND之间的电压为零,则PB12输出高电平给蓝牙芯片;如果公共端GND_L的电压上升,达到三极管QL1的导通电压,三极管导通,此时PB12的电平被置为低电平。通过第二电流检测单元可以检测输出电流是否过大,当电流超过预设范围时发送信号给蓝牙芯片,硬件切断蓝牙芯片输出的电机驱动信号,保护系统的安全。In the second current detection unit shown in Figure 11, if the voltage between the common terminal GND_L and the common terminal GND is zero, the PB12 outputs a high level to the Bluetooth chip; if the voltage of the common terminal GND_L rises, it reaches the transistor QL1 Turn on the voltage, the transistor is turned on, and the level of PB12 is set to low level at this time. The second current detection unit can detect whether the output current is too large, and when the current exceeds a preset range, a signal is sent to the Bluetooth chip, and the hardware cuts off the motor drive signal output by the Bluetooth chip to protect the safety of the system.
图12是根据本发明优选实施例的第三电流检测单元的电路原理图,如图12所示,第一电机驱动模块104的第三电流检测单元包括:第一差分运算器、电阻RL3、电阻RL4、电阻RL6、电阻RL7、电容CL2,其中,第一差分运算器的负极输入端与公共端GND之间串联有电阻RL4,第一差分运算器的负极输入端与第一差分运算器的负极输入端之间串联有电阻RL3,第一差分运算器的正极输入端与降压模块的第三电压输出端之间串联有电阻RL6,第一差分运算器的正极输入端与公共端GND_L之间串联有电阻RL7,第一差分运算器的正极输入端与公共端GND之间串联有电容CL2,第一差分运算器的接地端与公共地段GND连接,第一差分运算器的电源端与降压模块的第三电压输出端连接,第一差分运算器的输出端与蓝牙芯片U6的引脚9连接。第三电流检测单元检测电机总电流,当总电流超过一定预设范围时,通过蓝牙芯片调节输出的PWM占空比信号,降低输出电流,保护系统安全。FIG. 12 is a circuit principle diagram of a third current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 12, the third current detection unit of the first motor drive module 104 includes: a first differential operator, a resistor RL3, and a resistor RL4, resistor RL6, resistor RL7, capacitor CL2, wherein a resistor RL4 is connected in series between the negative input terminal of the first differential operator and the common terminal GND, and the negative input terminal of the first differential operator is connected to the negative terminal of the first differential operator A resistor RL3 is connected in series between the input terminals, a resistor RL6 is connected in series between the positive input terminal of the first differential operator and the third voltage output terminal of the buck module, and between the positive input terminal of the first differential operator and the common terminal GND_L A resistor RL7 is connected in series, a capacitor CL2 is connected in series between the positive input terminal of the first differential arithmetic unit and the common terminal GND, the ground terminal of the first differential arithmetic unit is connected to the common ground GND, and the power terminal of the first differential arithmetic unit is connected to the buck The third voltage output terminal of the module is connected, and the output terminal of the first differential arithmetic unit is connected to the pin 9 of the Bluetooth chip U6. The third current detection unit detects the total current of the motor, and when the total current exceeds a certain preset range, the output PWM duty cycle signal is adjusted through the Bluetooth chip to reduce the output current and protect the safety of the system.
图13是根据本发明优选实施例的第一采样电阻单元的电路原理图,如图13所示,第一电机驱动模块104的第一采样电阻单元包括:电阻RL27,连接在公共端GND_L与公共端GND之间,电阻RL27为4毫欧电阻。FIG. 13 is a circuit schematic diagram of a first sampling resistance unit according to a preferred embodiment of the present invention. As shown in FIG. 13, the first sampling resistance unit of the first motor drive module 104 includes a resistor RL27, which is connected to the common terminal GND_L and the common terminal GND_L. Between the terminals GND, the resistor RL27 is a 4 milliohm resistor.
第二电机驱动模块105与第一电机驱动模块104是相同的电路结构。The second motor drive module 105 and the first motor drive module 104 have the same circuit structure.
图14是根据本发明优选实施例的第二PWM输出单元的电路原理图,如图14所示,第二电机驱动模块105的第二PWM输出单元包括:第二PWM输出芯片U9、二极管DR1、二极管DR2、二极管DR3、电容CR6、电容CR8、电容CR14、电容CR15、电阻RR17、电阻RR23、电阻RR24、电阻RR25、电阻RR26、电阻RR27,其中,第二PWM输出芯片U9包括引脚1至引脚20,其中,引脚1,与蓝牙芯片U6的引脚39之间串联有电阻RR17;引脚2,与蓝牙芯片U6的引脚38之间串联有电阻RR24;引脚3,与蓝牙芯片U6的引脚37之间串联有电阻RR26;引脚4,与蓝牙芯片U6的引脚27之间串联有电阻RR23;引脚5,与蓝牙芯片U6的引脚26之间串联有电阻RR25;引脚6,与蓝牙芯片U6的引脚23之间串联有电阻RR27;引脚7,与降压模块106的降压模块的第二电压输出端连接,与公共端GND之间串联有电容CR6,与第二PWM输出芯片U9的引脚14之间串联有二极管DR1,与第二PWM输出芯片U9的引脚17之间串联有二极管DR2,与第二PWM输出芯片U9的引脚20之间串联有二极管DR3;引脚8,与公共端GND连接;引脚9、引脚10、引脚11、引脚12、引脚13、引脚15、引脚16、引脚18、引脚19,与第二三相全桥单元连接;引脚14,与引脚12之间串联有电容CR15;引脚17,与引脚15之间串联有电容CR14;引脚20,与引脚18之间串联有电容CR8。14 is a schematic circuit diagram of the second PWM output unit according to a preferred embodiment of the present invention. As shown in FIG. 14, the second PWM output unit of the second motor drive module 105 includes: a second PWM output chip U9, diodes DR1, Diode DR2, diode DR3, capacitor CR6, capacitor CR8, capacitor CR14, capacitor CR15, resistor RR17, resistor RR23, resistor RR24, resistor RR25, resistor RR26, resistor RR27, wherein the second PWM output chip U9 includes pin 1 to lead Pin 20, among them, pin 1, connects the resistance RR17 in series with the pin 39 of the bluetooth chip U6; pin 2, connects the resistance RR24 in series with the pin 38 of the bluetooth chip U6; pin 3, connects with the bluetooth chip A resistor RR26 is connected in series between pin 37 of U6; a resistor RR23 is connected in series between pin 4 and pin 27 of Bluetooth chip U6; a resistor RR25 is connected in series between pin 5 and pin 26 of Bluetooth chip U6; Pin 6, a resistor RR27 is connected in series with the pin 23 of the Bluetooth chip U6; pin 7, connected to the second voltage output terminal of the step-down module of the step-down module 106, and a capacitor CR6 is connected in series with the common terminal GND , A diode DR1 is connected in series with pin 14 of the second PWM output chip U9, a diode DR2 is connected in series with pin 17 of the second PWM output chip U9, and a diode DR2 is connected in series with pin 20 of the second PWM output chip U9 There is a diode DR3 in series; pin 8, connected to the common terminal GND; pin 9, pin 10, pin 11, pin 12, pin 13, pin 15, pin 16, pin 18, pin 19 , Connected to the second three-phase full-bridge unit; pin 14 and pin 12 are connected in series with a capacitor CR15; pin 17, and pin 15 is connected in series with a capacitor CR14; pin 20, and pin 18 A capacitor CR8 is connected in series.
图15是根据本发明优选实施例的第二三相全桥单元的电路原理图,如图15所示,第二电机驱动模块105的第二三相全桥单元包括:功率管MR1、功率管MR2、功率管MR3、功率管MR4、功率管MR5、功率管MR6、二极管DR4、二极管DR5、二极管DR6、二极管DR7、二极管DR8、二极管DR9、电阻RR8、电阻RR9、电阻RR10、电阻RR11、电阻RR12、电阻RR13、电阻RR14、电阻RR15、电阻RR16、电阻RR18、电阻RR19、电阻RR20、电阻RR21、电阻RR22、电容CR3、电容CR5、电容CR7、电容CR8、电容CR9、电容CR10、电容CR11、电容CR12、电容CR13,其中,功率管MR1的源极与电池的供电单元的电压输出端连接,且电池的供电单元的电压输出端与公共端GND_R之间串联有电容CR3,功率管MR1的漏极与第二电机的第一相线X1和第二PWM输出芯片U9的引脚18连接,功率管MR1的栅极与第二PWM输出芯片U9的引脚19之间串联有电阻RR8,且二极管DR4反向并联在电阻RR8上,功率管MR1的栅极和漏极之间还分别串联有电阻RR11和电容CR7;功率管MR4的源极与第一相线X1连接,功率管MR4的栅极与第二PWM输出芯片U9的引脚11之间串联有电阻RR16,且二极管DR7反向并联在电阻RR16上,功率管MR4的栅极和漏极之间还分别串联有电阻RR20和电容CR11,功率管MR4的源极和漏极之间还串联有电阻RR14;功率管MR2的源极与电池的供电单元的电压输出端连接,功率管MR2的漏极与第二电机的第二相线X2和第二PWM输出芯片U9的引脚15连接,功率管MR2的栅极与第二PWM输出芯片U9的引脚16之间串联有电阻RR19,且二极管DR5反向并联在电阻RR19上,功率管MR2的栅极和漏极之间还分别串联有电阻RR12和电容CR9;功率管MR5的源极与第二相线X2连接,功率管MR5的栅极与第二PWM输出芯片U9的引脚10之间串联有电阻RR18,且二极管DR8反向并联在电阻RR18上,功率管MR5的栅极和漏极之间还分别串联有电阻RR21和电容CR12,功率管MR5的源极和漏极之间还串联有电阻RR15;功率管MR3的源极与电池的供电单元的电压输出端连接,且电池的供电单元的电压输出端与公共端GND_R之间串联有电容CR4,功率管MR3的漏极与第二电机的第三相线X3和第二PWM输出芯片U9的引脚12连接,功率管MR3的栅极与第二PWM输出芯片U9的引脚13之间串联有电阻RR10,且二极管DR6反向并联在电阻RR10上,功率管MR3的栅极和漏极之间还分别串联有电阻RR13和电容CR10;功率管MR6的源极与第三相线X3连接,功率管MR6的栅极与第二PWM输出芯片U9的引脚9之间串联有电阻RR19,且二极管DR9反向并联在电阻RR19上,功率管MR6的栅极和漏极之间还分别串联有电阻RR22和电容CR13,功率管MR6的源极和漏极之间还串联有电阻RR37。FIG. 15 is a circuit schematic diagram of a second three-phase full-bridge unit according to a preferred embodiment of the present invention. As shown in FIG. 15, the second three-phase full-bridge unit of the second motor drive module 105 includes: a power tube MR1, a power tube MR2, power tube MR3, power tube MR4, power tube MR5, power tube MR6, diode DR4, diode DR5, diode DR6, diode DR7, diode DR8, diode DR9, resistor RR8, resistor RR9, resistor RR10, resistor RR11, resistor RR12 , Resistor RR13, resistor RR14, resistor RR15, resistor RR16, resistor RR18, resistor RR19, resistor RR20, resistor RR21, resistor RR22, capacitor CR3, capacitor CR5, capacitor CR7, capacitor CR8, capacitor CR9, capacitor CR10, capacitor CR11, capacitor CR12, capacitor CR13, where the source of the power tube MR1 is connected to the voltage output terminal of the power supply unit of the battery, and a capacitor CR3 is connected in series between the voltage output terminal of the power supply unit of the battery and the common terminal GND_R, and the drain of the power tube MR1 Connected to the first phase line X1 of the second motor and the pin 18 of the second PWM output chip U9. A resistor RR8 and a diode DR4 are connected in series between the gate of the power tube MR1 and the pin 19 of the second PWM output chip U9. It is connected in anti-parallel to the resistor RR8, and a resistor RR11 and a capacitor CR7 are connected in series between the gate and drain of the power tube MR1; the source of the power tube MR4 is connected to the first phase line X1, and the gate of the power tube MR4 is connected to the first phase line X1. A resistor RR16 is connected in series between the pin 11 of the second PWM output chip U9, and the diode DR7 is connected in anti-parallel to the resistor RR16. The gate and drain of the power tube MR4 are also connected in series with a resistor RR20 and a capacitor CR11, respectively. A resistor RR14 is connected in series between the source and drain of the tube MR4; the source of the power tube MR2 is connected to the voltage output terminal of the battery's power supply unit, and the drain of the power tube MR2 is connected to the second phase line X2 of the second motor The pin 15 of the second PWM output chip U9 is connected. A resistor RR19 is connected in series between the gate of the power tube MR2 and the pin 16 of the second PWM output chip U9, and the diode DR5 is connected in anti-parallel to the resistor RR19, and the power tube MR2 A resistor RR12 and a capacitor CR9 are connected in series between the gate and drain respectively; the source of the power tube MR5 is connected to the second phase line X2, and the gate of the power tube MR5 is connected to the pin 10 of the second PWM output chip U9. A resistor RR18 is connected in series with the diode DR8 in reverse parallel connection with the resistor RR18. A resistor RR21 and a capacitor CR12 are connected in series between the gate and drain of the power tube MR5. The source and drain of the power tube MR5 are also connected in series. A resistor RR15 is connected in series; the source of the power tube MR3 is connected to the voltage output terminal of the battery power supply unit, and a capacitor CR4 is connected in series between the voltage output terminal of the battery power supply unit and the common terminal GND_R. The third phase line of the second motor X3 is connected to pin 12 of the second PWM output chip U9. A resistor RR10 is connected in series between the gate of the power tube MR3 and pin 13 of the second PWM output chip U9, and the diode DR6 is connected in anti-parallel to the resistor RR10. A resistor RR13 and a capacitor CR10 are connected in series between the gate and drain of the tube MR3; the source of the power tube MR6 is connected to the third phase line X3, and the gate of the power tube MR6 is connected to the pin of the second PWM output chip U9 A resistor RR19 is connected in series between 9 and a diode DR9 is connected in anti-parallel to the resistor RR19. A resistor RR22 and a capacitor CR13 are connected in series between the gate and drain of the power tube MR6. The source and drain of the power tube MR6 are connected in series. There is also a resistor RR37 in series between.
图16是根据本发明优选实施例的第四电流检测单元的电路原理图,如图16所示,第二电机驱动模块105的第四电流检测单元包括:第二差分运算芯片、二极管DR10、二极管DR11、电阻RR29、电阻RR30、电阻RR31、电阻RR32、电阻RR33、电阻RR34、电阻RR35、电阻RR36,其中,第二差分运算芯片包括引脚1至引脚8,其中,引脚1,与蓝牙芯片U6的引脚14连接;引脚2,与引脚1之间串联有电阻RR29,与公共端GND_R之间串联有电阻RR31;引脚3,与第一相线X1之间串联有电阻RR35,与降压模块的第三电压输出端之间串联有电阻RR33,引脚3和引脚2之间串联有二极管DR10;引脚4,与公共端GND连接;引脚5,与第二相线X2之间串联有电阻RR36,与降压模块的第三电压输出端之间串联有电阻RR34,引脚5和引脚6之间串联有二极管DR11;引脚6,与公共端GND_R之间串联有电阻RR32,与引脚7之间串联有电阻RR30;引脚7,与蓝牙芯片U6的引脚11连接;引脚8,与降压模块的第三电压输出端连接。FIG. 16 is a circuit schematic diagram of a fourth current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 16, the fourth current detection unit of the second motor drive module 105 includes: a second differential operation chip, a diode DR10, and a diode DR11, resistor RR29, resistor RR30, resistor RR31, resistor RR32, resistor RR33, resistor RR34, resistor RR35, resistor RR36. Among them, the second differential arithmetic chip includes pin 1 to pin 8. Among them, pin 1, and Bluetooth The pin 14 of the chip U6 is connected; pin 2, a resistor RR29 is connected in series with pin 1, and a resistor RR31 is connected in series with the common terminal GND_R; pin 3, a resistor RR35 is connected in series with the first phase line X1 , There is a resistor RR33 in series with the third voltage output terminal of the step-down module, and a diode DR10 is connected in series between pin 3 and pin 2; pin 4 is connected to the common terminal GND; pin 5 is connected to the second phase There is a resistor RR36 in series between the line X2 and a resistor RR34 in series with the third voltage output terminal of the step-down module. A diode DR11 is connected in series between the pin 5 and the pin 6; between the pin 6 and the common terminal GND_R A resistor RR32 is connected in series, and a resistor RR30 is connected in series with pin 7; pin 7 is connected to pin 11 of the Bluetooth chip U6; pin 8 is connected to the third voltage output terminal of the step-down module.
图17是根据本发明优选实施例的第五电流检测单元的电路原理图,如图17所示,第二电机驱动模块105的第五电流检测单元包括:三极管QR1、电阻RR1、电阻RR2、电阻RR5、电容CR1,其中,三极管QR1的集电极与降压模块的第三电压输出端之间串联有电阻RR1,三极管QR1的集电极与蓝牙芯片U6的引脚22之间串联有电阻RR2,三极管QR1的发射极与公共端GND连接,且三极管QR1的发射极与蓝牙芯片U6的引脚22之间串联有电容CR1,三极管QR1的基极与公共端GND_R之间串联有电阻RR5。FIG. 17 is a circuit principle diagram of a fifth current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 17, the fifth current detection unit of the second motor drive module 105 includes: a transistor QR1, a resistor RR1, a resistor RR2, and a resistor RR5. Capacitor CR1. Among them, a resistor RR1 is connected in series between the collector of the transistor QR1 and the third voltage output terminal of the buck module, and a resistor RR2 is connected in series between the collector of the transistor QR1 and the pin 22 of the Bluetooth chip U6. The emitter of QR1 is connected to the common terminal GND, and a capacitor CR1 is connected in series between the emitter of the transistor QR1 and the pin 22 of the Bluetooth chip U6, and a resistor RR5 is connected in series between the base of the transistor QR1 and the common terminal GND_R.
图18是根据本发明优选实施例的第六电流检测单元的电路原理图,如图18所示,第二电机驱动模块105的第六电流检测单元包括:第二差分运算器、电阻RR3、电阻RR4、电阻RR6、电阻RR7、电容CR2,其中,第二差分运算器的负极输入端与公共端GND之间串联有电阻RR4,第二差分运算器的负极输入端与第二差分运算器的负极输入端之间串联有电阻RR3,第二差分运算器的正极输入端与降压模块的第三电压输出端之间串联有电阻RR6,第二差分运算器的正极输入端与公共端GND_R之间串联有电阻RR7,第二差分运算器的正极输入端与公共端GND之间串联有电容CR2,第二差分运算器的接地端与公共地段GND连接,第二差分运算器的电源端与降压模块的第三电压输出端连接,第二差分运算器的输出端与蓝牙芯片U6的引脚8连接。FIG. 18 is a circuit principle diagram of a sixth current detection unit according to a preferred embodiment of the present invention. As shown in FIG. 18, the sixth current detection unit of the second motor drive module 105 includes: a second differential arithmetic unit, a resistor RR3, and a resistor RR4, resistor RR6, resistor RR7, capacitor CR2, wherein a resistor RR4 is connected in series between the negative input terminal of the second differential operator and the common terminal GND, and the negative input terminal of the second differential operator is connected to the negative terminal of the second differential operator A resistor RR3 is connected in series between the input terminals, a resistor RR6 is connected in series between the positive input terminal of the second differential operator and the third voltage output terminal of the buck module, and between the positive input terminal of the second differential operator and the common terminal GND_R A resistor RR7 is connected in series, a capacitor CR2 is connected in series between the positive input terminal of the second differential operator and the common terminal GND, the ground terminal of the second differential operator is connected to the common ground GND, and the power terminal of the second differential operator is connected to the buck The third voltage output terminal of the module is connected, and the output terminal of the second differential arithmetic unit is connected to pin 8 of the Bluetooth chip U6.
图19是根据本发明优选实施例的第二采样电阻单元的电路原理图,如图19所示,第二电机驱动模块105的第二采样电阻单元包括:电阻RR28,连接在公共端GND_R与公共端GND之间,电阻RR28为4毫欧电阻。FIG. 19 is a circuit schematic diagram of the second sampling resistance unit according to a preferred embodiment of the present invention. As shown in FIG. 19, the second sampling resistance unit of the second motor drive module 105 includes a resistor RR28, which is connected to the common terminal GND_R and the common terminal GND_R. Between the terminals GND, the resistor RR28 is a 4 milliohm resistor.
图20是根据本发明优选实施例的供电单元的电路原理图,如图20所示,降压模块106的供电单元包括:插座P17、插座P18、电容C37、电容C38、电容C39、电容C40,其中,电容C37、电容C38、电容C39、电容C40分别连接在插座P17和插座P18之间,插座P18与公共端GND连接;20 is a circuit schematic diagram of a power supply unit according to a preferred embodiment of the present invention. As shown in FIG. 20, the power supply unit of the step-down module 106 includes: socket P17, socket P18, capacitor C37, capacitor C38, capacitor C39, capacitor C40, Among them, the capacitor C37, the capacitor C38, the capacitor C39, and the capacitor C40 are respectively connected between the socket P17 and the socket P18, and the socket P18 is connected to the common terminal GND;
图21是根据本发明优选实施例的第一降压单元的电路原理图,如图21所示,降压模块106的第一降压单元包括:功率MOSFET芯片U10、第一降压芯片U11、电阻R66、电阻R68、电阻R71、电阻R73、电阻R60、电阻R63、电阻R57、电阻R54、电阻R53、电阻R52、电阻R55、电阻R58、电阻R59、电阻R62、电阻R56、电容C54、电容C46、电容C36、电容C41、电容C42、电容C43、电容C45、电容C44、电感L3、二极管DZ1、二极管D6、二极管D7、二极管D4、二极管D3、二极管D5、三极管Q9、功率管Q8、开关接口P19,其中,FIG. 21 is a schematic circuit diagram of a first step-down unit according to a preferred embodiment of the present invention. As shown in FIG. 21, the first step-down unit of the step-down module 106 includes: a power MOSFET chip U10, a first step-down chip U11, Resistor R66, resistor R68, resistor R71, resistor R73, resistor R60, resistor R63, resistor R57, resistor R54, resistor R53, resistor R52, resistor R55, resistor R58, resistor R59, resistor R62, resistor R56, capacitor C54, capacitor C46 , Capacitor C36, Capacitor C41, Capacitor C42, Capacitor C43, Capacitor C45, Capacitor C44, Inductor L3, Diode DZ1, Diode D6, Diode D7, Diode D4, Diode D3, Diode D5, Transistor Q9, Power Tube Q8, Switch Interface P19 ,among them,
功率MOSFET芯片U10包括引脚1、引脚2和引脚3,其中,引脚1,与电池的供电单元的电压输出端之间串联有电阻R56,与三极管Q9的集电极之间串联有电阻R57,三极管Q9的发射极与公共端GND连接,三极管Q9的基极和发射极之间还分别串联有电阻R63和电容R46;引脚2,与公共端GND之间依次串联有电阻R53和电阻R54,与公共端GND之间串联有电容C41,电阻R53和电阻R54的连接结点与蓝牙芯片U6的引脚10连接,且电阻R53和电阻R54的连接结点与公共端GND之间串联有电容C36;引脚3,与电池的供电单元的电压输出端连接,与充电端BAT_Charge之间串联有二极管D4;The power MOSFET chip U10 includes pin 1, pin 2 and pin 3. Among them, pin 1 is connected in series with the voltage output terminal of the battery's power supply unit, and there is a resistor R56 in series with the collector of the transistor Q9. R57, the emitter of the transistor Q9 is connected to the common terminal GND, a resistor R63 and a capacitor R46 are respectively connected in series between the base and the emitter of the transistor Q9; a resistor R53 and a resistor are connected in series between the pin 2, and the common terminal GND in sequence A capacitor C41 is connected in series between R54 and the common terminal GND. The connection node of the resistor R53 and the resistor R54 is connected to the pin 10 of the Bluetooth chip U6, and the connection node of the resistor R53 and the resistor R54 is connected in series with the common terminal GND. Capacitor C36; Pin 3 is connected to the voltage output terminal of the battery's power supply unit, and a diode D4 is connected in series with the charging terminal BAT_Charge;
开关接口P19包括引脚1和引脚2,其中,引脚1,与三极管Q9的基极之间依次串联有二极管D6和电阻R60,与公共端GND之间依次串联有电阻R71和电容C54,且电阻R71和电容C54的连接结点与蓝牙芯片U6的引脚40连接,与公共端GND之间串联有电阻R68,且在电阻R68上并联有反向偏压二极管DZ1,二极管D6和电阻R60的连接结点与公共端GND之间依次串联有反向偏压二极管D7和电阻R73,反向偏压二极管D7和电阻R73的连接结点与蓝牙芯片U6的引脚28连接;引脚2,与电池的供电单元的电压输出端之间串联有电阻R66;The switch interface P19 includes pin 1 and pin 2. Among them, a diode D6 and a resistor R60 are connected in series between the pin 1 and the base of the transistor Q9, and a resistor R71 and a capacitor C54 are connected in series with the common terminal GND. And the connection node of the resistor R71 and the capacitor C54 is connected to the pin 40 of the Bluetooth chip U6, a resistor R68 is connected in series with the common terminal GND, and a reverse bias diode DZ1, a diode D6 and a resistor R60 are connected in parallel to the resistor R68 A reverse-biased diode D7 and a resistor R73 are connected in series between the connection node and the common terminal GND. The connection node of the reverse-biased diode D7 and the resistor R73 is connected to the pin 28 of the Bluetooth chip U6; pin 2, A resistor R66 is connected in series with the voltage output terminal of the power supply unit of the battery;
第一降压芯片U11包括引脚1至引脚8,其中,引脚1,与功率管Q8之间串联有电阻R52,与降压模块106的降压模块的第一电压输出端之间串联有反向偏压二极管D3,与降压模块的第一电压输出端之间依次串联有电容C42、电感L3;引脚2,与降压模块的第一电压输出端之间串联有电阻R55,与电容C42和电感L3的连接结点之间分别串联有电容C43、电阻R58;引脚3悬空;引脚4,与电容C42和电感L3的连接结点之间串联有电阻R59,与功率管Q8的源极连接;引脚5,与功率管Q8的栅极连接;引脚6、引脚7悬空;引脚8,与电容C42和电感L3的连接结点连接;电容C42和电感L3的连接结点与公共端GND之间还串联有反向偏压二极管D5,降压模块的第一电压输出端与公共端GND之间还分别串联有电容C45、电容C44和电阻R62;The first step-down chip U11 includes pins 1 to 8, wherein a resistor R52 is connected in series between the pin 1 and the power tube Q8, and is connected in series with the first voltage output terminal of the step-down module of the step-down module 106 There is a reverse bias diode D3, a capacitor C42 and an inductor L3 are connected in series with the first voltage output terminal of the step-down module; pin 2, a resistor R55 is connected in series with the first voltage output terminal of the step-down module, A capacitor C43 and a resistor R58 are connected in series with the connection node of the capacitor C42 and the inductor L3 respectively; pin 3 is floating; pin 4, a resistor R59 is connected in series with the connection node of the capacitor C42 and the inductor L3, and the power tube The source of Q8 is connected; pin 5 is connected to the gate of the power tube Q8; pins 6 and 7 are floating; pin 8 is connected to the connection node of the capacitor C42 and the inductor L3; the capacitor C42 and the inductor L3 A reverse bias diode D5 is also connected in series between the connection node and the common terminal GND, and a capacitor C45, a capacitor C44, and a resistor R62 are also connected in series between the first voltage output terminal of the step-down module and the common terminal GND, respectively;
图22是根据本发明优选实施例的第二降压单元的电路原理图,如图22所示,降压模块106的第二降压单元106包括:第二降压芯片U12,电阻R65、电阻R69、电阻R67、电阻R70、电阻R64、电容C50、电容C47、电容C53、电容C48、电容C49、电感L7,其中,第二降压芯片U12包括引脚1至引脚6,其中,引脚1,与降压模块的第二电压输出端之间依次串联有电容C47、电感L4;引脚2,与公共端GND连接;引脚3,与公共端GND之间串联有电阻R70,与降压模块的第二电压输出端之间分别串联有电阻R67和电容C48;引脚4,与降压模块的第一电压输出端之间串联有电阻R65,与公共端GND之间分别串联有电阻R69和电容C53;引脚5,与降压模块的第一电压输出端连接,与公共端GND之间串联有电容C50;引脚6,与电容C47和电感L4的连接结点连接;降压模块的第二电压输出端和公共端之间还串联有电容C49,降压模块的第二电压输出端上还串联有电阻R64,电阻R64为零欧电阻;FIG. 22 is a schematic circuit diagram of a second step-down unit according to a preferred embodiment of the present invention. As shown in FIG. 22, the second step-down unit 106 of the step-down module 106 includes: a second step-down chip U12, a resistor R65, and a resistor R69, resistor R67, resistor R70, resistor R64, capacitor C50, capacitor C47, capacitor C53, capacitor C48, capacitor C49, inductor L7, where the second step-down chip U12 includes pins 1 to 6, where pins 1. A capacitor C47 and an inductor L4 are connected in series with the second voltage output terminal of the step-down module; pin 2 is connected to the common terminal GND; pin 3 is connected in series with the common terminal GND with a resistor R70, and A resistor R67 and a capacitor C48 are respectively connected in series between the second voltage output terminal of the voltage module; a resistor R65 is connected in series with the first voltage output terminal of the buck module, and a resistor R65 is connected in series with the common terminal GND. R69 and capacitor C53; Pin 5 is connected to the first voltage output terminal of the step-down module, and a capacitor C50 is connected in series with the common terminal GND; Pin 6 is connected to the connection node of capacitor C47 and inductor L4; A capacitor C49 is also connected in series between the second voltage output terminal and the common terminal of the module, and a resistor R64 is also connected in series with the second voltage output terminal of the step-down module, and the resistor R64 is a zero-ohm resistor;
图23是根据本发明优选实施例的第三降压单元的电路原理图,如图23所示,降压模块106的第三降压单元包括:第三降压芯片U13、电阻R72、电容C55、电容C56,其中,FIG. 23 is a circuit schematic diagram of a third step-down unit according to a preferred embodiment of the present invention. As shown in FIG. 23, the third step-down unit of the step-down module 106 includes: a third step-down chip U13, a resistor R72, and a capacitor C55 , Capacitor C56, of which,
第三降压芯片U13包括引脚1至引脚4,其中,引脚1,与公共端GND连接;引脚2,与降压模块的第三电压输出端连接;引脚3,与降压模块的第二电压输出端连接;降压模块的第二电压输出端与公共端GND之间还串联有电容C55,降压模块的第三电压输出端与公共端GND之间串联有电容C56,降压模块的第三电压输出端与第四输出端之间串联有电阻R72。The third step-down chip U13 includes pins 1 to 4, wherein pin 1 is connected to the common terminal GND; pin 2 is connected to the third voltage output terminal of the step-down module; pin 3 is connected to the step-down module The second voltage output terminal of the module is connected; a capacitor C55 is connected in series between the second voltage output terminal of the step-down module and the common terminal GND, and a capacitor C56 is connected in series between the third voltage output terminal of the step-down module and the common terminal GND. A resistor R72 is connected in series between the third voltage output terminal and the fourth output terminal of the step-down module.
图24是根据本发明优选实施例的第一光电开关接口单元的电路原理图,如图24所示,外部接口模块107的第一光电开关接口单元包括:第一光电开关接口P3、电阻R12、电容C12,FIG. 24 is a schematic circuit diagram of a first photoelectric switch interface unit according to a preferred embodiment of the present invention. As shown in FIG. 24, the first photoelectric switch interface unit of the external interface module 107 includes: a first photoelectric switch interface P3, a resistor R12, Capacitor C12,
其中,第一光电开关接口P3包括引脚1、引脚2和引脚3,其中,引脚1,与降压模块的第三电压输出端连接;引脚2,与公共端GND连接;引脚3,与蓝牙芯片U6的引脚58连接,与公共端GND之间分别串联有电阻R12、电容C12;Among them, the first photoelectric switch interface P3 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the third voltage output terminal of the step-down module; pin 2 is connected to the common terminal GND; Pin 3 is connected to pin 58 of the Bluetooth chip U6, and a resistor R12 and a capacitor C12 are connected in series with the common terminal GND;
图25是根据本发明优选实施例的第二光电开关接口单元的电路原理图,如图25所示,外部接口模块107的第二光电开关接口单元包括:第二光电开关接口P7、电阻R15、电容C15,FIG. 25 is a schematic circuit diagram of a second photoelectric switch interface unit according to a preferred embodiment of the present invention. As shown in FIG. 25, the second photoelectric switch interface unit of the external interface module 107 includes: a second photoelectric switch interface P7, a resistor R15, Capacitor C15,
其中,第二光电开关接口P7包括引脚1、引脚2和引脚3,其中,引脚1,与降压模块的第三电压输出端连接;引脚2,与公共端GND连接;引脚3,与蓝牙芯片U6的引脚54连接,与公共端GND之间分别串联有电阻R15、电容C15。Among them, the second photoelectric switch interface P7 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the third voltage output terminal of the step-down module; pin 2 is connected to the common terminal GND; Pin 3 is connected to pin 54 of the Bluetooth chip U6, and a resistor R15 and a capacitor C15 are connected in series with the common terminal GND.
图26是根据本发明优选实施例的转向传感器接口单元的电路原理图,如图26所示,转向传感器接口单元包括:转向传感器接口P10、电阻R23、电容C16、电容C17,其中,转向传感器接口P10包括引脚1、引脚2和引脚3,其中,引脚1,与降压模块的第三电压输出端连接,与公共端GND之间串联有电容C16;引脚2,与公共端GND连接;引脚3,与蓝牙芯片U6的引脚15之间串联有电阻R23,与公共端GND之间串联有电容C17。Fig. 26 is a schematic circuit diagram of a steering sensor interface unit according to a preferred embodiment of the present invention. As shown in Fig. 26, the steering sensor interface unit includes: steering sensor interface P10, resistor R23, capacitor C16, and capacitor C17, wherein the steering sensor interface P10 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the third voltage output terminal of the step-down module, and a capacitor C16 is connected in series with the common terminal GND; pin 2, and the common terminal GND connection; a resistor R23 is connected in series with the pin 15 of the Bluetooth chip U6, and a capacitor C17 is connected in series with the common terminal GND.
图27是根据本发明优选实施例的转向灯接口单元的电路原理图,如图27所示,转向灯接口单元包括:第一转向灯接口P5、第二转向灯接口P8、电阻R16、电阻R17、电阻R26、电阻R27、电阻R21、发光二极管DS2、三极管Q1、三极管Q2,其中,Figure 27 is a circuit schematic diagram of a turn signal interface unit according to a preferred embodiment of the present invention. As shown in Figure 27, the turn signal interface unit includes: a first turn signal interface P5, a second turn signal interface P8, a resistor R16, and a resistor R17 , Resistor R26, Resistor R27, Resistor R21, LED DS2, Transistor Q1, Transistor Q2, among them,
第一转向灯接口P5包括引脚1、引脚2和引脚3,其中,引脚1,与二极管Q2的集电极之间串联有电阻R17;引脚2,与引脚1连接;引脚3,与降压模块的第一电压输出端连接;The first turn signal interface P5 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the collector of diode Q2 with a resistor R17 in series; pin 2 is connected to pin 1; 3. Connect with the first voltage output terminal of the step-down module;
第二转向灯接口P8包括引脚1、引脚2和引脚3,其中,引脚1,与二极管Q1的集电极之间串联有电阻R16;引脚2,与引脚1连接;引脚3,与降压模块的第一电压输出端连接;三极管Q1的发射极与公共端GND连接,三极管Q1的基极与蓝牙芯片U6的引脚50之间串联有电阻R26,三极管Q2的发射极与公共端GND连接,三极管Q2的基极与公共端GND之间依次串联有电阻R27、电阻R21、的发光二极管DS2,电阻R27和电阻R21的连接结点与蓝牙芯片U6的引脚44连接。The second turn signal interface P8 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the collector of diode Q1 with resistor R16 in series; pin 2 is connected to pin 1; 3. Connect to the first voltage output terminal of the step-down module; the emitter of the transistor Q1 is connected to the common terminal GND, the base of the transistor Q1 and the pin 50 of the Bluetooth chip U6 are connected in series with a resistor R26 and the emitter of the transistor Q2 Connected to the common terminal GND, the base of the transistor Q2 and the common terminal GND are connected in series with a resistor R27, a resistor R21, and a light emitting diode DS2 in sequence. The connection node of the resistor R27 and the resistor R21 is connected to the pin 44 of the Bluetooth chip U6.
图28是根据本发明优选实施例的故障灯接口单元的电路原理图,如图28所示,故障灯接口单元包括:故障灯接口P9、电阻R19、电阻R20、电阻R24、电阻R25、三极管Q4、三极管Q5,其中,故障灯接口P9包括引脚1、引脚2、引脚3和引脚4,其中,引脚1,与三极管Q5的集电极之间串联有电阻R20;引脚2,与三极管Q4的集电极之间串联有电阻R19;引脚3悬空;引脚4,与降压模块的第一电压输出端连接;三极管Q4的发射极与公共端GND连接,三极管Q4的基极与蓝牙芯片U6的引脚5之间串联有电阻R24,三极管Q5的发射极与公共端GND连接,三极管Q5的基极与蓝牙芯片U6的引脚6之间串联有电阻R25。Fig. 28 is a schematic circuit diagram of a fault light interface unit according to a preferred embodiment of the present invention. As shown in Fig. 28, the fault light interface unit includes: a fault light interface P9, a resistor R19, a resistor R20, a resistor R24, a resistor R25, and a transistor Q4 , Transistor Q5, where the fault light interface P9 includes pin 1, pin 2, pin 3, and pin 4. Among them, there is a resistor R20 in series between pin 1, and the collector of transistor Q5; pin 2, A resistor R19 is connected in series with the collector of the transistor Q4; pin 3 is suspended; pin 4 is connected to the first voltage output terminal of the step-down module; the emitter of the transistor Q4 is connected to the common terminal GND, and the base of the transistor Q4 A resistor R24 is connected in series with the pin 5 of the Bluetooth chip U6, the emitter of the transistor Q5 is connected to the common terminal GND, and a resistor R25 is connected in series between the base of the transistor Q5 and the pin 6 of the Bluetooth chip U6.
图29是根据本发明优选实施例的第一副板通讯接口单元的电路原理图,如图29所示,第一副板通讯接口单元包括:第一副板通讯接口P4、电阻R10、电阻R11、电阻R13、电阻R14、电容C13、电容C14,其中,第一副板通讯接口P4包括引脚1至引脚7,其中,引脚1,与降压模块的第一电压输出端连接;引脚2,与蓝牙芯片U6的引脚29之间串联有电阻R10;引脚3,与蓝牙芯片U6的引脚30之间串联有电阻R11;引脚4,与公共端GND连接;引脚5,与公共端GND之间依次串联有电阻R13、电容C14,电阻R13和电容C14的连接结点与蓝牙芯片U6的引脚21连接;引脚6,与公共端GND之间依次串联有电阻R14、电容C13,电阻R14和电容C13的连接结点与蓝牙芯片U6的引脚20连接;引脚7,与降压模块的第二电压输出端连接。Figure 29 is a schematic circuit diagram of the first secondary board communication interface unit according to a preferred embodiment of the present invention. As shown in Figure 29, the first secondary board communication interface unit includes: a first secondary board communication interface P4, a resistor R10, and a resistor R11 , Resistor R13, Resistor R14, Capacitor C13, Capacitor C14, wherein the first sub-board communication interface P4 includes pins 1 to 7, wherein pin 1 is connected to the first voltage output terminal of the step-down module; lead Pin 2, there is a resistor R10 in series with the pin 29 of the Bluetooth chip U6; Pin 3, there is a resistor R11 in series with the pin 30 of the Bluetooth chip U6; Pin 4, connected to the common terminal GND; Pin 5 A resistor R13 and a capacitor C14 are connected in series with the common terminal GND. The connection node of the resistor R13 and the capacitor C14 is connected to the pin 21 of the Bluetooth chip U6; the pin 6 and the common terminal GND are sequentially connected in series with a resistor R14 The connection node of the capacitor C13, the resistor R14 and the capacitor C13 is connected to the pin 20 of the Bluetooth chip U6; the pin 7 is connected to the second voltage output terminal of the step-down module.
图30是根据本发明优选实施例的第二副板通讯接口单元的电路原理图,如图30所示,第二副板通讯接口单元包括:第二副板通讯接口P20、电阻R61、电阻R76、电阻R77,其中,第二副板通讯接口P20包括引脚1至引脚5,其中,引脚1,与蓝牙芯片U6的引脚53之间串联有电阻R61;引脚2,与公共端GND连接;引脚3,与蓝牙芯片U6的引脚62之间串联有电阻R76;引脚4,与蓝牙芯片U6的引脚61之间串联有电阻R77;引脚5,与降压模块的第二电压输出端连接。FIG. 30 is a schematic circuit diagram of a second slave board communication interface unit according to a preferred embodiment of the present invention. As shown in FIG. 30, the second slave board communication interface unit includes: a second slave board communication interface P20, a resistor R61, and a resistor R76 , Resistor R77, wherein the second sub-board communication interface P20 includes pins 1 to 5, among which, pin 1 is connected in series with pin 53 of the Bluetooth chip U6 with a resistor R61; pin 2 is connected to the common terminal GND connection; pin 3, there is a resistor R76 in series with the pin 62 of the Bluetooth chip U6; pin 4, there is a resistor R77 in series with the pin 61 of the Bluetooth chip U6; pin 5, with the buck module The second voltage output terminal is connected.
第一副板接口和第二副板接口可以连接副控制板,也可以连接显示板等附加模块。The first sub-board interface and the second sub-board interface can be connected to the sub-control board, and can also be connected to additional modules such as a display board.
图31是根据本发明优选实施例的程序烧录设备接口单元的电路原理图,如图31所示,程序烧录设备接口单元包括:程序烧录设备接口P11,其中,程序烧录设备接口P11包括引脚1、引脚2、引脚3和引脚4,其中,引脚1,与降压模块的第三电压输出端连接;引脚2,与蓝牙芯片U6的引脚49连接;引脚3,与公共端GND连接;引脚4,与蓝牙芯片U6的引脚46连接。FIG. 31 is a schematic circuit diagram of a program burning device interface unit according to a preferred embodiment of the present invention. As shown in FIG. 31, the program burning device interface unit includes: a program burning device interface P11, wherein the program burning device interface P11 It includes pin 1, pin 2, pin 3 and pin 4. Among them, pin 1 is connected to the third voltage output terminal of the step-down module; pin 2 is connected to pin 49 of the Bluetooth chip U6; Pin 3 is connected to the common terminal GND; Pin 4 is connected to pin 46 of the Bluetooth chip U6.
图32是根据本发明优选实施例的转速检测接口单元的电路原理图,如图32所示,转速检测接口单元包括:第一转速检测接口P13、第二转速检测接口P16、二极管D2、电阻R35、电阻R36、电阻R37、电阻R39、电阻R40、电阻R41、电阻R46、电阻R47、电阻R48、电阻R49、电阻R50、电阻R51、电容C23、电容C24、电容C25、电容C28、电容C29、电容C30,其中,Fig. 32 is a circuit principle diagram of a rotation speed detection interface unit according to a preferred embodiment of the present invention. As shown in Fig. 32, the rotation speed detection interface unit includes: a first rotation speed detection interface P13, a second rotation speed detection interface P16, a diode D2, and a resistor R35 , Resistor R36, resistor R37, resistor R39, resistor R40, resistor R41, resistor R46, resistor R47, resistor R48, resistor R49, resistor R50, resistor R51, capacitor C23, capacitor C24, capacitor C25, capacitor C28, capacitor C29, capacitor C30, where
第一转速检测接口P13包括引脚1至引脚5,其中,引脚1,与降压模块的第二电压输出端之间串联有二极管D2;引脚2,与降压模块的第三电压输出端之间串联有电阻R35,与公共端GND之间依次串联有电阻R39、电容C25,电阻R39和电容C25的连接结点与蓝牙芯片U6的引脚4连接;引脚3,与降压模块的第三电压输出端之间串联有电阻R36,与公共端GND之间依次串联有电阻R40、电容C24,电阻R40和电容C24的连接结点与蓝牙芯片U6的引脚3连接;引脚4,与降压模块的第三电压输出端之间串联有电阻R37,与公共端GND之间依次串联有电阻R41、电容C23,电阻R41和电容C23的连接结点与蓝牙芯片U6的引脚2连接;The first rotational speed detection interface P13 includes pins 1 to 5, wherein a diode D2 is connected in series between pin 1 and the second voltage output terminal of the step-down module; pin 2 is connected to the third voltage of the step-down module A resistor R35 is connected in series between the output terminals, and a resistor R39 and a capacitor C25 are connected in series with the common terminal GND. The connection node of the resistor R39 and the capacitor C25 is connected to the pin 4 of the Bluetooth chip U6; pin 3 is connected to the buck A resistor R36 is connected in series between the third voltage output terminal of the module, and a resistor R40 and a capacitor C24 are connected in series with the common terminal GND. The connection node of the resistor R40 and the capacitor C24 is connected to the pin 3 of the Bluetooth chip U6; 4. A resistor R37 is connected in series with the third voltage output terminal of the step-down module, and a resistor R41, a capacitor C23 are connected in series with the common terminal GND, the connection node of the resistor R41 and the capacitor C23 and the pin of the Bluetooth chip U6 2 connection;
第二转速检测接口P16包括引脚1至引脚5,其中,引脚1,与降压模块的第二电压输出端之间串联有二极管D2;引脚2,与降压模块的第三电压输出端之间串联有电阻R46,与公共端GND之间依次串联有电阻R49、电容C30,电阻R49和电容C30的连接结点与蓝牙芯片U6的引脚53连接;引脚3,与降压模块的第三电压输出端之间串联有电阻R47,与公共端GND之间依次串联有电阻R50、电容C29,电阻R50和电容C29的连接结点与蓝牙芯片U6的引脚52连接;引脚4,与降压模块的第三电压输出端之间串联有电阻R48,与公共端GND之间依次串联有电阻R51、电容C28,电阻R51和电容C28的连接结点与蓝牙芯片U6的引脚51连接。The second speed detection interface P16 includes pins 1 to 5, among which, pin 1 is connected in series with the second voltage output terminal of the step-down module with a diode D2; pin 2 is connected to the third voltage of the step-down module A resistor R46 is connected in series between the output terminals, and a resistor R49 and a capacitor C30 are connected in series with the common terminal GND. The connection node of the resistor R49 and the capacitor C30 is connected to the pin 53 of the Bluetooth chip U6; pin 3 is connected to the buck A resistor R47 is connected in series between the third voltage output terminal of the module, and a resistor R50 and a capacitor C29 are connected in series with the common terminal GND. The connection node of the resistor R50 and the capacitor C29 is connected to the pin 52 of the Bluetooth chip U6; 4. There is a resistor R48 in series with the third voltage output terminal of the step-down module, and a resistor R51, a capacitor C28 in series with the common terminal GND, and the connection node of the resistor R51 and the capacitor C28 and the pin of the Bluetooth chip U6 51 connections.
图33是根据本发明优选实施例的RGB灯接口单元的电路原理图,如图33所示,RGB灯接口单元包括:第一RBG灯接口P12、第二RGB灯接口P14,电阻R34、电阻R38、电容C22,其中,Fig. 33 is a circuit schematic diagram of an RGB lamp interface unit according to a preferred embodiment of the present invention. As shown in Fig. 33, the RGB lamp interface unit includes: a first RBG lamp interface P12, a second RGB lamp interface P14, a resistor R34, and a resistor R38 , Capacitor C22, among them,
第一RGB灯接口P12包括引脚1、引脚2和引脚3,其中,引脚1,与降压模块的第二电压输出端连接,与公共端GND之间串联有电容C22;引脚2,与引脚1之间串联有电阻R34,与蓝牙芯片U6的引脚57之间串联有电阻R38;引脚3,与公共端GND连接;The first RGB light interface P12 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to the second voltage output terminal of the step-down module, and a capacitor C22 is connected in series with the common terminal GND; 2. A resistor R34 is connected in series with pin 1, and a resistor R38 is connected in series with pin 57 of the Bluetooth chip U6; pin 3 is connected to the common terminal GND;
第二RGB灯接口P14包括引脚1、引脚2和引脚3,其中,引脚1,与第一RGB灯接口P14的引脚1连接;引脚2,与第一RGB灯接口P14的引脚2连接;引脚3,与公共端GND连接。The second RGB light interface P14 includes pin 1, pin 2, and pin 3. Among them, pin 1 is connected to pin 1 of the first RGB light interface P14; pin 2 is connected to the first RGB light interface P14. Pin 2 is connected; pin 3 is connected to the common terminal GND.
图34是根据本发明优选实施例的充电接口单元的电路原理图,如图34所示,充电接口单元包括:充电接口P15、电阻R43、电阻R44、电阻R45、三极管Q7、电容C27,其中,充电接口P15包括引脚1、引脚2、引脚3和引脚4,其中,引脚1,与公共端GND之间串联有电阻R45,与公共端GND之间依次串联有电阻R43、电阻R44,与充电端BAT_Charge连接;引脚2,与引脚1连接;引脚3、引脚4,与公共端GND连接;电阻R43和电阻R44的连接结点与三极管Q7的基极连接,三极管Q7的集电极与蓝牙芯片U6的引脚45连接,用来传输充电信号,检测是否在充电的功能,三极管Q7的发射极与公共端GND连接,三极管Q7的集电极与三极管Q7的发射极之间串联有电容C27。三极管Q7用来传输充电检测信号,检测是否在充电。Fig. 34 is a circuit schematic diagram of a charging interface unit according to a preferred embodiment of the present invention. As shown in Fig. 34, the charging interface unit includes: a charging interface P15, a resistor R43, a resistor R44, a resistor R45, a transistor Q7, and a capacitor C27. The charging interface P15 includes pin 1, pin 2, pin 3, and pin 4. Among them, pin 1, a resistor R45 is connected in series with the common terminal GND, and a resistor R43 and a resistor are connected in series with the common terminal GND. R44, connected to the charging terminal BAT_Charge; pin 2, connected to pin 1; pin 3, pin 4, connected to the common terminal GND; the connection node of the resistor R43 and the resistor R44 is connected to the base of the transistor Q7, the transistor The collector of Q7 is connected to the pin 45 of the Bluetooth chip U6, which is used to transmit the charging signal and detect whether it is charging. The emitter of the transistor Q7 is connected to the common terminal GND, and the collector of the transistor Q7 is one of the emitter of the transistor Q7. A capacitor C27 is connected in series. Transistor Q7 is used to transmit the charge detection signal to detect whether it is charging.
图35是根据本发明优选实施例的蜂鸣器模块的电路原理图,如图35所示,蜂鸣器模块包括:蜂鸣器、二极管D1、三极管Q6、电阻R31、电阻R30,其中,蜂鸣器的一端与降压模块的第一电压输出端连接,蜂鸣器的另一端与三极管Q6的集电极连接,蜂鸣器的一端和另一端之间串联有反向偏压二极管D1,三极管Q6的发射极与公共端GND连接,三极管Q6的基极与公共端GND之间串联有电阻R31,三极管Q6的基极与蓝牙芯片U6的引脚59之间串联有电阻R30。Fig. 35 is a circuit schematic diagram of a buzzer module according to a preferred embodiment of the present invention. As shown in Fig. 35, the buzzer module includes: a buzzer, a diode D1, a transistor Q6, a resistor R31, and a resistor R30. One end of the buzzer is connected to the first voltage output terminal of the step-down module, the other end of the buzzer is connected to the collector of the transistor Q6, and a reverse bias diode D1 and a transistor are connected in series between one end and the other end of the buzzer. The emitter of Q6 is connected to the common terminal GND, a resistor R31 is connected in series between the base of the transistor Q6 and the common terminal GND, and a resistor R30 is connected in series between the base of the transistor Q6 and the pin 59 of the Bluetooth chip U6.
图36是根据本发明优选实施例的蓝牙上电指示模块的电路原理图,如图36所示,蓝牙上电指示模块包括:发光二极管DS1、电阻R9,其中,发光二极管DS1的正极与降压模块的第四电压输出端连接,发光二极管DS1的负极与蓝牙芯片U6的引脚之间串联有电阻R9。FIG. 36 is a schematic circuit diagram of a Bluetooth power-on indicator module according to a preferred embodiment of the present invention. As shown in FIG. 36, the Bluetooth power-on indicator module includes: a light-emitting diode DS1 and a resistor R9, wherein the anode of the light-emitting diode DS1 is connected to the voltage drop The fourth voltage output terminal of the module is connected, and a resistor R9 is connected in series between the cathode of the light emitting diode DS1 and the pin of the Bluetooth chip U6.
图37是根据本发明优选实施例的电路布局示意图。Fig. 37 is a schematic diagram of a circuit layout according to a preferred embodiment of the present invention.
在本实施例中还提供了一种平衡车,该平衡车包括上述的平衡车控制系统。In this embodiment, a balance car is also provided, which includes the aforementioned balance car control system.
以上实施例中的电路和模块可以集成在同一块电路板上,也可以根据需求分为不同的电路板进行设置,例如电机驱动模块可以单独设置电路板与主板通信,或者姿态传感器也可以单独设置一个电路板与主板通信。The circuits and modules in the above embodiments can be integrated on the same circuit board, or can be divided into different circuit boards to be set up according to requirements, for example, the motor drive module can be set separately for the circuit board to communicate with the main board, or the attitude sensor can also be set separately A circuit board communicates with the main board.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their description is relatively specific and detailed, but they should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (10)

  1. 一种平衡车控制系统,其特征在于包括:主板,以及设置在所述主板上的蓝牙模块、姿态传感器模块、第一电机驱动模块、第二电机驱动模块、降压模块、外部接口模块;其中,A balance car control system, which is characterized by comprising: a main board, and a Bluetooth module, an attitude sensor module, a first motor drive module, a second motor drive module, a voltage reduction module, and an external interface module arranged on the main board; ,
    所述姿态传感器模块与所述蓝牙模块连接,所述姿态传感器模块用于根据平衡车的姿态生成检测信号;The attitude sensor module is connected to the Bluetooth module, and the attitude sensor module is used to generate a detection signal according to the attitude of the balance car;
    所述蓝牙模块,用于接收和发送通讯信号,以及接收和处理音频信号;The Bluetooth module is used to receive and send communication signals, and to receive and process audio signals;
    所述蓝牙模块,用于根据所述检测信号控制所述第一电机驱动模块和所述第二电机驱动模块;The Bluetooth module is configured to control the first motor drive module and the second motor drive module according to the detection signal;
    所述第一电机驱动模块与所述蓝牙模块连接,用于控制第一电机的转速和转向;The first motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and steering of the first motor;
    所述第二电机驱动模块与所述蓝牙模块连接,用于控制第二电机的转速和转向;The second motor drive module is connected to the Bluetooth module, and is used to control the rotation speed and direction of the second motor;
    所述降压模块的输入端与电池连接,输出端分别与所述蓝牙模块、所述姿态传感器模块、所述第一电机驱动模块、所述第二电机驱动模块以及所述外部接口模块连接,所述降压模块用于将所述电池的输出电压转换为所述蓝牙模块、所述姿态传感器模块、所述第一电机驱动模块、所述第二电机驱动模块以及外部接口模块所需的工作电压。The input end of the step-down module is connected to the battery, and the output end is respectively connected to the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module, The step-down module is used to convert the output voltage of the battery into the work required by the Bluetooth module, the attitude sensor module, the first motor drive module, the second motor drive module, and the external interface module Voltage.
  2. 根据权利要求1所述的平衡车控制系统,其特征在于,所述蓝牙模块包括:数据传输单元、天线、音频传输单元和数据处理单元;其中,The balance car control system according to claim 1, wherein the Bluetooth module comprises: a data transmission unit, an antenna, an audio transmission unit and a data processing unit; wherein,
    所述数据传输单元,用于接收外部蓝牙的控制信号数据;The data transmission unit is used to receive control signal data of external Bluetooth;
    所述音频传输单元,用于接收外部蓝牙设备的音频信号;The audio transmission unit is used to receive an audio signal from an external Bluetooth device;
    所述数据处理单元,用于计算处理输入数据和输出控制信号。The data processing unit is used to calculate and process input data and output control signals.
  3. 根据权利要求1所述的平衡车控制系统,其特征在于,The balance car control system according to claim 1, wherein:
    所述第一电机驱动模块包括:第一PWM输出单元和第一三相全桥驱动单元;其中,所述第一PWM输出单元分别与所述第一三相全桥驱动单元、所述蓝牙模块,以及所述降压模块的输出端连接;所述第一三相全桥驱动单元分别与所述电池的输出端,以及所述第一电机连接;The first motor drive module includes: a first PWM output unit and a first three-phase full-bridge drive unit; wherein, the first PWM output unit is respectively connected to the first three-phase full-bridge drive unit and the Bluetooth module , And the output terminal of the step-down module is connected; the first three-phase full-bridge drive unit is respectively connected with the output terminal of the battery and the first motor;
    所述第二电机驱动模块包括:第二PWM输出单元和第二三相全桥驱动单元;其中,所述第二PWM输出单元分别与所述第二三相全桥驱动单元、所述蓝牙模块,以及所述降压模块的输出端连接;所述第二三相全桥驱动单元分别与所述电池的输出端,以及所述第二电机连接。The second motor drive module includes: a second PWM output unit and a second three-phase full-bridge drive unit; wherein, the second PWM output unit is respectively connected to the second three-phase full-bridge drive unit and the Bluetooth module , And the output terminal of the step-down module is connected; the second three-phase full-bridge drive unit is respectively connected with the output terminal of the battery and the second motor.
  4. 根据权利要求3所述的平衡车控制系统,其特征在于,The balance car control system according to claim 3, characterized in that:
    所述第一电机驱动模块还包括以下至少之一:第一电流检测单元、第二电流检测单元、第三电流检测单元和第一采样电阻单元;The first motor drive module further includes at least one of the following: a first current detection unit, a second current detection unit, a third current detection unit, and a first sampling resistance unit;
    所述第二电机驱动模块还包括以下至少之一:第四电流检测单元、第五电流检测单元、第六电流检测单元和第二采样电阻单元。The second motor drive module further includes at least one of the following: a fourth current detection unit, a fifth current detection unit, a sixth current detection unit, and a second sampling resistance unit.
  5. 根据权利要求1所述的平衡车控制系统,其特征在于,所述降压模块包括:供电单元、第一降压单元、第二降压单元和第三降压单元;其中,The balance car control system according to claim 1, wherein the step-down module comprises: a power supply unit, a first step-down unit, a second step-down unit, and a third step-down unit; wherein,
    所述供电单元的电压输入端与所述电池连接,所述供电单元的电压输出端与所述第一降压单元的电压输入端连接,所述第一降压单元的电压输出端与所述第二降压单元的电压输入端连接,所述第二降压单元的电压输出端与所述第三降压单元的电压输入端连接。The voltage input end of the power supply unit is connected to the battery, the voltage output end of the power supply unit is connected to the voltage input end of the first step-down unit, and the voltage output end of the first step-down unit is connected to the The voltage input end of the second step-down unit is connected, and the voltage output end of the second step-down unit is connected to the voltage input end of the third step-down unit.
  6. 根据权利要求1所述的平衡车控制系统,其特征在于,所述外部接口模块包括以下至少之一:第一光电开关接口单元、第二光电开关接口单元、转向传感器接口单元、转向灯接口单元、故障灯接口单元、第一副板通讯接口单元、第二副板通讯接口单元、程序烧录设备接口单元、转速检测接口单元、RGB灯接口单元,以及充电接口单元。The balance vehicle control system according to claim 1, wherein the external interface module comprises at least one of the following: a first photoelectric switch interface unit, a second photoelectric switch interface unit, a steering sensor interface unit, and a turn signal interface unit , Fault light interface unit, first sub-board communication interface unit, second sub-board communication interface unit, program burning device interface unit, speed detection interface unit, RGB light interface unit, and charging interface unit.
  7. 根据权利要求1所述的平衡车控制系统,其特征在于,所述主板上还设置有以下至少之一的电路:蜂鸣器模块、蓝牙上电指示模块;其中,The balance car control system according to claim 1, wherein at least one of the following circuits is further provided on the main board: a buzzer module and a Bluetooth power-on indication module; wherein,
    所述蜂鸣器模块与所述蓝牙模块连接;The buzzer module is connected to the Bluetooth module;
    所述蓝牙上电指示模块与所述蓝牙模块连接。The Bluetooth power-on indication module is connected to the Bluetooth module.
  8. 根据权利要求1所述的平衡车控制系统,其特征在于,蓝牙模块包括:蓝牙芯片U6、电阻R32、电阻R33、电阻R42、电容C26、电容C31,蓝牙芯片U6包括引脚1至引脚64,引脚1、引脚13、引脚32、引脚19、引脚48、引脚64,与降压模块的第三电压输出端连接;引脚12、引脚18、引脚31、引脚47、引脚63,与公共端GND连接;引脚7,与降压模块的第三电压输出端之间串联有电阻R42,与公共端GND之间串联有电容C26;引脚41、引脚42、引脚43、引脚33、引脚34、引脚35、引脚36、引脚9、引脚24、引脚25,与第一电机驱动模块连接;引脚14、引脚22、引脚23、引脚26、引脚27、引脚8、引脚11、引脚37、引脚38、引脚39,与第二电机驱动模块连接;引脚61、引脚62,与姿态传感器模块连接;引脚28、引脚10、引脚40,与降压模块连接;引脚59,与蜂鸣器模块连接;引脚44、引脚50、引脚20、引脚21、引脚29、引脚30、引脚5、引脚6、引脚54、引脚58、引脚2、引脚3、引脚4、引脚51、引脚52、引脚53、引脚57、引脚46、引脚49、引脚45,与外部接口模块连接。The balance car control system according to claim 1, wherein the Bluetooth module includes: a Bluetooth chip U6, a resistor R32, a resistor R33, a resistor R42, a capacitor C26, and a capacitor C31, and the Bluetooth chip U6 includes pins 1 to 64 , Pin 1, pin 13, pin 32, pin 19, pin 48, pin 64, connected to the third voltage output terminal of the step-down module; pin 12, pin 18, pin 31, pin Pin 47 and pin 63 are connected to the common terminal GND; pin 7, a resistor R42 is connected in series with the third voltage output terminal of the step-down module, and a capacitor C26 is connected in series with the common terminal GND; pin 41, lead Pin 42, Pin 43, Pin 33, Pin 34, Pin 35, Pin 36, Pin 9, Pin 24, Pin 25 are connected to the first motor drive module; Pin 14, Pin 22 , Pin 23, pin 26, pin 27, pin 8, pin 11, pin 37, pin 38, pin 39, connected to the second motor drive module; pin 61, pin 62, and Attitude sensor module connection; pin 28, pin 10, pin 40, connected to the step-down module; pin 59, connected to the buzzer module; pin 44, pin 50, pin 20, pin 21, Pin 29, Pin 30, Pin 5, Pin 6, Pin 54, Pin 58, Pin 2, Pin 3, Pin 4, Pin 51, Pin 52, Pin 53, Pin 57. Pin 46, pin 49, and pin 45 are connected to the external interface module.
  9. 根据权利要求1至8任一项所述的平衡车控制系统,其特征在于可以集成在同一块电路板上。The balance car control system according to any one of claims 1 to 8, characterized in that it can be integrated on the same circuit board.
  10. 一种平衡车,其特征在于,包括如权利要求1至8中任一项所述的平衡车控制系统。A balance car, characterized by comprising the balance car control system according to any one of claims 1 to 8.
PCT/CN2020/121547 2019-11-01 2020-10-16 Self-balancing vehicle control system and self-balancing vehicle WO2021082955A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911061040.6A CN112764422A (en) 2019-11-01 2019-11-01 Balance car control system and balance car
CN201911061040.6 2019-11-01

Publications (1)

Publication Number Publication Date
WO2021082955A1 true WO2021082955A1 (en) 2021-05-06

Family

ID=75692127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/121547 WO2021082955A1 (en) 2019-11-01 2020-10-16 Self-balancing vehicle control system and self-balancing vehicle

Country Status (2)

Country Link
CN (1) CN112764422A (en)
WO (1) WO2021082955A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041456B1 (en) * 2008-10-22 2011-10-18 Anybots, Inc. Self-balancing robot including an ultracapacitor power source
CN203381739U (en) * 2013-05-28 2014-01-08 中国科学院金属研究所 Self-balance two-wheel electric vehicle
CN205113575U (en) * 2015-10-10 2016-03-30 长沙学院 Two -wheeled self -balancing car based on outside intelligent device APP control
CN205327268U (en) * 2015-12-31 2016-06-22 杭州速控软件有限公司 Electrodynamic balance swing car high integration circuit structure
CN205721379U (en) * 2016-04-20 2016-11-23 深圳市比格伟业电子有限公司 Electrodynamic balance truck control device
CN106379458A (en) * 2016-10-24 2017-02-08 美国锐哲有限公司 Self-balance car and control system thereof
CN206954394U (en) * 2017-05-12 2018-02-02 李联福 A kind of intelligent balance scooter for carrying charging wire and induction switching-off alarm
CN109324614A (en) * 2018-09-18 2019-02-12 上海太昂科技有限公司 Operatively balance mobile device and its control method, storage medium and electric terminal
CN110171520A (en) * 2019-07-03 2019-08-27 浙江阿尔郎科技有限公司 Two-wheeled control system of balance car and two-wheeled balance car
CN210515036U (en) * 2019-11-01 2020-05-12 浙江阿尔郎科技有限公司 Balance car control system and balance car

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041456B1 (en) * 2008-10-22 2011-10-18 Anybots, Inc. Self-balancing robot including an ultracapacitor power source
CN203381739U (en) * 2013-05-28 2014-01-08 中国科学院金属研究所 Self-balance two-wheel electric vehicle
CN205113575U (en) * 2015-10-10 2016-03-30 长沙学院 Two -wheeled self -balancing car based on outside intelligent device APP control
CN205327268U (en) * 2015-12-31 2016-06-22 杭州速控软件有限公司 Electrodynamic balance swing car high integration circuit structure
CN205721379U (en) * 2016-04-20 2016-11-23 深圳市比格伟业电子有限公司 Electrodynamic balance truck control device
CN106379458A (en) * 2016-10-24 2017-02-08 美国锐哲有限公司 Self-balance car and control system thereof
CN206954394U (en) * 2017-05-12 2018-02-02 李联福 A kind of intelligent balance scooter for carrying charging wire and induction switching-off alarm
CN109324614A (en) * 2018-09-18 2019-02-12 上海太昂科技有限公司 Operatively balance mobile device and its control method, storage medium and electric terminal
CN110171520A (en) * 2019-07-03 2019-08-27 浙江阿尔郎科技有限公司 Two-wheeled control system of balance car and two-wheeled balance car
CN210515036U (en) * 2019-11-01 2020-05-12 浙江阿尔郎科技有限公司 Balance car control system and balance car

Also Published As

Publication number Publication date
CN112764422A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN110764480B (en) Balance car control system and balance car
CN210377162U (en) Balance car control system and balance car
JPS63137597U (en)
CN210515036U (en) Balance car control system and balance car
WO2021082955A1 (en) Self-balancing vehicle control system and self-balancing vehicle
CN205453563U (en) Motor control means of balance car
CN206640524U (en) A kind of DC brushless motor is double to drive vector controller
CN104216388A (en) Vehicle-mounted signal conversion system
CN105375828A (en) Automotive four-motor controller and control system
CN205931050U (en) Electrodynamic balance single wheel scooter
JP6026111B2 (en) Electric vehicle power supply system and electric vehicle
CN111857209A (en) Wireless remote control intelligent vehicle
JP6438419B2 (en) Drive device and electric assist device
CN107891413A (en) Laminated, compact type Two-wheeled intelligent carriage
CN206186823U (en) Electronic wheel barrow and control system thereof
CN103661768B (en) Electric bicycle driving device
CN102551969A (en) Control device for wheelchair
CN106856385A (en) A kind of brushless electric machine electronic phase change method based on CPLD
CN107231069A (en) The release method of motor and brake
JPS61240891A (en) Controller for elevator
CN205469478U (en) Novel intelligence balance car
CN104648593A (en) Dual-mode hybrid electrombile
CN219257078U (en) Dual-motor control circuit
CN109584584A (en) A kind of intelligence colour blindness driving auxiliary wearable device
CN210338198U (en) Wheel for balance car and balance car

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20880836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20880836

Country of ref document: EP

Kind code of ref document: A1