Automobile sunshade curtain pressure testing method and system based on multi-platform cooperation and application

By employing a multi-platform collaborative approach, utilizing intelligent sensing and control terminals, LabVIEW platform, and Python analysis platform, efficient and accurate stress testing and fault detection of sunshades were achieved, solving the problems of inefficiency and unreliability of traditional testing methods and generating detailed visualization reports.

CN121323950APending Publication Date: 2026-01-13ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511611329.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-05
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

Traditional sunshade testing methods are inefficient, subjective, lack precise current and stall detection methods, cannot assess the reliability of sunshades under long-term repetitive operation, have incomplete data records, and lack systematic analysis tools.

Method used

By employing a multi-platform collaborative approach, utilizing an intelligent sensing and control terminal, a LabVIEW platform, and a Python analysis platform, electrical signals are acquired and analyzed via serial port and TCP protocol to generate visual test reports, thus achieving a fully automated stress test closed loop.

Benefits of technology

It enables low-cost, high-precision pressure testing of sunshade curtains, improving testing efficiency and fault location accuracy, and ensuring testing stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121323950A_ABST
    Figure CN121323950A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of automobile part pressure testing, and provides an automobile sunshade curtain pressure testing method and system based on multi-platform collaboration and application, and the method comprises the steps that an intelligent sensing control terminal responds to an opening instruction sent by a Python analysis platform, controls a sunshade curtain to be opened, collects a first electric signal in real time, and transmits the first electric signal to a LabVIEW platform through a serial port; the data is forwarded back to the Python analysis platform through a TCP protocol, and whether the sunshade curtain reaches a completely-opened state or not is judged; responding to the closing instruction, controlling the sunshade curtain to be closed, collecting a second electric signal in real time, transmitting the second electric signal to the LabVIEW platform, forwarding the second electric signal back to the Python analysis platform, judging whether the sunshade curtain reaches a complete closing state or not, recording complete action cycle time, comparing the complete action cycle time with a preset standard threshold value, and completing abnormal working condition detection; and repeatedly executing the steps, and generating and outputting a visual test report after the Python analysis platform completes all test cycles. According to the invention, low-cost, high-precision and intelligent sunshade curtain pressure testing can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automobile part pressure testing, and in particular to an automobile sunshade curtain pressure testing method and system based on multi-platform collaboration and applications thereof. BACKGROUND

[0002] With the development of automobile intelligence, electric sunshade curtains have become a standard configuration for medium and high-end vehicles. However, traditional sunshade curtain testing methods have obvious shortcomings. First, they mainly rely on manual operation of hardware and software switches or voice control of sunshade curtain opening and closing, and visual inspection, resulting in low testing efficiency and strong subjectivity of the results. Second, these methods lack precise electrical signal (such as working current, locked-rotor current) acquisition means, making it difficult to accurately locate electrical faults. Third, traditional methods cannot perform long-term continuous pressure testing (such as simulating tens of thousands of durability cycles under different temperature and humidity conditions), so it is difficult to find potential defects in the product. In addition, the data recorded during the testing process is often incomplete, and there is a lack of systematic tools for recording and analyzing data.

[0003] To address the above problems, the prior art has made some improvements. For example, a patent with publication number CN114018555B discloses a sunshade curtain push-pull force testing device for an automobile sunroof, which includes front and rear push-pull cylinders, a vertical lifting cylinder, a push-pull force testing mechanism, a first connecting piece fixedly connecting the front and rear push-pull cylinders and the vertical lifting cylinder, and a second connecting piece fixedly connecting the vertical lifting cylinder and the push-pull force testing mechanism. The first connecting piece and the second connecting piece are respectively arranged on both sides of the vertical lifting cylinder. The sunshade curtain push-pull force testing device includes a lifting buffer mechanism and a push-pull buffer mechanism, which not only buffers the lifting movement of the push-pull force testing mechanism, but also buffers the front and rear push-pull movement of the push-pull force testing mechanism, thereby ensuring the smoothness of the measurement curve, achieving high repeatability and reproducibility of the test value, and achieving accurate test results. However, this testing method uses mechanical structures in combination with simple sensors to perform single push-pull force testing, and the testing logic is relatively fixed, and the hardware cost is high.

