Automobile ceiling screen breaking detection method, system and equipment and medium

Through the synergistic effect of the Hall sensor and the magnetic encoder sensor, it can accurately identify the external force of the screen breaking action and distinguish between high and low frequencies, solving the detection accuracy and stability problems in the existing technology. The newly added power-down screen breaking detection adapts to the space limitations of the vehicle, provides reliable data recording, and reduces the risk of failure.

CN120778393AActive Publication Date: 2025-10-14SHENZHEN ZHAOWEI MACHINERY&ELECTRONICS CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511065456.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-10-14
Estimated Expiration
2045-07-31

AI Technical Summary

Technical Problem

The existing car ceiling screen break detection technology has poor stability and low detection accuracy. It cannot accurately determine the number and duration of screen breakage caused by external force, and cannot detect during power outages.

Method used

Hall sensors and magnetic encoder sensors work together to accurately identify external screen-breaking actions by judging the motor status and changes in the shaft angle, distinguish between high-frequency and low-frequency screen breaking, and record the number of screen breaking times. A new power-off screen-breaking detection function has been added to fill the detection gap during power outages.

Benefits of technology

It achieves high-precision external force screen breakage detection, can accurately record high-frequency, low-frequency and power-down screen breakage data, provide a reliable basis for fault analysis, reduce faults such as gear breakage, and adapt to vehicle space limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120778393A_ABST
    Figure CN120778393A_ABST
Patent Text Reader

Abstract

The invention relates to the field of automobile ceiling screens, and discloses an automobile ceiling screen breaking detection method, system and device and a medium. The method comprises the steps that the state of a ceiling screen motor is judged, the rotating direction of the ceiling screen motor before stopping is recorded, and the initial angle of a ceiling screen rotating shaft when the ceiling screen motor stops is obtained; obtaining a current magnetic weaving angle of the ceiling screen rotating shaft, determining whether an external force screen breaking action exists or not according to the current magnetic weaving angle, the initial angle and the rotating direction, and determining the external force screen breaking frequency according to the duration of the external force screen breaking action; after the controller is powered on, a first magnetic coding angle of the ceiling screen rotating shaft before the controller is powered off and a second magnetic coding angle of the ceiling screen rotating shaft after the controller is powered on are obtained, and whether a power-off screen breaking action exists or not and the power-off screen breaking frequency are determined according to the first magnetic coding angle and the second magnetic coding angle. According to the application, through the synergistic effect of the Hall sensor and the magnetic braiding sensor, screen breaking by external force is accurately identified, and a reliable basis is provided for after-sales fault analysis and product structure optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile ceiling screens, and in particular to a method, system, equipment and medium for detecting broken automobile ceiling screens. Background Art

[0002] In recent years, the new energy vehicle industry has experienced rapid growth, leading to a growing demand for in-vehicle transmission mechanisms, such as ceiling-mounted screens. As orders continue to rise, issues such as mechanism jamming, transmission gear breakage, and screen flipping resulting in jitter and unusual noise have emerged. Analysis by transmission mechanism developers reveals that when external force snaps the screen, the gearbox output teeth experience a significant instantaneous impact, which can easily cause breakage and lead to these failures. Therefore, it is crucial for the controller to accurately detect and record the number of screen snaps, including the number of times the screen snaps.

[0003] The existing automobile ceiling screen breakage detection technology has the disadvantages of poor stability and low detection accuracy. Therefore, there is an urgent need to propose a high-precision automobile ceiling screen breakage detection technology. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art and provide a method, system, device and medium for detecting broken screens of automobile ceiling screens.

[0005] The present invention provides the following technical solutions: In a first aspect, the present invention provides a method for detecting a broken screen of a car ceiling screen, which is applied to a system for detecting a broken screen of a car ceiling screen. The system includes a ceiling screen shaft, a ceiling screen motor, a Hall sensor, a magnetic encoder sensor, and a controller. The method includes: The Hall sensor is used to determine the state of the ceiling screen motor, the rotation direction of the ceiling screen motor before it stops is recorded, and the magnetic sensor is used to obtain the initial angle of the ceiling screen shaft when the ceiling screen motor stops; The magnetic encoding sensor is used to obtain the current magnetic encoding angle of the ceiling screen rotating shaft, and the determination of whether there is an external force screen bending action is performed according to the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before it stops. The number of external force screen bending operations is determined according to the duration of the external force screen bending action; When the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on are obtained through the magnetic encoding sensor, and based on the first magnetic encoding angle and the second magnetic encoding angle, it is determined whether there is a power-down screen bending action and the number of power-down screen bending times.

[0006] In an optional embodiment, determining the state of the ceiling screen motor by using the Hall sensor includes: Reading the current count and the last count of the Hall sensor through the controller, calculating the Hall change rate according to the current count and the last count, and determining whether the Hall change rate is 0; When the Hall change rate is 0, the motor stop timing is started, and when the motor stop timing exceeds a first preset time threshold, the state of the ceiling screen motor is determined to be stopped.

