Two-wheeled vehicle inclination angle detection method and device
By installing a body tilt angle sensor and millimeter-wave radar on the two-wheeled vehicle, the tilt angle of the vehicle and the distance to obstacles can be detected, and the status can be displayed using multi-color light strips. This solves the problem of the difficulty in detecting the tilt angle of the two-wheeled vehicle, improves safety and reduces the risk of falling.
Patent Information
- Application Number
- CN202611677642.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-12-01
AI Technical Summary
Existing two-wheeled vehicles cannot visually detect the tilt angle of the vehicle body, which is particularly detrimental to safe driving when driving on curves and steep slopes.
The vehicle uses a vehicle tilt angle sensor and millimeter-wave radar to detect the vehicle tilt angle and obstacle distance, displays the tilt angle and distance status through multi-color light strips, and controls the two-wheeled vehicle to shut off under specified conditions.
It enables real-time detection of vehicle tilt angle, improves the driver's ability to adjust vehicle balance, reduces the risk of secondary accidents during falls, and is applicable to both fuel-powered and electric two-wheeled vehicles.
Smart Images

Figure CN123190837A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of driver assistance technology, and in particular to a method and device for detecting the tilt angle of a two-wheeled vehicle. Background Technology
[0002] Currently, most two-wheeled vehicles on the market lack tilt angle detection, relying solely on the driver's sense of tilt without any direct indication of the angle. This is particularly inconvenient when driving on curves and steep slopes, hindering safe driving.
[0003] Two-wheeled vehicles often tilt while in motion or at rest, but the exact angle of tilt is unknown. This tilt angle is especially important for cycling enthusiasts, as it allows riders to monitor the vehicle's balance in real time, aiding in riding safety, and is particularly crucial when riding on curves and steep slopes. Summary of the Invention
[0004] This invention provides a method and device for detecting the tilt angle of a two-wheeled vehicle, in order to solve the problem that the tilt angle of a two-wheeled vehicle is difficult to detect during riding, which leads to the vehicle falling over.
[0005] In a first aspect, embodiments of this application provide a method for detecting the tilt angle of a two-wheeled vehicle, including: Collect the tilt angle of the two-wheeled vehicle and the distance to obstacles; The system analyzes the vehicle's tilt angle and obstacle distance based on preset standards to control the state of the multi-color light strips on the two-wheeled vehicle and, under specified conditions, controls the vehicle to shut off.
[0006] Secondly, embodiments of this application provide a two-wheeled vehicle tilt angle detection device, including: The vehicle body tilt angle detection module is used to detect the vehicle body tilt angle in both the dynamic driving state and the static stationary state of the two-wheeled vehicle. The data processing module is connected to the vehicle body tilt angle detection module and is used to receive and process the vehicle body tilt angle. The data output module is connected to the data processing module and is used to output the processed tilt angle data and output a vehicle fall-off control signal generated based on the tilt angle. The vehicle power supply is used to power the vehicle body tilt angle detection module, the data processing module, and the data output module.
[0007] In one of the solutions provided by the above-mentioned two-wheeled vehicle tilt angle detection method and device, the vehicle tilt angle can be detected in real time, which is beneficial for the driver to adjust the vehicle's balance; it can also provide engine shutdown data when the vehicle falls, ensuring that the vehicle enters an engine shutdown state when it falls. Attached Figure Description
[0008] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a flowchart illustrating a method for detecting the tilt angle of a two-wheeled vehicle in one embodiment of the present invention; Figure 2 This is a functional structural diagram of a two-wheeled vehicle tilt angle detection device in one embodiment of the present invention; Figure 3 This is a functional flowchart of a two-wheeled vehicle tilt angle detection method in one embodiment of the present invention; Figure 4 This is a schematic diagram of the module structure of a two-wheeled vehicle tilt angle detection device in one embodiment of the present invention. Detailed Implementation
[0010] 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, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0011] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. It should also be understood that, as used in this specification and the appended claims, the term "and / or" refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0012] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0013] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0014] It should be understood that the sequence number of each step in the following embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0015] To illustrate the technical solution of the present invention, specific embodiments are described below.
[0016] In one embodiment, such as Figure 1 As shown, a method for detecting the tilt angle of a two-wheeled vehicle is provided, including the following steps: S10: Collect the tilt angle of the two-wheeled vehicle and the distance to obstacles; S20: Analyzes the vehicle tilt angle and obstacle distance according to preset standards to control the state of the multi-color light strips on the two-wheeled vehicle, and controls the two-wheeled vehicle to shut off under specified conditions.
[0017] In this embodiment, the vehicle tilt angle is acquired by tilt sensor, accelerometer, gyroscope or inertial measurement unit; the obstacle distance is acquired by millimeter-wave radar, ultrasonic radar, lidar or visual sensor.
[0018] The system performs filtering, anti-shake, threshold comparison, hazard level mapping, comprehensive priority judgment, light bar status control, and engine shutdown condition judgment based on vehicle tilt angle and obstacle distance.
[0019] This application has the following beneficial effects: it can simultaneously acquire vehicle posture and external obstacle information, improving the accuracy of safety judgment; it can intuitively display tilt angle and distance status through multi-color light strips, making it easier for drivers to grasp vehicle balance and surrounding risks in real time; it can reduce the false triggering of single parameters through fusion analysis by preset standards; it can control the two-wheeled vehicle to shut down under specified conditions, reducing the risk of secondary accidents after a fall; and it is applicable to both fuel-powered and electric two-wheeled vehicles.
[0020] In one embodiment, step S10, which involves collecting the tilt angle of the two-wheeled vehicle, specifically includes the following steps: S11: The tilt angle of the two-wheeled vehicle is detected by a vehicle body angle detection sensor installed on the vehicle body to obtain sensor detection data; S12: Convert the data format of the sensor detection data into a data format consistent with the preset fall threshold to obtain the vehicle body tilt angle.
[0021] In this embodiment, preferably, the data format consistent with the preset fall threshold mentioned in S12 refers to a format in which the vehicle tilt angle and the preset fall threshold can be directly compared numerically, including: consistent physical quantity type, such as both being angles; consistent units, such as both being degrees or both being radians; consistent sign conventions, such as left tilt being negative and right tilt being positive; consistent numerical range, such as both being -90° to 90°; consistent data type, such as both being floating point or integer; consistent precision, such as both retaining 0.1° or 1°; and consistent reference coordinate system, such as both being relative to the vehicle coordinate system or gravity coordinate system.
[0022] In one embodiment, the process of collecting the obstacle distance of the two-wheeled vehicle specifically includes the following steps: S13: The distance data between the front and rear of the two-wheeled vehicle is detected every 100 milliseconds by a millimeter-wave radar installed on the two-wheeled vehicle; S14: The moving average algorithm is used to filter out the instantaneous jump interference of radar signals from the continuously collected distance data to obtain a stable obstacle distance.
[0023] In this embodiment, in S13, the distance data between the front and rear of the two-wheeled vehicle is detected every 100 milliseconds by a millimeter-wave radar installed on the two-wheeled vehicle.
[0024] In one embodiment, the millimeter-wave radar is installed at the front, rear, below the dashboard, front of the frame, rear of the frame, or near the license plate frame of the two-wheeled vehicle. The number of millimeter-wave radars can be one, two, or more. For example, a forward-facing millimeter-wave radar is installed at the front of the vehicle to detect the distance to obstacles in front; a rear-facing millimeter-wave radar is installed at the rear of the vehicle to detect the distance to obstacles behind; or a single millimeter-wave radar is installed to cover the front and / or rear by adjusting the installation angle and scanning range.
[0025] The millimeter-wave radar has a detection period of 100 milliseconds, i.e., a sampling frequency of 10Hz. Every 100 milliseconds, the millimeter-wave radar outputs distance data, which may include: distance to obstacles in front; distance to obstacles behind; relative velocity of obstacles; azimuth angle of obstacles; radar signal strength; timestamp; and radar operating status.
[0026] In a preferred embodiment, in S13, front distance data and rear distance data are collected respectively, and subsequent filtering processing is performed on the front distance data and rear distance data respectively. The front distance data and rear distance data can have the same data format, for example, the unit is centimeters and the data type is floating point.
[0027] If both wheels are equipped with forward-facing millimeter-wave radar and rearward-facing millimeter-wave radar, then S13 may include: S131: Detects distance data in front of the two-wheeled vehicle every 100 milliseconds using a forward-facing millimeter-wave radar; S132: Detects distance data behind the two-wheeled vehicle every 100 milliseconds using a rearward millimeter-wave radar.
[0028] In step S14, a moving average algorithm is used to filter out instantaneous radar signal jump interference from the continuously collected distance data to obtain a stable obstacle distance. In one embodiment, step S14 includes the following sub-steps: S141: Establish a sliding window, which is used to store distance data for the most recent N sampling periods; S142: Every 100 milliseconds, store the newly collected distance data into the sliding window and remove the oldest distance data; S143: Calculate the average value of N distance data points within the sliding window; S144: Use the average value as the current stable obstacle distance.
[0029] The length N of the sliding window can be set as needed. Preferably, N is 5 to 10. For example, when the sampling period is 100 milliseconds and N=5, the sliding window covers the distance data of the most recent 500 milliseconds; when N=10, the sliding window covers the distance data of the most recent 1000 milliseconds.
[0030] The moving average algorithm can use an arithmetic mean or a weighted moving average. In another implementation, an outlier removal step may be included before S14. S140: Determine whether the currently collected distance data belongs to instantaneous jump interference; if it does, discard the data or replace it with the previous stable distance.
[0031] For example, if the absolute value of the difference between the current distance data and the distance to the previous stable obstacle is greater than a preset jump threshold, the current distance data is determined to be an instantaneous jump interference. The preset jump threshold is, for example, 50 cm, 80 cm or 100 cm. Data that is determined to be an instantaneous jump can be removed and not included in the moving average.
[0032] It can also be combined with median filtering or amplitude limiting filtering. For example, first sort the most recent N distance data, take the median as a reference, then remove data that deviates from the median by more than a preset range, and finally calculate the moving average of the remaining data.
[0033] In one implementation, the sliding window length N can be adaptively adjusted according to the speed of the two-wheeled vehicle: When the vehicle speed is low, N is set to a larger value, such as 10, to improve the smoothing effect; when the vehicle speed is high, N is set to a smaller value, such as 5, to improve the response speed.
[0034] Therefore, S14 outputs a stable obstacle distance. This stable obstacle distance can be used in subsequent S20 to compare with a preset standard to control the state of the multi-color light strip on the two-wheeled vehicle, and to control the two-wheeled vehicle to shut off under specified conditions.
[0035] In one embodiment, the distance to obstacles is analyzed according to a preset standard to control the state of the multi-color light strip on the two-wheeled vehicle, specifically including the following steps: S21: Determine the distance to the obstacle within a preset 300 millisecond time range. When the distance to the obstacle remains stable within the 300 millisecond time range, update the state of the multi-color light strip. S22: When the distance to the obstacle is greater than 150 cm, the distance between the two-wheeled vehicle and the obstacle is determined to be a safe zone, and the multi-color light strip is controlled to remain constantly green. S23: When the distance to the obstacle is greater than 60 cm but less than 150 cm, the distance between the two-wheeled vehicle and the obstacle is determined to be the warning zone, and the multi-color light strip is controlled to remain constantly yellow. S24: When the distance to the obstacle is less than or equal to 60 centimeters, the distance between the two-wheeled vehicle and the obstacle is determined to be a dangerous zone, and the multi-color light strip is controlled to turn on the red periodic flashing warning state.
[0036] In one embodiment, when the obstacle distance is in an abnormal state or a no-signal state, the multi-color light strip is controlled to turn on a purple flashing warning state, and the switching interval of the light state is limited to 200ms.
[0037] In one embodiment, the step of analyzing the vehicle body tilt angle according to a preset standard and generating a two-wheeled vehicle shutdown control signal under specified conditions includes: S25: Analyze the vehicle tilt angle based on the preset vehicle fall threshold. When the analysis results show that the two-wheeled vehicle is in a fall state, generate a two-wheeled vehicle shutdown control signal. S26: Control the engine of the two-wheeled vehicle to turn off via an engine shutdown control signal.
[0038] In one embodiment, when the analysis results indicate that the two-wheeled vehicle is about to fall, a warning signal is generated to alert the driver.
[0039] In this embodiment, in one implementation, the multi-color light strip is an RGB light strip, which is set on the dashboard, handlebars, front or rear of the two-wheeled vehicle. The data processing module obtains a stable obstacle distance every 100 milliseconds and makes judgments according to S21 to S24.
[0040] The system has a 300-millisecond anti-shake time window. The status of the multi-color light strip is only updated when the obstacle distance remains stable for 300 consecutive milliseconds, that is, when it remains in the same distance range or the same state. For example, if the obstacle distance moves from the warning range to the danger range, but only changes for a short time and then returns to the warning range, the system will not update the light strip status immediately. Only when the danger range status lasts for 300 milliseconds will the light strip be switched to the danger range status. This avoids the light strip from flashing frequently due to instantaneous radar jumps, road reflections, or vehicle vibrations.
[0041] When the distance to the obstacle is greater than 150 centimeters, the distance between the two-wheeled vehicle and the obstacle is determined to be within a safe range. The multi-color light strip is controlled to remain constantly green. The constantly green light indicates that the current distance to the obstacle is relatively far, and the driver does not need to take any evasive or braking measures immediately.
[0042] When the distance to the obstacle is greater than 60 cm but less than 150 cm, the distance between the two-wheeled vehicle and the obstacle is determined to be within the warning range. The multi-color light strip is controlled to remain constantly yellow. The constantly yellow light indicates that the distance between the two-wheeled vehicle and the obstacle is approaching, and the driver should increase attention and prepare to take measures to slow down or avoid the obstacle.
[0043] When the distance to the obstacle is less than or equal to 60 centimeters, the distance between the two-wheeled vehicle and the obstacle is determined to be in a dangerous zone. The multi-color light strip is then turned on to activate a red periodic flashing warning state. The red periodic flashing state indicates that the two-wheeled vehicle is too close to the obstacle and there is a risk of collision. The driver should immediately take braking or evasive action.
[0044] In one implementation, the boundary value of 150 cm or 60 cm can be configured according to the vehicle calibration. Preferably, 60 cm or less is the danger zone, 60 cm or more but less than 150 cm is the warning zone, and 150 cm or more is the safe zone.
[0045] In one implementation, when the distance to the obstacle is in an abnormal state or a no-signal state, the multi-color light strip is controlled to turn on a purple flashing warning state, and the switching interval of the light state is limited to 200ms.
[0046] The abnormal or no-signal state includes at least one of the following: millimeter-wave radar communication interruption; radar data frame loss; radar output distance exceeding the preset effective range; radar signal strength below the preset threshold; radar self-test failure; data processing module unable to parse radar data.
[0047] When the above conditions occur, the multi-color light strip will flash purple to indicate a hardware failure or signal abnormality. At the same time, the system will limit the light state switching interval to 200ms, that is, there must be at least 200ms between two adjacent light state switching, in order to protect the light strip components and avoid high-frequency switching from damaging the LEDs or driver circuits.
[0048] Preferably, abnormal status indication takes precedence over normal distance indication. For example, even if the current distance is within a safe range, the light bar will still switch to flashing purple if the radar malfunctions.
[0049] In one implementation, the vehicle body tilt angle is analyzed according to a preset standard, and a two-wheeled vehicle shutdown control signal is generated under specified conditions. The vehicle body tilt angle is analyzed according to a preset vehicle fall threshold, which includes at least one of the following: angle threshold, such as 45°, 50° or 60°; duration threshold, such as 1 second, 1.5 seconds or 2 seconds; angular velocity threshold; angular acceleration threshold; tilt angle change rate threshold; and composite threshold combined with obstacle distance.
[0050] When the vehicle tilt angle exceeds the vehicle fall threshold and the duration reaches a preset time, the two-wheeled vehicle is determined to be in a fall state, and a shutdown control signal is generated. For example, when the vehicle tilt angle is greater than 45° and lasts for 1 second, the two-wheeled vehicle is determined to be in a fall state, and a shutdown control signal is generated. Or, when the vehicle tilt angle is greater than 35°, the distance to the obstacle is less than or equal to 60 cm, and lasts for 0.5 seconds, the two-wheeled vehicle is determined to be in a high-risk fall state, and a shutdown control signal is generated.
[0051] The engine is turned off by controlling the engine of a two-wheeled vehicle via a shutdown control signal. For a fuel-powered two-wheeled vehicle, the shutdown control signal can be used for at least one of the following: cutting off the ignition circuit; turning off the fuel pump; controlling the engine controller to enter the shutdown state; or turning off the engine enable signal.
[0052] For electric two-wheeled vehicles, the engine shutdown control signal can be used for at least one of the following: turning off the motor controller enable; cutting off the power supply; prohibiting the throttle signal output; controlling the battery management system to disconnect the high voltage or power circuit. Thus, the two-wheeled vehicle can automatically enter the engine shutdown state after falling, reducing the risk of secondary accidents caused by the wheels continuing to rotate or the vehicle continuing to move.
[0053] In one implementation, when the analysis results indicate that the two-wheeled vehicle is about to fall, a warning signal is generated to alert the driver. This includes: the vehicle tilt angle reaching a preset percentage of the fall threshold, such as 80% of the fall threshold; the rate of change of the vehicle tilt angle being greater than a preset rate of change threshold; the vehicle angular velocity being greater than a preset angular velocity threshold; the vehicle angular acceleration being greater than a preset angular acceleration threshold; the vehicle tilt angle being within the danger zone, and the obstacle distance being within the danger zone; and the vehicle tilt angle continuing to increase and exceeding the warning threshold.
[0054] Warning signals include: controlling the multi-color light strip to flash red; controlling the buzzer to emit a warning sound; controlling the vibrator to vibrate; controlling the dashboard to display a warning icon; controlling the voice module to issue a voice prompt; and sending warning information to the mobile terminal bound to the two-wheeled vehicle.
[0055] Preferably, the impending fall warning signal is generated before a fall is determined, so that the driver has time to adjust the vehicle's balance. The impending fall warning has a higher priority than the normal distance warning, but the priority can be arbitrated based on the calibration, fall-related engine shutdown signal, and abnormal status warning.
[0056] In one implementation, the status priority of the multi-color light strip is as follows: fall-off state; impending fall warning state; obstacle danger zone state; obstacle warning zone state; obstacle safe zone state; abnormal or no signal state can be inserted into the above priority as designed, preferably taking precedence over ordinary distance indication.
[0057] The system limits the switching interval of the light status to 200ms, that is, there must be at least 200ms between two adjacent light strip status switching. Even if the 300ms anti-jitter condition is met, the minimum switching interval of 200ms must still be met to protect the light strip device.
[0058] In one embodiment, the vehicle tilt angle and obstacle distance are analyzed according to preset standards to control the state of the multi-color light strips on the two-wheeled vehicle. Specifically, this includes the following steps: S201: Filter and anti-shake the vehicle body tilt angle to obtain vehicle body angle data; S202: Calculate the dynamic tilt risk coefficient based on the vehicle body angle data; S203: Dynamically adjust the warning threshold for obstacle distance based on the dynamic tilt risk coefficient to obtain the dynamic distance threshold; S204: Based on the vehicle body angle data and the dynamic distance threshold, perform a two-dimensional classification joint judgment on the obstacle distance to determine the current riding risk level; S205: Control the state of the multi-color light strip on the two-wheeled vehicle according to the current riding risk level.
[0059] In this embodiment, the filtering in S201 includes at least one of moving average filtering, low-pass filtering, median filtering, or Kalman filtering; the anti-shake processing includes setting an anti-shake time window, and updating the vehicle body angle data only after the vehicle body tilt angle has remained stable within the anti-shake time window.
[0060] Preferably, the dynamic tilt risk coefficient mentioned in S202 is a normalized coefficient, which is calculated based on the vehicle body angle data, the rate of change of the vehicle body angle, and / or the duration.
[0061] Preferably, the dynamic distance threshold in S203 includes a dynamic warning threshold and a dynamic danger threshold. When the dynamic tilt risk coefficient increases, the dynamic warning threshold and / or the dynamic danger threshold increase accordingly, so that the two-wheeled vehicle enters the distance warning or danger state earlier when the vehicle body tilt angle is large.
[0062] Preferably, the two-dimensional hierarchical joint judgment in S204 includes: determining the angle risk level based on the vehicle body angle data, determining the distance risk level based on the relationship between obstacle distance and dynamic distance threshold, and then querying a preset joint judgment matrix based on the angle risk level and the distance risk level to obtain the current riding risk level.
[0063] In one embodiment, data on the changes in the vehicle's tilt angle during each vehicle crash is recorded, and driving guidance is provided to the driver based on this data. The steps include: S31: Record the changes in the vehicle tilt angle during each of the user's vehicle falls to obtain the user's risk record data; S32: Based on the risk record data, assess the risk of falling by evaluating the vehicle tilt angle at each level of the vehicle body to establish a safe driving range for the driver of a two-wheeled vehicle. S33: Analyze the real-time collected vehicle tilt distance based on the safe driving range to generate corresponding driving guidance information.
[0064] In this embodiment, the vehicle tilt angle is collected by a vehicle tilt sensor and processed through format conversion, filtering, and anti-shake treatment to obtain vehicle tilt angle data. Millimeter-wave radar collects the distance to obstacles in front and behind every 100 milliseconds and uses a moving average algorithm to filter out instantaneous jumps to obtain stable obstacle distances. Then, a dynamic tilt risk coefficient is calculated based on the vehicle tilt angle data, and the distance warning threshold is dynamically adjusted accordingly. Furthermore, a two-dimensional hierarchical joint judgment is performed on the vehicle tilt angle data and obstacle distance to determine the current riding risk level. Based on this, the multi-color light strip is controlled to display states such as solid green, solid yellow, periodic red flashing, fast red flashing, or purple flashing in states of safety, warning, danger, emergency, fall, and abnormality, respectively. The light strip state must remain stable within 300 milliseconds with a switching interval of no less than 200ms. Simultaneously, when the fall threshold is met, a warning light strip is activated. The system generates an engine shutdown control signal to shut off the two-wheeled vehicle and a warning signal when a fall is imminent. Furthermore, this application records data on changes in the vehicle's tilt angle before, during, and after each fall, as well as related information such as angular velocity, vehicle speed, and road conditions, to form risk record data. Based on this, the risk of falls at various angles is assessed, and a personalized safe driving range for the driver is established. The real-time collected vehicle tilt angle is then compared with this safe driving range, and driving guidance information, including straightening the vehicle, deceleration, avoiding sudden braking, and parking, is generated through multi-color light strips, buzzers, vibration, voice, dashboard, or mobile terminal. The safe driving range can be continuously updated based on new fall records or normal riding data, thereby achieving integrated safety control of two-wheeled vehicle dynamic and static tilt angle detection, obstacle distance warning, fall shutdown, and personalized driving guidance.
[0065] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0066] In one embodiment, a two-wheeled vehicle tilt angle detection device is provided, which corresponds one-to-one with the two-wheeled vehicle tilt angle detection method in the above embodiments. The functional modules of the two-wheeled vehicle tilt angle detection device are described in detail below: The vehicle body tilt angle detection module is used to detect the vehicle body tilt angle in both the dynamic driving state and the static stationary state of the two-wheeled vehicle. The data processing module is connected to the vehicle body tilt angle detection module and is used to receive and process the vehicle body tilt angle. The data output module is connected to the data processing module and is used to output the processed tilt angle data and output a vehicle fall-off control signal generated based on the tilt angle. The vehicle power supply is used to power the vehicle body tilt angle detection module, the data processing module, and the data output module.
[0067] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0068] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0069] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of detecting a tilt angle of a two-wheeled vehicle, characterized by, include: Collect the tilt angle of the two-wheeled vehicle and the distance to obstacles; The system analyzes the vehicle's tilt angle and obstacle distance based on preset standards to control the state of the multi-color light strips on the two-wheeled vehicle and, under specified conditions, controls the vehicle to shut off.
2. The two-wheeled vehicle inclination angle detection method according to claim 1, characterized in that, The steps for collecting the tilt angle of a two-wheeled vehicle include: The tilt angle of the two-wheeled vehicle is detected by a body angle detection sensor installed on the vehicle, and the sensor detection data is obtained. The sensor detection data is converted into a data format consistent with the preset fall threshold to obtain the vehicle body tilt angle.
3. The two-wheeled vehicle inclination angle detection method according to claim 1, characterized in that, The steps for collecting obstacle distances from a two-wheeled vehicle include: The distance data between the front and rear of the two-wheeled vehicle is detected every 100 milliseconds by a millimeter-wave radar installed on the vehicle. A moving average algorithm is used to filter out instantaneous radar signal jump interference from continuously collected distance data, resulting in stable obstacle distances.
4. The tilting angle detecting method of a two-wheeled vehicle according to claim 1, characterized in that, The steps for analyzing obstacle distances based on preset standards to control the state of the multi-color light strips on the two-wheeled vehicle include: The distance to obstacles is judged within a preset 300-millisecond time range. When the distance to obstacles remains stable within the 300-millisecond time range, the state of the multi-color light strip is updated. When the distance to the obstacle is greater than 150 centimeters, the distance between the two-wheeled vehicle and the obstacle is determined to be a safe zone, and the multi-color light strip is controlled to remain constantly green. When the distance to the obstacle is greater than 60 cm but less than 150 cm, the distance between the two-wheeled vehicle and the obstacle is determined to be the warning zone, and the multi-color light strip is controlled to remain constantly yellow. When the distance to the obstacle is less than or equal to 60 centimeters, the two-wheeled vehicle is determined to be in a dangerous zone from the obstacle, and the multi-color light strip is controlled to turn on the red periodic flashing warning state.
5. The two-wheeled vehicle inclination angle detection method according to claim 4, characterized in that, When the distance to the obstacle is abnormal or there is no signal, the multi-color light strip is controlled to turn on the purple flashing warning state, and the switching interval of the light state is limited to 200ms.
6. The tilting angle detecting method of a two-wheeled vehicle according to claim 1, wherein The steps for controlling the state of the multi-color light strips on the two-wheeled vehicle by analyzing the vehicle's tilt angle and obstacle distance according to preset standards include: The vehicle tilt angle is filtered and anti-shake processed to obtain vehicle angle data; Calculate the dynamic tilt risk coefficient based on the vehicle body angle data; The warning threshold for obstacle distance is dynamically adjusted based on the dynamic tilt risk coefficient to obtain the dynamic distance threshold; Based on the vehicle body angle data and the dynamic distance threshold, a two-dimensional classification joint judgment is made on the obstacle distance to determine the current riding risk level; Based on the current riding risk level, control the state of the multi-color light strips on the two-wheeled vehicle.
7. The tilting angle detecting method of a two-wheeled vehicle according to claim 1, wherein The steps for analyzing the vehicle body tilt angle according to preset standards and generating a two-wheeled vehicle shutdown control signal under specified conditions include: The vehicle tilt angle is analyzed based on the preset vehicle fall threshold. When the analysis results show that the two-wheeled vehicle is in a fall state, a two-wheeled vehicle shutdown control signal is generated. The two-wheeled vehicle is turned off by controlling the engine with a shutdown control signal.
8. The two-wheeled vehicle inclination angle detection method according to claim 7, characterized in that, When the analysis results indicate that the two-wheeled vehicle is about to fall, a warning signal is generated to alert the driver.
9. The tilting angle detecting method of a two-wheeled vehicle according to claim 1, wherein The system records data on the changes in the vehicle's tilt angle during each crash and uses this data to provide driving guidance to the driver. The steps include: Record the changes in the vehicle's tilt angle during each of the user's vehicle crashes to obtain the user's risk record data; The risk of falling is assessed based on the vehicle tilt angle at each level of the risk record data in order to establish a safe driving range for drivers of two-wheeled vehicles. The vehicle tilt distance collected in real time is analyzed based on the safe driving range to generate corresponding driving guidance information.
10. A two-wheeled vehicle inclination angle detecting device characterized by comprising: include: The vehicle body tilt angle detection module is used to detect the vehicle body tilt angle in both the dynamic driving state and the static stationary state of the two-wheeled vehicle. The data processing module is connected to the vehicle body tilt angle detection module and is used to receive and process the vehicle body tilt angle. The data output module is connected to the data processing module and is used to output the processed tilt angle data and output a vehicle fall-off control signal generated based on the tilt angle. The vehicle power supply is used to power the vehicle body tilt angle detection module, the data processing module, and the data output module.