[0004] For example, the patent application file with publication number CN119023115A discloses a test device, a test method, equipment and a medium. The test device comprises a base, a total guide, a first guide and a second guide, the first guide and the second guide are arranged on the base in a first direction, and a vehicle sunshade curtain is arranged between the first guide and the second guide; a guide is arranged on the second guide, and the second guide moves in the first direction; a sensor is arranged on the base, and is used to acquire a pressure value applied each time and a width distance of the first guide and the second guide in the first direction in the case that different pressures are applied to the second guide to move the second guide in the first direction; and a controller is electrically connected with the sensor, is used to acquire the pressure value applied by the sensor and the width distance, and determines a mapping relationship between the pressure value and the width distance according to the pressure value and the width distance. The method embodiment can improve the efficiency of determining the tension of the vehicle sunshade curtain. However, the method cannot evaluate the reliability of the sunshade curtain under long-term repeated actions, and has no intelligent diagnosis, only records data, and cannot judge the state of the sunshade curtain. SUMMARY

[0005] In view of the above-mentioned shortcomings of the prior art, the present application provides a vehicle sunshade curtain pressure test method, system and application based on multi-platform cooperation, which can realize low-cost, high-precision and intelligent sunshade curtain pressure test, and can improve the reliability of automotive electronic components.

[0006] To achieve the above object and related objects, the present application adopts the following technical solutions:

[0007] The present application provides a vehicle sunshade curtain pressure test method based on multi-platform cooperation in the first aspect, comprising the following steps:

[0008] In step S100, the intelligent perception control terminal controls the vehicle sunshade curtain to open in response to the opening instruction issued by the Python analysis platform, and real-time collects the first electric signal of the sunshade curtain motor in the opening process, and transmits the first electric signal to the LabVIEW platform through a serial port;

[0009] In step S200, the LabVIEW platform forwards the first electric signal back to the Python analysis platform through a TCP protocol, judges whether the sunshade curtain reaches a completely opened state, and completes test starting and initial state confirmation;

[0010] In step S300, the intelligent perception control terminal controls the sunshade curtain to close in response to the closing instruction issued by the Python analysis platform after the Python analysis platform judges that the sunshade curtain reaches a completely opened state, and real-time collects the second electric signal of the sunshade curtain motor in the closing process, and transmits the second electric signal to the LabVIEW platform through a serial port;

[0011] Step S400, the LabVIEW platform forwards the second electric signal back to the Python analysis platform through the TCP protocol, judges whether the sunshade curtain reaches the completely closed state, records a complete action cycle time from the opening instruction to the confirmation of the completely closed state, compares it with a preset standard threshold, and completes the abnormal working condition detection;

[0012] Step S500, steps S100 to S400 are repeatedly executed until a preset test cycle number is reached, and the Python analysis platform generates and outputs a visual test report after completing all test cycles.

[0013] Further, the first electric signal and / or the second signal includes at least one of current data, voltage data and optocoupler isolation data.

[0014] Further, the intelligent sensing control terminal is a signal acquisition board card with signal acquisition and motor drive control functions.

[0015] Further, the Python analysis platform determines the real-time state of the sunshade curtain based on the first electric signal or the second electric signal, including opening, completely opening, closing, completely closing and fault state.

[0016] Further, in step S400, when the complete action cycle time exceeds the preset standard threshold, it is determined that the abnormal working condition, the Python analysis platform sends a stop instruction to the intelligent sensing control terminal, terminates the pressure test and generates a test report containing fault information.

[0017] Further, during the execution of steps S100 to S400, when the Python analysis platform determines that the sunshade curtain is in a fault state based on the first electric signal or the second electric signal, a stop instruction is sent to the intelligent sensing control terminal, the pressure test is terminated, and a test report containing fault information is generated.

[0018] The second aspect of the present application provides a car sunshade curtain pressure test system based on multi-platform cooperation, comprising:

[0019] The first signal acquisition and control module is used for controlling the car sunshade curtain to open and collecting the first electric signal of the sunshade curtain motor in the opening process in real time when the intelligent sensing control terminal responds to the opening instruction issued by the Python analysis platform, and transmitting the first electric signal to the LabVIEW platform through the serial port.

[0020] The test starting and state judging module is used for controlling the LabVIEW platform to forward the first electric signal back to the Python analysis platform through the TCP protocol, judging whether the sunshade curtain reaches the completely opened state, and completing the test starting and initial state confirmation.

[0021] The second signal acquisition and control module is configured to, after the Python analysis platform determines that the sunshade curtain reaches a fully opened state, intelligently control the terminal to respond to a closing instruction sent by the Python analysis platform, control the sunshade curtain to close, and acquire a second electric signal of the sunshade curtain motor in a closing process in real time, and transmit the second electric signal to the LabVIEW platform through a serial port.

[0022] The cycle analysis and abnormality detection module is configured to control the LabVIEW platform to forward the second electric signal to the Python analysis platform through a TCP protocol, determine whether the sunshade curtain reaches a fully closed state, record a complete action cycle time from sending of an opening instruction to confirmation of the fully closed state, compare the complete action cycle time with a preset standard threshold, and complete abnormality detection.

[0023] The cycle test module is configured to repeatedly call the first signal acquisition and control module, the test starting and state determining module, the second signal acquisition and control module, and the cycle analysis and abnormality detection module until a preset test cycle number is reached, and the Python analysis platform generates and outputs a visual test report after completing all test cycles.

[0024] Further, the system further comprises a fault processing module configured to, when the sunshade curtain is in an abnormal working condition or a fault state, control the Python analysis platform to send a stopping instruction to the intelligent control terminal, terminate the pressure test, and generate a test report containing fault information.

[0025] The third aspect of the application provides a computer readable storage medium having computer readable instructions stored thereon, the computer readable instructions being executed by a processor of a computer to cause the computer to perform the above-mentioned automobile sunshade curtain pressure test method based on multi-platform cooperation.

[0026] The fourth aspect of the application provides a computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the steps of the above-mentioned automobile sunshade curtain pressure test method based on multi-platform cooperation.

[0027] The beneficial technical effects of the application are as follows:

[0028] This invention uses a self-made signal acquisition board as an intelligent sensing and control terminal. It can integrate only the necessary functions, such as acquiring voltage and current, which is lower in cost and has higher acquisition accuracy compared to commercial data acquisition boards. It uses the LabVIEW platform as a TCP server to perform protocol conversion and reliable data transmission between the serial communication of the intelligent sensing and control terminal and the TCP network communication of the Python analysis platform. This ensures uninterrupted data flow, achieves highly reliable industrial-grade data transmission, and guarantees stable testing. The Python analysis platform is used to perform complex logical judgments and generate visual test reports, enabling intelligent stress testing.

[0029] This invention integrates an intelligent sensing and control terminal, a LabVIEW platform, and a Python analysis platform to achieve data-driven intelligent testing and fault detection. It can solve the problems of incomplete test data recording and lack of systematic analysis tools. Furthermore, this invention can realize a fully automated stress test closed loop, with high testing efficiency and accurate fault location.

[0030] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0031] The accompanying drawings, incorporated in and forming part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without inventive effort. In the drawings:

[0032] Figure 1 This is a flowchart of the automotive sunshade pressure testing method based on multi-platform collaboration proposed in this application;

[0033] Figure 2 Here is another exemplary test method flowchart for this application;

[0034] Figure 3 This is a framework diagram of the automotive sunshade pressure testing system based on multi-platform collaboration in this application.

[0035] Figure 4 A schematic diagram of the structure of a computer system suitable for an embodiment of this application is shown. Detailed Implementation