[0007] In an optional embodiment, the system further includes a magnetic sensor, which records the rotation direction of the ceiling screen motor before it stops, and obtains the initial angle of the ceiling screen shaft when the ceiling screen motor stops through the magnetic sensor, including: Determine whether the state of the ceiling screen motor is currently stopped and the Hall change rate is 0; If the condition is not satisfied, the rotation direction of the ceiling screen motor before it stops is recorded; When the condition is met, the ceiling screen stop timing is started. When the ceiling screen stop timing exceeds a second preset time threshold, the magnetic encoding angle of the ceiling screen shaft is detected by the magnetic encoding sensor, and the magnetic encoding angle of the ceiling screen shaft is determined as the initial angle.

[0008] In an optional embodiment, determining whether there is an external force to bend the screen according to the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before stopping includes: Calculating a difference between the current magnetic encoding angle and the initial angle to obtain a first angle difference, and determining whether the first angle difference is positive; When the first angle difference is positive, determining whether the first angle difference is less than a first preset angle threshold; When the first angle difference is less than the first preset angle threshold, determining that the external force screen bending action does not exist, and setting the external force screen bending flag to a first preset value; When the first angle difference is greater than or equal to the first preset angle threshold, determining whether the rotation direction of the ceiling screen motor before stopping is unfolding; When the rotation direction of the ceiling screen motor before stopping is unfolding, determining whether the first angle difference is greater than a second preset angle threshold; if the first angle difference is greater than the second preset angle threshold, determining that the external force screen bending action has occurred, and setting the external force screen bending flag to a second preset value; When the rotation direction of the ceiling screen motor before stopping is closed, determine whether the first angle difference is greater than the third preset angle threshold. When the first angle difference is greater than the third preset angle threshold, determine that the external force screen-bending action exists, and determine the external force screen-bending flag to be the second preset value.

[0009] In an optional embodiment, the determining whether there is an external force screen bending action based on the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before stopping further includes: When the first angle difference is negative, determining the opposite of the first angle difference as a third angle difference, and determining whether the third angle difference is less than the first preset angle threshold; When the third angle difference is less than the first preset angle threshold, determining that the external force screen bending action does not exist, and setting the external force screen bending flag to the first preset value; When the third angle difference is greater than or equal to the first preset angle threshold, determining whether the rotation direction of the ceiling screen motor before stopping is closed; When the rotation direction of the ceiling screen motor before stopping is closed, determining whether the third angle difference is greater than the second preset angle threshold; if the third angle difference is greater than the second preset angle threshold, determining that the external force screen bending action has occurred, and setting the external force screen bending flag to the second preset value; When the rotation direction of the ceiling screen motor before stopping is unfolding, determine whether the third angle difference is greater than the third preset angle threshold. When the third angle difference is greater than the third preset angle threshold, determine that the external force screen bending action exists, and determine the external force screen bending flag to be the second preset value.

[0010] In an optional embodiment, the system further includes a data storage unit, the external force screen-bending action includes a low-frequency screen-bending action and a high-frequency screen-bending action, the number of external force screen-bending times includes a low-frequency screen-bending time and a high-frequency screen-bending time, and determining the number of external force screen-bending times according to the duration of the external force screen-bending action includes: When the external force screen-bending flag changes from the first preset value to the second preset value, determining whether the external force screen-bending flag changes back to the first preset value; When the external force screen-bending flag is still at the second preset value, starting the timing of the low-frequency screen-bending judgment time; when the low-frequency screen-bending judgment time exceeds a third preset time threshold, determining the external force screen-bending action as the low-frequency screen-bending action, adding 1 to the low-frequency screen-bending count, resetting the low-frequency screen-bending judgment time, and storing the low-frequency screen-bending count in the data storage unit; When the external force screen-bending flag changes back to the first preset value, the external force screen-bending action is determined as the high-frequency screen-bending action, the number of high-frequency screen-bending times is increased by 1, and the number of high-frequency screen-bending times is stored in the data storage unit.

[0011] In an optional embodiment, when the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on are obtained through the magnetic encoding sensor, and based on the first magnetic encoding angle and the second magnetic encoding angle, whether there is a power-down screen-breaking action and the number of power-down screen-breaking actions are determined, including: When the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off is obtained from the data storage unit, and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on is detected by the magnetic encoding sensor; Calculating an absolute value of a difference between the first magnetic encoding angle and the second magnetic encoding angle to obtain a second angle difference, and determining whether the second angle difference is greater than a fourth preset angle threshold; When the second angle difference is greater than the fourth preset angle threshold, it is determined that the down power-screen bend action occurs, and the down power-screen bend flag is determined to be the second preset value, the down power-screen bend count is increased by 1, and the down power-screen bend count is stored in the data storage unit; When the second angle difference is less than or equal to the fourth preset angle threshold, it is determined that the lower power-bending screen action does not exist, and the lower power-bending screen flag is determined to be the first preset value.

