Intelligent lifting control system and method for vehicle windshield
By installing a retractable windshield assembly on a motorcycle, combined with vehicle speed and height detection modules, and using a mapping table and speed change rate judgment, the windshield can be adjusted in real time with precision and automatic control. This solves the problem that traditional motorcycle windshields cannot adapt to different driving conditions, improves driving comfort and safety, and provides the flexibility of manual adjustment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG LEQI LOCOMOTIVE CO LTD
- Filing Date
- 2026-03-17
- Publication Date
- 2026-05-12
AI Technical Summary
Traditional motorcycle windshields cannot adapt to different driving conditions, resulting in insufficient wind resistance protection when riding at high speeds or obstructed vision when riding at low speeds. Furthermore, the existing adjustment methods require manual operation, which increases the burden of riding and cannot be adjusted accurately in real time.
It adopts a liftable windshield assembly, combined with a vehicle speed detection module, a height detection module, and a control module. Automatic adjustment is achieved through a mapping relationship table. Frequent adjustments are avoided by judging the rate of change of vehicle speed. It is also equipped with a manual mode switch and closed-loop control to ensure precise lifting and lowering.
It enables real-time, precise, and automatic adjustment of the windshield under different driving conditions, reducing the driver's workload, improving comfort and safety, and also has the flexibility of manual adjustment to meet individual needs.
Smart Images

