Test system and method for multi-configuration vehicle door lock
The testing system, consisting of a host computer, HIL test bench, controller, and EDAC, enables automated testing of multi-configuration vehicle door locks, solving the problems of low efficiency and unreliability in existing technologies and improving the accuracy and reliability of testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING CHANGAN AUTOMOBILE CO LTD
- Filing Date
- 2025-09-30
- Publication Date
- 2026-07-21
AI Technical Summary
Existing technologies for testing car door locks are inefficient and unreliable, especially when testing multiple types of door locks, where inconsistent drive timing can easily lead to damage.
The testing system consists of a host computer, a HIL test bench, a controller, and an EDAC. It achieves automated testing of door locks for multiple vehicle models and configurations through relays, uses a signal mapping table for flexible switching and unified adaptation of signal ports, and combines the real-time acquisition and feedback signals from the HIL test bench for closed-loop monitoring.
It improves the automation and efficiency of door lock testing, reduces manual intervention and resource waste, ensures the accuracy and reliability of test results, and can comprehensively verify door lock functions, especially complex types of electric release locks.
Smart Images

Figure CN120948026B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle testing technology, and in particular to a testing system and method applicable to multi-configuration vehicle door locks. Background Technology
[0002] Car door locks not only affect vehicle security but also directly impact the driver's experience. With technological advancements, car door locks have evolved from traditional mechanical locks to more intelligent and secure electronic locks. However, door lock testing is complex because the same software version needs to be tested multiple times for different car models, and each model is equipped with different types of door locks. Therefore, achieving unified control over multiple types of door locks while ensuring testing efficiency and security, and avoiding lock damage due to inconsistent drive timing, has become a crucial problem that urgently needs to be solved in car door lock testing.
[0003] In related technologies, vehicle door lock testing methods typically rely on manually switching between different vehicle models' door locks one by one in a Hardware-in-the-Loop (HIL) test bench, or verifying multiple door locks by sending a unified control signal to them using a single controller. However, this method is inefficient, and when the same controller drives multiple types of door locks simultaneously, differences in the door lock's driving timing can lead to door lock malfunctions or damage, affecting the reliability and security of the test. Summary of the Invention
[0004] One objective of this invention is to provide a testing system suitable for multi-configuration vehicle door locks, so as to solve the problems of low efficiency and difficulty in guaranteeing reliability in the existing vehicle door lock testing process; another objective is to provide a testing method suitable for multi-configuration vehicle door locks.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A testing system suitable for multi-configuration vehicle door locks, comprising:
[0007] A host computer, and a HIL chassis connected to the host computer;
[0008] The controller is connected to the HIL bench and at least one EDAC.
[0009] Each EDAC is also connected to at least two door locks to be tested via relays;
[0010] When testing any door lock, the host computer sends a test operation request to the controller through the HIL test bench. The controller generates a first control signal for the door lock based on the pre-configured vehicle model, door lock type, and the test operation request.
[0011] The controller controls the target channel in the relay corresponding to the door lock to open, and controls other channels in the relay to close, and sends the first control signal to the door lock through the target channel;
[0012] The HIL test bench is used to detect the lock status feedback signal of the door lock and return the lock status feedback signal to the host computer. The lock status feedback signal is used to determine the status of the door lock.
[0013] Based on the collaborative operation of the host computer, HIL test bench, controller, Edge Connector Assembly (EDAC), and relays in the aforementioned technical means, automated testing of door locks for multiple vehicle models and configurations can be flexibly supported on a single test platform. Relays, through selective switching of target channels, enable testing of different door lock configurations across multiple vehicle models, and can also meet the testing requirements of multiple door lock configurations for the same vehicle model. The EDAC provides unified adaptation for different types of door lock signals, improving system compatibility. The HIL test bench can acquire door lock drive waveforms and status feedback signals in real time and return them to the host computer for judgment, thereby ensuring the accuracy and traceability of test results. Therefore, this system effectively improves the automation and efficiency of door lock testing, reduces manual intervention and resource waste, and ensures the consistency and reliability of functional verification for different door locks.
[0014] Furthermore, the host computer is also used to determine the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock.
[0015] Based on the aforementioned technical methods, the host computer compares and analyzes the door lock's status feedback signal with a preset door lock drive waveform, thereby simultaneously verifying the door lock's logic state and the timing accuracy of the drive process. This avoids potential omissions due to relying solely on feedback signals (such as abnormal drive waveforms but normal feedback signals), and improves the detection accuracy and coverage for complex door locks (such as electrically released locks). This results in more comprehensive and reliable test results, enabling timely detection of potential faults in the door lock drive process and enhancing the accuracy of door lock testing and the system's robustness.
[0016] Furthermore, if the door lock is an electrically released lock, the HIL platform is also used to send a second control signal to the controller, the second control signal being used to simulate the operation of an inside or outside switch.
[0017] Based on the aforementioned technical methods, during the testing process, if the door lock is an electrically released lock, a second control signal is sent from the HIL test bench to simulate the operation of the switch inside or outside the vehicle. This allows for a complete replication of the real-world usage scenario of the electrically released lock during the testing process. This not only avoids the inefficiency and inconsistency issues caused by repeatedly pressing physical switches manually, but also achieves full automation and repeatability of the testing process.
[0018] Furthermore, the HIL test bench is also used to acquire the door slightly open state fed back by the door lock.
[0019] Based on the above technical means, during the testing process, if the door lock is an electrically released lock, the door's slightly open state can be obtained through the HIL test bench. This allows for accurate detection of whether the release action of the electrically released lock actually drives the door to open during automated testing, providing a more intuitive reflection of the actual physical state of the door and thus improving the accuracy of the test results.
[0020] Furthermore, the host computer and the HIL platform are connected via Ethernet.
[0021] Furthermore, the relay is an 8-channel relay, which is used to connect the signal ports of the two door locks to be tested to the EDAC according to the signal mapping table.
[0022] Based on the above technical means, by using 8 relays and using a signal mapping table to realize the flexible switching connection between the signal ports of the two door locks under test and the EDAC, the automatic allocation and multiplexing of multi-channel signals can be realized on a single hardware platform, avoiding the need to configure hardware interfaces separately for different door locks, and significantly reducing the consumption of test resources and hardware costs.
[0023] A testing method for multi-configuration vehicle door locks, applied to the aforementioned testing system for multi-configuration vehicle door locks, the method comprising:
[0024] The controller receives a test operation request for the door locks sent by the HIL bench.
[0025] The controller generates a first control signal for the door lock based on the pre-configured vehicle model, door lock type, and the test operation request.
[0026] The controller controls the target channel in the relay corresponding to the door lock to open, and controls other channels in the relay to close, and sends the first control signal to the door lock through the target channel;
[0027] The HIL test bench detects the lock status feedback signal of the door lock and returns the lock status feedback signal to the host computer. The lock status feedback signal is used to determine the status of the door lock.
[0028] Based on the aforementioned technical means, automated testing of multi-configuration vehicle door locks is achieved through the coordinated control of controllers, relays, and the HIL test bench. The testing system can flexibly adapt to different vehicle models and door lock types on the same platform. Relays selectively switch the target channel to drive the door lock under test, avoiding redundant hardware investment. The HIL test bench collects feedback signals from the door locks in real time and returns them to the host computer, achieving closed-loop monitoring and status verification. This significantly improves the efficiency, accuracy, and repeatability of door lock function testing, while reducing manual intervention and waste of testing resources.
[0029] Furthermore, the method also includes:
[0030] The host computer determines the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock.
[0031] Based on the aforementioned technical methods, by combining lock status feedback signals with dynamic drive waveform analysis, a more comprehensive and accurate automated verification of vehicle door lock functions is achieved. It can not only determine the final result of the door lock action (such as "unlocked" or "open"), but also accurately verify whether the execution process conforms to design specifications. This enables comprehensive quality control from static state to dynamic process, significantly improving the reliability and automation level of the test.
[0032] Furthermore, if the door lock is an electrically released lock, the method further includes:
[0033] The HIL test bench sends a second control signal to the controller, which is used to simulate the operation of a switch inside or outside the vehicle.
[0034] Furthermore, the method also includes:
[0035] The HIL test bench acquires the door slightly open state feedback from the door lock;
[0036] Accordingly, the host computer determines the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock, including:
[0037] The host computer determines the state of the car door lock based on the lock state feedback signal, the slightly open state of the door, and the preset drive waveform of the car door lock.
[0038] Based on the aforementioned technical methods, the door's slightly open state is acquired via a HIL test bench. Combined with the door lock status feedback signal and preset drive waveforms, the host computer can more comprehensively determine the actual state of the car door lock, including its logical state and the execution of physical actions. This not only verifies the correctness of the door lock's locking and unlocking logic but also confirms whether the door lock action truly drives the door to open. It is particularly suitable for complex door lock types such as electrically released locks, achieving comprehensive automated testing of car door lock functions, improving testing accuracy, reliability, and repeatability, while reducing manual intervention and hardware resource consumption.
[0039] The beneficial effects of this invention are:
[0040] (1) By introducing an EDAC and relays between the controller and the door lock, unified adaptation of signal ports of different door locks and target channel switching are achieved. The relays flexibly allocate target channels according to the signal mapping table, opening the corresponding channel only when testing a specific door lock, and closing the other channels, thereby avoiding the need to configure hardware interfaces separately for different door locks. This reduces hardware costs, improves testing efficiency, and ensures the accuracy and repeatability of testing different door locks.
[0041] (2) By combining the door lock feedback signal, preset drive waveform and the door micro-opening state of the electric release lock with the host computer, a comprehensive judgment is made. The second control signal is sent down through the HIL bench to simulate the switch operation inside or outside the vehicle. This can not only verify the logical locking and unlocking state of the door lock, but also confirm whether the door lock action really drives the door to open and whether its timing is correct. This achieves closed-loop control and complete monitoring of the door lock action, significantly improving the test accuracy, coverage and reliability.
[0042] (3) By connecting the host computer to the HIL bench via Ethernet, test requests can be automatically sent, door lock feedback signals can be collected, drive waveforms and door micro-opening status can be analyzed, reducing manual intervention, improving the degree of test automation and efficiency, and ensuring the consistency and traceability of test results. Attached Figure Description
[0043] Figure 1 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 1 ;
[0044] Figure 2 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 2 ;
[0045] Figure 3 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 3 ;
[0046] Figure 4Signaling illustration of a testing method for multi-configuration vehicle door locks provided in embodiments of this application. Figure 1 ;
[0047] Figure 5 Signaling illustration of a testing method for multi-configuration vehicle door locks provided in embodiments of this application. Figure 2 . Detailed Implementation
[0048] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.
[0049] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0050] First, the background technology involved in this application will be explained in detail.
[0051] Car door locks not only affect vehicle security but also directly impact the driver's experience. With technological advancements, car door locks have evolved from traditional mechanical locks to more intelligent and secure electronic locks. Electronic locks can be controlled via remote keys, mobile phones, or sensor-based locking and unlocking, offering greater convenience and enhanced anti-theft performance. There are many types of electronic car door locks, primarily divided into two categories: standard door locks and electric release locks. Standard door locks and electric release locks each have different suppliers, and different car models, due to design, positioning, and other factors, will be equipped with different types of door locks.
[0052] During the automotive R&D phase, to improve software development efficiency and save development costs, a platform software approach is adopted. The same software version is adapted to different vehicle configurations, distinguished internally by vehicle configuration names. When testing door locks, the same software version needs to be tested on multiple vehicle models, each requiring connection to different door locks, making the testing process complex. Therefore, how to achieve unified control of different types of door locks while ensuring testing efficiency and safety, and avoiding door lock damage due to inconsistent drive timing, has become a pressing issue in the door lock testing process.
[0053] In related technologies, testing vehicle door locks typically relies on manually switching between different vehicle models' door locks one by one for verification. For example, testers need to connect ordinary door locks or electrically released locks one by one on a test bench, and then send lock / unlock commands via a controller to test the function and response of each lock. This method is cumbersome, time-consuming, and inefficient when multiple vehicle models and types of door locks are present simultaneously. Furthermore, improper operation or inconsistent drive timing can easily lead to lock damage or malfunction. Another method is to verify multiple door locks by sending a unified control signal to a single controller. However, due to differences in drive timing between different types of door locks, a unified signal may cause some locks to respond abnormally or even be damaged. While this method reduces manual operation to some extent, it still struggles to balance testing efficiency and security for multiple vehicle models and types of door locks.
[0054] Based on the above problems, the technical concept of this application is as follows:
[0055] First, by introducing an EDAC between the controller and the door lock, signals from different door locks are centrally managed and isolated. This reduces resource consumption in the HIL test bench and prevents signal interference or abnormal current from damaging the equipment, making the testing process more efficient and safer. Furthermore, by using relays to switch target channels for the door locks, frequent manual plugging and unplugging of wiring is avoided, reducing labor costs. Finally, by combining the HIL test bench with a host computer, test operation requests are sent in real time, and door lock drive waveforms and status feedback are collected. This avoids misjudging the door lock status based on a single feedback signal, improving the accuracy of door lock status assessment. This enhances the automation and efficiency of door lock testing, reduces manual intervention and resource waste, and ensures the consistency and reliability of functional verification for different door locks.
[0056] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0057] Figure 1 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 1 ;like Figure 1 As shown, the test system 10 for multiple door lock configurations includes a host computer 101, a HIL test bench 102 connected to the host computer, and a controller 103, which is connected to the HIL test bench 102 and at least one EDAC 104. Each EDAC 104 is also connected to at least two door locks 106 to be tested via a relay 105, thereby realizing signal adaptation and channel multiplexing of multiple door locks on the same platform.
[0058] When testing any door lock, the host computer 101 sends a test operation request to the controller 103 through the HIL test bench 102. Then, the controller 103 controls the target channel corresponding to the door lock in the relay to open according to the pre-configured vehicle model, door lock type, and test operation request, and then controls the other channels in the relay to close, generating a first control signal for the door lock 106, and sending the first control signal to the door lock 106 through the target channel. After the door lock 106 receives the first control signal and completes the test operation, the HIL test bench 102 is used to detect the lock status feedback signal of the door lock 106 and returns the lock status feedback signal to the host computer 101.
[0059] The lock status feedback signal is used to determine the status of the door lock. The host computer 101 is responsible for running test operation requests. The HIL bench 102 is mainly used to automate the controller function test and detect the lock status feedback signal of the door lock 106, and return the lock status feedback signal to the host computer 101. The controller 103 is a vehicle component (such as the Body Control Unit (BCU)) and is one of the objects under test. It is used to receive test operation requests and generate a first control signal (usually a pulse width modulation (PWM) wave or high and low level) for the door lock 106 according to the pre-configured vehicle model, door lock type, and test operation request, thereby driving the door lock motor or electromagnet. The EDAC 104 is a module used to adapt and allocate the controller signal and the door lock signal interface. Through the relay 105 and the EDAC 104, the target channel corresponding to the door lock is opened, ensuring that the test operation request only acts on the target door lock during the test, avoiding misoperation or interference with other door locks.
[0060] It should be noted that, in this embodiment, the host computer 101 and the HIL test bench 102 are connected via Ethernet for high-speed communication. Specifically, the host computer 101 runs dedicated host computer testing software, which allows testers to write and configure automated test scripts to generate test operation requests corresponding to different car models and types of door locks, and then send these requests to the HIL test bench 102 in real time via Ethernet. In this way, the door lock testing process can be automated without frequent manual intervention, significantly improving testing efficiency and consistency.
[0061] Furthermore, relay 105 employs an 8-channel relay to connect the signal ports of the two door locks 106 under test to the EDAC 104 according to a signal mapping table. Specifically, the signal mapping table contains the signal input / output correspondences for different vehicle models and door lock types. When a target door lock 106 needs to be tested, controller 103 selectively drives the target channel corresponding to the target door lock in relay 105 to connect, while disconnecting other channels, based on the test operation request issued by host computer 101. In this way, the target door lock 106 can receive the first control signal output by controller 103 through EDAC 104, while non-target door locks remain isolated, thus avoiding false triggering and signal interference. Through the above structural design, not only is the speed and accuracy of door lock signal switching guaranteed, but it also enables flexible adaptation and safe driving for different types of door locks, ensuring that the test platform still has good versatility and scalability when facing multiple vehicle models and door lock configurations.
[0062] Figure 2 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 2 ;like Figure 2 As shown, Figure 2 Is Figure 1 Based on the embodiments, a detailed description is given of how to obtain the lock status feedback signal of the car door lock.
[0063] As shown in the figure, the car door lock includes an electrically released lock 1, an electrically released lock 2, a standard door lock 1, and a standard door lock 2. The pins of electrically released lock 1 and electrically released lock 2 include a release + signal port, a release - signal port, a door slightly open signal port, a lock status feedback signal port, and a ground (GND) signal port, respectively. The pins of standard door lock 1 and standard door lock 2 include a release + signal port, a release - signal port, a lock status feedback signal port, and a ground (GND) signal port, respectively.
[0064] In terms of signal connection, the release+ and release- signal ports of electric release locks 1 and 2, as well as ordinary door locks 1 and 2, are connected to the EDAC via 8 relays. The relays selectively conduct under the control of the controller, accurately transmitting the drive signal to the target door lock to achieve the release or unlocking operation. Furthermore, the door micro-open signal port of the electric release lock is also connected to the HIL test bench via relays, the EDAC, and the controller to detect the feedback signal when the door is in a micro-open state.
[0065] It is important to note that the lock status feedback signal ports of electrically released lock 1, electrically released lock 2, ordinary door lock 1, and ordinary door lock 2 are all directly connected to the HIL test bench, establishing an independent signal acquisition path. Through this path, the HIL test bench can acquire the locking or unlocking status of each door lock in real time, unaffected by relay switching, thus ensuring the real-time performance and accuracy of the feedback signal acquisition. The HIL test bench uploads the acquired lock status feedback signals to the host computer, and, combined with preset drive waveform information, verifies the door lock's execution actions and status responses.
[0066] Therefore, by constructing a relay drive path and an independent feedback acquisition path between the door lock and the HIL test bench, this embodiment not only enables flexible unified testing of various door lock types, but also improves the stability of feedback signal acquisition and the reliability of test results.
[0067] Figure 3 A schematic diagram of the structure of a test system for multi-configuration vehicle door locks provided in this application embodiment. Figure 3 ;like Figure 3 As shown, Figure 3 Is Figure 2 Based on the embodiments, another process for obtaining the lock status feedback signal of the car door lock is described in detail.
[0068] As shown in the figure, in another implementation, the lock status feedback signal ports of electrically released lock 1, electrically released lock 2, and ordinary door lock 1 and ordinary door lock 2 are all connected to the HIL test bench via EDAC, controller, and HIL, establishing a signal acquisition path. This method allows the HIL test bench to detect the lock status feedback signal of the door locks and return it to the host computer without changing the original electrical connection between the door locks and the controller. This ensures the test scenario is closer to the real-world vehicle environment. Furthermore, since the HIL test bench detects the status confirmed and reported by the controller, it can simultaneously verify the controller's filtering, logical judgment, and fault tolerance functions for the door lock signals, thus better enabling the testing and verification of the door lock functions and improving the completeness and reliability of the test.
[0069] It should be noted that the HIL bench is based on Figure 2 as well as Figure 3After detecting the lock status feedback signal of the car door lock, the signal connection method can collect and analyze the electrical signal characteristics of the car door lock during the driving process, including but not limited to the actual waveform curve of the car door lock driving signal, the feedback switch status of the car door lock after action, and the corresponding timing relationship. Then, the HIL bench transmits the lock status feedback signal of the car door lock to the host computer after preliminary processing. The host computer further calls its preset car door lock driving waveform, that is, the internally stored car door lock standard driving waveform database (for example, the preset car door lock driving waveform is 300 milliseconds for electric release, 150 milliseconds for braking, and 300 milliseconds for reset after detecting that the door is fully open), and compares and analyzes the received actual feedback signal with the preset target driving waveform. By comparing the amplitude, duty cycle, pulse width, phase, and feedback state change points of the driving waveform, the host computer can accurately determine whether the car door lock has completed the expected action, such as whether it has achieved normal locking, unlocking, and releasing functions. If a significant deviation is detected between the feedback signal and the preset waveform, the host computer can automatically generate an error message or report to present to the user, prompting the tester to conduct further investigation.
[0070] It should also be noted that when the door lock is an electrically released lock, the HIL bench is also used to send a second control signal to the controller to simulate the operation of the switch inside or outside the vehicle. This control signal can be in the form of a pulse level signal or a simulated Controller Area Network (CAN) message. On the other hand, it is also responsible for acquiring the door slightly open status signal fed back by the electrically released lock. The door slightly open status signal is used to reflect the actual door status after the electrically released lock performs the release action. Its signal is usually a high-low level change or a digital logic signal: when the door has been released and slightly opened, the door slightly open status signal outputs a high level or logic "1"; when the door is reset or closed, the door slightly open status signal outputs a low level or logic "0".
[0071] Specifically, a conventional door lock directly engages and disengages upon receiving an unlock / lock signal, thus opening the door. An electrically released lock, however, only changes the lock's logic state upon receiving an unlock / lock command; it doesn't actually engage the lock but relies on an internal / external switch to release the lock and open the door. The unlock / lock signal can be sent via the key, with the key's buttons connected to a HIL (Hydraulic Induction Lid) test bench, which controls the key's buttons. The internal / external switches can be activated by sending a low-level signal to the corresponding pin of the controller directly through the HIL test bench. Their operating logic is more complex than that of a conventional motor-driven door lock. Therefore, to accurately reproduce the actual vehicle usage scenario during testing, this embodiment designs a simulation operation where the HIL test bench controls the internal and external switches via signals.
[0072] When the HIL test bench sends a second control signal to the controller, the controller, upon receiving the signal, identifies it as a trigger signal indicating that the user has performed an unlocking operation inside or outside the vehicle. It then generates a corresponding drive signal and sends it to the electric release lock actuator via a relay-controlled target channel. Subsequently, upon receiving the drive signal, the electric release lock performs the unlocking action, simultaneously outputting a lock status feedback signal and a door slightly open status signal. The HIL test bench collects these feedback signals in real time, including the drive waveform, lock status changes, and door slightly open status, and transmits the collected data to the host computer. The host computer compares and analyzes the lock status feedback signal, door slightly open status, and preset electric release lock drive waveform to determine whether the electric release lock performs the correct action under simulated in-vehicle / out-of-vehicle switch and key operation, and confirms whether the door slightly open status meets expectations.
[0073] The above embodiments avoid frequent manual triggering of in-vehicle switches or external handles during actual operation, significantly improving the automation and efficiency of testing. Simultaneously, utilizing a second control signal to simulate user operation ensures the consistency and repeatability of test conditions, effectively reducing test deviations caused by differences in manual operation and improving the reliability and accuracy of electric release lock test results.
[0074] Figure 4 Signaling illustration of a testing method for multi-configuration vehicle door locks provided in embodiments of this application. Figure 1 ;like Figure 4 As shown, the method includes:
[0075] S401, The controller receives a test operation request for the door lock sent by the HIL bench.
[0076] It is important to note that before testing the door lock function, the prerequisites for door lock operation must be met to ensure the validity and safety of the test. Specifically, firstly, all four doors of the vehicle under test must be closed (or slightly open to indicate they are closed) to avoid locking or unlocking anomalies caused by doors not being closed. Furthermore, the status of the four doors can be controlled via a HIL test bench, uniformly setting each door to the closed state. Secondly, the vehicle under test must be stationary to simulate the door lock operating environment under normal parking conditions. This stationary state can be achieved by simulating CAN signals, ensuring that the vehicle speed in Park (P) or non-P gear is less than a preset speed (e.g., 3 km / h), thus ensuring that the door lock function test is not affected by vehicle movement or speed changes.
[0077] Understandably, by setting the above prerequisites, reliable testing and verification of the door lock's drive, feedback, and safety functions can be conducted under conditions close to the actual working environment of a vehicle.
[0078] S402, The controller generates the first control signal for the door lock based on the pre-configured vehicle model, door lock type, and test operation request.
[0079] For example, assume the vehicle to be tested is model A, equipped with both conventional door locks and electrically released door locks. The host computer sends a test operation request to the controller via the HIL test bench, for example, to perform an unlocking test on the conventional door lock of the driver's side front door. After receiving the test operation request, the controller first identifies the target door lock based on the vehicle information (model A) and door lock type (conventional door lock) pre-configured in the controller, determines that the target door lock is the conventional door lock of the driver's side front door, and calls the corresponding drive logic to generate a first control signal for the conventional door lock.
[0080] Understandably, through this embodiment, the controller can generate drive signals for the target vehicle door lock according to the configuration of the vehicle model and door lock type, realize automated testing of different door locks on the same test platform, and ensure the accuracy of signal transmission and the safety of test operations.
[0081] S403, The controller controls the target channel corresponding to the door lock in the relay to open, and controls other channels in the relay to close.
[0082] For example, when testing vehicle model A, the controller controls the relay module to open the channel corresponding to the ordinary door lock, while closing the channels corresponding to the other three door locks, thereby enabling separate testing of the ordinary door lock function of vehicle model A.
[0083] It is understandable that, through the above embodiments, the controller can control the relay to open the target channel corresponding to the door lock of the current vehicle model and disconnect the door lock connection used by other vehicle models. This ensures that the corresponding type of door lock can be connected when a certain vehicle model is configured, while other door locks are disconnected, realizing automatic switching of door locks. This enables testing of different door lock configurations for multiple vehicle models, and can also meet the testing of multiple door lock configurations for the same vehicle model.
[0084] S404, The controller sends the first control signal to the door lock through the target channel.
[0085] Understandably, by sending the first control signal to the door lock through the target channel, the controller ensures that the control signal is accurately transmitted to the target door lock, avoids interference with other door locks, and provides a reliable driving basis for door lock function testing.
[0086] The S405 and HIL test benches detect the lock status feedback signal of the car door lock.
[0087] It should be noted that the specific method for HIL bench detection lock status feedback signals is as follows: Figures 1 to 3 The embodiments have been described in detail, and the embodiments of this application will not be repeated here.
[0088] The S406 and HIL test benches will return the lock status feedback signal to the host computer.
[0089] S407 The host computer determines the status of the door lock based on the lock status feedback signal and the preset door lock drive waveform.
[0090] It should be understood that the host computer determines the status of the car door lock based on the received lock status feedback signal and in conjunction with the preset door lock drive waveform. Specifically, the host computer can compare the actual feedback signal with the expected drive waveform to determine whether the door lock has been successfully locked, unlocked, or is in an abnormal state, thereby completing the door lock function verification. This achieves automatic determination of the car door lock function, improving the accuracy, reliability, and repeatability of the test.
[0091] Figure 5 Signaling illustration of a testing method for multi-configuration vehicle door locks provided in embodiments of this application. Figure 2 ; Figure 5 Is Figure 4 Based on the embodiments, the test method for electrically released locks is described in detail, such as... Figure 5 As shown, the method includes:
[0092] S501, the controller receives the second control signal sent by the HIL bench and the test operation request for the door lock.
[0093] S502, the controller generates the first control signal for the door lock based on the pre-configured vehicle model, door lock type, and test operation request.
[0094] S503, the controller controls the target channel corresponding to the door lock in the relay to open, and controls other channels in the relay to close.
[0095] S504, the controller sends the first control signal and the second control signal to the door lock through the target channel.
[0096] The S505 and HIL test benches detect the lock status feedback signal of the car door lock and the door's slightly open status feedback.
[0097] The S506 and HIL test benches will return the lock status feedback signal and the door lock feedback signal indicating the door is slightly open to the host computer.
[0098] Specifically, when testing the opening of a single electrically released door of the vehicle under test, the signal indicating that the door is slightly open indicates that the door has been successfully unlocked from the closed state and slightly opened, thus verifying the effectiveness of the electronic release lock's driving function and the door slightly open detection function. When testing the closing of a single electrically released door of the vehicle under test, the signal indicating that the door is slightly open indicates that the door has been successfully closed from the slightly open state and the locking operation has been completed, thus verifying the correctness of the electronic release lock's locking function and the door slightly open detection function.
[0099] S507: The host computer determines the status of the door lock based on the lock status feedback signal, the door slightly open status, and the preset door lock drive waveform.
[0100] It is understood that through the above steps, by having the controller work in conjunction with the HIL test bench, the target vehicle door lock can be accurately tested and complete feedback information obtained while keeping other door locks unaffected, ensuring the accuracy and reliability of the electronic release lock function test. The specific implementation process of the embodiments has been described in this application. Figures 1 to 4 The corresponding embodiments will be described in detail, but will not be repeated here.
[0101] The above embodiments are merely preferred embodiments provided to fully illustrate the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on the present invention are all within the scope of protection of the present invention.
[0102] It should be noted that the devices in the embodiments provided in this application are all common devices on the market. They can be selected according to the needs when used. The connection relationship between the devices is a simple series and parallel connection circuit, which can be easily implemented by those skilled in the art. It belongs to the prior art and will not be described in detail here.
[0103] The various embodiments or implementation methods described in this specification are presented in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
[0104] It should be noted that the terms "one embodiment," "embodiment," "exemplary embodiment," "some embodiments," etc., mentioned in the specification indicate that the described embodiment may include a specific feature, structure, or characteristic, but not every embodiment necessarily includes that specific feature, structure, or characteristic. Furthermore, such phrases do not necessarily refer to the same embodiment. Moreover, when a specific feature, structure, or characteristic is described in connection with an embodiment, implementing such a feature, structure, or characteristic in conjunction with other embodiments, whether explicitly described or not, is within the knowledge scope of those skilled in the art.
[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0106] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A testing system suitable for multi-configuration vehicle door locks, characterized in that, include: The host computer, and the hardware connected to the host computer in a loop HIL chassis; The controller is connected to the HIL bench and at least one edge connector assembly EDAC. Each EDAC is also connected to at least two door locks to be tested via relays; the relays are 8-channel relays, which are used to connect the signal ports of the two door locks to be tested to the EDAC according to a signal mapping table; When testing any door lock, the host computer sends a test operation request to the controller through the HIL test bench. The controller generates a first control signal for the door lock based on the pre-configured vehicle model, door lock type, and the test operation request. The controller controls the target channel in the relay corresponding to the door lock to open, and controls other channels in the relay to close, and sends the first control signal to the door lock through the target channel; The HIL test bench is used to detect the lock status feedback signal of the door lock and return the lock status feedback signal to the host computer. The lock status feedback signal is used to determine the status of the door lock.
2. The system according to claim 1, characterized in that, The host computer is also used to determine the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock.
3. The system according to claim 1 or 2, characterized in that, If the door lock is an electrically released lock, the HIL platform is also used to send a second control signal to the controller, the second control signal being used to simulate the operation of an inside or outside switch.
4. The system according to claim 3, characterized in that, The HIL test bench is also used to acquire the door slightly open state feedback from the door lock.
5. The system according to claim 1 or 2, characterized in that, The host computer and the HIL platform are connected via Ethernet.
6. A testing method applicable to multi-configuration vehicle door locks, characterized in that, The method, applied to the test system for multi-configuration vehicle door locks as described in any one of claims 1 to 5, comprises: The controller receives a test operation request for the door locks sent by the HIL bench. The controller generates a first control signal for the door lock based on the pre-configured vehicle model, door lock type, and the test operation request. The controller controls the target channel in the relay corresponding to the door lock to open, and controls other channels in the relay to close, and sends the first control signal to the door lock through the target channel; The HIL test bench detects the lock status feedback signal of the door lock and returns the lock status feedback signal to the host computer. The lock status feedback signal is used to determine the status of the door lock.
7. The method according to claim 6, characterized in that, The method further includes: The host computer determines the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock.
8. The method according to claim 7, characterized in that, If the door lock is an electrically released lock, the method further includes: The HIL test bench sends a second control signal to the controller, which is used to simulate the operation of a switch inside or outside the vehicle.
9. The method according to claim 8, characterized in that, The method further includes: The HIL test bench acquires the door slightly open state feedback from the door lock; Accordingly, the host computer determines the state of the door lock based on the lock state feedback signal and the preset drive waveform of the door lock, including: The host computer determines the state of the car door lock based on the lock state feedback signal, the slightly open state of the door, and the preset drive waveform of the car door lock.