[0012] In a second aspect, the present invention provides a car ceiling screen breakage detection system, the system comprising a ceiling screen shaft, a ceiling screen motor, a Hall sensor, a magnetic encoder sensor, and a controller; The Hall sensor is used to determine the status of the ceiling screen motor; The controller is used to record the rotation direction of the ceiling screen shaft before the ceiling screen motor stops; The magnetic engraving sensor is used to obtain the initial angle of the ceiling screen shaft when the ceiling screen motor stops, and obtain the current magnetic engraving angle of the ceiling screen shaft; The controller is further configured to determine whether there is an external force screen bending action based on the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before it stops, and determine the number of external force screen bending times based on the duration of the external force screen bending action; The magnetic encoding sensor is further used to obtain, when the controller is powered on, a first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and a second magnetic encoding angle of the ceiling screen shaft after the controller is powered on; The controller is further used to determine whether there is a downward electric screen-bending action and the number of downward electric screen-bending actions based on the first magnetic encoding angle and the second magnetic encoding angle.

[0013] In a third aspect, a computer device is provided in an embodiment of the present disclosure, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method for detecting broken screen of a car ceiling screen described in the first aspect when executing the computer program.

[0014] In a fourth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for detecting the broken screen of a car ceiling screen described in the first aspect are implemented.

[0015] Beneficial effects of this application: The embodiment of the present application provides a method for detecting the breakage of a ceiling-mounted screen in a car. Through the synergistic effect of a Hall effect sensor and a magnetic encoder sensor, it accurately identifies screen breakage caused by external force. It also distinguishes between high-frequency and low-frequency breakages based on the duration of the breakage action and records the number of times. This method solves the problems of the prior art, such as limited installation of torque sensors, difficulty in setting thresholds, easy omissions in current detection, and inability to determine external force characteristics. The newly added power-off breakage detection fills the gap in detection during power outages. The overall solution does not require additional sensors, is adaptable to the vehicle's space, and can comprehensively record high-frequency, low-frequency, and power-off breakage data, providing a reliable basis for after-sales fault analysis and product structure optimization. It can also identify structural damage risks in advance, effectively reducing faults such as gear breakage.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be considered as limiting the scope. A person of ordinary skill in the art can also derive other relevant drawings based on these drawings without inventive effort. Similar components are numbered similarly in the various drawings.

[0018] Figure 1 A flow chart of a method for detecting a broken screen of a car ceiling screen provided in an embodiment of the present application is shown; Figure 2 A schematic structural diagram of a car ceiling screen breakage detection system provided in an embodiment of the present application is shown; Figure 3 A structural diagram of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0019] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.

[0020] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used in the template description herein are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0022] Example 1 In the prior art, there are two methods for detecting the breakage of a car's ceiling screen: ① Detecting the breakage of the screen by external force through a torque sensor: This method connects the torque sensor to the ceiling screen shaft. When affected by external force, the torque sensor will detect the torque applied to the ceiling screen shaft by the external force. If the torque exceeds the threshold and lasts for a certain period of time, it is determined that the screen was broken by external force; ② Determine the breakage of the screen by external force by detecting the change in motor current: This method uses indirect detection to determine whether the screen was broken by external force. When the screen stops, the controller continues to generate waves to maintain the stability of the screen angle. At this time, if it is affected by external force, the ceiling screen shaft will drive the gearbox to reverse drive, and finally drive the motor to rotate. At this time, the three phases of the motor are still generating waves, and the reverse drive will inevitably cause the motor current to increase significantly. When the current is greater than the threshold and the duration exceeds the set value, it is determined that the screen was broken by external force.

[0023] Method 1 can directly and accurately detect the torque of the ceiling screen's hinge, and can even predict in advance whether the hinge is being affected by external forces, even if the hinge angle remains unchanged. However, in actual application scenarios, the space for the ceiling screen hinge is relatively limited, requiring high sensor installation accuracy. In addition, the flip mechanism generally has a damper, and the damping value will vary. After multiple flips, the damping value will decrease to varying degrees. Therefore, setting the torque threshold for this solution is difficult. If the threshold is set too low, it is easy to misjudge the screen breakage; if the threshold is set too high, it is easy to miss the time when the external force was applied, and subsequent fault analysis will lack data support.

[0024] Method 2 doesn't require an external sensor. Instead, it utilizes existing current detection circuitry to measure the current when the motor is stopped. This current flow determines whether the screen has been broken by an external force. This approach requires no structural or hardware modifications and offers a high cost-effectiveness. However, if there is significant gear clearance, the external force won't quickly reverse the motor, making it easy to miss the detection window. Furthermore, it's difficult to determine the actual magnitude and duration of the external force based solely on the current flow.

[0025] In summary, Solution 1 offers higher accuracy but lower stability, making it suitable for relatively stable environments like laboratories. Solution 2 offers a higher cost-effectiveness, but is prone to missing the detection window and cannot accurately determine the duration of the external force. This solution is more suitable if the sole purpose is to determine whether the screen has been bent due to external force.