[0036] Unless otherwise defined, all technical and / or scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should be understood that certain features of the invention (described in the context of separate embodiments for clarity) may also be provided in a single embodiment. Conversely, multiple features of the invention (described in the context of a single embodiment for brevity) may also be provided separately or in any suitable combination or, where appropriate, in any other described embodiment of the invention. Certain features described in the context of various embodiments will not be considered essential features of those embodiments unless the embodiment is inoperable without those elements. The invention is further illustrated below by specific examples; however, it should be noted that the specific process conditions and results described in the embodiments of the invention are merely illustrative and should not be construed as limiting the scope of protection of the invention. All equivalent changes or modifications made in accordance with the spirit and essence of the invention should be covered within the scope of protection of the invention.

[0037] Please see Figure 1 The flowchart of the multi-platform collaborative automotive sunshade pressure testing method of this application is described in detail below:

[0038] In step S100, the intelligent sensing control terminal responds to the opening command issued by the Python analysis platform, controls the car sunshade to open, and collects the first electrical signal of the sunshade motor in real time during the opening process, and transmits it to the LabVIEW platform through the serial port.

[0039] Specifically, the first electrical signal and / or the second signal includes at least one of current data, voltage data, and optocoupler isolation data.

[0040] Specifically, the intelligent sensing control terminal of this application is a signal acquisition board with signal acquisition and motor drive control functions. More specifically, the signal acquisition board of this application is self-made and can integrate only the necessary functions, such as acquiring voltage, current, and optocoupler isolation data. It can be customized according to actual needs, replacing traditional commercial data acquisition boards, and achieving low cost while ensuring high-precision acquisition.

[0041] Specifically, in combination Figure 2 This application first sends an opening command to the signal acquisition board through the Python analysis platform. After receiving the command, the signal acquisition board executes the control action to drive the car sunshade to open. At the same time, the signal acquisition board acquires the first electrical signal of the sunshade motor in real time, such as voltage data, and feeds back the voltage data to the LabVIEW platform through the serial port.

[0042] In step S200, the LabVIEW platform forwards the first electrical signal back to the Python analysis platform via the TCP protocol to determine whether the sunshade has reached the fully open state, thus completing the test start and initial state confirmation.

[0043] Specifically, this application utilizes the LabVIEW platform as a TCP server, responsible for protocol conversion and reliable data transmission between the serial communication of the intelligent sensing control terminal and the TCP network communication of the Python analysis platform. This ensures uninterrupted data flow, achieves highly reliable industrial-grade data transmission, and guarantees stable testing. The LabVIEW platform forwards voltage data to the host computer Python analysis platform via the TCP protocol. Upon receiving the data, the platform determines whether the sunshade is fully open based on a preset algorithm. This preset algorithm includes, but is not limited to, determining the real-time status of the sunshade by analyzing the waveform characteristics of the voltage data, including open, fully open, closing, fully closed, and fault states. Alternatively, it can be used to comprehensively determine the status by analyzing the waveforms and amplitude change rates of voltage and current signals, as well as their timing logic with other signals such as optocoupler signals. For example, when the motor is energized, the current increases significantly while the voltage remains within the operating range. By analyzing the rising edge of the current or calculating the rate of change of the voltage, the start of the action can be accurately determined. When the sunshade reaches its endpoint, it may encounter a mechanical limit switch, at which point the motor load increases sharply, causing a rapid increase in current (locked current). Simultaneously, the optocoupler isolation signal also provides accurate endpoint position information. The Python analysis platform of this application can set a reasonable current threshold or detect the transition (rising edge / falling edge) of the optocoupler signal to confirm the completion of the action and that the sunshade is fully open. If the preset action time has passed, but neither a normal change in voltage is detected nor a positioning signal is received, it is highly likely that a fault such as jamming or mechanism detachment has occurred, and the Python analysis platform will determine that the sunshade is in a faulty state.

[0044] In step S300, when the Python analysis platform determines that the sunshade has reached the fully open state, the intelligent sensing control terminal responds to the closing command issued by the Python analysis platform, controls the sunshade to close, and collects the second electrical signal of the sunshade motor in real time during the closing process, and transmits it to the LabVIEW platform through the serial port.

