Electronic control system for a motorcycle
By designing a motorcycle electronic control system, the main control chip and various circuits are used to achieve real-time monitoring of the motorcycle's operating status and fault location, solving the problems of complex wiring and difficult fault diagnosis in existing technologies, and improving user experience and system stability.
Patent Information
- Application Number
- CN202411662783.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-11-20
AI Technical Summary
Existing motorcycle control methods involve complex wiring due to hardware architectures such as buttons, cables, and relays, making it difficult to monitor usage status and troubleshoot malfunctions.
An electronic controller, including a main control chip, signal detection circuit, LIN communication circuit, CAN communication circuit, monitoring circuit, drive circuit and emergency circuit, is used to realize real-time monitoring of the motorcycle's operating status and fault location.
It improves the accuracy and efficiency of troubleshooting, simplifies the production process, reduces the risk of damage due to upgrade failures, and supports personalized control requirements.
Smart Images

Figure CN119329662B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motorcycle control technology, and in particular to an electronic control system for motorcycles. Background Technology
[0002] With the increasing number of motorcycle users in real life, most motorcycles use hardware architectures such as buttons, cables, and relays to determine the control logic and connection for their lights, locks, and other functions. This control method requires a large amount of wiring harnesses during production, and the complex connections of switches and wiring harnesses are specifically defined according to its logic control method. This makes it impossible to monitor the usage status during use and makes it difficult to troubleshoot problems when they occur.
[0003] Therefore, how to achieve real-time monitoring of the operating status of motorcycles has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] This invention provides an electronic control system for motorcycles to solve the technical problems of not being able to monitor the usage status of motorcycles during use and the difficulty in troubleshooting when problems occur, so as to achieve the effect of real-time monitoring of the operating status of motorcycles.
[0005] To address the aforementioned technical problems, this invention provides a motorcycle electronic control system, comprising: 1. an electronic controller, a signal output terminal, an external module, and a load terminal; the electronic controller includes a main control chip, a signal detection circuit, a LIN communication circuit, a CAN communication circuit, a monitoring circuit, a drive circuit, and an emergency circuit;
[0006] The signal output terminal is connected to the input terminal of the signal detection circuit, and the output terminal of the signal detection circuit is connected to the main control chip.
[0007] The output terminal of the external module is connected to the main control chip through the LIN communication circuit and the CAN communication circuit. The driving terminal of the main control chip is connected to the driving circuit. The output terminal of the main control chip is connected to the emergency circuit. The control terminal of the emergency circuit is connected to the driving circuit.
[0008] One end of the monitoring circuit is connected to the drive circuit, the other end of the monitoring circuit is connected to the main control chip, and the control terminal of the drive circuit is connected to the load terminal.
[0009] The signal detection circuit is used to acquire the detection signal at the signal output terminal and output the detection signal to the main control chip;
[0010] The LIN communication circuit and the CAN communication circuit are used to exchange data between the external module and the main control chip;
[0011] The main control chip drives the drive circuit to work based on the detection signal, LIN communication data and CAN communication data.
[0012] The monitoring circuit is used to monitor the working status of the drive circuit and send the working status of the drive circuit to the main control chip;
[0013] The emergency circuit is used to monitor the working status of the main control chip to ensure that the load terminal connected to the drive circuit works normally.
[0014] As a preferred embodiment, the signal output terminal includes high / low level signal output and voltage / current output.
[0015] As a preferred embodiment, the voltage / current output includes multiple different resistors and filter capacitors.
[0016] As a preferred embodiment, the external module includes an instrument-type display module and a gateway-type data exchange module.
[0017] As a preferred embodiment, the load end is an electrical device used on the motorcycle, which includes a high beam headlight, a low beam headlight, and a horn.
[0018] As a preferred embodiment, the CAN communication circuit uses a TJA1044 chip, and the LIN communication circuit uses a TJA1021T chip.
[0019] As a preferred embodiment, the driving circuit uses BTS series chips, including BTS7008, BTS7020 and BTS7200.
[0020] As a preferred embodiment, the motorcycle electronic control system further includes a software program area, and the CAN communication circuit is connected to the software program area.
[0021] As a preferred embodiment, the software program area includes a bootloader program area, an original system program area, and a new system program area.
[0022] As a preferred embodiment, the signal detection circuit includes a power supply, multiple resistors, multiple capacitors, and diodes.
[0023] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following:
[0024] (1) The control system can continuously monitor the system operation status through the main control chip, signal detection circuit, LIN communication circuit, CAN communication circuit, monitoring circuit, drive circuit and emergency circuit inside the electronic controller, which can help customers quickly and accurately locate faults and greatly improve the customer's user experience.
[0025] (2) The control system can also be upgraded through software program area, reducing the possibility of damage to the motorcycle control system due to upgrade failure, reducing wiring harnesses, defining functions in software, simplifying production, and realizing relevant changes to logic control functions through software changes only.
[0026] (3) The control system can add functions based on existing hardware through OTA iterative optimization, and can also meet the personalized control needs of customers. Attached Figure Description
[0027] Figure 1 This is a block diagram of the electronic control system structure of a motorcycle according to one embodiment of the present invention;
[0028] Figure 2 This is a schematic diagram of the structure of a motorcycle electronic control system in one embodiment of the present invention;
[0029] Figure 3 This is a circuit diagram of a motorcycle electronic control system in one embodiment of the present invention;
[0030] Figure 4 This is a circuit schematic diagram of signal detection in one embodiment of the present invention;
[0031] Figure 5 This is a flowchart of the monitoring circuit in one embodiment of the present invention;
[0032] Figure 6 This is a schematic diagram of the working process of an emergency circuit in one embodiment of the present invention;
[0033] Figure 7 This is a flowchart illustrating the program structure and upgrade process of a motorcycle electronic control system in one embodiment of the present invention.
[0034] Figure label:
[0035] The components include: 1. Electronic controller; 11. Signal monitoring circuit; 12. Main control chip; 13. LIN communication circuit; 14. CAN communication circuit; 15. Drive circuit; 16. Monitoring circuit; 17. Emergency circuit; 2. Signal output terminal; 3. External module; 4. Load terminal. Detailed Implementation
[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0037] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0038] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication between two components. The terms "vertical," "horizontal," "left," "right," "upper," "lower," and similar expressions used herein are for illustrative purposes only and do not indicate or imply that the device or component referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0039] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 1 , Figure 1 The diagram shown is a block diagram of a motorcycle electronic control system according to one embodiment of the present invention. Figure 2 The diagram shown is a schematic of the structure of a motorcycle electronic control system in one embodiment of the present invention, including an electronic controller 1, a signal output terminal 2, an external module 3, and a load terminal 4; the electronic controller 1 includes a main control chip 12, a signal detection circuit 11, a LIN communication circuit 13, a CAN communication circuit 14, a monitoring circuit 16, a drive circuit 15, and an emergency circuit 17.
[0040] Signal output terminal 2 is connected to the input terminal of signal detection circuit 11, and the output terminal of signal detection circuit 11 is connected to main control chip 12; the output terminal of external module 3 is connected to main control chip 12 through LIN communication circuit 13 and CAN communication circuit 14, the drive terminal of main control chip 12 is connected to drive circuit 15, the output terminal of main control chip 12 is connected to emergency circuit 17, and the control terminal of emergency circuit 17 is connected to drive circuit 15; one end of monitoring circuit 16 is connected to drive circuit 15, the other end of monitoring circuit 16 is connected to main control chip 12, and the control terminal of drive circuit 15 is connected to load terminal 4.
[0041] Signal output terminal 2 refers to the signal output method such as buttons or sensors. It is mainly divided into two categories: high / low level signal output and voltage / current output. High / low level signal output is mainly used for status detection, switch control and data transmission in digital circuits. Its output value is based on the voltage level. Voltage / current output is mainly used for signal amplification, filtering and other processing in analog circuits. Voltage output circuits have stable output voltage and are less affected by load, while current output circuits have the advantage of long-distance transmission.
[0042] External module 3 includes, but is not limited to, devices such as instrument display modules, gateway data exchange modules, and other control modules; the load side mainly refers to the electrical equipment used on the motorcycle, such as high beam headlights, low beam headlights, horns, etc.
[0043] Preferably, in this embodiment, the CAN communication circuit 14 is a TJA1044 chip, the LIN communication circuit 13 is a TJA1021T chip, and the driving circuit uses a BTS series chip, including but not limited to the following: BTS7008, BTS7020 and BTS7200.
[0044] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 3 , Figure 3 The diagram shown is a schematic of a motorcycle electronic control system circuit in one embodiment of the present invention, specifically including a power supply circuit, an LDO circuit, a drive / current diagnostic monitoring circuit, a CAN communication circuit, a LIN communication circuit, a brake detection circuit, an MCU circuit, a button line detection circuit, and an emergency low beam protection circuit.
[0045] Specifically, an LDO stands for Low Dropout Linear Regulator. The basic working principle of an LDO is to use an error amplifier, a power regulator (usually a MOSFET or bipolar transistor), and some feedback components (such as a resistor divider) to monitor and adjust the output voltage. When the output voltage deviates from the set value, the error amplifier detects this deviation and adjusts the conduction level of the power regulator accordingly, thereby changing the output voltage to return to the set value. Of course, a low dropout linear regulator can also be a DC-DC buck converter or a linear regulator (non-LDO) that performs the same function; however, this is not specifically limited in the embodiments of this invention.
[0046] In this embodiment, the CAN communication circuit 14 is a TJA1044 chip, the LIN communication circuit 13 is a TJA1021T chip, and the driving circuit uses a BTS series chip, including but not limited to the following: BTS7008, BTS7020 and BTS7200.
[0047] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 4 , Figure 4 The diagram shown is a circuit schematic for signal detection in one embodiment of the present invention.
[0048] exist Figure 4 In the signal detection circuit of electronic controller 1, a 5V power supply is used. The voltage output from the signal output terminal 2 is divided by a pull-up resistor R95 and a resistor in the output circuit. This voltage is further filtered by resistor R81 and capacitor C98 before being output to the main control chip 12. Diode D3 prevents reverse input, and capacitor C88 filters external voltage fluctuations. The resistance output circuit in signal output terminal 2 consists of multiple resistors connected in series / parallel and a filter capacitor. Specifically, different combinations of resistors are used to output different voltage / current values from the power supply. Figure 4 This is just one example used, and no specific limitation is made here.
[0049] By combining the signal detection circuit 11 in the electronic controller 2 and the voltage / current output circuit in the signal output terminal 2, only three types of electronic components—resistors, capacitors, and diodes—are needed. The main control chip program determines the voltage range so that when the later part of the button is always conducting, it does not affect the use of the previous part of the button function, thus achieving accurate button switch detection and fault location.
[0050] Specifically, in this embodiment, the voltage output by a 330K parallel resistor is used to detect whether the external button circuit is connected; the voltage output by seven resistors connected in series (2K, 2K, 2.7K, 4.3K, 6.8K, 12K, and 36K) is used to detect whether the button of the button holder lock is pressed and conducting; when the button of the button holder lock is stuck and conducting continuously, the main control chip 12 determines that there is a fault based on the detection of a continuous and identical voltage, without affecting the use of the front buttons.
[0051] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 5 , Figure 5 The diagram shows the operation flow of the monitoring circuit in one embodiment of the present invention.
[0052] When the electronic controller 1 is working normally, the main control chip 12 controls the drive circuit 15 to work according to the set logic, and the monitoring circuit 16 judges the working status of the drive circuit 15 and transmits the working current to the main control chip 12.
[0053] When abnormal states such as short circuit, overload, or open circuit are detected in the drive circuit 15, the monitoring circuit 16 will prioritize controlling the output of the drive circuit and send the abnormal drive state to the main control chip 12. The main control chip 12 will control the drive output and record the abnormal state.
[0054] Specifically, when the drive circuit 15 is in a short-circuit state, the monitoring circuit 16 will shut down the drive output; when the drive circuit 15 is in an overload state, the monitoring circuit 16 will output constant current according to the control logic; when the drive circuit 15 is in an open-circuit state, the monitoring circuit 16 will maintain the output according to the control logic.
[0055] In this embodiment, when the main control chip 12 receives the operating current data, it will determine whether the operating current meets the preset requirements. If it does not meet the requirements, it will control the drive output and record the abnormal status according to the software preset logic based on the operating current.
[0056] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 6 , Figure 6 The diagram shows the working process of an emergency circuit in one embodiment of the present invention.
[0057] When the electronic controller 1 is powered by ACC and starts working, the ACC in the emergency circuit 17 is filtered and delayed by the 100 part circuit through hardware. During the delay period, JG has no output and the main control chip 12 controls and maintains the output DSEL1 to the 101 part circuit, ensuring that there is no emergency output to control the low beam drive when the electronic controller starts working.
[0058] Once the electronic controller 1 is fully awakened and in working condition, it stops outputting DSEL1 and continuously outputs PWM signals through DO to the 102 circuit for processing, ensuring that JG has no output.
[0059] When the main control chip 12 malfunctions and fails to output PWM to the 102 circuit, the emergency circuit 17 will directly output to control the drive circuit to work, ensuring that the load works normally in an emergency.
[0060] In this embodiment, ACC is the wake-up signal for the vehicle power supply; JG is the output signal for low beam control, used to control the low beam driver chip.
[0061] DSEL1 is a control signal sent by the main control chip 12. Its main functions are: 1) to delay when the main control chip 12 is awake; 2) to prevent the emergency circuit from outputting the JG signal when abnormal signals such as ACC signal fluctuation interference are received.
[0062] DO is the signal emitted by the main control chip 12 when it is working normally. The modulation type of this signal is PWM. When the emergency circuit 17 detects this signal, the emergency circuit 17 cannot output the JG signal.
[0063] One embodiment of the present invention provides a motorcycle electronic control system; for details, please refer to [link / reference]. Figure 7 , Figure 7 The diagram shown illustrates the program structure and upgrade flowchart of a motorcycle electronic control system in one embodiment of the present invention.
[0064] The motorcycle electronic control system also includes a software program area, which is mainly divided into the bootloader program area, the original system program area, and the new system program area.
[0065] When the CAN communication receives an upgrade command, it exits the original system program area and enters the bootloader program area, and enters the upgrade state. The CAN communication receives the new system data packet. The bootloader program will verify the data integrity of the received new program and store it in the new system program area. After the reception is completed, it will be rebooted into the new system program area and attempt to start and run the new program.
[0066] If successful, the system will return a success message; otherwise, the bootloader will restart, re-booting the original program and running the original program area, and then return a failure message. This method reduces the possibility of damage to the motorcycle's control system due to upgrade failure.
[0067] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following:
[0068] (1) The control system can continuously monitor the system operation status through the main control chip, signal detection circuit, LIN communication circuit, CAN communication circuit, monitoring circuit, drive circuit and emergency circuit inside the electronic controller, which can help customers quickly and accurately locate faults and greatly improve the customer's user experience.
[0069] (2) The control system can also be upgraded through software programs, reducing the possibility of damage to the motorcycle control system due to upgrade failure.
[0070] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing specific embodiments only and is not intended to limit the invention. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0071] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A motorcycle electronic control system, characterized in that, It includes an electronic controller, a signal output terminal, an external module, and a load terminal; the electronic controller includes a main control chip, a signal detection circuit, a LIN communication circuit, a CAN communication circuit, a monitoring circuit, a drive circuit, and an emergency circuit; The signal output terminal is connected to the input terminal of the signal detection circuit, and the output terminal of the signal detection circuit is connected to the main control chip. The output terminal of the external module is connected to the main control chip through the LIN communication circuit and the CAN communication circuit. The driving terminal of the main control chip is connected to the driving circuit. The output terminal of the main control chip is connected to the emergency circuit. The control terminal of the emergency circuit is connected to the driving circuit. One end of the monitoring circuit is connected to the drive circuit, the other end of the monitoring circuit is connected to the main control chip, and the control terminal of the drive circuit is connected to the load terminal. The signal detection circuit is used to acquire the detection signal at the signal output terminal and output the detection signal to the main control chip; The LIN communication circuit and the CAN communication circuit are used to exchange data between the external module and the main control chip; The main control chip drives the drive circuit to work based on the detection signal, LIN communication data and CAN communication data. The monitoring circuit is used to monitor the working status of the drive circuit and send the working status of the drive circuit to the main control chip; The emergency circuit is used to monitor the working status of the main control chip to ensure that the load terminal connected to the drive circuit works normally.
2. The motorcycle electronic control system as described in claim 1, characterized in that, The signal output terminal includes high / low level signal output and voltage / current output.
3. The motorcycle electronic control system as described in claim 2, characterized in that, The voltage / current output includes a filter capacitor and several resistors.
4. The motorcycle electronic control system as described in claim 1, characterized in that, The external module includes an instrument-type display module and a gateway-type data exchange module.
5. The motorcycle electronic control system as described in claim 1, characterized in that, The load end refers to the electrical equipment used on the motorcycle.
6. The motorcycle electronic control system as described in claim 1, characterized in that, The CAN communication circuit uses a TJA1044 chip, and the LIN communication circuit uses a TJA1021T chip.
7. The motorcycle electronic control system as described in claim 1, characterized in that, The driving circuit uses BTS series chips, including BTS7008, BTS7020 and BTS7200.
8. The motorcycle electronic control system as described in claim 1, characterized in that, The motorcycle electronic control system also includes a software program area, and the CAN communication circuit is connected to the software program area.
9. The motorcycle electronic control system as described in claim 8, characterized in that, The software program area includes the bootloader program area, the original system program area, and the new system program area.
10. The motorcycle electronic control system as described in claim 1, characterized in that, The signal detection circuit includes a power supply, multiple resistors, multiple capacitors, and diodes.
Citation Information
Patent Citations
Motorcycle engine control device and control method
CN109488475A
4G sharing system for main drive motor controller of electric motorcycle
CN115871835A