[0026] In this context, this application proposes a method for detecting broken screen of a car ceiling screen, such as Figure 1 As shown in the figure, it is a flow chart of a method for detecting the breakage of a car ceiling screen in an embodiment of the present application. The method for detecting the breakage of a car ceiling screen provided in an embodiment of the present application is applied to Figure 2 The automobile ceiling screen breakage detection system shown in the figure includes a ceiling screen shaft, a ceiling screen motor, a Hall sensor, a magnetic encoder sensor and a controller. The method specifically includes the following steps: In step S110, the state of the ceiling screen motor is determined by the Hall sensor, the rotation direction of the ceiling screen motor before it stops is recorded, and the initial angle of the ceiling screen shaft when the ceiling screen motor stops is obtained by the magnetic sensor.

[0027] In this embodiment, the controller reads the current count and the previous count of the Hall sensor, and calculates the Hall change rate based on the current count and the previous count, where Hall change rate = current count - previous count.

[0028] Next, determine the Hall effect change rate: (1) When the Hall effect change rate is 0, it means that the count of the Hall effect sensor has not changed and the motor has no rotation trend. At this time, the motor stop timing is started, and the duration of the Hall effect change rate being 0 is accumulated. When the motor stop timing exceeds the first preset time threshold (for example, 200ms), the state of the ceiling screen motor is determined to be stopped. When the motor stop timing does not exceed the first preset time threshold (for example, 200ms), it returns to continue monitoring the Hall effect change rate until the timing condition is met; (2) When the Hall change rate is not 0, it means that the motor is still rotating. At this time, the motor stop timer is reset to zero, and the Hall count is read again and the judgment is repeated.

[0029] The above process uses the "zero change duration" of the Hall signal to eliminate interference such as the motor's inertial rotation, accurately determine whether the motor has completely stopped, and avoid subsequently misjudging the angle change when the motor is not stopped as "external force breaking the screen."

[0030] Furthermore, it is determined whether the current state of the ceiling screen motor is stopped and the Hall change rate is 0: (1) When it is not satisfied, it means that the state of the ceiling screen motor has stopped, but it is still rotating due to inertia. The Hall sensor detects the count change and the Hall change rate is not 0. At this time, the angle change of the ceiling screen shaft is the result of the inertial rotation of the motor, not the external force. At this time, the rotation direction of the ceiling screen motor before it stops is recorded to provide a reference for the subsequent external force to break the screen direction. (2) When the condition is met, it means that the ceiling screen motor has no mechanical rotation (no inertial rotation or residual motion). At this time, it is determined that the ceiling screen motor has completely stopped and the ceiling screen shaft is in a stationary state. The ceiling screen stop timing is started. When the ceiling screen stop timing exceeds the second preset time threshold (for example, 200ms), the current magnetic angle of the ceiling screen shaft is detected by the magnetic sensor, and the current magnetic angle of the ceiling screen shaft is determined as the initial angle. When the ceiling screen stop timing does not exceed the second preset time threshold (for example, 200ms), it means that the ceiling screen motor may be in a short-term stationary state (not completely stopped). It is necessary to continue to monitor the Hall change rate and the ceiling screen stop timing until the "Hall change rate = 0 and the ceiling screen stop timing exceeds the second preset time threshold" is met.

[0031] The above process eliminates interference such as the motor not stopping or stopping but not stabilizing through the three conditions of the ceiling screen motor stopping state, the Hall change rate being 0, and the ceiling screen stopping timing. It ensures that only when the ceiling screen shaft is completely stationary can the subsequent magnetic encoding angle changes be attributed to external force bending the screen, providing a basis for detection accuracy.

[0032] Step S120, obtain the current magnetic encoding angle of the ceiling screen shaft through the magnetic encoding sensor, determine whether there is an external force to bend the screen based on the current magnetic encoding angle, the initial angle and the rotation direction of the ceiling screen motor before it stops, and determine the number of external force screen bending actions based on the duration of the external force screen bending action.

[0033] It can be understood that after the current magnetic encoding angle of the ceiling screen shaft is detected by the magnetic encoding sensor, the difference between the current magnetic encoding angle and the initial angle is calculated based on the initial angle to obtain the first angle difference, and the rotation direction of the ceiling screen motor before it stops is used as the direction judgment reference.