Figure CN122014087A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, specifically to an intelligent windshield lifting control system and method for vehicles. Background Technology
[0002] The windshield of a vehicle (such as a motorcycle, electric vehicle, or other vehicle) is primarily used to provide wind resistance protection for the driver, improving comfort and safety during high-speed riding. Taking motorcycles as an example, traditional motorcycle windshields have a fixed height, which cannot adapt to different riding conditions. For instance, a higher windshield is needed for good wind resistance protection during high-speed riding, while an excessively high windshield can obstruct vision and affect safety during low-speed or city riding. Currently, some motorcycles on the market are equipped with manually or electrically adjustable windshields, but these usually require riders to operate them manually based on experience, increasing the operational burden while riding. Furthermore, they cannot provide real-time, precise adjustments when the vehicle speed changes frequently, indicating a low level of automation. Summary of the Invention
[0003] To address the aforementioned technical problems, this application provides an intelligent windshield lifting control system and method for vehicles.
[0004] In a first aspect, this application provides a vehicle windshield intelligent lifting control system, comprising: a windshield assembly mounted on the front of the vehicle via a liftable mounting mechanism; a drive module, connected to the windshield assembly for driving the windshield assembly to lift; a vehicle speed detection module for detecting the real-time vehicle speed; a height detection module, connected to the windshield assembly for real-time detection of the current height of the windshield assembly; a storage module for pre-storing a mapping table between effective vehicle speed ranges and the height of the windshield assembly; and a control module connected to the drive module, the vehicle speed detection module, and the height detection module, respectively. The module and storage module are electrically connected; the control module is configured to: acquire the real-time driving speed and current height, query the mapping table to obtain the target height corresponding to the real-time driving speed; calculate the speed change rate within a continuously preset time period before the current moment based on the real-time driving speed; when the absolute value of the speed change rate is greater than or equal to a preset threshold, the automatic lifting command to the drive module based on the target height is prohibited; when the absolute value of the speed change rate is less than the preset threshold, the automatic lifting command to the drive module is sent based on the difference between the current height and the target height, and closed-loop adjustment is achieved through real-time feedback from the height detection module.
[0005] By adopting the above technical solution, the windshield assembly can be raised and lowered to adapt to different driving conditions. The vehicle speed detection module detects the real-time vehicle speed, and the height detection module detects the current height of the windshield assembly. Combined with a pre-stored mapping table, the target height corresponding to the real-time vehicle speed can be obtained. The control module calculates the vehicle speed change rate. When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, automatic raising and lowering is prohibited to avoid frequent adjustments. When it is less than the preset threshold, an automatic raising and lowering command is sent based on the height difference between the current height and the target height, and closed-loop adjustment is performed to achieve real-time and precise automatic raising and lowering of the windshield assembly, improving driving comfort and safety, reducing the driver's operational burden, and achieving the effect of improving the intelligence level of the windshield raising and lowering control system.
[0006] Optionally, the control module includes: a speed change rate judgment unit, which is used to calculate the vehicle speed change rate and compare the absolute value of the vehicle speed change rate with a preset threshold.
[0007] By adopting the above technical solution, the speed change rate judgment unit can accurately calculate the vehicle speed change rate and compare the absolute value of the speed change rate with a preset threshold. This allows the control system to decide whether to send an automatic lifting command to the drive module based on the difference between the current height and the target height, thus avoiding incorrect adjustment of the windshield height when the vehicle speed changes drastically. This improves the accuracy and reliability of windshield adjustment and ensures that the vehicle can provide appropriate wind resistance protection for the driver under different driving conditions.
[0008] Optionally, the system further includes: a manual mode switch, which is electrically connected to the control module; the control module is also configured to: when receiving an activation signal from the manual mode switch, prohibit the execution of sending automatic lifting commands to the drive module based on real-time vehicle speed, vehicle speed change rate and mapping table, and, in response to externally input manual control commands, control the drive module to drive the windshield assembly to lift.
[0009] By adopting the above technical solution, the system is equipped with a manual mode switch, which allows the control module to stop the automatic lifting command operation when it receives the activation signal of the manual mode switch, thus avoiding automatic adjustment interference. It can also respond to manual control commands to drive the windshield assembly to lift and lower, meeting the user's manual adjustment needs and enhancing the system's flexibility.
[0010] Optionally, the manual control commands include a one-key reset command. When the one-key reset command is triggered, the control module controls the drive module to adjust the windshield assembly to a preset safe height.
[0011] By adopting the above technical solution, in addition to having the function of intelligently adjusting the height of the windshield assembly according to vehicle speed, the system can also trigger a one-key reset command in manual mode to adjust the windshield assembly to a preset safe height, which improves the flexibility and safety of the system and meets the user's need to quickly adjust the windshield height in special circumstances.
[0012] Optionally, the storage module is also used to store manual intervention statistics; the control module is also configured to execute adaptive correction logic for the mapping relationship, specifically including: within a preset statistical period, recording the frequency of manual adjustment operations for each speed range and the final dwell height after each operation; when the cumulative frequency of manual adjustment operations in the target speed range exceeds a preset frequency threshold, calculating the average value of the final dwell height recorded in the target speed range, obtaining the average height value, and determining the average height value as the preferred height of the target speed range, wherein the target speed range is any speed range in the mapping relationship table; updating the target height of the corresponding target speed range in the mapping relationship table with the preferred height.
[0013] By adopting the above technical solution, an adaptive method is provided that automatically optimizes the system's preset parameters based on historical data of user manual operation through statistical learning. The system no longer passively executes the preset mapping table, but can actively learn the user's manual adjustment habits and automatically update and optimize its own core control parameters with the learned preference data.
[0014] Optionally, the liftable mounting mechanism includes: a guide rail located at the front of the vehicle, a slider fixedly connected to the windshield assembly, and a transmission mechanism connecting the slider and the drive module; the drive module is a stepper motor, and the transmission mechanism is a worm gear mechanism or a rack and pinion mechanism.
[0015] By adopting the above technical solutions, the liftable mounting mechanism composed of guide rail, slider and transmission mechanism can provide stable lifting guidance for windshield assembly, so that windshield assembly can be smoothly lifted and lowered along guide rail; stepper motor as drive module can accurately control the number of rotation steps and angle, so as to achieve precise adjustment of the lifting height of windshield assembly; worm gear mechanism or gear rack mechanism as transmission mechanism has the characteristics of compact structure and high transmission efficiency, which can effectively transmit the power of stepper motor to slider, so as to drive windshield assembly to smoothly complete the lifting and lowering action.
[0016] Optionally, the specific process of closed-loop adjustment includes: the height detection module collects the current height of the windshield assembly in real time and feeds it back to the control module; the control module continuously compares the current height with the target height; when the difference between the current height and the target height is less than the preset error value, the control module stops sending automatic lifting commands to the drive module.
[0017] By adopting the above technical solution, the height detection module can collect the current height of the windshield assembly in real time and feed it back to the control module. The control module continuously compares the current height with the target height. When the difference between the two is less than the preset error value, it stops sending automatic lifting and lowering commands to the drive module, thus realizing closed-loop control of the windshield assembly height adjustment. This allows the windshield assembly to be accurately raised and lowered to the target height, improving the accuracy and reliability of the adjustment.
[0018] Optionally, the system also includes a gyroscope, which is electrically connected to the control module. The gyroscope is used to detect the real-time yaw rate parameters of the vehicle and send them to the control module. The control module is also configured to: when the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameters meet the preset crosswind determination conditions, adjust the target height of the windshield assembly.
[0019] By adopting the above technical solution, when the real-time driving speed is greater than or equal to the preset speed threshold and the real-time yaw rate parameter meets the preset crosswind judgment condition, the system can correct the target height of the windshield assembly and adjust the windshield height according to the crosswind conditions, thereby further improving the safety and comfort of driving the vehicle.
[0020] Optionally, the mapping table contains the correspondence of multiple height levels. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets the preset crosswind judgment condition, the target height of the windshield assembly is corrected, including: when the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate is greater than a first yaw rate threshold and less than a second yaw rate threshold, if the current target height obtained by querying the mapping table is not the lowest height level, the control module controls the windshield assembly to lower by one level; when the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate is greater than or equal to a second yaw rate threshold, the control module controls the windshield assembly to lower to the lowest height level.
[0021] By adopting the above technical solution, when the vehicle's real-time driving speed is greater than or equal to a preset speed threshold and the real-time yaw rate parameter meets the preset crosswind judgment conditions, the target height of the windshield assembly can be adjusted according to the magnitude of the yaw rate to avoid crosswinds affecting driving stability. When the yaw rate is between the first and second yaw rate thresholds and the current target height is not the lowest setting, the height is reduced by one level. When the yaw rate is greater than or equal to the second yaw rate threshold, the height is reduced to the lowest setting, thereby improving driving safety and comfort.
[0022] Optionally, the mapping table contains the correspondence of multiple height levels. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets the preset crosswind judgment condition, the target height of the windshield assembly is corrected. This includes: when the real-time driving speed is greater than or equal to a preset speed threshold, and the duration of the state where the real-time yaw rate is greater than a first yaw rate threshold and less than a second yaw rate threshold is greater than or equal to a preset duration, and the roll rate is less than a preset roll rate threshold, if the current target height obtained by querying the mapping table is not the lowest height level, the control module controls the windshield assembly to lower by one level. The gyroscope is also used to detect the vehicle's real-time roll rate and send it to the control module. When the real-time driving speed is greater than or equal to a preset speed threshold, and the duration of the state where the real-time yaw rate is greater than or equal to a second yaw rate threshold is greater than or equal to a preset duration, and the roll rate is less than a preset roll rate threshold, the control module controls the windshield assembly to lower to the lowest height level.
[0023] By adopting the above technical solution, the system can determine the crosswind situation based on vehicle speed and yaw rate parameters. When the real-time driving speed is greater than or equal to the preset vehicle speed threshold and the yaw rate meets the conditions, the system can accurately correct the target height of the windshield assembly based on the duration of the yaw rate being greater than the threshold (including the first and second yaw rate thresholds) and in combination with the roll rate. This reduces the windshield height, prevents crosswinds from affecting driving stability, and improves the driving safety and stability of the vehicle in crosswind environments.
[0024] Optionally, the control module has a built-in fault self-diagnosis unit, which is used to monitor the working status of the vehicle speed detection module, height detection module, and drive module in real time. When the vehicle speed detection module or height detection module is detected to be malfunctioning, the control module automatically triggers the protection mechanism, disables the automatic adjustment logic, and issues a manual mode activation prompt. After the manual mode switch is activated, it switches to manual mode. When the drive module is detected to be malfunctioning, the control module automatically triggers the protection mechanism, disables the automatic adjustment logic, and disables manual mode.
[0025] By adopting the above technical solution, the working status of the vehicle speed detection module, height detection module, and drive module can be monitored in real time. When an abnormality is detected in the vehicle speed detection module or height detection module, a protection mechanism is automatically triggered to disable the automatic adjustment logic, thereby avoiding abnormal adjustment caused by module failure. At the same time, a manual mode activation prompt is issued. After the manual mode switch is activated, the system switches to manual mode to ensure that the windshield assembly height can still be manually adjusted in the event of a fault, maintaining the basic functionality of the system. When an abnormality is detected in the drive module, the automatic adjustment logic is disabled, and the manual mode is also disabled.
[0026] Optionally, the specific monitoring and anomaly determination methods of the fault self-test unit include at least one of the following: For the vehicle speed detection module, the fault self-test unit monitors the vehicle speed signal output by the vehicle speed detection module in real time. When no vehicle speed signal is received within a continuous first time period, or when the received vehicle speed signal exceeds the preset reasonable vehicle speed range, the vehicle speed detection module is determined to be malfunctioning. For the height detection module, the fault self-test unit monitors the height signal output by the height detection module in real time. When no height signal is received within a continuous second time period, or when the received height signal exceeds the maximum travel range of the windshield assembly, the height detection module is determined to be malfunctioning. For the drive module, the fault self-test unit monitors the operating current and execution feedback signal of the drive module. When no height change signal is received from the height detection module within a third time period after sending an automatic lifting command to the drive module, or when the operating current of the drive module exceeds a preset current threshold, the drive module is determined to be malfunctioning.
[0027] By adopting the above technical solution, the working status of the vehicle speed detection module, height detection module and drive module can be monitored in real time, and it can be determined in a timely and accurate manner whether each module is malfunctioning. When an abnormality is detected, the corresponding protection mechanism is automatically triggered, thereby enhancing the reliability and safety of the system.
[0028] In a second aspect of this application, a method for intelligent windshield lifting control is provided, applied in any of the aforementioned intelligent windshield lifting control systems, comprising: acquiring the real-time vehicle speed and the current height of the windshield assembly; querying a target height corresponding to the real-time vehicle speed according to a pre-stored mapping table between effective vehicle speed ranges and windshield assembly heights; calculating the rate of change of vehicle speed over a continuously preset time period prior to the current moment based on the real-time vehicle speed; prohibiting the generation and sending of automatic lifting commands based on the target height when the absolute value of the rate of change of vehicle speed is greater than or equal to a preset threshold; and generating and sending automatic lifting commands based on the difference between the current height and the target height when the absolute value of the rate of change of vehicle speed is less than the preset threshold, generating and sending automatic lifting commands to the drive module based on the difference between the current height and the target height, and simultaneously performing closed-loop adjustment based on the real-time height feedback of the windshield assembly.
[0029] By adopting the above technical solution, the height of the windshield assembly can be automatically adjusted according to the real-time vehicle speed to adapt to different driving conditions and improve comfort and safety. At the same time, by calculating the rate of change of vehicle speed, adjustments can be avoided when the vehicle speed changes frequently, reducing unnecessary operation and wear. Closed-loop adjustment ensures that the windshield assembly accurately reaches the target height, improving the accuracy and stability of the adjustment.
[0030] In summary, one or more technical solutions provided in this application have at least the following technical effects or advantages: 1. The windshield assembly is height-adjustable to adapt to different driving conditions. The vehicle speed detection module detects the real-time vehicle speed, and the height detection module detects the current height of the windshield assembly. Combined with a pre-stored mapping table, the target height corresponding to the real-time vehicle speed can be obtained. The control module calculates the vehicle speed change rate. When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, automatic height adjustment is prohibited to avoid frequent adjustments. When it is less than the preset threshold, an automatic height adjustment command is sent based on the height difference between the current height and the target height, and closed-loop adjustment is performed to achieve real-time and precise automatic height adjustment of the windshield assembly, improving driving comfort and safety, reducing the driver's workload, and enhancing the intelligence level of the windshield height control system. 2. The system is equipped with a manual mode switch, which allows the control module to stop the automatic lifting and lowering command operation when it receives the activation signal of the manual mode switch, so as to avoid automatic adjustment interference. It can also respond to manual control commands to drive the windshield assembly to lift and lower, meet the user's manual adjustment needs, and enhance the flexibility of system use. 3. When the real-time driving speed is greater than or equal to the preset speed threshold and the real-time yaw rate parameter meets the preset crosswind judgment condition, the system can correct the target height of the windshield assembly and adjust the windshield height according to the crosswind conditions, further improving the safety and comfort of driving the vehicle. Attached Figure Description
[0031] Figure 1 This is a framework diagram of a vehicle windshield intelligent lifting control system provided in an embodiment of this application; Figure 2 This is an example diagram of a motorcycle windshield lifting control system provided in an embodiment of this application; Figure 3 This is a flowchart of a vehicle windshield intelligent lifting control method provided in an embodiment of this application; Figure 4 This is a schematic diagram of the working process of a motorcycle windshield lifting control system provided in an embodiment of this application. Detailed Implementation
[0032] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0033] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0034] In the description of the embodiments of this application, the term "multiple" means two or more. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0035] The following is in conjunction with the appendix Figure 1 -Appendix Figure 4 The embodiments of this application will be described in detail.
[0036] This application provides an intelligent windshield lifting control system for vehicles. Figure 1 This is a framework diagram of a vehicle windshield intelligent lifting control system provided in an embodiment of this application. The system includes: The windshield assembly is mounted on the front of the vehicle via a liftable mounting mechanism; The drive module is connected to the windshield assembly and is used to drive the windshield assembly to rise and fall; the vehicle speed detection module is used to detect the real-time driving speed of the vehicle. A height detection module, connected to the windshield assembly, is used to detect the current height of the windshield assembly in real time; The storage module pre-stores a mapping table between the effective vehicle speed range and the height of the windshield assembly; The control module is electrically connected to the drive module, vehicle speed detection module, height detection module, and storage module, respectively. The control module is configured to: acquire real-time vehicle speed and current height, query a mapping table to obtain the target height corresponding to the real-time vehicle speed; calculate the rate of change of vehicle speed over a continuously preset time period prior to the current moment based on the real-time vehicle speed; when the absolute value of the rate of change of vehicle speed is greater than or equal to a preset threshold, prohibit sending automatic lifting commands to the drive module based on the target height; when the absolute value of the rate of change of vehicle speed is less than the preset threshold, send automatic lifting commands to the drive module based on the difference between the current height and the target height, and achieve closed-loop adjustment through real-time feedback from the height detection module.
[0037] In the above embodiments, the windshield assembly is height-adjustable to adapt to different driving conditions. The vehicle speed detection module detects the real-time vehicle speed, and the height detection module detects the current height of the windshield assembly. Combined with a pre-stored mapping table, the target height corresponding to the real-time vehicle speed can be obtained. The control module calculates the vehicle speed change rate. When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, automatic height adjustment is prohibited to avoid frequent adjustments. When it is less than the preset threshold, an automatic height adjustment command is sent based on the height difference between the current height and the target height, and closed-loop adjustment is performed. By introducing the vehicle speed change rate judgment, frequent adjustments of the windshield assembly when the vehicle speed changes drastically are avoided, achieving smooth and precise automatic control, significantly improving driving comfort and safety, and reducing the driver's operational burden. This achieves the effect of improving the intelligence level of the windshield height control system.
[0038] This embodiment employs an overall logic of hardware perception + lookup table decision + vehicle speed change rate filtering + closed-loop precise control, also known as automatic adjustment logic. Specifically, the windshield assembly and the height-adjustable mounting mechanism provide the physical structural basis for height adjustment; the drive module, as the execution component, receives control commands to complete the windshield lifting action; the vehicle speed detection module collects the vehicle's current driving speed in real time, providing core parameters for operating condition judgment; the height detection module collects the current actual height of the windshield in real time, forming an adjustment feedback signal; the storage module pre-stores a mapping relationship table between vehicle speed ranges and windshield heights as the benchmark for automatic adjustment. This mapping relationship table includes the correspondence between multiple different height levels, i.e., the correspondence between multiple different height levels and vehicle speed ranges; the control module, as the core control unit of the system, uniformly collects signals, performs calculations and judgments, and outputs commands. The control module's control flow includes: synchronously collecting real-time vehicle speed and the current windshield height; using the real-time vehicle speed as an index, querying a pre-stored mapping table to match the theoretical target height under the current operating conditions; calculating the vehicle speed change rate (i.e., the change in vehicle speed per unit time, representing the severity of sudden acceleration / deceleration or sudden speed changes) over a continuously preset time period from the current moment, and comparing its absolute value with a preset threshold; when the absolute value of the vehicle speed change rate is ≥ the preset threshold (sudden speed change), the automatic lifting command based on the target height is prohibited, and the windshield assembly maintains its current height without action; when the absolute value of the vehicle speed change rate is < the preset threshold (smooth speed change / uniform speed), an automatic lifting command is issued based on the difference between the current height and the target height, and closed-loop adjustment is performed using the real-time signal from the height detection module until the deviation between the actual height and the target height reaches the target (e.g., the difference between the two is less than the preset error value), and then the action stops. In related technologies, vehicle windshields typically use a fixed height, which cannot adapt to various driving conditions. High-speed driving requires a high windshield to reduce wind resistance and improve comfort, while low-speed / urban driving requires a low windshield to ensure visibility. Fixed structures cannot provide both. Other related technologies use manual / ordinary electric adjustments, which rely on driver intervention. Manual adjustment while riding can be distracting, increasing operational burden and safety hazards, and has a low level of intelligence. This embodiment automatically matches the windshield height to high and low speed conditions using a speed-height mapping table. At high speeds, it automatically upshifts to reduce wind resistance, and at low speeds, it automatically downshifts to ensure visibility, adapting to different driving scenarios without manual intervention. The entire process is autonomously completed by the system, handling signal acquisition, decision-making, and execution. The driver does not need to manually operate the windshield, allowing them to focus on driving and improving safety. Relying on real-time feedback from the height detection module to form a closed-loop control, compared to open-loop timed / fixed-stroke adjustments, it eliminates height deviations caused by mechanical backlash and transmission errors, ensuring the windshield accurately reaches the target height.In addition, by introducing a threshold for the rate of change of vehicle speed, invalid adjustment commands in cases of rapid acceleration and deceleration or sudden changes in vehicle speed are filtered out, avoiding frequent start-stop and shaking of the windshield, improving the stability of system operation, and extending the service life of drive and transmission components; adjustment actions are only performed when the vehicle speed is stable, and the windshield raising and lowering process is smooth without abrupt movements, without interfering with the driver's driving state.
[0039] In an optional embodiment, the control module includes: a speed change rate judgment unit, which is used to calculate the vehicle speed change rate and compare the absolute value of the vehicle speed change rate with a preset threshold.
[0040] In the above embodiments, the speed change rate judgment unit can accurately calculate the vehicle speed change rate and compare the absolute value of the vehicle speed change rate with a preset threshold. This allows the control system to decide whether to send an automatic lifting command to the drive module based on the difference between the current height and the target height, thus avoiding incorrect adjustment of the windshield height when the vehicle speed changes drastically. This improves the accuracy and reliability of windshield adjustment and ensures that the vehicle can provide appropriate wind resistance protection for the driver under different driving conditions.
[0041] The speed change rate judgment unit calculates the speed change rate within a corresponding time period based on real-time and historical vehicle speed data input from the vehicle speed detection module, as well as a preset duration. It calculates the absolute value of the speed change rate, compares this value with a system preset threshold, and outputs a binary judgment result. The main logic unit of the control module only receives the output result from this judgment unit and executes subsequent actions such as "prohibit automatic windshield raising / lowering command" or "send automatic windshield raising / lowering command + closed-loop adjustment" accordingly. It does not directly participate in the underlying calculation and comparison of the speed change rate. The calculation and judgment of the speed change rate are performed by the speed change rate judgment unit, resulting in a clear hardware and software architecture that conforms to conventional vehicle controller development specifications, significantly reducing the difficulty of program writing, hardware wiring, and debugging. The speed change rate judgment unit does not participate in other tasks such as windshield height closed-loop, mapping table lookup, or drive output, ensuring dedicated computing resources, reducing latency and interference, and guaranteeing the real-time performance and accuracy of speed change detection. Through this speed change rate judgment unit, the precise triggering of the "prohibit automatic windshield raising / lowering command" under rapid acceleration / deceleration conditions can be guaranteed, further preventing frequent and ineffective windshield raising / lowering.
[0042] In an optional embodiment, the system further includes: a manual mode switch electrically connected to the control module; the control module is further configured to: when receiving an activation signal from the manual mode switch, prohibit the execution of sending automatic lifting commands to the drive module based on real-time vehicle speed, vehicle speed change rate and mapping table, and, in response to an externally input manual control command, control the drive module to drive the windshield assembly to lift.
[0043] In the above embodiments, the system is equipped with a manual mode switch, which enables the control module to stop the automatic lifting command operation when it receives the activation signal of the manual mode switch, so as to avoid automatic adjustment interference. It can also respond to manual control commands to drive the windshield assembly to lift and lower, meet the user's manual adjustment needs, and enhance the system's flexibility.
[0044] This embodiment's control system, based on the original modules of the aforementioned embodiments, adds an independent manual mode switch. This switch establishes a direct electrical connection with the control module, used to input high / low level activation / deactivation signals to the control module. When the manual mode switch is not activated, the system fully executes the fully automatic control logic of the aforementioned embodiments, autonomously determining and sending automatic raising / lowering commands based on vehicle speed, vehicle speed change rate, and mapping table. The control module monitors the level signal of the manual mode switch in real time. Once it receives an activation signal, it immediately executes two mutually exclusive and synchronous core actions: Command blocking: Commands from the aforementioned automatic control logic are prohibited, meaning that no automatic raising / lowering commands are generated or issued based on real-time vehicle speed, vehicle speed change rate, and mapping table, completely severing the fully automatic control link; Command takeover: After blocking the automatic control logic, the control module no longer makes autonomous decisions, but instead only responds to external manual control commands input by the driver, parsing the manual control commands into control signals executable by the drive module, directly driving the windshield assembly to raise or lower. Automatic mode and manual mode are mutually exclusive; only one control logic is active at a time, fundamentally preventing concurrent conflicts between automatic and manual commands. Manual mode has higher priority. This embodiment achieves intelligent control while still allowing the driver to manually control the system, enhancing the overall flexibility of the control system. It respects and retains the user's ultimate control, satisfying their personalized needs and sense of "control," making high-tech products more readily accepted by traditional users. Through this embodiment, fully automatic adjustment is used in normal operating conditions, reducing the operational burden; special / personalized operating conditions can be addressed by switching to manual mode, meeting the differentiated needs of different drivers based on height, visibility, and riding habits, or fulfilling emergency adjustment requirements, significantly broadening the applicable scenarios. When manual mode is activated, the automatic logic is completely shielded, eliminating the possibility of the drive module receiving conflicting commands, ensuring a safe and stable control process, protecting the drive and transmission mechanical structures, and extending their service life. In the face of instantaneous deviations in the automatic algorithm, special road conditions, or instantaneous sensor interference, the driver can switch to manual control with a single click to achieve emergency height adjustments and avoid safety risks.
[0045] As an optional implementation, the storage module is also used to store manual intervention statistics; the control module is further configured to execute adaptive correction logic for the mapping relationship, specifically including: within a preset statistical period, recording the frequency of manual adjustment operations for each speed range and the final dwell height after each operation; when the cumulative frequency of manual adjustment operations within the target speed range exceeds a preset frequency threshold, calculating the average value of the recorded final dwell heights within the target speed range, and determining the average height value as the preferred height for the target speed range, where the target speed range is any speed range in the mapping relationship table; updating the target height for the corresponding target speed range in the mapping relationship table with the preferred height. Thus, in subsequent automatic lifting control, the target height is queried based on the updated mapping relationship table.
[0046] In the above embodiments, an adaptive method is provided that automatically optimizes system preset parameters based on historical data of user manual operations through statistical learning. The system no longer passively executes a preset mapping table but actively learns the user's manual adjustment habits and automatically updates and optimizes its core control parameters using the learned preference data. Specifically, the system continuously records the final height the driver reaches after adjusting the windshield in manual mode within different speed ranges. The final height refers to the height at which the dwell time exceeds the preset dwell time after each manual adjustment. When the system detects that the driver has manually adjusted the windshield a sufficient number of times within a specific speed range, it determines that the user is dissatisfied with the automatic adjustment effect in that range and has a stable personal preference. The system calculates the average of all recorded manual heights within that range to obtain an "average height" that represents the user's general preference. The system uses this calculated "average height" to update the original preset target height. Subsequently, when the vehicle re-enters that speed range, the automatic mode will adjust according to the new height preferred by the user. The preset statistical period can be one week or one month (or other periods), and the preset frequency threshold can be 3 times (or 5 times, or other times). Through this embodiment, the system can proactively learn and adapt to the unique preferences of different drivers, making the automatic adjustment results increasingly consistent with the user's personal habits, achieving an upgrade from "mechanical automation" to "personalized automation," and greatly improving comfort.
[0047] In an optional embodiment, the manual control command includes a one-key reset command. When the one-key reset command is triggered, the control module controls the drive module to adjust the windshield assembly to a preset safe height.
[0048] In the above embodiments, in addition to having the function of intelligently adjusting the height of the windshield assembly according to vehicle speed, the system can also trigger a one-key reset command in manual mode to adjust the windshield assembly to a preset safe height, which improves the flexibility and safety of the system and meets the user's need to quickly adjust the windshield height in special circumstances.
[0049] In this embodiment, the manual control command is not a single lifting command, but a set of commands including regular lifting commands and a one-key reset command. The one-key reset command is an independent and dedicated quick manual command; this command only takes effect when manual mode is activated (automatic lifting commands are completely disabled), and can be triggered by a handlebar button, combination button, or other convenient onboard operating structure. The control module can recognize this command independently. After recognizing the one-key reset command, the control module does not perform continuous / step adjustment or calculate the target height based on the vehicle speed mapping table. Instead, it directly calls the fixed preset safety height pre-stored by the system, generates a directional drive command, and controls the drive module to adjust the windshield to the preset safety height in one go until it reaches the position and stops. This height is a fixed height value pre-stored in the storage module, which is the optimal benchmark safety height that takes into account riding visibility, basic wind resistance protection, and vehicle driving stability. It is generally a low-gear height and is independent of the dynamic target height in automatic mode. Optionally, this preset safety height can be adjusted and stored as needed. With a one-button reset command, a "one-click" reset can be achieved, eliminating the need for continuous button presses and repeated gear shifts. A single operation can complete the height reset, allowing the driver to fully concentrate on driving and improving driving safety. In case of sudden road conditions, the driver can quickly reset the windshield height with a simple operation. The control response speed is far superior to conventional step-by-step manual adjustment, adapting to the emergency safety needs of vehicle driving. It provides the driver with a safe and quick button in emergency situations, optimizing the response time of manual operation to the extreme, which is an important active safety enhancement.
[0050] In an optional embodiment, the liftable mounting mechanism includes: a guide rail located at the front of the vehicle, a slider fixedly connected to the windshield assembly, and a transmission mechanism connecting the slider and the drive module; the drive module is a stepper motor, and the transmission mechanism is a worm gear mechanism or a rack and pinion mechanism.
[0051] In the above embodiments, the liftable mounting mechanism composed of the guide rail, slider, and transmission mechanism can provide a stable lifting guide for the windshield assembly, allowing the windshield assembly to be smoothly lifted and lowered along the guide rail; the stepper motor, as a drive module, can precisely control the number of rotation steps and angle, realizing precise adjustment of the lifting height of the windshield assembly; the worm gear mechanism or rack and pinion mechanism, as a transmission mechanism, has the characteristics of compact structure and high transmission efficiency, and can effectively transmit the power of the stepper motor to the slider, driving the windshield assembly to smoothly complete the lifting and lowering action.
[0052] The guide rail is a linear guiding component, rigidly fixed to the vehicle's front body. The slider is rigidly connected to the windshield assembly, and the slider and guide rail form a sliding fit pair, allowing only a single-dimensional linear lifting and lowering motion of the slider along the guide rail, providing purely linear motion guidance for the lifting and lowering action. A stepper motor is used as a dedicated power source. This motor operates according to pulse signals sent by the control module. The number of input pulses and the motor's output angular displacement have a strictly linear correspondence, enabling precise angle control, start / stop control, and position locking, which is the power foundation for achieving highly precise adjustment. The transmission mechanism acts as a power intermediary, converting the rotational motion of the stepper motor into the linear lifting and lowering motion required by the slider and windshield. Gear and rack mechanism: The gear is fixedly connected to the output shaft of the stepper motor, and the rack is fixedly connected to the slider / windshield. The motor drives the gear to rotate, and the gear meshes with the rack to drive the rack to move linearly, thereby driving the lifting. Worm gear mechanism: The worm is fixedly connected to the output shaft of the motor, and the worm gear cooperates with the lifting transmission component. The worm drives the worm gear to rotate, and with the help of auxiliary structures, it is converted into linear lifting. This mechanism has a natural reverse self-locking characteristic (the motor can only actively drive the lifting, and it cannot be driven to rotate the motor by external force / gravity). The linear guide pair of the guide rail and slider strictly constrains the movement trajectory of the windshield, and there is no radial offset, swaying, or jamming during the entire lifting process, which improves the stability of mechanical operation and avoids vibration from interfering with the driving experience. The precise pulse-angular displacement correspondence of the stepper motor, combined with the linear guide structure, can achieve millimeter-level lifting positioning accuracy, which is perfectly matched with the aforementioned "real-time height detection feedback and closed-loop adjustment" control logic to ensure the consistency between the actual height and the target height.
[0053] Figure 2This is an example diagram of a motorcycle windshield lifting control system provided in an embodiment of this application. The system consists of: a windshield assembly, a drive module, a manual control unit, a speed detection module, a height detection module, a storage module, a control module, and a power module. The windshield assembly is fixed to the front of the motorcycle via a liftable mounting mechanism. The drive module is connected to the windshield assembly and drives its lifting. The height detection module is connected to the windshield assembly and detects the windshield height. The speed detection module is connected to the motorcycle's CAN bus or a speed sensor to detect the motorcycle's real-time speed. The storage module pre-stores a mapping table between speed and windshield height. The control module is connected to the speed detection module, height detection module, drive module, and storage module respectively. The system also includes a manual control unit, which includes a manual mode switch and a height control button (which can be directly connected to the motorcycle's buttons or CAN bus) to input the rider's button operations into the control module. The power module converts the output of the motorcycle battery into the voltage required for system operation, providing energy for the system. The system mounting mechanism includes: a guide rail mounted on the front of the motorcycle, a slider fixed to the windshield assembly, and a transmission mechanism connecting the slider and the electric drive module; the electric drive module is a stepper motor, and the transmission mechanism is a worm gear mechanism or a rack and pinion mechanism. This embodiment is also applicable to other vehicles (such as electric vehicles).
[0054] To prevent intelligent control failure and maintain compatibility with current manual adjustment methods, the system also includes a manual mode switch, which is connected to the control module. When the manual mode switch is activated, the system switches to manual mode, responds to commands issued by the rider through the manual control unit, and suspends speed-based automatic adjustment.
[0055] The control module is equipped with a speed change rate judgment unit. When the rate of change of vehicle speed in a unit of time exceeds the set threshold, for example, taking the acceleration time of 0~100km / h in normal state as 10s, the vehicle speed change rate is 10km / h / s or the acceleration is 2.78m / s². If this value is exceeded, it is considered to be a state of rapid acceleration or deceleration. The control module delays, pauses or prohibits the height adjustment operation, and adjusts it after the vehicle speed stabilizes, so as to avoid frequent actions during rapid acceleration or deceleration.
[0056] The system also supports personalization: it allows users to define custom mapping relationships to meet the individual needs of riders with different heights and riding habits. Riders can determine the windshield height at low, medium, and high speeds based on their actual riding experience and input the corresponding data into the system. The system will store the input results as a new speed-height mapping relationship and use it in new riding situations. Depending on the vehicle, the data can be input via the vehicle's CAN bus connected to a human-machine interface (such as an instrument panel), or downloaded to the system via the CAN bus or other interfaces (such as a diagnostic interface).
[0057] In an optional embodiment, the specific process of closed-loop adjustment includes: the height detection module collects the current height of the windshield assembly in real time and feeds it back to the control module; the control module continuously compares the current height with the target height; when the difference between the current height and the target height is less than a preset error value, the control module stops sending automatic lifting commands to the drive module.
[0058] In the above embodiments, the height detection module can collect the current height of the windshield assembly in real time and feed it back to the control module. The control module continuously compares the current height with the target height. When the difference between the two is less than the preset error value, it stops sending automatic lifting and lowering commands to the drive module, thereby realizing closed-loop control of the windshield assembly height adjustment. This enables the windshield assembly to be accurately raised and lowered to the target height, improving the accuracy and reliability of the adjustment.
[0059] The control module uses the target height obtained from the mapping table as a reference, subtracts the real-time transmitted current height from the target height to obtain the height difference, and continuously and repeatedly performs this comparison operation throughout the entire lifting and lowering motion, rather than comparing only once. The height detection module continuously and in real-time collects the current actual height of the windshield assembly and continuously transmits it back to the control module in the form of an electrical signal, forming a closed signal link of "control module output - actuator action - height signal feedback". The system presets an allowable height error range, which is less than a preset error value, such as ±2mm (or other values). When the absolute value of the real-time calculated height difference is less than the preset error value, it is determined that the windshield has approximately reached the target position, the control module immediately stops outputting automatic lifting and lowering commands, the drive module is de-energized or locked, and the lifting and lowering motion ends. The entire process is an error-driven closed-loop position control, the core of which is "real-time feedback + continuous comparison + threshold stop control". This embodiment relies on real-time height feedback and continuous comparison to strictly limit the final height of the windshield within a preset error range, eliminating positioning deviations caused by transmission gaps, mechanical wear, and motor characteristic variations, thus achieving precise positioning. A "preset error value" is introduced as an allowable window, and the system stops when the value is within the window, rather than pursuing absolute equality. Logically, this eliminates repeated fine-tuning and oscillations near the target point, improving operational smoothness.
[0060] As an optional implementation, the control module is further configured to: control the windshield assembly to move toward the target height at a first adjustment rate when the absolute value of the vehicle speed change rate is less than a preset threshold and the vehicle speed change rate is positive; and control the windshield assembly to move toward the target height at a second adjustment rate when the absolute value of the vehicle speed change rate is less than the preset threshold and the vehicle speed change rate is negative; wherein the first adjustment rate is greater than the second adjustment rate.
[0061] In the above embodiment, differentiated windshield lifting rate control is achieved based on the sign (positive / negative) of vehicle acceleration. The system first confirms that the current vehicle is in a relatively stable acceleration or deceleration state (the absolute value of the vehicle speed change rate is less than a threshold, not rapid acceleration / deceleration). When the vehicle is accelerating (vehicle speed change rate is positive), a faster first adjustment rate is used to raise the windshield; when the vehicle is decelerating (vehicle speed change rate is negative), a slower second adjustment rate is used to lower the windshield. In practical applications, when the vehicle accelerates smoothly, the wind speed increases synchronously, and the driver's need for wind resistance protection is urgent and immediate. If the windshield rises too slowly, the driver will still need to be continuously exposed to increased wind resistance during acceleration, resulting in poor comfort. When the vehicle decelerates smoothly (such as approaching an intersection or the vehicle in front), the driver's primary need is to obtain a wider and clearer field of vision to observe road conditions. If the windshield drops rapidly at this moment, although it meets the vision requirement, the abrupt movement may distract the driver and even cause a sense of insecurity. This embodiment, by adopting differentiated windshield lifting rate control, can improve the user's driving experience.
[0062] In an optional embodiment, the system further includes a gyroscope electrically connected to the control module. The gyroscope is used to detect the real-time yaw rate parameters of the vehicle and send them to the control module. The control module is also configured to: when the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameters meet a preset crosswind determination condition, adjust the target height of the windshield assembly.
[0063] In the above embodiments, when the real-time driving speed is greater than or equal to a preset speed threshold and the real-time yaw rate parameter meets the preset crosswind determination conditions, the system can correct the target height of the windshield assembly and adjust the windshield height according to the crosswind conditions, thereby further improving the safety and comfort of driving the vehicle.
[0064] In this embodiment, taking a motorcycle as an example, a gyroscope (inertial measurement unit, IMU) is rigidly mounted on the motorcycle frame and establishes an electrical communication connection with the control module. The core function of the gyroscope is to detect the yaw rate of the motorcycle body (the left and right yaw rate of the body around the vertical axis) in real time and continuously transmit this attitude parameter to the control module as the core identification signal for crosswind conditions. The system presets a high-speed vehicle speed threshold. Crosswind recognition and correction logic is only activated when the real-time vehicle speed is greater than or equal to this preset threshold (low-speed crosswinds have minimal impact on vehicle stability and are not triggered by default). For example, the preset speed threshold is 60 km / h (or other values). The control module compares the real-time yaw rate collected by the gyroscope with the preset crosswind judgment condition in real time. If the yaw rate exceeds the threshold, the vehicle is determined to be in a high-speed crosswind interference condition. For example, assuming the crosswind judgment condition is a real-time yaw rate greater than 8° / s (or other values), if the gyroscope detects a yaw rate of 10° / s in real time, the crosswind judgment condition is met. When a crosswind condition is determined, the original target height obtained by querying the "vehicle speed-height mapping table" is no longer used directly. Instead, the original target height is dynamically corrected to reduce the frontal area. The corrected target height serves as the new control benchmark. Combined with feedback from the height detection module, closed-loop adjustment is performed, while simultaneously adhering to the filtering rule in the aforementioned embodiment that "automatic lifting command is prohibited if the vehicle speed change rate exceeds the threshold". In related technologies, windshields are either manually adjustable or have low levels of intelligence, making it impossible to recognize the dangerous condition of high-speed crosswinds. Crosswinds create significant deflection moments on the high windshield surface, easily causing two-wheeled motorcycles to veer off course, fishtail, and lose control. This is a core safety issue that conventional speed adjustment solutions cannot address. While a higher target height in high-speed conditions can improve wind resistance and comfort, a high windshield amplifies safety hazards in crosswinds. If the system lacks a dynamic adjustment mechanism, it can only choose between comfort and safety, without adaptive switching. This embodiment adds a yaw rate attitude perception dimension, upgrading the system from "speed-only" to a dual-dimensional judgment of "speed + vehicle attitude," enabling it to autonomously recognize high-speed crosswinds and significantly improving its intelligence. When there are no crosswinds, the target height is retained to ensure a good wind resistance experience. In the event of crosswinds, the height is automatically corrected and lowered to reduce the frontal area and lateral moment, suppressing vehicle veer and fishtail, achieving a dynamic balance between comfort and driving safety. Crosswind correction is activated only at high speeds, not during low-speed urban riding. This avoids invalid logic and does not interfere with the automatic adjustment effect during normal riding, making the control logic more aligned with actual riding scenarios. The gyroscope is a standard component in modern motorcycle ABS, TCS, and vehicle stability systems, requiring no custom hardware development. The standardized signal interface ensures excellent system feasibility and economic viability for mass production. This embodiment forms a dual-layer protection system of "normal adaptive control + abnormal safety correction," enabling proactive intervention in the event of sudden crosswinds, reducing the risk of traffic accidents, and improving the safety features for high-speed motorcycle riding.
[0065] In an optional embodiment, the mapping table contains the correspondence of multiple height levels. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets the preset crosswind determination condition, the target height of the windshield assembly is corrected. This includes: when the real-time driving speed is greater than or equal to the preset speed threshold, and when the real-time yaw rate is greater than a first yaw rate threshold and less than a second yaw rate threshold, if the current target height obtained by querying the mapping table is not the lowest height level, the control module controls the windshield assembly to lower its height by one level; when the real-time driving speed is greater than or equal to the preset speed threshold, and when the real-time yaw rate is greater than or equal to the second yaw rate threshold, the control module controls the windshield assembly to lower to the lowest height level.
[0066] In the above embodiments, when the vehicle's real-time driving speed is greater than or equal to a preset speed threshold and the real-time yaw rate parameter meets the preset crosswind determination condition, the target height of the windshield assembly can be adjusted according to the magnitude of the yaw rate to avoid crosswinds affecting driving stability. When the yaw rate is between the first yaw rate threshold and the second yaw rate threshold and the current target height is not the lowest setting, the height is reduced by one level. When the yaw rate is greater than or equal to the second yaw rate threshold, the height is reduced to the lowest setting, thereby improving driving safety and comfort.
[0067] The mapping table in this embodiment is a multi-discrete height level structure, including 3, 4, or other levels, including the lowest height level, which is the lower limit of the windshield's physical adjustable travel. All crosswind-related height corrections must simultaneously meet the following conditions: real-time vehicle speed ≥ preset speed threshold (because only high-speed crosswinds threaten driving stability, low speeds do not trigger, conforming to actual riding patterns), and real-time yaw rate exceeding a preset threshold. Using the first and second yaw rate thresholds as boundaries, crosswind interference is quantified into two levels: mild crosswind: first yaw rate threshold < real-time yaw rate < second yaw rate threshold; severe crosswind: real-time yaw rate ≥ second yaw rate threshold; for example, the first yaw rate threshold is 8° / s (or other values), and the second yaw rate threshold is 15° / s (or other values). Differential corrections are performed according to the one-to-one correspondence between "interference intensity → adjustment range". Mild crosswind: Only when the current target height obtained from the table is not the lowest setting, control the windshield to be lowered by one level relative to the original target height, slightly reducing the windward area; Severe crosswind: Directly control the windshield to the lowest height setting, minimizing the windward area and crosswind deflection moment, prioritizing safety.
[0068] In an optional embodiment, the mapping table contains the correspondence of multiple height levels. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets the preset crosswind determination condition, the target height of the windshield assembly is corrected. This includes: when the real-time driving speed is greater than or equal to the preset speed threshold, and the duration of the state where the real-time yaw rate is greater than a first yaw rate threshold and less than a second yaw rate threshold is greater than or equal to a preset duration, and the roll rate is less than a preset roll rate threshold, if the current target height obtained by querying the mapping table is not the lowest height level, the control module controls the windshield assembly to lower by one level. The gyroscope is also used to detect the vehicle's real-time roll rate and send it to the control module. When the real-time driving speed is greater than or equal to the preset speed threshold, and the duration of the state where the real-time yaw rate is greater than or equal to the second yaw rate threshold is greater than or equal to a preset duration, and the roll rate is less than a preset roll rate threshold, the control module controls the windshield assembly to lower to the lowest height level.
[0069] Taking a motorcycle as an example, as a preferred implementation, the system can determine the crosswind situation based on the vehicle speed and yaw rate parameters. When the real-time driving speed is greater than or equal to a preset speed threshold and the yaw rate meets the conditions, the system can accurately correct the target height of the windshield assembly based on the duration of the yaw rate being greater than the threshold (including the first and second yaw rate thresholds) and in combination with the roll rate, thereby reducing the windshield height, avoiding crosswinds from affecting riding stability, and improving the riding safety and stability of the motorcycle in crosswind environments.
[0070] The gyroscope is a multi-axis inertial module that synchronously detects and outputs two attitude signals: real-time yaw rate and real-time roll rate. Both signals are transmitted to the control module, providing a two-dimensional data foundation for distinguishing operating conditions. The correction trigger in this embodiment must meet four conditions: First, the real-time driving speed must be greater than or equal to a preset speed threshold. The judgment is only activated when crosswinds at high speeds affect driving stability, and is not triggered at low speeds. Second, there is a crosswind intensity constraint: the first yaw rate threshold must be less than the real-time yaw rate threshold, or the real-time yaw rate must be greater than or equal to the second yaw rate threshold. Third, the above-mentioned yaw rate exceeding the threshold must be maintained continuously for a period of time greater than or equal to a preset duration to be considered a valid crosswind signal. Instantaneous jumps, road bumps, or electromagnetic interference causing instantaneous exceeding of the threshold are directly judged as invalid interference and no action is triggered. Fourth, the real-time roll rate must be less than the preset roll rate threshold. If the driver actively turns, the vehicle body will inevitably bend, resulting in a large and rapid tilt. If the roll rate value is large and exceeds the threshold, it will be directly excluded and downshifting will not be triggered. If the vehicle encounters crosswinds while driving straight, the driver will try to keep the vehicle body upright and will not actively bend. If the roll rate is less than the threshold, it is judged as a valid crosswind condition. Under the premise that all four conditions are met, the gradient downshifting strategy consistent with the aforementioned embodiment is executed, while retaining the lowest gear protection. For mild effective crosswinds, if the current target height is not the lowest gear, the gear is downshifted by one gear relative to the target height; for severe effective crosswinds, the windshield is directly adjusted to the lowest height gear; fallback protection: if the windshield is already at the lowest gear, regardless of the crosswind intensity, no downshift command is executed, preventing physically ineffective actions. The introduction of roll rate judgment distinguishes between crosswinds and steering, which is key to differentiating between "passive wind-induced yaw" and "active cornering tilt." When the driver actively steers (corners), the vehicle body will inevitably experience significant roll (tilt). This embodiment prevents windshield adjustment even when there is yaw when the roll rate is high. Through multi-dimensional fusion judgment, it adapts to complex operating conditions in all scenarios such as high-speed cruising, curves, and bumpy roads, achieving the effect of improving system operational stability.
[0071] In an optional embodiment, the control module has a built-in fault self-testing unit, which is used to monitor the working status of the vehicle speed detection module, the height detection module, and the drive module in real time. When the vehicle speed detection module or the height detection module is detected to be malfunctioning, the control module automatically triggers a protection mechanism, disables the automatic adjustment logic, and issues a manual mode activation prompt. After the manual mode switch is activated, the control module switches to manual mode. When the drive module is detected to be malfunctioning, the control module automatically triggers a protection mechanism, disables the automatic adjustment logic, and disables manual mode.
[0072] In the above embodiments, the working status of the vehicle speed detection module, height detection module, and drive module can be monitored in real time. When an abnormality is detected in the vehicle speed detection module or height detection module, a protection mechanism is automatically triggered to disable the automatic adjustment logic, thereby avoiding abnormal adjustment caused by module failure. At the same time, a manual mode activation prompt is issued. After the manual mode switch is activated, the system switches to manual mode to ensure that the windshield assembly height can still be manually adjusted in the event of a fault, maintaining the basic functionality of the system. When an abnormality is detected in the drive module, the automatic adjustment logic is disabled, and the manual mode is also disabled.
[0073] This embodiment adds a fault self-diagnosis unit module within the control module to perform real-time fault monitoring of the core sensing and execution components of the automatic adjustment system. For sensing-related faults (including vehicle speed detection and height detection modules), a safe transition process is designed: "fault trigger protection → disable automatic logic → prompt for manual confirmation → switch to manual mode." This process also forms a hardware and logic linkage with the manual mode switch in the previous embodiment, constructing a complete control closed loop of "normal automatic operation → fault safety protection → manual backup." This is the ultimate backup solution for the entire system in case of failure of the vehicle speed detection or height detection module. For execution-related faults (drive module abnormalities), all automatic and manual commands are stopped.
[0074] In an optional embodiment, the specific monitoring and anomaly determination methods of the fault self-test unit include at least one of the following: For the vehicle speed detection module, the fault self-test unit monitors the vehicle speed signal output by the vehicle speed detection module in real time. When no vehicle speed signal is received within a continuous first time period, or when the received vehicle speed signal exceeds a preset reasonable vehicle speed range, the vehicle speed detection module is determined to be malfunctioning. For the height detection module, the fault self-test unit monitors the height signal output by the height detection module in real time. When no height signal is received within a continuous second time period, or when the received height signal exceeds the maximum travel range of the windshield assembly, the height detection module is determined to be malfunctioning. For the drive module, the fault self-test unit monitors the operating current and execution feedback signal of the drive module. When no height change signal is received from the height detection module within a third time period after sending an automatic lifting command to the drive module, or when the operating current of the drive module exceeds a preset current threshold, the drive module is determined to be malfunctioning.
[0075] In the above embodiments, the working status of the vehicle speed detection module, height detection module and drive module can be monitored in real time, and it can be determined in a timely and accurate manner whether each module is malfunctioning. When an abnormality is detected, the corresponding protection mechanism is automatically triggered to enhance the reliability and security of the system.
[0076] For the vehicle speed detection module, the presence and rationality of its output signal (whether it is within the preset vehicle speed range) are monitored. Similarly, for the height detection module, the presence and rationality of its output signal (whether it exceeds the physical travel limit) are monitored. For the drive module, both functional and electrical monitoring are employed. Functionally, execution is determined by checking whether the height changes after sending a command; electrically, overload or jamming is determined by monitoring the operating current. For example, the first duration is 0.5s (or other time), the second duration is 0.5s (or other time), and the third duration is 1s (or other time). This embodiment combines delayed judgment and multiple physical verifications, enabling the system to accurately capture real, continuous hardware faults while effectively filtering out transient interference during driving, resulting in highly reliable diagnostic results. Different judgment conditions correspond to different fault modes. For example, "no height signal received" may indicate a broken circuit or sensor power failure; "height signal exceeds limit" may indicate internal sensor damage; "current exceeds limit and no height change" strongly indicates mechanical jamming, providing valuable clues for subsequent prompts (such as more specific fault codes) and repairs. This embodiment provides a clear and rigorous set of self-testing rules, which can achieve rapid and accurate fault diagnosis and location, and improve the system's preventive maintenance and security.
[0077] As an optional implementation, the system further includes a human-machine interface module connected to the control module; the control module is further configured to modify and save a pre-stored mapping table in the storage module in response to user commands input through the human-machine interface module.
[0078] In the above embodiments, users can input commands through the human-computer interaction module to enable the control module to modify and save the pre-stored mapping relationship table in the storage module. This allows users to flexibly adjust the mapping relationship between the effective vehicle speed range and the windshield assembly height according to their own needs, thereby improving the system's adaptability and personalization.
[0079] This embodiment adds a human-machine interface module and expands the configuration functions of the control module, allowing users to independently modify and save the speed-height mapping table in the storage module via an interactive device. This addresses the pain point that the original factory fixed calibration strategy cannot adapt to personalized riding needs, and is key to upgrading the basic automatic adjustment system to be customizable and highly adaptable. The human-machine interface module establishes an electrical / communication connection with the control module. This module is the configuration interaction interface between the user and the system. The physical form can be conventional vehicle interaction components in the field, such as vehicle instrument menu buttons, handlebar custom buttons, vehicle touch screen, mobile APP / Bluetooth interaction terminal, etc., without changing the original hardware functions of the speed detection, height detection, drive module, and storage module. The control module can receive user modification commands uploaded by the user through the human-machine interface module, erase, rewrite, and update the original mapping table data in the storage module, and write the modified new mapping table into the storage module for saving. The data is not lost after the vehicle is powered off and restarted. When the system executes the automatic adjustment process later, it directly calls the modified new mapping table to query the target height. The core rules such as speed change rate judgment, closed-loop adjustment, and command prohibition remain unchanged. This system achieves fully personalized calibration, allowing users to adjust the speed-to-height relationship based on their height, riding posture, field of vision preferences, and wind protection needs. This ensures the automatic adjustment strategy perfectly matches individual user habits, significantly improving riding comfort and adapting to different user characteristics. For users unfamiliar with or unable to use human-computer interaction functions, the system employs an adaptive method described in the previous embodiment, based on historical user manual operation data. This method uses statistical learning to automatically optimize preset system parameters, proactively learning the user's manual adjustment habits and automatically updating and optimizing its core control parameters using the learned preference data.
[0080] This application also provides a method for intelligent windshield lifting control, applicable to the intelligent windshield lifting control system of any of the foregoing embodiments, such as... Figure 3 As shown, the process includes: Step S301: Obtain the vehicle's real-time driving speed and the current height of the windshield assembly; Step S302: Based on the pre-stored mapping table between effective vehicle speed range and windshield assembly height, query the target height corresponding to the real-time driving speed; Step S303: Based on the real-time vehicle speed, calculate the rate of change of vehicle speed over a continuously preset time period prior to the current moment; Step S304: When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, it is prohibited to generate and send automatic lifting commands based on the target height. Step S305: When the absolute value of the vehicle speed change rate is less than the preset threshold, an automatic lifting command is generated based on the difference between the current height and the target height and sent to the drive module. At the same time, closed-loop adjustment is performed based on the real-time height feedback of the windshield assembly.
[0081] It should be noted that the system and method embodiments provided in the above embodiments belong to the same concept. Other method embodiments correspond to the aforementioned system embodiments. Other technical features can be found in the previous embodiments and will not be repeated here.
[0082] Figure 4 This is a schematic diagram of the working process of a motorcycle windshield lifting control system provided in an embodiment of this application. The working process of the system is described below: The lifting control system starts working, detecting the manual switch status to determine if manual mode is activated. If manual mode is activated, it directly checks whether the command input from the manual control unit is to raise or lower. If there is no operation, it continues to detect the manual switch status. If the manual control unit performs an operation, i.e., a manual raise or lower command is issued, a manual raising or lowering command is sent. This corresponds to the manual control mode.
[0083] If the aforementioned judgment result indicates that manual mode is not enabled, the system enters automatic control mode. The system detects the current vehicle speed; reads the previous cycle vehicle speed calculation, for example, the vehicle speed corresponding to a preset time period (e.g., 1 second, 3 seconds, or other durations) before the current time; calculates the speed change rate; and then determines whether the change rate exceeds a threshold. If the speed change rate exceeds the threshold, no height adjustment is performed, and the current speed is continued to be detected. If the speed change rate does not exceed the threshold, the speed-height mapping table is queried. During vehicle operation, the control module detects the motorcycle's current speed through the speed detection module and simultaneously reads the mapping table of the correspondence between vehicle speed and windshield height stored in the storage module. It then queries the target windshield height at the current speed. Based on the difference between the current height and the target height, a control command is output to the control module to drive the windshield assembly to rise or fall. Simultaneously, the height detection module monitors the motorcycle's windshield height in real time. When the target height is reached, a control command is output to the control module to stop the drive, thus achieving closed-loop control. During the closed-loop adjustment process, the current height is continuously detected and the difference between the current height and the target height is compared. When the difference is greater than the preset error value, an automatic lifting command is sent to the drive module to move the windshield assembly toward the target height. During the movement, the aforementioned steps are repeated, and closed-loop adjustment is achieved through real-time feedback from the height detection module until the difference between the current height and the target height is less than the preset error value. When the difference is less than the preset error value, it indicates that the height adjustment is in place, and the process can return to the step of continuing to detect the current vehicle speed.
[0084] Compared with related technologies, the embodiments of this application have at least the following technical effects: Fully automatic adjustment enhances safety and comfort: The system automatically adjusts the windshield height based on real-time vehicle speed, eliminating the need for driver distraction and allowing them to focus on driving; it automatically raises at high speeds for protection and automatically lowers at low speeds to ensure visibility, achieving dynamic optimization. Intelligent logic: By introducing logic such as speed change rate judgment, manual priority, and closed-loop control, the system works more stably and reliably, which is in line with actual riding scenarios; Compact structure and easy integration: The system's modular design allows for easy integration with existing motorcycle electrical architectures (such as CAN bus), and the mechanical structure is robust and reliable; Customizable: Enhances the user experience.
[0085] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will be readily apparent to those skilled in the art upon consideration of the disclosure herein.
[0086] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art that are not described in this disclosure.
Claims
1. A vehicle windshield intelligent lifting control system, characterized in that, include: The windshield assembly is mounted on the front of the vehicle via a liftable mounting mechanism; A drive module, which is connected to the windshield assembly, is used to drive the windshield assembly to rise and fall; The vehicle speed detection module is used to detect the real-time driving speed of the vehicle. A height detection module, connected to the windshield assembly, is used to detect the current height of the windshield assembly in real time; The storage module pre-stores a mapping table between the effective vehicle speed range and the height of the windshield assembly; The control module is electrically connected to the drive module, the vehicle speed detection module, the height detection module, and the storage module, respectively. The control module is configured as follows: Obtain the real-time driving speed and the current altitude, and query the mapping table to obtain the target altitude corresponding to the real-time driving speed; Calculate the rate of change of vehicle speed within a continuously preset time period prior to the current moment based on the real-time driving speed; When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, it is prohibited to send automatic lifting commands to the drive module based on the target height. When the absolute value of the vehicle speed change rate is less than the preset threshold, an automatic lifting command is sent to the drive module based on the difference between the current height and the target height, and closed-loop adjustment is achieved through real-time feedback from the height detection module.
2. The system according to claim 1, characterized in that, The system also includes a manual mode switch, which is electrically connected to the control module; The control module is also configured to: When an activation signal is received from the manual mode switch, the operation of sending automatic lifting commands to the drive module based on the real-time vehicle speed, the vehicle speed change rate, and the mapping table is prohibited. In response to an externally input manual control command, the drive module is controlled to drive the windshield assembly to lift.
3. The system according to claim 2, characterized in that, The storage module is also used to store manual intervention statistics; the control module is further configured to execute adaptive correction logic for the mapping relationship, specifically including: Within a preset statistical period, record the frequency of manual adjustment operations for each vehicle speed range and the final dwell height after each operation; When the cumulative frequency of manual adjustment operations within the target speed range exceeds a preset frequency threshold, the average value of the final stopping height recorded within the target speed range is calculated to obtain an average height value, and the average height value is determined as the preferred height of the target speed range, wherein the target speed range is any speed range in the mapping table. Update the target height corresponding to the target vehicle speed range in the mapping table according to the preference height.
4. The system according to claim 1, characterized in that, The liftable mounting mechanism includes: a guide rail located at the front of the vehicle, a slider fixedly connected to the windshield assembly, and a transmission mechanism connecting the slider and the drive module. The drive module is a stepper motor, and the transmission mechanism is a worm gear mechanism or a rack and pinion mechanism.
5. The system according to claim 1, characterized in that, The specific process of the closed-loop regulation includes: The height detection module collects the current height of the windshield assembly in real time and feeds it back to the control module; The control module continuously compares the current height with the target height; When the difference between the current height and the target height is less than a preset error value, the control module stops sending the automatic lifting command to the drive module.
6. The system according to claim 1, characterized in that, The system also includes a gyroscope, which is electrically connected to the control module. The gyroscope is used to detect the real-time yaw rate parameters of the vehicle and send them to the control module. The control module is also configured to: when the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets a preset crosswind determination condition, correct the target height of the windshield assembly.
7. The system according to claim 6, characterized in that, The mapping table contains correspondences for multiple height levels. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the real-time yaw rate parameter meets a preset crosswind determination condition, the target height of the windshield assembly is corrected, including: When the real-time driving speed is greater than or equal to a preset speed threshold, and when the duration of the state where the real-time yaw rate is greater than the first yaw rate threshold and less than the second yaw rate threshold is greater than or equal to a preset duration, and the roll rate is less than the preset roll rate threshold, if the current target height obtained by querying the mapping table is not the lowest height setting, the control module controls the windshield assembly to lower the height by one level. The gyroscope is also used to detect the real-time roll rate of the vehicle and send it to the control module. When the real-time driving speed is greater than or equal to a preset speed threshold, and when the duration of the state where the real-time yaw rate is greater than or equal to the second yaw rate threshold is greater than or equal to the preset duration, and the roll rate is less than the preset roll rate threshold, the control module controls the windshield assembly to lower to the lowest height setting.
8. The system according to claim 1, characterized in that, The control module has a built-in fault self-testing unit, which is used to monitor the working status of the vehicle speed detection module, the height detection module and the drive module in real time. When the vehicle speed detection module or the height detection module is detected to be malfunctioning, the control module automatically triggers the protection mechanism, disables the automatic adjustment logic, and issues a manual mode activation prompt. After the manual mode switch is activated, it switches to manual mode. When the drive module is detected to be malfunctioning, the control module automatically triggers a protection mechanism, disabling automatic adjustment logic and manual mode.
9. The system according to claim 8, characterized in that, The specific monitoring and anomaly determination methods of the fault self-test unit include at least one of the following: For the vehicle speed detection module, the fault self-test unit monitors the vehicle speed signal output by the vehicle speed detection module in real time. When no vehicle speed signal is received within a continuous first time period, or when the received vehicle speed signal exceeds the preset reasonable vehicle speed range, the vehicle speed detection module is determined to be malfunctioning. For the height detection module, the fault self-test unit monitors the height signal output by the height detection module in real time. When no height signal is received for a second consecutive time period, or when the received height signal exceeds the maximum travel range of the windshield assembly, the height detection module is determined to be malfunctioning. For the drive module, the fault self-test unit monitors the operating current and execution feedback signal of the drive module. If no height change signal is received from the height detection module within the third time period after the automatic lifting command is sent to the drive module, or if the operating current of the drive module exceeds the preset current threshold, the drive module is determined to be malfunctioning.
10. A method for intelligent raising and lowering control of a vehicle windshield, characterized in that, The intelligent windshield lifting control system for vehicles, as described in any one of claims 1 to 9, comprises: Obtain the vehicle's real-time speed and the current height of the windshield assembly; Based on the pre-stored mapping table between effective vehicle speed ranges and windshield assembly heights, the target height corresponding to the real-time driving speed is obtained by querying the table. Based on the real-time vehicle speed, calculate the rate of change of vehicle speed over a continuously preset time period prior to the current moment; When the absolute value of the vehicle speed change rate is greater than or equal to a preset threshold, it is prohibited to generate and send automatic lifting commands based on the target height. When the absolute value of the vehicle speed change rate is less than the preset threshold, an automatic lifting command is generated based on the difference between the current height and the target height and sent to the drive module. At the same time, closed-loop adjustment is performed based on the real-time height feedback of the windshield assembly.