[0045] Specifically, once it is confirmed that the sunshade is fully open, the signal acquisition board controls the sunshade to close and continues to acquire the second electrical signal during the closing process, such as voltage data, and sends the data frame to the LavVIEW platform in real time via serial port.

[0046] In step S400, the LabVIEW platform forwards the second electrical signal back to the Python analysis platform via the TCP protocol to determine whether the sunshade has reached the fully closed state, and records the complete action cycle time from the issuance of the opening command to the confirmation of the fully closed state, and compares it with the preset standard threshold to complete the abnormal working condition detection.

[0047] Specifically, the second electrical signal in this application is also transmitted back to the Python analysis platform via a serial port, LabVIEW platform, and TCP protocol. The Python analysis platform uses its built-in algorithms to determine the real-time status of the sunshade, including whether it is open, fully open, closing, fully closed, or in a fault state. These algorithms include, but are not limited to, analyzing the characteristic values ​​of the electrical signals to identify the sunshade status; for example, a sudden drop in current or voltage indicates that the motor has stopped working; a change in the optocoupler isolation signal indicates that the sunshade is fully closed.

[0048] Specifically, the Python analysis platform of this application can perform intelligent state recognition and test management, and it is equipped with a high-precision timer that records the time interval between the moment the start command is issued in step S100 and the moment the current state is confirmed to be completely closed, which is a complete action cycle time.

[0049] Specifically, in this application, when the complete action cycle time exceeds a preset standard threshold, it is determined to be an abnormal operating condition. The Python analysis platform sends a stop command to the intelligent sensing and control terminal, terminating the stress test and generating a test report containing fault information. This application does not specifically limit the value of the preset standard threshold, but sets it based on actual application scenarios such as vehicle models. More specifically, if the complete action cycle time is less than or equal to the preset standard threshold, it indicates that the sunshade operates nimbly and its performance is normal. If the complete action cycle time is greater than the preset standard threshold, it indicates that the sunshade operates slowly, exhibiting an abnormal operating condition of performance degradation. The causes include, but are not limited to, increased track resistance, motor aging, and insufficient lubrication.

[0050] Specifically, in this application, during the execution of steps S100 to S400, when the Python analysis platform determines that the sunshade is in a fault state based on the first or second electrical signal, it sends a stop command to the intelligent sensing control terminal to terminate the stress test and generate a test report containing fault information. More specifically, throughout the entire test process, the Python analysis platform continuously analyzes the first electrical signal (opening process) and the second electrical signal (closing process) forwarded from the LabVIEW platform in real time. Once the electrical signal characteristics identified by the real-time diagnostic algorithm match any preset fault state mode, the Python analysis platform immediately determines that the sunshade is in a fault state and immediately triggers a high-priority interrupt signal to forcibly interrupt the currently ongoing test process, cut off the drive signal to the sunshade motor, and stop the motor from running, thereby preventing the fault from escalating and protecting the sunshade and the test equipment itself. The preset fault state modes include, but are not limited to, jamming faults, open circuit faults, and performance faults. In this case, the generated test report includes, but is not limited to, the fault occurrence time, fault type, electrical signal data at the time of the fault, and test termination status.

[0051] Step S500: Repeat steps S100 to S400 until the preset number of test cycles is reached. After completing all test cycles, the Python analysis platform generates and outputs a visual test report.

[0052] Specifically, this application presets the number of test loops within the Python analysis platform and can also include a built-in loop counter. Each time a complete on / off cycle is completed, the loop count increases by one. After each loop, the Python analysis platform checks if the current loop count has reached the preset number of test loops. If not, the process jumps back to step S100 to begin the next test cycle; if the count has been reached, the loop terminates, and the process enters the report generation stage. More specifically, this application can repeat hundreds or thousands of loops to simulate the repeated use of the sunshade throughout the vehicle's entire lifecycle, thereby evaluating the reliability, consistency, and lifespan of its motor, mechanical structure, and materials.

[0053] Specifically, after the loop ends, the Python analysis platform will automatically generate a comprehensive test report through data processing and visualization libraries. The report includes, but is not limited to, the total number of tests, the number of passes, the number of failures, the total test duration, and detailed data for each loop, such as start time, end time, cycle time, and whether there were any anomalies.