[0034] Specifically, first determine whether the first angle difference is positive: (1) When the first angle difference is positive, it indicates that the current magnetic encoding angle of the ceiling screen after being pried is greater than the initial angle of the ceiling screen motor when it stops, that is, the external force prises the ceiling screen in the direction of unfolding, the direction of the external force prising the screen is unfolding, at this time it is necessary to determine whether the first angle difference is less than the first preset angle threshold (for example, 0.4°); When the first angle difference is less than the first preset angle threshold, it indicates that it is not pried by external force (may be small vibration and other interference), at this time it is determined that there is no external force prising action, and the external force prising screen flag is determined as the first preset value, when the first angle difference is greater than or equal to the first preset angle threshold, it is further determined whether the rotation direction before the ceiling screen motor stops is unfolding; When the rotation direction before the ceiling screen motor stops is unfolding, it indicates that the direction of the external force prising the screen is consistent with the rotation direction before the ceiling screen motor stops, at this time it is necessary to determine whether the first angle difference is greater than the second preset angle threshold (for example, 3.5°), when the first angle difference is greater than the second preset angle threshold, it indicates that it is pried by effective external force, at this time it is determined that there is an external force prising action, and the external force prising screen flag is determined as the second preset value, and the first angle difference is stored to the data storage unit; When the rotation direction before the ceiling screen motor stops is closed, it indicates that the direction of the external force prising the screen is opposite to the rotation direction before the ceiling screen motor stops, at this time it is necessary to determine whether the first angle difference is greater than the third preset angle threshold (for example, 2°), when the first angle difference is greater than the third preset angle threshold, it indicates that it is pried by effective external force, at this time it is determined that there is an external force prising action, and the external force prising screen flag is determined as the second preset value, and the first angle difference is stored to the data storage unit; (2) When the first angle difference is negative, it means that the current magnetic encoding angle of the ceiling screen after being bent is less than the initial angle when the ceiling screen motor stops, that is, the external force bends the ceiling screen in the closing direction, and the external force bending direction is closing. At this time, it is necessary to determine the opposite of the first angle difference as the third angle difference, and judge whether the third angle difference is less than the first preset angle threshold (for example, 0.4°); when the third angle difference is less than the first preset angle threshold, it means that it is not bent by external force (it may be interference such as small vibration). At this time, it is determined that there is no external force bending action, and the external force bending flag is determined to be the first preset value. When the third angle difference is greater than or equal to the first preset angle threshold, it is further judged whether the rotation direction of the ceiling screen motor before stopping is closing; when the rotation direction of the ceiling screen motor before stopping is closing, it means that the external force bending direction is consistent with the ceiling screen motor. The rotation direction before stopping is consistent. At this time, it is necessary to determine whether the third angle difference is greater than the second preset angle threshold (for example, 3.5°). When the third angle difference is greater than the second preset angle threshold, it indicates that it is an effective external force bend. At this time, it is determined that there is an external force screen bend action, and the external force screen bend flag is determined to be the second preset value, and the third angle difference is stored in the data storage unit; when the rotation direction of the ceiling screen motor before stopping is unfolding, it means that the external force screen bend direction is opposite to the rotation direction of the ceiling screen motor before stopping. At this time, it is necessary to determine whether the third angle difference is greater than the third preset angle threshold (for example, 2°). When the third angle difference is greater than the third preset angle threshold, it is an effective external force bend. At this time, it is determined that there is an external force screen bend action, and the external force screen bend flag is determined to be the second preset value, and the third angle difference is stored in the data storage unit.

[0035] It should be noted that, in this embodiment, the first preset value is 0, indicating non-existence, and the second preset value is 1, indicating existence. In practical applications, different values ​​can be used to represent it, and this embodiment of the application does not limit this.

[0036] The above process uses the dual judgment of "direction distinction + angle threshold" to accurately identify the behavior of external force bending the screen, providing a reliable basis for subsequent screen bending type statistics and data storage.

[0037] Furthermore, when the external force screen bending flag jumps from the first preset value to the second preset value, it is determined that there is an external force screen bending action, and the next step is to determine whether the external force screen bending flag changes back to the first preset value: (1) When the external force screen bending flag is still at the second preset value, start the low-frequency screen bending judgment time (accumulating from 0, in milliseconds), and continuously monitor the flag status. When the low-frequency screen bending judgment time exceeds the third preset time threshold (for example, 3000ms), that is, the duration of the external force screen bending flag being the second preset value exceeds the third preset time threshold, then the external force screen bending action is determined to be a low-frequency screen bending action (that is, bending the ceiling screen in one direction and maintaining the angle for a certain time), the number of low-frequency screen bending times is increased by 1, the low-frequency screen bending judgment time is cleared, and the number of low-frequency screen bending times is stored in the data storage unit; (2) When the external force screen bending flag changes back to the first preset value, that is, the duration of the external force screen bending flag being the second preset value does not exceed the third preset time threshold, the external force screen bending action is determined to be a high-frequency screen bending action (that is, quickly bending the ceiling screen back and forth), the number of high-frequency screen bending times is increased by 1, and the number of high-frequency screen bending times is stored in the data storage unit.

[0038] The above process accurately distinguishes between high-frequency and low-frequency screen bending types based on the duration of the external force bending action and records the number of times respectively. This solves the deficiency of "only detecting the occurrence of screen bending" in the existing technology and provides a data basis for subsequent analysis of the impact of different screen bending behaviors on the device.

[0039] Step S130: After the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on are obtained through the magnetic encoding sensor, and based on the first magnetic encoding angle and the second magnetic encoding angle, it is determined whether there is a power-down screen-bending action and the number of power-down screen-bending actions.

