Center control armrest opening and closing detection method and system, storage medium and intelligent terminal
By using sensors and push rods in the central control handrail detection device, the opening and closing process of the handrail is automatically monitored, and the shortcomings of relying on experience in the existing technology are solved, and efficient, accurate detection and smoothness evaluation of the central control handrail is achieved. .
Patent Information
- Application Number
- CN202411604360.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-11-12
AI Technical Summary
In the prior art, the fluency judgment of opening and closing after the central control handrail is installed depends on the experience of the staff. Inexperienced people may make mistakes in judgment, and it is difficult to detect automatically if there is a jam during the closing process.
Using a detection device that simulates the central control platform, sensors and push rods, automatically monitors the handrail opening and closing process by detecting the opening and closing time, force and obstacles, and outputs qualified or unqualified results, improving the automation and accuracy of detection sex.
The automatic detection of the central control handrail is realized, the detection efficiency and accuracy are improved, human judgment errors are avoided, and the stuck situation during the closure process is timely identified and handled.
Smart Images

Figure CN119124603A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile parts detection, and in particular to a method, system, storage medium and intelligent terminal for detecting the opening and closing of a central control armrest. Background Art
[0002] The center console armrest usually refers to a component on the console between the front seats in the car. It not only provides comfortable arm support, but also often integrates some control functions and storage space of the vehicle.
[0003] In the related art, for example, a patent with Chinese patent publication number CN220180679U discloses a central control armrest storage box including: a support frame, an armrest and a storage box, the storage box is arranged in the support frame, the armrest is installed on the support frame, the storage box has an opening arranged upward, the storage box has a first position in the support frame relative to the support frame, and a second position extending from the support frame and extending to the rear seat, when the storage box slides into the support frame, the armrest can rotate relative to the support frame to be in a horizontal state covering the opening of the storage box, or in an open state opening the opening.
[0004] The prior art has the following problems: whether the opening and closing process of the handrail is smooth after installation can only be known after installation, and this process is usually judged by the staff based on their own experience. Inexperienced personnel may make mistakes in judgment, and there is still room for improvement. Summary of the invention
[0005] In order to improve the problem that whether the opening and closing process of the armrest is smooth after installation can only be known after installation, and this process is usually judged by the staff based on their own experience, and inexperienced personnel may make mistakes in judgment, the present application provides a central control armrest opening and closing detection method, system, storage medium and intelligent terminal.
[0006] In the first aspect, the present application provides a method for detecting the opening and closing of a central control armrest, which adopts the following technical solution: A method for detecting opening and closing of a central control armrest, comprising: When receiving a preset start signal, the detection device triggers an opening signal and controls the armrest to open. The detection device includes a platform simulating a central control of a car, a button simulating opening of the armrest is provided on the platform, a first sensor for detecting the closed state of the armrest is provided on the platform, a second sensor for detecting the open state of the armrest is provided on the platform, a push frame is rotatably connected to the platform, and a push rod for pushing the armrest to close is provided on the push frame; Acquire a first detection distance on the first sensor and a second detection distance on the second sensor; Acquiring a start time when the first detection distance changes; Acquire the end time when the second detection distance changes; Determine the opening time based on the start time and end time; Matching is performed based on the opening time and a preset opening detection range to obtain an opening detection result; The push frame is controlled to rotate according to a preset closing speed and obtain the closing force, and a thrust sensor for detecting the closing force is provided on the push rod; Matching is performed based on the closing force and the preset closing detection range to obtain a closing detection result; The open detection results and the closed detection results are output.
[0007] By adopting the above technical scheme, when opening, the armrest is usually automatically opened after being unlocked by the automatic lock, so the smoothness of the opening of the armrest can be detected by detecting the opening time; when closing, since the armrest is manually turned to close, the closing time is different when the strength of the person is different, so the time is not of reference, so the smoothness of the closing of the armrest can be detected by detecting the strength, and automatic opening and closing can be achieved by setting up a detection device, and the detection sensor on the detection device can automatically monitor the data during the test, and automatically detect the opening and closing of the central control armrest without manual operation, thereby improving the automation and efficiency of the central control armrest detection.
[0008] Optionally, the method for obtaining a closing detection result based on matching the closing force and a preset closing detection range includes: When the opening detection result is a preset opening unqualified result, directly outputting an opening unqualified result; When the opening detection result is a preset opening qualified result, continue to obtain the first detection distance and the second detection distance; Acquiring a determination start time when the second detection distance changes; Determine the judgment end time based on the judgment start time and the preset judgment duration; If the first detection distance has not changed at the end of the determination, a preset closing failure result is output; If the first detection distance changes before the determination end time, a closing detection result is obtained by matching the closing force with the preset closing detection range.
[0009] By adopting the above technical solution, if the closing process cannot detect the position in place, it means that it is stuck. At this time, the first detection distance will not change, so a time length is set to determine whether it is really stuck. When it is stuck, an unqualified signal can be directly output (it can also be output when opening), which improves the smoothness of the closing detection of the central control armrest.
[0010] Optionally, if the first detection distance has not changed at the end of the determination, the method of outputting a closing failure result includes: Before triggering the opening signal, the push rod is controlled to rotate according to a preset pushing stroke and a third detection distance on the first sensor and a fourth detection distance on the second sensor are obtained; When both the third detection distance and the fourth detection distance change, a shutdown failure result is output at the end of the determination; When there is no change in the third detection distance or the fourth detection distance, an obstacle signal is directly output and detection is stopped.
[0011] By adopting the above technical solution, the push rod is used to determine whether there is an obstacle before starting the test, thereby avoiding the situation where the central control armrest is stuck during the closing process due to the existence of an obstacle, but is still judged as unqualified, thereby improving the accuracy of the judgment of abnormal results of the central control armrest closing detection.
[0012] Optionally, when there is no change in the third detection distance or the fourth detection distance, the method of directly outputting an obstacle signal and stopping detection includes: Get the current time when the push rod starts to rotate, and continue to get the real-time pressure during the rotation process; When the real-time pressure is 0, continue pushing until the pushing stroke is completed; When the real-time pressure is greater than 0, the rotation angle is obtained, and the rotation angle when the real-time pressure is just greater than 0 is defined as the starting rotation angle; Continue pushing while the rotation angle continues to change; When the rotation angle no longer changes, the rotation angle at this time is defined as the current obstacle angle; Return to the starting point of the pushing stroke and rotate again and continue to obtain the starting rotation angle and the current obstacle angle; When the starting rotation angle and / or the current obstacle angle changes, the vehicle repeatedly returns to the starting point of the pushing stroke and rotates again; When the current obstacle angle does not change and the starting rotation angle does not change, an obstacle signal is output and detection stops; When the current obstacle angle does not exist and the starting rotation angle does not exist, but the third detection distance or the fourth detection distance still does not change, a preset sensor abnormality signal is output; When the current obstacle angle does not exist and the starting rotation angle does not exist, but the third detection distance and the fourth detection distance both change, a closing failure result is output at the end of the determination.
[0013] By adopting the above technical solution, if an obstacle really exists, the push rod is pushed multiple times to detect whether the obstacle can be pushed away by the push rod, so that there is no need for human intervention to clear the obstacle, thereby improving the automation and intelligence of the maintenance of the detection device.
[0014] Optionally, a method for determining whether to open a detection range or close a detection range is also included, the method comprising: When receiving the start signal, the third sensor number and the positioning detection distance on the third sensor are obtained, and a plurality of third sensors for detecting the type of handrails are provided on the platform; Filter the positioning detection distance with the smallest value and define the positioning detection distance as the standard detection distance; The positioning detection distance is converted based on the standard detection distance to obtain a relative positioning detection distance; Finding a corresponding handrail category from a preset category database based on the relative positioning detection distance and the third sensor number; Based on the handrail category, the corresponding opening detection range and closing detection range are found from the preset requirement database and output.
[0015] By adopting the above technical solution, since each type of central control armrest has some differences to a greater or lesser extent, the corresponding distance value can be obtained through multiple distance detection sensors, and then the corresponding armrest category can be comprehensively identified, thereby improving the application scope of the detection device.
[0016] Optionally, the method further includes a method for determining the handrail category when the corresponding handrail category cannot be found through the category database, the method comprising: When the corresponding handrail category cannot be found through the category database, the push rod is controlled to rotate according to the preset tiling stroke and the relative positioning detection distance is continued to be obtained; When the corresponding handrail category can be found from the category database based on the relative positioning detection distance and the third sensor number, the handrail category is normally output; If the corresponding handrail category still cannot be found from the category database based on the relative positioning detection distance and the third sensor number, but the relative positioning detection distance is changing, the push rod is continuously controlled to rotate according to the paving stroke until the relative positioning detection distance no longer changes; When the relative positioning detection distance no longer changes, the positioning detection distance is reacquired and the handrail category is determined based on the relative positioning detection distance; When the handrail category still does not exist, the preset abnormal signal is output.
[0017] By adopting the above technical solution, when the detected distance data does not match all armrest categories, one possibility is that the central control armrest is not placed in a flat position during the installation process, so it can be pushed and leveled by a push rod, thereby improving the automation of the detection device maintenance.
[0018] Optionally, the method of controlling the push rod to rotate according to a preset tiling stroke and continuing to obtain the relative positioning detection distance includes: defining a handrail category stored in a category database as an optional handrail category; Based on the optional handrail category, find the standard positioning detection distance and standard tiling stroke corresponding to the third sensor number from the category database; When the control push rod is rotated, the current rotation angle is obtained; Calculating a first virtual thickness based on a current rotation angle, a standard tiling stroke, and a preset push rod rotation radius; When the positioning detection distance corresponding to the same third sensor number is smaller than the standard positioning detection distance, the positioning detection distance at this time and the standard positioning detection distance are calculated to obtain a second virtual thickness; When the first virtual thickness and the second virtual thickness are consistent, the rotation is stopped and the relative positioning detection distance is obtained.
[0019] By adopting the above technical solution, even if the type of the armrest is known, there will be certain differences because the outer covering may have different thicknesses. The push rod is not pushed according to the standard flattening stroke, but only needs to be pushed until the whole is horizontally closed. Therefore, only the first virtual thickness and the second virtual thickness need to be consistent, which improves the accuracy of the push rod's flattening.
[0020] In the second aspect, the present application provides a central control armrest opening and closing detection system, which adopts the following technical solution: A central control armrest opening and closing detection system, comprising: An acquisition module is used to acquire a start signal, a first detection distance, a second detection distance, a start time, an end time, a closing force, a judgment start time, a current time, a real-time pressure, a rotation angle, and a positioning detection distance; A memory, used to store a program of a control method of any of the above-mentioned central control armrest opening and closing detection methods; The program in the processor and the memory can be loaded and executed by the processor to implement the control method of any of the above-mentioned central control armrest opening and closing detection methods.
[0021] By adopting the above technical scheme, when opening, the armrest is usually automatically opened after being unlocked by the automatic lock, so the smoothness of the opening of the armrest can be detected by detecting the opening time; when closing, since the armrest is manually turned to close, the closing time is different when the strength of the person is different, so the time is not of reference, so the smoothness of the closing of the armrest can be detected by detecting the strength, and automatic opening and closing can be achieved by setting up a detection device, and the detection sensor on the detection device can automatically monitor the data during the test, and automatically detect the opening and closing of the central control armrest without manual operation, thereby improving the automation and efficiency of the central control armrest detection.
[0022] In the third aspect, the present application provides a smart terminal, which adopts the following technical solution: The intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any of the above-mentioned central control armrest opening and closing detection methods.
[0023] By adopting the above technical scheme, when opening, the armrest is usually automatically opened after being unlocked by the automatic lock, so the smoothness of the opening of the armrest can be detected by detecting the opening time; when closing, since the armrest is manually turned to close, the closing time is different when the strength of the person is different, so the time is not of reference, so the smoothness of the closing of the armrest can be detected by detecting the strength, and automatic opening and closing can be achieved by setting up a detection device, and the detection sensor on the detection device can automatically monitor the data during the test, and automatically detect the opening and closing of the central control armrest without manual operation, thereby improving the automation and efficiency of the central control armrest detection.
[0024] Fourthly, the present application provides a computer storage medium that can store corresponding programs and has the characteristics of fast interaction with memory big data.
[0025] Computer readable storage medium, using the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned central control armrest opening and closing detection methods.
[0026] By adopting the above technical scheme, when opening, the armrest is usually automatically opened after being unlocked by the automatic lock, so the smoothness of the opening of the armrest can be detected by detecting the opening time; when closing, since the armrest is manually turned to close, the closing time is different when the strength of the person is different, so the time is not of reference, so the smoothness of the closing of the armrest can be detected by detecting the strength, and automatic opening and closing can be achieved by setting up a detection device, and the detection sensor on the detection device can automatically monitor the data during the test, and automatically detect the opening and closing of the central control armrest without manual operation, thereby improving the automation and efficiency of the central control armrest detection.
[0027] In summary, the present application includes at least the following beneficial technical effects: The detection sensor on the detection device can automatically monitor the data during the test and automatically detect the opening and closing of the central control armrest without manual operation, which improves the automation and efficiency of the central control armrest detection; Set a time to determine whether it is stuck, and when it is stuck, it can directly output a failed signal, which improves the smoothness of the central control armrest closing detection; The corresponding distance value is obtained by using a plurality of distance detection sensors, and then the corresponding handrail category is comprehensively identified, thereby improving the application scope of the detection device. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of a method for detecting opening and closing of a central control armrest in an embodiment of the present application.
[0029] Figure 2 It is a schematic diagram of the structure of the detection device in the embodiment of the present application.
[0030] Figure 3 It is a flowchart of a method for obtaining a closing detection result based on matching the closing force and the closing detection range in an embodiment of the present application.
[0031] Figure 4 It is a flowchart of a method for outputting a closing failure result when the first detection distance has not changed at the end time of the judgment in an embodiment of the present application.
[0032] Figure 5 This is a flowchart of a method for directly outputting an obstacle signal and stopping detection when there is no change in the third detection distance or the fourth detection distance in an embodiment of the present application.
[0033] Figure 6 It is a flow chart of a method for determining an open detection range and a closed detection range in an embodiment of the present application.
[0034] Figure 7 It is a flowchart of a method for determining the armrest category when the corresponding armrest category cannot be found through the category database in an embodiment of the present application.
[0035] Figure 8 It is a flow chart of a method for controlling the push rod in an embodiment of the present application to rotate according to the tiling stroke and continue to obtain the relative positioning detection distance.
[0036] Fig. 9 It is a system module diagram of a central control armrest opening and closing detection method in an embodiment of the present application.
[0037] Explanation of the reference numerals: 1. platform; 11. first sensor; 12. second sensor; 13. push frame; 14. push rod; 141. thrust sensor; 15. third sensor. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 9 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] The present application embodiment discloses a method for detecting the opening and closing of a central control armrest. Figure 1 , a central control armrest opening and closing detection method includes: Step 100: When a preset start signal is received, an opening signal of the detection device is triggered and the armrest is controlled to open.
[0040] like Figure 2 As shown, the detection device includes a platform 1 for simulating the central control of a car. A button for simulating opening the armrest is installed on the platform 1. Figure 2 It is not shown in the figure. The platform 1 is provided with a first sensor 11. Specifically, the first sensor 11 is a distance sensor and is located above the platform 1. The first sensor 11 detects the closed state of the armrest by measuring the position of the armrest when it is closed. The platform 1 is provided with a second sensor 12. The second sensor 12 is a distance sensor and is located on one side of the central control armrest after installation. The second sensor 12 detects the open state of the armrest by measuring the position of the central control armrest when it is opened. A push frame 13 is rotatably connected to the platform 1, and a push rod 14 is fixedly connected to the push frame 13 for pushing the armrest closed. The push rod 14 is provided with a thrust sensor 141 for detecting the closing force. The platform 1 is provided with a plurality of third sensors 15. The third sensor 15 is a distance sensor, which detects the type of armrest by the different distances detected at the corresponding positions of different types of armrests.
[0041] The start signal is a signal for starting the detection device for detection. It can be obtained through the user's own input. In the embodiment of the present application, it is assumed that when the user presses the start signal, the corresponding central control armrest has been installed on the platform 1. The open signal is a signal for opening the central control armrest. The method of obtaining here can be a button pressing method. The trigger here can be either a manual operation or an automatic operation of the system. When the start signal is received, it means that detection is required at this time, so the detection device starts to detect, and the central control armrest is opened first.
[0042] Step 101 : obtaining a first detection distance on the first sensor 11 and a second detection distance on the second sensor 12 .
[0043] The first detection distance is the distance detected by the first sensor 11 , and is obtained by the first sensor 11 . The second detection distance is the distance detected by the second sensor 12 , and is obtained by the second sensor 12 .
[0044] Step 102: Obtaining a start time when the first detection distance changes.
[0045] The start time is the time when the central control armrest is just opened. The acquisition method can be to use a timer to time the time. When the first detection distance changes, it means that the central control armrest starts to rotate from the horizontal direction.
[0046] Step 103: Obtaining an end time when the second detection distance changes.
[0047] The end time is the time when the central control armrest has been completely opened. The acquisition method can be obtained by timing with a timer. The purpose of the acquisition is to calculate the difference between the two to determine the time required for rotation. When the second detection distance changes, it means that the central control armrest has been rotated to the specified position at this time.
[0048] Step 104: Determine the opening time based on the start time and the end time.
[0049] The opening time is the length of time from the start of rotation to the end of rotation. It is determined by subtracting the start time from the end time.
[0050] Step 105: Matching is performed based on the opening time and the preset opening detection range to obtain an opening detection result.
[0051] The opening detection range is the range of opening time corresponding to the opening stage. One method can be set directly by humans, and the other method can also set different times according to different handrail categories. The method of setting different times according to different handrail categories is introduced in the subsequent steps and will not be repeated here. The opening detection result is the result of the opening process detection. Here, if the number of opening detection ranges is 1, then the opening detection results are two, namely, falling into and not falling into the two situations, corresponding to qualified and unqualified results. If the number of opening detection ranges is multiple, the opening detection results are also multiple, that is, falling into a certain detection range corresponds to one of the results, and not falling into any of them corresponds to an unqualified result.
[0052] Step 106: Control the push frame 13 to rotate according to a preset closing speed and obtain the closing force.
[0053] The closing speed is the rotation speed of closing. It is set manually according to the speed at which a normal person closes the central control armrest. The closing force is the force fed back to the push frame 13 when the central control armrest is closed according to the closing speed, which can be received by the thrust sensor 141. The purpose of obtaining is to determine whether the resistance is large and causes difficulty in closing.
[0054] Step 107: Matching is performed based on the closing force and the preset closing detection range to obtain a closing detection result.
[0055] The closing detection range is the range of closing thrust corresponding to the closing stage. One method can be set directly by humans, and the other method can also set different times according to different armrest categories. The method of setting different times according to different armrest categories is introduced in the subsequent steps and will not be repeated here. The closing detection result is the result of the closing process detection. If the number of closing detection ranges is 1, then the closing detection results are two, namely, falling into and not falling into the two situations, corresponding to qualified and unqualified results. If the number of closing detection ranges is multiple, then the closing detection results are also multiple, that is, falling into a certain detection range corresponds to one of the results, and not falling into any of them corresponds to an unqualified result.
[0056] Step 108: Output the opening detection result and the closing detection result.
[0057] Reference Figure 3 The method for obtaining a closing detection result based on matching the closing force and the preset closing detection range includes: Step 200: directly outputting an opening failure result when the opening detection result is a preset opening failure result.
[0058] The unqualified opening result is the result of the unqualified opening process. If the opening fails here, it means that the product has failed, and there is no need to continue to detect the closing process. The unqualified opening result can be directly output.
[0059] Step 201: When the opening detection result is a preset opening qualified result, continue to obtain the first detection distance and the second detection distance.
[0060] The qualified opening result is the result of a qualified opening process. If the number of opening detection ranges is large, the qualified opening result also includes results that exceed the qualified level, such as excellent and good opening processes.
[0061] Step 202: Obtaining a determination start time when the second detection distance changes.
[0062] The judgment start time is the time when the push rod 14 has started to rotate. When the second detection distance changes, it means that the push rod 14 has started to rotate. In order to ensure the judgment time instead of judging endlessly, the judgment time needs to be set, and this time also needs to be counted from a certain time, so the time is counted from the judgment start time.
[0063] Step 203: Determine the judgment end time based on the judgment start time and the preset judgment duration.
[0064] The judgment duration is the duration for ensuring judgment rather than endless judgment. It is set manually. The judgment end time is the end time after the timing starts from the judgment start time, that is, the judgment end time. The determination method is to add the judgment start time to the judgment duration.
[0065] Step 204: If the first detection distance has not changed at the end of the determination, a preset closing failure result is output.
[0066] The closing failure result is the result of the central control armrest closing detection process failing. When the first detection distance does not change at the end of the judgment, it means that the central control armrest has not reached the closing position, that is, it is not closed, so it means that it cannot be closed, and there is a problem in the closing process, so the closing failure result is output.
[0067] Step 205: If the first detection distance changes before the determination end time, a match is performed based on the closing force and the closing detection range to obtain a closing detection result.
[0068] If the first detection distance changes before the judgment end time, it means that the push rod 14 has successfully completed the closing task, so the closing detection result can be obtained by the closing pressure detection in the intermediate process.
[0069] Reference Figure 4 , when the first detection distance has not changed at the end of the judgment, the method of outputting a closing failure result includes: Step 300 : Before triggering the opening signal, the push rod 14 is controlled to rotate according to a preset pushing stroke and obtain the third detection distance on the first sensor 11 and the fourth detection distance on the second sensor 12 .
[0070] The pushing stroke is the stroke set manually to push the central control armrest to close and open, which basically covers the reachable range of the central control armrest. The third detection distance is the distance sensed by the first sensor 11. The fourth detection distance is the distance sensed by the second sensor 12. The purpose of acquisition is to measure whether the push rod 14 has passed the corresponding position detected by the two sensors.
[0071] Step 301: When both the third detection distance and the fourth detection distance change, outputting a closing failure result at the end of the determination.
[0072] When both the third detection distance and the fourth detection distance change, it means that the push rod 14 has passed the positions corresponding to the two sensor detections, and there is no obstacle in the area between the positions of the two sensors or the obstacle has been pushed away, so there is no external factor affecting the output of the closing failure result of the central control armrest.
[0073] Step 302: When there is no change in the third detection distance or the fourth detection distance, directly output an obstacle signal and stop detecting.
[0074] The obstacle signal is a signal indicating that an obstacle exists on the detection device. The output may be in the form of text output.
[0075] When there is no change in the third detection distance or the fourth detection distance, it means that even if the central control armrest is not placed, detection cannot be performed. The problem at least occurs in the detection device itself, so the obstacle signal is directly output and detection is stopped.
[0076] Reference Figure 5 , when there is no change in the third detection distance or the fourth detection distance, the method of directly outputting an obstacle signal and stopping detection includes: Step 400: Acquire the current time when the push rod 14 starts to rotate, and continuously acquire the real-time pressure during the rotation process.
[0077] The current time is the time when the push rod 14 starts to rotate. The acquisition method can be obtained by timing the timer. The real-time pressure is the pressure at each moment during the rotation of the push rod 14. The acquisition method can be obtained by the thrust sensor 141 on the push rod 14.
[0078] Step 401: When the real-time pressure is 0, continue pushing until the pushing stroke is completed.
[0079] When the real-time pressure is 0, it means that the push rod 14 has not hit anything, and the push rod 14 can continue to be pushed until the push stroke is completed or the real-time pressure is greater than 0.
[0080] Step 402: Obtain the rotation angle when the real-time pressure is greater than 0, and define the rotation angle when the real-time pressure is just greater than 0 as the starting rotation angle.
[0081] The rotation angle is the angle from the beginning of the rotation of the push rod 14 to the present. Here, the current angle can be measured by an angle measuring instrument, and then the initial angle is subtracted to obtain the angle.
[0082] Step 403: Continue pushing when the rotation angle continues to change.
[0083] If the rotation angle continues to change, it means that you can continue to push and even push the obstacle out of the detection range, so continue to push.
[0084] Step 404: When the rotation angle no longer changes, define the current rotation angle as the current obstacle angle.
[0085] When the rotation angle no longer changes, it means that the obstacle has been hit, but a single move cannot push the obstacle. In order to determine whether the obstacle can be moved by repeated collisions.
[0086] Step 405: Return to the starting point of the pushing stroke and rotate again and continue to obtain the starting rotation angle and the current obstacle angle.
[0087] Step 406: When the initial rotation angle and / or the current obstacle angle changes, repeatedly return to the starting point of the pushing stroke and rotate again.
[0088] When the starting rotation angle and / or the current obstacle angle changes, it means that the obstacle has been moved, so it may be possible to rely on multiple collisions to move the obstacle out of the detection range.
[0089] Step 407: When the current obstacle angle does not change and the initial rotation angle does not change, an obstacle signal is output and detection is stopped.
[0090] The current obstacle angle does not change and the starting rotation angle does not change, which means that the obstacle can no longer be pushed, and the obstacle affects the detection device's detection of the central control armrest, so the obstacle signal is directly output.
[0091] Step 408: When the current obstacle angle does not exist and the initial rotation angle does not exist, but the third detection distance or the fourth detection distance still does not change, a preset sensor abnormality signal is output.
[0092] The current obstacle angle does not exist and the starting rotation angle does not exist, which means that there is no obstacle at this time. If the third detection distance or the fourth detection distance still does not change, there is only one possibility that the sensor fails and cannot change.
[0093] Step 409: When the current obstacle angle does not exist and the initial rotation angle does not exist, but the third detection distance and the fourth detection distance both have changed, outputting a closing failure result at the end of the determination.
[0094] If the current obstacle angle does not exist and the starting rotation angle does not exist, it means that the obstacle has been cleared. At this time, the third detection distance and the fourth detection distance have both changed, indicating that they have returned to normal, so normal detection can be performed. If no change is detected at this time, a closed unqualified result can be output.
[0095] Reference Figure 6 , and also includes a method for determining an open detection range and a closed detection range, the method comprising: Step 500: Obtain the third sensor number and the positioning detection distance of the third sensor 15 when receiving the start signal.
[0096] The third sensor number is the number of the third sensor 15. Here, the third sensor 15 is a distance sensor. Since there are several third sensors 15, all the third sensors 15 are numbered to identify which sensor it is. The positioning detection distance is the distance to the central control armrest measured after the central control armrest is placed flat on the detection device. Since the types of central control armrests are different, their sizes are different. At this time, the distances from all sensors to the central control armrest will also be different. Therefore, the type of the central control armrest can be detected by the third sensor 15.
[0097] Step 501: Filter the positioning detection distance with the smallest value, and define the positioning detection distance as the standard detection distance.
[0098] Step 502: Convert the positioning detection distance based on the standard detection distance to obtain a relative positioning detection distance.
[0099] The relative positioning detection distance is the distance relative to the standard detection distance. The conversion method is to subtract the standard detection distance from the positioning detection distance.
[0100] Step 503: searching for a corresponding handrail category from a preset category database based on the relative positioning detection distance and the third sensor number.
[0101] The armrest category is the category of the central control armrest. The database stores the mapping relationship between the armrest category, the relative positioning detection distance and the third sensor number. The staff in this field places all the central control armrests of the armrest category in the corresponding positions in sequence, and then measures each position corresponding to the third sensor number with the sensor corresponding to the third sensor number. When the system receives the corresponding relative positioning detection distance and the third sensor number, it automatically finds the corresponding armrest category from the database and outputs it.
[0102] Step 504: Based on the armrest category, the corresponding opening detection range and closing detection range are searched from a preset requirement database and outputted.
[0103] The database is required to be a database established for the convenience of finding corresponding detection requirements when testing handrails corresponding to different handrail categories. The database stores the mapping relationship between handrail categories, open detection ranges, and closed detection ranges, which are set by staff in this field based on their own experience and living habits. When the system receives the corresponding handrail category, it automatically finds the corresponding open detection range and closed detection range from the database for output.
[0104] Reference Figure 7 , and also includes a method for determining the handrail category when the corresponding handrail category cannot be found through the category database, the method comprising: Step 600: When the corresponding handrail category cannot be found through the category database, the push rod 14 is controlled to rotate according to the preset tiling stroke and continue to obtain the relative positioning detection distance.
[0105] The flattening stroke is the stroke of the push rod 14 set manually to straighten the armrest. One of the reasons why the corresponding armrest category cannot be found through the category database may be that the central control armrest is slightly tilted, resulting in incorrect data, so it needs to be straightened.
[0106] Step 601: When the corresponding handrail category can be found from the category database based on the relative positioning detection distance and the third sensor number, the handrail category is normally output.
[0107] Step 602: If the corresponding handrail category still cannot be found from the category database based on the relative positioning detection distance and the third sensor number, but the relative positioning detection distance is changing, continue to rotate the control rod according to the tiling stroke until the relative positioning detection distance no longer changes.
[0108] If the corresponding armrest category cannot be found in the category database based on the relative positioning detection distance and the third sensor number, it means that the armrest is tilted at this time, but has not been straightened yet. Therefore, when the relative positioning detection distance changes, it means that the central control armrest can be pushed, and there may be a large resistance, so just push it repeatedly.
[0109] Step 603: When the relative positioning detection distance no longer changes, reacquire the positioning detection distance and determine the handrail category based on the relative positioning detection distance.
[0110] When the relative positioning detection distance no longer changes, it means that the push rod 14 has been pushed to the limit, so it has either been flattened or can no longer be pushed, and the result can be obtained based on whether it has been flattened. An angle sensor can also be set here to detect the angle, and the result of pushing is more intuitive.
[0111] Step 604: Output a preset abnormal signal when the handrail category still does not exist.
[0112] The abnormal signal is a signal indicating that the detection device or the detected central control armrest is abnormal. If it still does not exist, it means that one of the central control armrest cannot move and is stuck, and the other is other reasons of damage, so both are abnormal reasons and can output abnormal signals.
[0113] Reference Figure 8 The method of controlling the push rod 14 to rotate according to the preset tiling stroke and continuing to obtain the relative positioning detection distance includes: Step 700: Define the handrail category stored in the category database as an optional handrail category.
[0114] Step 701: Based on the optional handrail category, the standard positioning detection distance and standard tiling stroke corresponding to the third sensor number are searched from the category database.
[0115] The standard positioning detection distance is the theoretical standard positioning detection distance when the outer surface of the armrest corresponding to the optional armrest category is covered with a layer of standard leather. The standard flattening stroke is the theoretical flattening stroke for pushing the central control armrest flat when the outer surface of the armrest corresponding to the optional armrest category is covered with a layer of standard leather. The database stores the mapping relationship between the optional armrest category, the standard positioning detection distance and the standard flattening stroke. The staff in this field obtains the standard positioning detection distance by detecting each position corresponding to the third sensor number with the sensor corresponding to the third sensor number after wrapping the central control armrest corresponding to the optional armrest category with the standard leather, and then uses the push rod 14 to push and observe whether the corresponding central control armrest is placed horizontally, and then records the corresponding stroke as the standard flattening stroke. When the system receives the corresponding optional armrest category, it automatically finds the standard positioning detection distance and standard flattening stroke corresponding to the corresponding third sensor number from the database for output.
[0116] Step 702: Obtain the current rotation angle when the control push rod 14 rotates.
[0117] The current rotation angle is the angle of the push rod 14 when it is rotating.
[0118] Step 703: Calculate the first virtual thickness based on the current rotation angle, the standard tiling stroke and the preset push rod rotation radius.
[0119] The push rod rotation radius is the rotation radius of the push rod 14, and this value is obtained by manual measurement. The first virtual thickness is the thickness of the leather on the central control armrest relative to the standard thickness when the push rod 14 is pushed to the current rotation angle and the central control armrest is flattened. The calculation method is to multiply the sine value of the current rotation angle by the push rod rotation radius to obtain the current actual height, and then multiply the sine value of the rotation angle corresponding to the standard flattening stroke by the push rod rotation radius to obtain the standard height, and subtract the two to obtain the first virtual thickness.
[0120] Step 704: When the positioning detection distance corresponding to the same third sensor number is smaller than the standard positioning detection distance, the current positioning detection distance and the standard positioning detection distance are calculated to obtain a second virtual thickness.
[0121] The second virtual thickness is also the thickness of the leather on the central control armrest relative to the standard thickness when the push rod 14 is pushed flat at the current rotation angle. The difference is that the first virtual thickness is measured by the rotation angle of the push rod 14, representing the upper surface, while the second virtual thickness is detected by the third sensor 15, representing the lower surface. The calculation method is to subtract the positioning detection distance from the standard positioning detection distance.
[0122] Step 705: Stop rotating when the first virtual thickness and the second virtual thickness are consistent, and obtain the relative positioning detection distance.
[0123] When the first virtual thickness and the second virtual thickness are consistent, it means that the two sides are consistent, which means that it is now placed horizontally and can be measured directly.
[0124] If they are not consistent, you can continue to rotate until the two are consistent.
[0125] Based on the same inventive concept, an embodiment of the present invention provides a central control armrest opening and closing detection system.
[0126] Reference Fig. 9 , a central control armrest opening and closing detection system, comprising: An acquisition module is used to acquire a start signal, a first detection distance, a second detection distance, a start time, an end time, a closing force, a judgment start time, a current time, a real-time pressure, a rotation angle, and a positioning detection distance; A memory, used to store a program of a control method of a central control armrest opening and closing detection method; The program in the processor and the memory can be loaded and executed by the processor to realize a control method for detecting the opening and closing of the central control armrest. Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0127] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor and a method for detecting the opening and closing of a central control armrest.
[0128] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0129] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by a method for detecting the opening and closing of a central control armrest.
[0130] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A method for detecting the opening and closing of a central control armrest, characterized in that: include: When receiving a preset start signal, an opening signal of the detection device is triggered and the armrest is controlled to open, the detection device comprising a platform (1) simulating a central control of a car, the platform (1) being provided with a button simulating opening of the armrest, the platform (1) being provided with a first sensor (11) for detecting a closed state of the armrest, the platform (1) being provided with a second sensor (12) for detecting an open state of the armrest, the platform (1) being rotatably connected with a push frame (13), the push frame (13) being provided with a push rod (14) for pushing the armrest to close; Acquiring a first detection distance on the first sensor (11) and a second detection distance on the second sensor (12); Acquiring a start time when the first detection distance changes; Acquire the end time when the second detection distance changes; Determine the opening time based on the start time and end time; Matching is performed based on the opening time and a preset opening detection range to obtain an opening detection result; The push frame (13) is controlled to rotate at a preset closing speed and obtain a closing force, and a thrust sensor (141) for detecting the closing force is provided on the push rod (14); Matching is performed based on the closing force and the preset closing detection range to obtain a closing detection result; The open detection results and the closed detection results are output.
2. A method for detecting opening and closing of a central control armrest according to claim 1, characterized in that: The method for obtaining a closing detection result based on matching the closing force and the preset closing detection range includes: When the opening detection result is a preset opening unqualified result, directly outputting an opening unqualified result; When the opening detection result is a preset opening qualified result, continue to obtain the first detection distance and the second detection distance; Acquiring a determination start time when the second detection distance changes; Determine the judgment end time based on the judgment start time and the preset judgment duration; If the first detection distance has not changed at the end of the determination, a preset closing failure result is output; If the first detection distance changes before the determination end time, a closing detection result is obtained by matching the closing force with the preset closing detection range.
3. A central control armrest opening and closing detection method according to claim 2, characterized in that: If the first detection distance has not changed at the end of the determination, the method of outputting a preset closing failure result includes: Before triggering the opening signal, controlling the push rod (14) to rotate according to a preset pushing stroke and obtaining a third detection distance on the first sensor (11) and a fourth detection distance on the second sensor (12); When both the third detection distance and the fourth detection distance change, a shutdown failure result is output at the end of the determination; When there is no change in the third detection distance or the fourth detection distance, an obstacle signal is directly output and detection is stopped.
4. A central control armrest opening and closing detection method according to claim 3, characterized in that: When there is no change in the third detection distance or the fourth detection distance, the method of directly outputting an obstacle signal and stopping detection includes: Acquiring the current time when the push rod (14) starts to rotate, and continuously acquiring the real-time pressure during the rotation process; When the real-time pressure is 0, continue pushing until the pushing stroke is completed; When the real-time pressure is greater than 0, the rotation angle is obtained, and the rotation angle when the real-time pressure is just greater than 0 is defined as the starting rotation angle; Continue pushing while the rotation angle continues to change; When the rotation angle no longer changes, the rotation angle at this time is defined as the current obstacle angle; Return to the starting point of the pushing stroke and rotate again and continue to obtain the starting rotation angle and the current obstacle angle; When the starting rotation angle and / or the current obstacle angle changes, the vehicle repeatedly returns to the starting point of the pushing stroke and rotates again; When the current obstacle angle does not change and the starting rotation angle does not change, an obstacle signal is output and detection stops; When the current obstacle angle does not exist and the starting rotation angle does not exist, but the third detection distance or the fourth detection distance still does not change, a preset sensor abnormality signal is output; When the current obstacle angle does not exist and the starting rotation angle does not exist, but the third detection distance and the fourth detection distance both change, a closing failure result is output at the end of the determination.
5. A central control armrest opening and closing detection method according to claim 1, characterized in that: Also included is a method for determining an open detection range and a closed detection range, the method comprising: When receiving a start signal, obtaining a third sensor number and a positioning detection distance on the third sensor (15), wherein a plurality of third sensors (15) for detecting handrail types are provided on the platform (1); Filter the positioning detection distance with the smallest value and define the positioning detection distance as the standard detection distance; The positioning detection distance is converted based on the standard detection distance to obtain a relative positioning detection distance; Finding a corresponding handrail category from a preset category database based on the relative positioning detection distance and the third sensor number; Based on the handrail category, the corresponding opening detection range and closing detection range are found from the preset requirement database and output.
6. A method for detecting the opening and closing of a central control armrest according to claim 5, characterized in that: Also included is a method for determining the handrail category when the corresponding handrail category cannot be found through the category database, the method comprising: When the corresponding handrail category cannot be found through the category database, the push rod (14) is controlled to rotate according to the preset tiling stroke and continue to obtain the relative positioning detection distance; When the corresponding handrail category can be found from the category database based on the relative positioning detection distance and the third sensor number, the handrail category is normally output; If the corresponding handrail category still cannot be found from the category database based on the relative positioning detection distance and the third sensor number, but the relative positioning detection distance is changing, the push rod (14) is continuously controlled to rotate according to the paving stroke until the relative positioning detection distance no longer changes; When the relative positioning detection distance no longer changes, the positioning detection distance is reacquired and the handrail category is determined based on the relative positioning detection distance; When the handrail category still does not exist, the preset abnormal signal is output.
7. A method for detecting the opening and closing of a central control armrest according to claim 6, characterized in that: The method of controlling the push rod (14) to rotate according to a preset tiling stroke and continuing to obtain the relative positioning detection distance includes: defining a handrail category stored in a category database as an optional handrail category; Based on the optional handrail category, find the standard positioning detection distance and standard tiling stroke corresponding to the third sensor number from the category database; When the control push rod (14) is rotated, a current rotation angle is obtained; Calculating a first virtual thickness based on a current rotation angle, a standard tiling stroke, and a preset push rod rotation radius; When the positioning detection distance corresponding to the same third sensor number is smaller than the standard positioning detection distance, the positioning detection distance at this time and the standard positioning detection distance are calculated to obtain a second virtual thickness; When the first virtual thickness and the second virtual thickness are consistent, the rotation is stopped and the relative positioning detection distance is obtained.
8. A central control armrest opening and closing detection system, characterized in that: include: An acquisition module is used to acquire a start signal, a first detection distance, a second detection distance, a start time, an end time, a closing force, a judgment start time, a current time, a real-time pressure, a rotation angle, and a positioning detection distance; A memory, used to store a program of a control method of a central control armrest opening and closing detection method according to any one of claims 1 to 7; The program in the processor memory can be loaded and executed by the processor to implement a control method for detecting the opening and closing of a central control armrest as described in any one of claims 1 to 7.
9. Intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes a method for detecting the opening and closing of a central control armrest as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and executes a method for detecting the opening and closing of a central control armrest as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Automobile armrest detection system
CN106770313A
Automobile door interior trim detection method and system and electronic device
CN111780961A
Test device and test method for vehicle rear armrest
CN115773872A
Automobile armrest box cover opening timing device
CN217586313U
Folding armrest for being fixed on internal wall of door of car, has detecting units provoking liberation of rotation of shaft, in case of detection of opening at part of door such that shaft places support element in retracted position
FR2933642A1
