Vehicle sunroof control method, device, electronic device and readable storage medium
By setting driving speed and time thresholds, intelligent opening and closing control of vehicle sunroof is achieved, which solves the problem of insufficient automatic control in the existing technology, and improves the riding experience and control reliability.
Patent Information
- Application Number
- CN202211636680.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-12-15
AI Technical Summary
In the prior art, the automatic switch control logic of vehicle sunroof is not perfect enough, and the response measures to emergencies are lacking, resulting in the automatic control method being incomplete enough.
By obtaining the driving speed of the vehicle, setting the speed and time thresholds, the sunroof will be automatically closed when the driving speed is greater than or equal to the first speed threshold and the driving time is greater than or equal to the first time threshold; when the driving speed is less than the second speed threshold, the sunroof will be automatically closed; when the driving speed is less than the second speed threshold, the sunroof will be automatically closed; Open the sunroof and return to the opening and closing position before the last closing.
It realizes intelligent control of the opening and closing of the vehicle sunroof according to driving speed, improves the passenger's riding experience, enhances the reliability and safety of automatic control, and enriches the automatic control method of the sunroof.
Smart Images

Figure CN115848111B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile driving technology, and in particular to a vehicle sunroof control method, device, electronic equipment and readable storage medium. Background Art
[0002] The sunroof is a functional component on the vehicle that can enhance the riding experience of passengers. By opening the sunroof, you can increase the air circulation in the car and expand the field of vision of the outside environment during driving. You can also close the sunroof to block the environment inside and outside the car in severe weather such as dust, rain, etc.
[0003] In the related art, there are many different methods for controlling the opening and closing of a vehicle sunroof. In addition to manual control by the driver according to scene requirements, automatic control can also be implemented according to environmental changes with the help of different vehicle sensors.
[0004] However, in the existing technical solutions, the automatic opening and closing control logic of the vehicle sunroof lacks corresponding contingency measures for unexpected events that may occur during the control process, and the automatic control method of the sunroof is not perfect. Summary of the invention
[0005] The embodiments of the present invention provide a vehicle sunroof control method, device, electronic device and readable storage medium to solve the problem that the automatic control method for the vehicle sunroof in the prior art is not perfect.
[0006] In a first aspect, an embodiment of the present invention provides a vehicle sunroof control method, the method comprising:
[0007] Get the vehicle's driving speed;
[0008] When the driving speed is greater than or equal to a first speed threshold, and the driving time at the driving speed is greater than or equal to a first time threshold, if the state of the vehicle sunroof is not closed, controlling the window motor to close the vehicle sunroof;
[0009] When the driving speed is less than a second speed threshold, if the vehicle sunroof is in a closed state, the window motor is controlled to open the vehicle sunroof and restore the vehicle sunroof to an open or closed position before the last closure; the second speed threshold is less than the first speed threshold.
[0010] In a second aspect, an embodiment of the present invention provides a vehicle sunroof control device, the device comprising:
[0011] A speed acquisition module is used to acquire the driving speed of the vehicle;
[0012] A sunroof automatic closing module, configured to control a window motor to close the sunroof if the state of the sunroof is not closed, when the driving speed is greater than or equal to a first speed threshold and the driving time at the driving speed is greater than or equal to a first time threshold;
[0013] The sunroof automatic opening module controls the window motor to open the vehicle sunroof and restore the vehicle sunroof to the open state before the last closure when the driving speed is less than a second speed threshold and the second speed threshold is less than the first speed threshold.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor;
[0015] a memory for storing instructions executable by the processor;
[0016] The processor is configured to execute the instructions to implement the method.
[0017] In a fourth aspect, an embodiment of the present invention provides a readable storage medium, which, when instructions in the readable storage medium are executed by a processor of an electronic device, enables the electronic device to execute the method.
[0018] In an embodiment of the present invention, a vehicle sunroof control method is provided, which obtains the driving speed of the vehicle and performs numerical judgment. When the driving speed is greater than or equal to a certain speed threshold, and the driving time at the driving speed is greater than or equal to a certain time threshold, if the state of the vehicle sunroof is open, the window motor is controlled to automatically close the vehicle sunroof; when the driving speed is less than another speed threshold, if the state of the vehicle sunroof is closed, the window motor is controlled to automatically open the vehicle sunroof; the opening and closing of the vehicle sunroof is intelligently controlled according to the driving speed to enhance the riding experience of passengers, thereby enriching the automatic control method for the sunroof. The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0020] Figure 1This is a simplified flow chart of the steps of implementing a vehicle sunroof control method provided by an embodiment of the present invention;
[0021] Figure 2 is a simplified condition determination principle diagram of a vehicle sunroof control method provided by an embodiment of the present invention;
[0022] Figure 3 It is a schematic diagram of the simulation effect of a vehicle sunroof control method provided by an embodiment of the present invention;
[0023] Figure 4 1 is a schematic diagram of the functional modules of a vehicle sunroof control device provided by an embodiment of the present invention;
[0024] Figure 5 is a functional component relationship diagram of an electronic device provided by an embodiment of the present invention;
[0025] Figure 6 It is a functional component relationship diagram of another electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0027] Reference Figure 1 , Figure 1 FIG. 1 is a simplified flow chart of the steps of implementing a vehicle sunroof control method provided by an embodiment of the present invention; Figure 1 As shown, the method includes:
[0028] Step S101, obtaining the driving speed of the vehicle.
[0029] While driving, passengers can adaptively adjust the opening and closing status of the sunroof according to the needs of different scenarios. When the sunroof is opened, it can enhance the air exchange and circulation in the car, and also provide additional observation perspectives for a better riding experience. In the event of severe weather such as rain, the sunroof can be closed to isolate the environment inside and outside the car.
[0030] A vehicle sunroof control method provided by an embodiment of the present invention detects the vehicle speed through an electronic control unit (also called a vehicle computer / ECU) and sets corresponding trigger conditions to automatically control the opening and closing state of the vehicle sunroof.
[0031] Specifically, during the driving of the vehicle, the ECU unit can obtain the current driving speed of the vehicle by directly reading the speed reading on the vehicle dashboard.
[0032] In another optional specific embodiment, a method for obtaining the driving speed is also provided; specifically: the driving speed can be calculated by the frequency signal generated by the wheel speed sensor; wherein the wheel speed sensor is a sensor installed on the differential wheel, and according to the Hall law, it can generate current when the spokes or other metal objects are close, thereby obtaining the rotation speed of the wheel; the transmitted wheel speed frequency signal refers to the frequency of the tiny current generated by the sensor, and after obtaining the frequency signal generated by the wheel speed sensor, it is forwarded to the line bus of the vehicle by the brake module; the ECU can convert the frequency signal generated by the wheel speed sensor into the driving speed according to the following formula:
[0033] V=[(F / K)*3600]Km / h
[0034] Among them, V is the current actual driving speed, F represents the input frequency signal generated by the received wheel speed sensor, and the unit is Hertz (Hz); K represents the number of current pulses of the frequency signal generated by the wheel speed sensor per kilometer, and the unit is pulses / kilometer; Km / h is the speed unit: kilometer per hour (Kilometer per hour), from which the specific driving speed of the vehicle can also be obtained.
[0035] In other implementation methods of the embodiment of the present invention, the vehicle's driving speed may also be obtained in other ways, and the embodiment of the present invention does not limit this.
[0036] Step S102, when the driving speed is greater than or equal to a first speed threshold and the driving time at the driving speed is greater than or equal to a first time threshold, if the state of the vehicle sunroof is not closed, control the window motor to close the vehicle sunroof.
[0037] After obtaining the driving speed, the ECU will make a conditional judgment; in the embodiment of the present invention, the triggering conditions for the automatic closing of the sunroof must be satisfied at the same time: the driving speed is greater than or equal to the first speed threshold, and the driving time at the driving speed is greater than or equal to the first time threshold. At this time, the ECU unit detects the state of the sunroof controller, and if the state of the vehicle sunroof is not closed, a closing instruction is sent to the sunroof controller; and then the sunroof controller controls the window motor to close the vehicle sunroof.
[0038] Preferably, in an achievable embodiment, the first speed threshold in the trigger condition is set to 120 kilometers per hour (120 km / H, 120 kilometers per hour), and the first time threshold is 3 seconds (3S, Second); that is, if the car runs continuously for more than 3 seconds at a speed equal to or greater than 120 km, the trigger condition for the automatic closing of the window will be met. In specific application scenarios, the driver can adjust the speed and time thresholds of the trigger condition in the vehicle's head-up display controller (HUD, Head Up Display) according to different needs, and the embodiment of the present invention does not limit this.
[0039] During high-speed driving, opening the sunroof will form a notch in the outer roof surface. According to the Bernoulli effect, due to the different gas flow rates inside and outside the car, a certain pressure difference will be formed. The driving airflow on the top of the car will rely on the edge of the sunroof to flow outward, which will increase the driving wind resistance of the vehicle, and will also increase the power load of the engine, consuming more fuel. Automatically closing the vehicle sunroof during high-speed driving through speed detection can effectively reduce driving wind resistance and improve the fuel economy of the vehicle; at the same time, it can also reduce the wind noise in the car caused by the airflow of the sunroof, so that the noise, vibration and harshness (NVH) performance of the vehicle during high-speed driving is improved.
[0040] Optionally, the method also includes step S104: during the closing process of the vehicle sunroof, if an object collision detection signal is received from the pressure sensor of the vehicle sunroof, a retraction command is immediately sent to the window motor, so that the window motor stops closing the vehicle sunroof according to the retraction command and restores the vehicle sunroof to the open state before the last closure.
[0041] In an embodiment of the present invention, the vehicle sunroof is provided with anti-pinch measures for safety considerations; after the driving speed reaches the trigger condition for automatic window closing, when the ECU controls the window motor to automatically close the window, if there is an interfering object in the closing direction of the vehicle sunroof, when the pressure sensor of the vehicle sunroof detects a collision signal, it will send a collision detection signal of the object to the ECU; then the ECU will send a retract command to the window motor to stop closing the vehicle sunroof, and retract the vehicle sunroof to the open and closed state before closing.
[0042] Compared with the prior art, a vehicle sunroof control method provided in an embodiment of the present invention adds an anti-pinch detection function based on an intelligent switch according to driving speed to cope with sudden events that may occur during automatic control, thereby enhancing the reliability and safety of automatic control of window closing.
[0043] Optionally, the method further includes step S105: during the process of closing the vehicle sunroof, if a manual operation instruction for the vehicle sunroof is received, immediately sending a termination instruction to the window motor, so that the window motor stops closing the vehicle sunroof according to the termination instruction.
[0044] In an embodiment of the present invention, automatically adjusting the opening and closing state of the vehicle sunroof according to the speed is a preset function of the vehicle-mounted ECU, which will automatically trigger the adjustment according to the driving status. However, in different environments, it is difficult to accurately feedback the best riding experience to passengers every time; therefore, manual adaptive adjustment is equally important.
[0045] Therefore, in a vehicle sunroof control method provided in an embodiment of the present invention, if the vehicle sunroof receives a manual operation control signal from a passenger when it is automatically closing, whether it is the opening control or the closing control of the vehicle sunroof, the automatic window closing command will be stopped immediately to adapt to the passenger's active adjustment.
[0046] Optionally, the method also includes step S106: when the driving speed is greater than or equal to a first speed threshold, and the driving time at the driving speed is greater than or equal to a first time threshold, if it is detected that the state of the vehicle sunroof is not closed, but the window motor of the vehicle sunroof is performing other window opening and closing actions, the window motor is controlled to continue to perform the other window opening and closing actions.
[0047] Similarly, in addition to manual operation control by passengers, in order to better coordinate with various vehicle sunroof control methods, the embodiment of the present invention also provides a response mechanism to adapt to the coordinated control of other sunroof control methods.
[0048] Specifically, when the driving speed has reached the trigger condition for automatic closing, if it is detected that the state of the vehicle sunroof is not closed, but the window motor of the vehicle sunroof is performing other window opening and closing actions, the ECU will notify the window motor to continue to perform other window opening and closing actions; the control assembly of the vehicle sunroof is all based on the control instructions issued by the ECU. If the automatic window closing has been triggered during driving, and the window motor is executing the action command based on other automatic window opening and closing operations issued by the ECU unit, it indicates that at the current moment, eliminating the impact of vehicle wind resistance caused by high-speed driving has a lower priority for vehicle driving; ensure that other ongoing window closing actions are more in line with the current riding needs of passengers.
[0049] Optional, other window opening and closing actions include:
[0050] One or more of the following: software button window opening and closing operation, automatic window closing operation when locking the car, automatic window closing operation when it rains, voice control window opening and closing operation, and automatic window opening and closing operation when parking.
[0051] The control method corresponding to the above-mentioned automatic window opening and closing operation is based on different application scenarios. In actual applications, there may also be automatic window opening and closing operations for other different application scenarios; the embodiment of the present invention does not limit the specific content of other window opening and closing actions.
[0052] Optionally, the method also includes step S107: when the automatic closing of the vehicle sunroof is terminated and the driving speed is reduced to a third speed threshold, re-entering the step of controlling the window motor to close the vehicle sunroof when the driving speed is greater than or equal to the first speed threshold and the driving time at the driving speed is greater than or equal to the first time threshold, if the state of the vehicle sunroof is not closed; wherein the third speed threshold is zero.
[0053] In the above optional embodiment method, various application scenarios in which the vehicle sunroof provided by the embodiments of the present invention is interrupted or terminated are described; for these application scenarios, the embodiments of the present invention also provide an optional implementation method to deal with the processing operations after the automatic window closing control operation is terminated.
[0054] Specifically, after the automatic closing of the vehicle sunroof is terminated, the vehicle sunroof control method content as described in step S102 is re-enabled when and only when the driving speed drops to the third speed threshold; that is, the driving speed is obtained again, and the closing of the vehicle sunroof is automatically controlled according to the driving speed.
[0055] Among them, the third speed threshold is specifically set to zero; that is, when the vehicle sunroof automatic closing control function is terminated, the current vehicle speed needs to be reduced to 0Km / H, and the vehicle needs to be completely stopped and then restarted before the function can be reactivated.
[0056] The embodiment of the present invention believes that if the passenger spontaneously controls and adjusts the vehicle sunroof during the automatic window closing process, it means that the passengers in the current vehicle do not need to consider the related problems caused by wind resistance at high speed during this driving process; therefore, in this application scenario, there is no need to enable the automatic window control function until the driving journey is completed. When the first automatic window closing is interrupted, this function will be automatically disabled to avoid operational inconvenience to the passengers.
[0057] Optionally, the method further includes step S108: during the process of closing the vehicle sunroof, if the driving speed of the vehicle drops to less than a first speed threshold, continuing to control the window motor to close the vehicle sunroof.
[0058] If the vehicle speed reaches the trigger threshold for automatic window closing, and during the process of controlling the automatic closing of the vehicle sunroof, the vehicle speed drops below the first threshold, then even if the trigger condition for automatic window closing is not met, the window motor will still control the vehicle sunroof to be completely closed.
[0059] Reference Figure 2 , Figure 2 is a brief condition determination principle diagram of a vehicle sunroof control method provided by an embodiment of the present invention; Figure 2 As shown, first, after the system is initialized, the initial logic state of the vehicle sunroof high-speed closing speed condition is 0, and no control action is performed at this time. When the driving speed is greater than or equal to the first speed threshold (120Km / H), the first judgment condition is activated, that is, [speed greater than 120 == 1], and the logic state of the statement is 1 at this time, indicating that the condition has been met; then the clock module starts to count the driving time at the current speed. After 3 seconds, two different specific situations are derived here.
[0060] Referring to the [Speed is less than 120 == 1] statement accompanying the "1" branch represented by the horizontal left-facing arrow, if the logical state of the statement is 1, it means that the state represented by the statement has met the condition: that is, the speed has not reached the first speed threshold for triggering, then the logical state of the automatic control function module is still not 0, that is, the high-speed window closing speed condition = 0, and the subsequent steps will not be executed, and the driving speed will be re-acquired for conditional judgment.
[0061] Correspondingly, if after [(3, seconds)] time when [speed is greater than 120 == 1], that is, the driving speed continues to be greater than or equal to the first speed threshold for more than 3 seconds, the trigger condition is met, corresponding to the "2" branch represented by the downward arrow; at this time, the high-speed window closing speed condition = 1, indicating that the automatic control condition is triggered. After the condition is successfully triggered, the ECU will send a closing command to the sunroof click.
[0062] Furthermore, when the vehicle speed gradually drops to 0Km / H, the logical state of the [speed equals 0 == 1] statement is 1, indicating that the current speed is equal to 0. The system will reset and return to the initial state. The high-speed window closing speed condition = 0 and enter the next automatic control cycle.
[0063] Reference Figure 3 , Figure 3 is a schematic diagram of the simulation effect of a vehicle sunroof control method provided by an embodiment of the present invention; Figure 3 As shown, according to the direction indicated by the arrow of the overall process, three driving speed states of different sizes are arranged in sequence, namely: driving speed greater than 120, driving speed less than 120 and driving speed equal to 0; when any driving speed reaches its trigger condition, the rising edge of the anti-pinch signal is detected first to ensure that the sunroof of the current vehicle does not touch any obstacle; the rising trigger edge is the waveform of the periodic electrical signal change of the digital signal electronic pulse, specifically refers to the anti-pinch signal of the previous cycle is 0, the anti-pinch signal of the current cycle is 1, if the system detects this rising edge trigger, the level signal changes from 0 to 1, it proves that an obstacle is detected.
[0064] On the contrary, if there is no rising edge, it means that no obstacle is detected and the next step can be performed; Figure 3 As shown, three different vehicle speed states are judged in the central judgment module, where the judgment box is as follows Figure 2 As shown, the present invention provides a brief condition judgment principle diagram of a vehicle sunroof control method provided by an embodiment of the present invention, and the specific judgment process logic and steps refer to the above Figure 2 The contents of the book will not be repeated here.
[0065] When the preconditions for high-speed window closing are met, that is, the vehicle speed reaches 120Km / H and the driving time is more than 3 seconds, the logic circuit issues a door relationship judgment and successfully activates the window closing command; the ECU will send a window closing signal to the window motor, and the sunroof control signal state parameter variable is assigned a value of "1", indicating that the window is controlled to close, and the window motor then controls the vehicle sunroof to close automatically; if the ECU does not receive the rising edge of the anti-pinch signal sent through the bus, the logic circuit will judge the automatic window closing as non-zero (~=0) at this time; on the contrary, if the anti-pinch signal rising trigger edge appears, the anti-pinch rear sunroof module will trigger the stop movement command of the window motor and assign the sunroof control signal variable to 13, indicating that the automatic window closing action of the sunroof is stopped.
[0066] Step S103, when the driving speed is less than a second speed threshold, if the state of the vehicle sunroof is closed, control the window motor to open the vehicle sunroof and restore the vehicle sunroof to the open and closed position before the last closing; the second speed threshold is less than the first speed threshold.
[0067] Similarly, when the driving speed drops to a certain threshold, considering that the wind resistance of the vehicle will not have a significant impact on the engine power, the vehicle sunroof can be automatically controlled to open to improve the riding experience; preferably, in an achievable embodiment, the second speed threshold in the trigger condition can be specifically set to 70Km / H. When the driving speed drops below this speed, the trigger condition for the window to open automatically will be met. In specific application scenarios, the driver can adjust the speed threshold of the trigger condition in the vehicle's HUD according to different needs, and the embodiment of the present invention does not limit this.
[0068] When the trigger conditions for automatic window opening are met, the ECU unit detects the status of the sunroof controller. If the vehicle sunroof is closed, an opening command is sent to the sunroof controller. The sunroof controller then controls the window motor to open the vehicle sunroof and restores the opening and closing status of the vehicle sunroof to the position before the most recent automatic closing.
[0069] Since the mechanical structure of the vehicle sunroof mostly adopts a slide rail design, in addition to the two states of fully closed and fully open, it can be realized to hover at any position on the slide rail, and the user can freely adjust the specific opening and closing size of the sunroof according to usage requirements; in the actual application of the embodiment of the present invention, when the driving speed reaches the first speed threshold to trigger the automatic window closing, the window motor will close the vehicle sunroof and record the distance the vehicle sunroof has slid on the slide rail during the closing process; subsequently, when the vehicle meets the triggering conditions for automatic window opening, if the ECU detects that the vehicle sunroof is closed, the vehicle sunroof is controlled by the window motor to open the distance the vehicle sunroof has slid on the slide rail during the last closing process, and then reversely restore to the last opening and closing position.
[0070] In summary, a vehicle sunroof control method provided by an embodiment of the present invention includes: obtaining a vehicle's driving speed and performing a numerical judgment, and when the driving speed is greater than or equal to a certain speed threshold, and the driving time at the driving speed is greater than or equal to a certain time threshold, if the state of the vehicle sunroof is open, controlling the window motor to automatically close the vehicle sunroof; in the process of automatically closing the sunroof under high-speed driving conditions, corresponding alternative control schemes are also provided for various possible unplanned operations, with the passenger's control operation of the sunroof or other control operations that have been performed as the first priority, to ensure that the automatic window closing function triggered by the driving speed will not cause trouble to the passenger's sunroof usage experience; when the driving speed is less than another speed threshold, if the state of the vehicle sunroof is closed, controlling the window motor to automatically open the vehicle sunroof; intelligently controlling the opening and closing of the vehicle sunroof according to the driving speed to enhance the passenger's riding experience, thereby enriching the automatic control method for the sunroof.
[0071] Figure 4 Schematic diagram of the functional modules of a vehicle sunroof control device provided by an embodiment of the present invention; Figure 4 As shown, the device comprises:
[0072] A speed acquisition module is used to acquire the driving speed of the vehicle;
[0073] A sunroof automatic closing module, configured to control a window motor to close the sunroof if the state of the sunroof is not closed, when the driving speed is greater than or equal to a first speed threshold and the driving time at the driving speed is greater than or equal to a first time threshold;
[0074] Optionally, the sunroof automatic closing module further includes:
[0075] The sunroof anti-pinch processing submodule is used to immediately send a retraction instruction to the window motor if an object collision detection signal is received from the pressure sensor of the vehicle sunroof during the closing process of the vehicle sunroof, so that the window motor stops closing the vehicle sunroof according to the retraction instruction and restores the vehicle sunroof to the open state before the last closure.
[0076] The automatic closing first termination submodule is used to immediately send a termination instruction to the window motor if a manual operation instruction for the vehicle sunroof is received during the closing process of the vehicle sunroof, so that the window motor stops closing the vehicle sunroof according to the termination instruction.
[0077] The second automatic closing termination submodule is used for controlling the window motor to continue to perform other window opening and closing actions if it is detected that the state of the vehicle sunroof is not closed, but the window motor of the vehicle sunroof is performing other window opening and closing actions when the driving speed is greater than or equal to the first speed threshold and the driving time at the driving speed is greater than or equal to the first time threshold.
[0078] The automatic closing reset submodule is used to, when the automatic closing of the vehicle sunroof is terminated and the driving speed is reduced to a third speed threshold, enter a step of controlling the window motor to close the vehicle sunroof if the state of the vehicle sunroof is not closed when the driving speed is greater than or equal to the first speed threshold and the driving time at the driving speed is greater than or equal to the first time threshold; wherein the third speed threshold is zero.
[0079] The automatic closing continuation submodule is used to continue controlling the window motor to close the vehicle sunroof if the vehicle's driving speed drops below a first speed threshold during the closing process of the vehicle sunroof.
[0080] The sunroof automatic opening module controls the window motor to open the vehicle sunroof and restore the vehicle sunroof to the open state before the last closure when the driving speed is less than a second speed threshold and the second speed threshold is less than the first speed threshold.
[0081] In summary, a vehicle sunroof control device provided by an embodiment of the present invention includes: a speed acquisition module acquires the vehicle's driving speed, and then performs a numerical judgment. When the driving speed is greater than or equal to a certain speed threshold, and the driving time at the driving speed is greater than or equal to a certain time threshold, if the state of the vehicle sunroof is open, the sunroof automatic closing module controls the window motor to automatically close the vehicle sunroof; in the process of automatically closing the sunroof under high-speed driving state, corresponding alternative control devices are also provided for various possible unplanned operations, with the passenger's control operation on the sunroof or other control operations that have been performed as the first priority, to ensure that the automatic window closing function triggered by the driving speed will not cause trouble to the passenger's sunroof usage experience. When the driving speed is less than another speed threshold, if the state of the vehicle sunroof is closed, the sunroof automatic opening module controls the window motor to automatically open the vehicle sunroof; the opening and closing of the vehicle sunroof is intelligently controlled according to the driving speed to enhance the passenger's riding experience, thereby enriching the automatic control method for the sunroof.
[0082] Figure 5 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0083] Reference Figure 5 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0084] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0085] The memory 604 is used to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, multimedia, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0086] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0087] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0088] The audio component 610 is used to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0089] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0090] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0091] The communication component 616 is used to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0092] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to implement a network card forwarding performance testing method provided in an embodiment of the present invention.
[0093] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0094] Figure 6is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be provided as a server. Figure 6 The electronic device 700 includes a processing component 722, which further includes one or more processors, and a memory resource represented by a memory 732, for storing instructions that can be executed by the processing component 722, such as an application. The application stored in the memory 732 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 722 is configured to execute instructions to perform a network card forwarding performance test method provided by an embodiment of the present invention.
[0095] The electronic device 700 may also include a power supply component 726 configured to perform power management of the electronic device 700, a wired or wireless network interface 750 configured to connect the electronic device 700 to a network, and an input / output (I / O) interface 758. The electronic device 700 may operate based on an operating system stored in the memory 732, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0096] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0097] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A vehicle sunroof control method, characterized in that: The method comprises: Get the vehicle's driving speed; When the driving speed is greater than or equal to a first speed threshold, and the driving time at the driving speed is greater than or equal to a first time threshold, if the state of the vehicle sunroof is not closed, controlling the window motor to close the vehicle sunroof; During the closing process of the vehicle sunroof, if an object collision detection signal is received from the pressure sensor of the vehicle sunroof, a retraction instruction is immediately sent to the window motor, so that the window motor stops closing the vehicle sunroof according to the retraction instruction and restores the vehicle sunroof to an open state before the last closing; During the closing process of the vehicle sunroof, if a manual operation instruction for the vehicle sunroof is received, immediately sending a termination instruction to the window motor, so that the window motor stops closing the vehicle sunroof according to the termination instruction; When the automatic closing of the vehicle sunroof is terminated and the driving speed is reduced to a third speed threshold, the step of controlling the window motor to close the vehicle sunroof is performed again when the driving speed is greater than or equal to the first speed threshold and the driving time at the driving speed is greater than or equal to the first time threshold, if the state of the vehicle sunroof is not closed; wherein the third speed threshold is zero; When the driving speed is less than a second speed threshold, if the vehicle sunroof is in a closed state, the window motor is controlled to open the vehicle sunroof and restore the vehicle sunroof to an open or closed position before the last closure; the second speed threshold is less than the first speed threshold.
2. The method according to claim 1, characterized in that: The method further comprises: When the driving speed is greater than or equal to a first speed threshold, and the driving time at the driving speed is greater than or equal to a first time threshold, if it is detected that the state of the vehicle sunroof is not closed, but the window motor of the vehicle sunroof is performing other window opening and closing actions, the window motor is controlled to continue to perform the other window opening and closing actions.
3. The method according to claim 2, characterized in that The other window opening and closing actions include: One or more of the following: software button window opening and closing operation, automatic window closing operation when locking the car, automatic window closing operation when it rains, and voice control window opening and closing operation.
4. The method according to claim 1, characterized in that: The method further comprises: During the process of closing the vehicle sunroof, if the driving speed of the vehicle drops to less than a first speed threshold, the window motor continues to be controlled to close the vehicle sunroof.
5. A vehicle sunroof control device, characterized in that: The device comprises: A speed acquisition module is used to acquire the driving speed of the vehicle; A sunroof automatic closing module, configured to control a window motor to close the sunroof if the state of the sunroof is not closed, when the driving speed is greater than or equal to a first speed threshold and the driving time at the driving speed is greater than or equal to a first time threshold; a sunroof anti-pinch processing submodule, configured to immediately send a retraction instruction to the window motor if an object collision detection signal is received from a pressure sensor of the vehicle sunroof during the closing process of the vehicle sunroof, so that the window motor stops closing the vehicle sunroof according to the retraction instruction and restores the vehicle sunroof to an open state before the last closing; An automatic closing first termination submodule is used for immediately sending a termination instruction to the window motor if a manual operation instruction for the vehicle sunroof is received during the closing process of the vehicle sunroof, so that the window motor stops closing the vehicle sunroof according to the termination instruction; an automatic closing reset submodule, for, when the automatic closing of the vehicle sunroof is terminated and the driving speed is reduced to a third speed threshold, re-entering the step of controlling the window motor to close the vehicle sunroof if the state of the vehicle sunroof is not closed when the driving speed is greater than or equal to the first speed threshold and the driving time at the driving speed is greater than or equal to the first time threshold; wherein the third speed threshold is zero; The sunroof automatic opening module controls the window motor to open the vehicle sunroof and restore the vehicle sunroof to the open state before the last closure when the driving speed is less than a second speed threshold and the second speed threshold is less than the first speed threshold.
6. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 4.
7. A readable storage medium, characterized in that: When the instructions in the readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Skylight control method and device and skylight system
CN107323233A
Vehicle skylight control system and vehicle
CN210310256U