[0040] The process for detecting the screen folding during power-down is as follows: When the controller is powered on, the first magnetic angle of the ceiling screen's hinge, stored before the controller was powered off (i.e., the magnetic angle of the ceiling screen's hinge recorded during the last power-down), is retrieved from the data storage unit. The magnetic sensor then detects the second magnetic angle of the ceiling screen's hinge after the controller is powered on. The absolute value of the difference between the first and second magnetic angles is then calculated to obtain a second angle difference, and a determination is made as to whether this second angle difference is greater than a fourth preset angle threshold (e.g., 3.5°). If the second angle difference is greater than the fourth preset angle threshold, a screen folding during power-down is determined to have occurred (i.e., the ceiling screen was folded by an external force and the angle exceeded the preset angle threshold between the time the vehicle was powered off and the time it was powered on again). A screen folding during power-down flag is set to the second preset value, the number of screen folding during power-down is incremented by 1, and the number of screen folding during power-down is stored in the data storage unit. If the second angle difference is less than or equal to the fourth preset angle threshold, a screen folding during power-down is determined to have not occurred, and the screen folding during power-down flag is set to the first preset value.

[0041] The above process compares the screen angles before and after powering on and off, accurately identifies the "screen breaking during power off" behavior and records the number of times, filling the gap in real-time detection after the vehicle is powered off. Together with the records of high-frequency and low-frequency screen breaking, it forms a complete data closed loop, providing a basis for subsequent product after-sales analysis and structural optimization.

[0042] The embodiment of the present application provides a method for detecting the breakage of a ceiling-mounted screen in a car. Through the synergistic effect of a Hall effect sensor and a magnetic encoder sensor, it accurately identifies screen breakage caused by external force. It also distinguishes between high-frequency and low-frequency breakages based on the duration of the breakage action and records the number of times. This method solves the problems of the prior art, such as limited installation of torque sensors, difficulty in setting thresholds, easy omissions in current detection, and inability to determine external force characteristics. The newly added power-off breakage detection fills the gap in detection during power outages. The overall solution does not require additional sensors, is adaptable to the vehicle's space, and can comprehensively record high-frequency, low-frequency, and power-off breakage data, providing a reliable basis for after-sales fault analysis and product structure optimization. It can also identify structural damage risks in advance, effectively reducing faults such as gear breakage.

[0043] Example 2 like Figure 2 2 is a schematic diagram of the structure of a car ceiling screen breakage detection system 200 according to an embodiment of the present application, wherein the system includes a ceiling screen rotating shaft 210, a ceiling screen motor 220, a Hall sensor 230, a magnetic encoder sensor 240, and a controller 250; The Hall sensor 230 is used to determine the status of the ceiling screen motor 220; The controller 250 is used to record the rotation direction of the ceiling screen shaft 210 before the ceiling screen motor 220 stops; The magnetic encoding sensor 240 is used to obtain the initial angle of the ceiling screen shaft 210 when the ceiling screen motor 220 stops, and obtain the current magnetic encoding angle of the ceiling screen shaft 210; The controller 250 is further configured to determine whether there is an external force screen bending action based on the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before it stops, and to determine the number of external force screen bending times based on the duration of the external force screen bending action; The magnetic encoding sensor 240 is further used to obtain a first magnetic encoding angle of the ceiling screen shaft 210 before the controller 250 is powered off and a second magnetic encoding angle of the ceiling screen shaft 210 after the controller 250 is powered on when the controller 250 is powered on; The controller 250 is further configured to determine whether there is a power-down screen-bending action and the number of power-down screen-bending actions according to the first magnetic encoding angle and the second magnetic encoding angle.

[0044] The automobile ceiling screen breakage detection system provided in the embodiment of the present application can implement each process of the automobile ceiling screen breakage detection method corresponding to Example 1, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0045] The automotive ceiling screen break detection system provided in the embodiments of the present application accurately identifies screen breakage caused by external force through the synergistic effect of Hall sensors and magnetic encoder sensors. It also distinguishes between high-frequency and low-frequency breakages based on the duration of the breakage action and records the number of times. This solves the existing problems of limited torque sensor installation, difficult threshold setting, easy current detection misses, and inability to determine external force characteristics. The newly added power-off screen break detection fills the gap in detection during power outages. The overall solution does not require additional sensors, adapts to the vehicle's space, and can comprehensively record high-frequency, low-frequency, and power-off screen breakage data, providing a reliable basis for after-sales fault analysis and product structure optimization. It can also identify structural damage risks in advance, effectively reducing faults such as gear breakage.

[0046] Example 3 The present application also provides a computer device. Figure 3 , Figure 3 This is a basic structural block diagram of the computer device in this embodiment.

[0047] The computer device 3 includes a memory 31, a processor 32, and a network interface 33 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 3 with a memory 31, a processor 32, and a network interface 33, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0048] The computer device may be a desktop computer, notebook computer, PDA, cloud server, etc. The computer device may interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.