[0054] Please see Figure 3 The diagram shows the framework of the multi-platform collaborative automotive sunshade pressure testing system 300 of this application, including:

[0055] The first signal acquisition and control module 310 is used to control the opening of the car sunshade and collect the first electrical signal of the sunshade motor in the opening process in real time when the intelligent sensing control terminal responds to the opening command issued by the Python analysis platform, and transmit it to the LabVIEW platform through the serial port.

[0056] The test start and status judgment module 320 is used to control the LabVIEW platform to forward the first electrical signal back to the Python analysis platform via TCP protocol, determine whether the sunshade curtain has reached the fully open state, and complete the test start and initial status confirmation.

[0057] The second signal acquisition and control module 330 is used to control the sunshade to close and collect the second electrical signal of the sunshade motor in real time during the closing process after the Python analysis platform determines that the sunshade has reached the fully open state. The intelligent sensing control terminal responds to the closing command issued by the Python analysis platform, and transmits it to the LabVIEW platform through the serial port.

[0058] The cycle analysis and anomaly detection module 340 is used to control the LabVIEW platform to forward the second electrical signal back to the Python analysis platform via TCP protocol, determine whether the sunshade has reached the fully closed state, record the complete action cycle time from the issuance of the opening command to the confirmation of the fully closed state, and compare it with the preset standard threshold to complete the abnormal working condition detection.

[0059] The loop test module 350 is used to repeatedly call the first signal acquisition and control module, the test start and status judgment module, the second signal acquisition and control module, and the cycle analysis and anomaly detection module until the preset number of test loops is reached. After completing all test loops, the Python analysis platform generates and outputs a visual test report.

[0060] Furthermore, the system also includes a fault handling module 360, which is used to control the Python analysis platform to send a stop command to the intelligent sensing control terminal when there are abnormal working conditions or the sunshade is in a faulty state, thereby terminating the stress test and generating a test report containing fault information.

[0061] It should be noted that the multi-platform collaborative automotive sunshade pressure testing system and the multi-platform collaborative automotive sunshade pressure testing method provided in the above embodiments belong to the same concept. The specific operation methods of each module and unit have been described in detail in the method embodiments and will not be repeated here. In practical applications, the multi-platform collaborative automotive sunshade pressure testing system provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.

[0062] Embodiments of this application also provide a computer device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the computer device to implement the multi-platform collaborative automotive sunshade pressure testing method provided in the above embodiments.

[0063] Figure 4 A schematic diagram of the structure of a computer system suitable for an embodiment of this application is shown. It should be noted that... Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0064] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage section 408 into a random access memory (RAM) 403, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in the RAM 403. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404. The following components are connected to the I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (local area network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A driver 410 is also connected to the I / O interface 405 as needed. Removable media 411, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on drive 410 as needed so that computer programs read from them can be installed into storage section 408 as needed.

[0065] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer tool programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.

[0066] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, flash memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. Computer programs contained on computer-readable media can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0067] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0068] The units described in the embodiments of this application can be implemented by tools or by hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the unit itself.

[0069] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the aforementioned multi-platform collaborative automotive sunshade pressure testing method. This computer-readable storage medium may be included in the computer device described in the above embodiments, or it may exist independently and not incorporated into the computer device.

[0070] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the multi-platform collaborative automotive sunshade pressure testing method provided in the various embodiments above.