[0049] The memory 31 includes at least one type of readable storage medium, including flash memory, a hard disk, a multimedia card, card-type memory (e.g., SD or D slot compatibility test memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, a magnetic disk, an optical disk, etc. In some embodiments, the memory 31 may be an internal storage unit of the computer device 3, such as the hard disk or internal memory of the computer device 3. In other embodiments, the memory 31 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc. Of course, the memory 31 may also include both the internal storage unit of the computer device 3 and its external storage device. In this embodiment, the memory 31 is generally used to store the operating system and various application software installed on the computer device 3, such as computer-readable instructions for the slot compatibility test method. In addition, the memory 31 can also be used to temporarily store various types of data that have been output or are to be output.

[0050] In some embodiments, the processor 32 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or another automotive ceiling screen breakage detection chip. The processor 32 is typically used to control the overall operation of the computer device 3. In this embodiment, the processor 32 is used to execute computer-readable instructions or process data stored in the memory 31, such as the computer-readable instructions for executing the slot compatibility testing method.

[0051] The network interface 33 may include a wireless network interface or a wired network interface. The network interface 33 is generally used to establish a communication connection between the computer device 3 and other electronic devices.

[0052] The computer device provided in this embodiment can execute the above-mentioned method for detecting the breakage of a car ceiling screen, which can be the method for detecting the breakage of a car ceiling screen in each of the above-mentioned embodiments.

[0053] Example 4 This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for detecting broken screen of a car ceiling screen in the embodiment are implemented.

[0054] In this embodiment, the computer-readable storage medium includes flash memory, hard disks, multimedia cards, card-type memories (e.g., SD or DX memories), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk equipped with the computer device, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. Of course, the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are about to be output.

[0055] In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can also be implemented in other ways. The system embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architectures, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or flowchart, and the combination of boxes in the structure diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.

[0056] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0057] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a smart phone, personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium can be a non-volatile storage medium or a volatile storage medium. For example, the storage medium can be: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., various media that can store program code.

[0058] The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed by the present invention, which should be covered by the scope of protection of the present invention.

Claims

1. A method for detecting a broken screen of a car ceiling screen, characterized in that: Applied to a car ceiling screen break detection system, the system includes a ceiling screen shaft, a ceiling screen motor, a Hall sensor, a magnetic encoder sensor, and a controller. The method includes: The Hall sensor is used to determine the state of the ceiling screen motor, the rotation direction of the ceiling screen motor before it stops is recorded, and the magnetic sensor is used to obtain the initial angle of the ceiling screen shaft when the ceiling screen motor stops; The magnetic encoding sensor is used to obtain the current magnetic encoding angle of the ceiling screen rotating shaft, and the determination of whether there is an external force screen bending action is performed according to the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before it stops. The number of external force screen bending operations is determined according to the duration of the external force screen bending action; When the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on are obtained through the magnetic encoding sensor, and based on the first magnetic encoding angle and the second magnetic encoding angle, it is determined whether there is a power-down screen bending action and the number of power-down screen bending times.

2. The method for detecting a broken car ceiling screen according to claim 1, wherein: The determining the state of the ceiling screen motor by the Hall sensor includes: Reading the current count and the last count of the Hall sensor through the controller, calculating the Hall change rate according to the current count and the last count, and determining whether the Hall change rate is 0; When the Hall change rate is 0, the motor stop timing is started, and when the motor stop timing exceeds a first preset time threshold, the state of the ceiling screen motor is determined to be stopped.

3. The method for detecting a broken car ceiling screen according to claim 2, characterized in that: The system further includes a magnetic sensor, which records the rotation direction of the ceiling screen motor before it stops, and obtains the initial angle of the ceiling screen shaft when the ceiling screen motor stops through the magnetic sensor, including: Determine whether the state of the ceiling screen motor is currently stopped and the Hall change rate is 0; If the condition is not satisfied, the rotation direction of the ceiling screen motor before it stops is recorded; When the condition is met, the ceiling screen stop timing is started. When the ceiling screen stop timing exceeds a second preset time threshold, the magnetic encoding angle of the ceiling screen shaft is detected by the magnetic encoding sensor, and the magnetic encoding angle of the ceiling screen shaft is determined as the initial angle.

4. The method for detecting a broken car ceiling screen according to claim 1, wherein: The determining whether there is an external force bending action of the screen according to the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before stopping includes: Calculating a difference between the current magnetic encoding angle and the initial angle to obtain a first angle difference, and determining whether the first angle difference is positive; When the first angle difference is positive, determining whether the first angle difference is less than a first preset angle threshold; When the first angle difference is less than the first preset angle threshold, determining that the external force screen bending action does not exist, and setting the external force screen bending flag to a first preset value; When the first angle difference is greater than or equal to the first preset angle threshold, determining whether the rotation direction of the ceiling screen motor before stopping is unfolding; When the rotation direction of the ceiling screen motor before stopping is unfolding, determining whether the first angle difference is greater than a second preset angle threshold; if the first angle difference is greater than the second preset angle threshold, determining that the external force screen bending action has occurred, and setting the external force screen bending flag to a second preset value; When the rotation direction of the ceiling screen motor before stopping is closed, determine whether the first angle difference is greater than the third preset angle threshold. When the first angle difference is greater than the third preset angle threshold, determine that the external force screen-bending action exists, and determine the external force screen-bending flag to be the second preset value.

5. The method for detecting a broken car ceiling screen according to claim 4, characterized in that: The determining whether there is an external force bending action based on the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before stopping further includes: When the first angle difference is negative, determining the opposite of the first angle difference as a third angle difference, and determining whether the third angle difference is less than the first preset angle threshold; When the third angle difference is less than the first preset angle threshold, determining that the external force screen bending action does not exist, and setting the external force screen bending flag to the first preset value; When the third angle difference is greater than or equal to the first preset angle threshold, determining whether the rotation direction of the ceiling screen motor before stopping is closed; When the rotation direction of the ceiling screen motor before stopping is closed, determining whether the third angle difference is greater than the second preset angle threshold; if the third angle difference is greater than the second preset angle threshold, determining that the external force screen bending action has occurred, and setting the external force screen bending flag to the second preset value; When the rotation direction of the ceiling screen motor before stopping is unfolding, determine whether the third angle difference is greater than the third preset angle threshold. When the third angle difference is greater than the third preset angle threshold, determine that the external force screen bending action exists, and determine the external force screen bending flag to be the second preset value.

6. The method for detecting a broken car ceiling screen according to claim 5, characterized in that: The system further includes a data storage unit, the external force screen-bending action includes a low-frequency screen-bending action and a high-frequency screen-bending action, the number of external force screen-bending times includes a low-frequency screen-bending time and a high-frequency screen-bending time, and determining the number of external force screen-bending times according to the duration of the external force screen-bending action includes: When the external force screen-bending flag changes from the first preset value to the second preset value, determining whether the external force screen-bending flag changes back to the first preset value; When the external force screen-bending flag is still at the second preset value, starting the timing of the low-frequency screen-bending judgment time; when the low-frequency screen-bending judgment time exceeds a third preset time threshold, determining the external force screen-bending action as the low-frequency screen-bending action, adding 1 to the low-frequency screen-bending count, resetting the low-frequency screen-bending judgment time, and storing the low-frequency screen-bending count in the data storage unit; When the external force screen-bending flag changes back to the first preset value, the external force screen-bending action is determined as the high-frequency screen-bending action, the number of high-frequency screen-bending times is increased by 1, and the number of high-frequency screen-bending times is stored in the data storage unit.

7. The method for detecting a broken car ceiling screen according to claim 6, wherein: When the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on are obtained through the magnetic encoding sensor, and according to the first magnetic encoding angle and the second magnetic encoding angle, whether there is a power-down screen-breaking action and the number of power-down screen-breaking actions are determined, including: When the controller is powered on, the first magnetic encoding angle of the ceiling screen shaft before the controller is powered off is obtained from the data storage unit, and the second magnetic encoding angle of the ceiling screen shaft after the controller is powered on is detected by the magnetic encoding sensor; Calculating an absolute value of a difference between the first magnetic encoding angle and the second magnetic encoding angle to obtain a second angle difference, and determining whether the second angle difference is greater than a fourth preset angle threshold; When the second angle difference is greater than the fourth preset angle threshold, it is determined that the down power-screen bend action occurs, and the down power-screen bend flag is determined to be the second preset value, the down power-screen bend count is increased by 1, and the down power-screen bend count is stored in the data storage unit; When the second angle difference is less than or equal to the fourth preset angle threshold, it is determined that the lower power-bending screen action does not exist, and the lower power-bending screen flag is determined to be the first preset value.

8. A car ceiling screen breakage detection system, characterized in that: The system includes a ceiling screen rotating shaft, a ceiling screen motor, a Hall sensor, a magnetic encoder sensor and a controller; The Hall sensor is used to determine the status of the ceiling screen motor; The controller is used to record the rotation direction of the ceiling screen shaft before the ceiling screen motor stops; The magnetic engraving sensor is used to obtain the initial angle of the ceiling screen shaft when the ceiling screen motor stops, and obtain the current magnetic engraving angle of the ceiling screen shaft; The controller is further configured to determine whether there is an external force screen bending action based on the current magnetic encoding angle, the initial angle, and the rotation direction of the ceiling screen motor before it stops, and determine the number of external force screen bending times based on the duration of the external force screen bending action; The magnetic encoding sensor is further used to obtain, when the controller is powered on, a first magnetic encoding angle of the ceiling screen shaft before the controller is powered off and a second magnetic encoding angle of the ceiling screen shaft after the controller is powered on; The controller is further used to determine whether there is a downward electric screen-bending action and the number of downward electric screen-bending actions based on the first magnetic encoding angle and the second magnetic encoding angle.

9. A computer device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the car ceiling screen breakage detection method described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for detecting broken screen of a car ceiling screen according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Sheet breaking machine for ultrathin anti-dazzle glass display screen and sheet breaking method of sheet breaking machine

    CN115259648A

  • Ceiling screen in-place closing judgment method and device, terminal equipment and storage medium

    CN116338801A

  • Anti-pinch method and device for vehicle-mounted ceiling screen, electronic equipment and storage medium

    CN120074290A

  • Method and apparatus for adjusting vehicle-mounted screen, vehicle, and readable storage medium

    WO2022053057A1