[0071] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A method for testing the pressure of automotive sunshades based on multi-platform collaboration, characterized in that, Includes the following steps: In step S100, the intelligent sensing control terminal responds to the opening command issued by the Python analysis platform, controls the car sunshade to open and collects the first electrical signal of the sunshade motor in the opening process in real time, and transmits it to the LabVIEW platform through the serial port. In step S200, the LabVIEW platform forwards the first electrical signal back to the Python analysis platform via the TCP protocol to determine whether the sunshade has reached the fully open state, thus completing the test start and initial state confirmation. Step S300: When the Python analysis platform determines that the sunshade has reached the fully open state, the intelligent sensing control terminal responds to the closing command issued by the Python analysis platform, controls the sunshade to close and collects the second electrical signal of the sunshade motor in real time during the closing process, and transmits it to the LabVIEW platform through the serial port. In step S400, the LabVIEW platform forwards the second electrical signal back to the Python analysis platform via the TCP protocol to determine whether the sunshade has reached the fully closed state, and records the complete action cycle time from the issuance of the opening command to the confirmation of the fully closed state, and compares it with the preset standard threshold to complete the abnormal working condition detection. In step S500, steps S100 to S400 are repeated until the preset number of test cycles is reached. After completing all test cycles, the Python analysis platform generates and outputs a visual test report.

2. The test method according to claim 1, characterized in that, The first electrical signal and / or the second signal includes at least one of current data, voltage data, and optocoupler isolation data.

3. The test method according to claim 1, characterized in that, The intelligent sensing and control terminal is a signal acquisition board with signal acquisition and motor drive control functions.

4. The test method according to claim 2, characterized in that, The Python analysis platform determines the real-time status of the sunshade based on the first or second electrical signal, including whether it is open, fully open, closing, fully closed, or in a fault state.

5. The test method according to claim 1, characterized in that, In step S400, when the complete action cycle time exceeds the preset standard threshold, it is determined to be an abnormal working condition. The Python analysis platform sends a stop command to the intelligent sensing control terminal to terminate the stress test and generate a test report containing fault information.

6. The test method according to claim 4, characterized in that, During the execution of steps S100 to S400, when the Python analysis platform determines that the sunshade is in a fault state based on the first electrical signal or the second electrical signal, it sends a stop command to the intelligent sensing control terminal to terminate the stress test and generate a test report containing fault information.

7. A multi-platform collaborative automotive sunshade pressure testing system, characterized in that, include: The first signal acquisition and control module is used to control the car sunshade to open and collect the first electrical signal of the sunshade motor in real time during the opening process when the intelligent sensing control terminal responds to the opening command issued by the Python analysis platform, and transmit it to the LabVIEW platform through the serial port. The test start and status judgment module is used to control the LabVIEW platform to forward the first electrical signal back to the Python analysis platform via TCP protocol, determine whether the sunshade curtain has reached the fully open state, and complete the test start and initial status confirmation. The second signal acquisition and control module is used to control the sunshade to close and collect the second electrical signal of the sunshade motor in real time during the closing process after the Python analysis platform determines that the sunshade has reached the fully open state. The intelligent sensing control terminal responds to the closing command issued by the Python analysis platform and transmits the signal to the LabVIEW platform via serial port. The cycle analysis and anomaly detection module is used to control the LabVIEW platform to forward the second electrical signal back to the Python analysis platform via TCP protocol, determine whether the sunshade has reached the fully closed state, record a complete action cycle time from the issuance of the opening command to the confirmation of the fully closed state, and compare it with a preset standard threshold to complete the abnormal working condition detection. The loop test module is used to repeatedly call the first signal acquisition and control module, the test start and status judgment module, the second signal acquisition and control module, and the cycle analysis and anomaly detection module until the preset number of test loops is reached. After completing all test loops, the Python analysis platform generates and outputs a visual test report.

8. The testing system according to claim 7, characterized in that, The system also includes a fault handling module, which is used to control the Python analysis platform to send a stop command to the intelligent sensing control terminal when there is an abnormal working condition or the sunshade is in a faulty state, thereby terminating the stress test and generating a test report containing fault information.

9. A computer-readable storage medium, characterized in that, It stores computer-readable instructions, which, when executed by the computer's processor, cause the computer to perform the multi-platform collaborative automotive sunshade pressure testing method according to any one of claims 1 to 6.

10. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the steps of the multi-platform collaborative automotive sunshade pressure testing method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • A device for testing the pushing and pulling force of a sunshade curtain of a car sunroof

    CN114018555B

  • Testing device, testing method, equipment and medium

    CN119023115A