Test system for epb switch
By designing an EPB switch test system, which uses a fixed module, a motor module, and a host computer to simulate EPB switch operation, the problems of high safety and cost in testing electronic parking brake systems are solved, achieving safe and economical testing results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU KORMEE AUTOMOTIVE ELECTRONICS CONTROL TECH
- Filing Date
- 2022-12-30
- Publication Date
- 2026-08-04
AI Technical Summary
In the existing technology, the testing of electronic parking brake systems faces problems of high safety risks and high costs.
Design a test system for EPB switches, including a fixed module, a motor module, a control module, and a host computer. Through the collaborative work of these modules, simulate the operation of EPB switches and analyze their performance, avoiding the need for testing on actual vehicles.
This enables performance testing of electronic parking brake systems without the need for a physical vehicle, improving testing safety and reducing testing costs.
Smart Images

Figure CN115876491B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle testing technology, and in particular to a testing system for an EPB switch. Background Technology
[0002] An Electronic Parking Brake (EPB) system integrates temporary braking during driving and long-term braking after parking, using electronic control to achieve parking braking. Before applying an EPB system to a vehicle, it needs to be tested. However, directly testing the EPB system on a physical vehicle poses safety risks to test personnel and is also costly. Summary of the Invention
[0003] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a testing system for EPB switches, which can effectively improve testing safety and reduce testing costs.
[0004] This invention provides a testing system for an EPB switch, comprising:
[0005] A fixing module is used to fix the EPB switch under test according to a first control signal;
[0006] The motor module is used to control the tested EPB switch to simulate switch operation according to the second control signal, and to feed back the motor position signal and torque signal of the tested EPB switch during the simulated operation.
[0007] The control module is used to parse the detection signal into a timing signal and generate the first control signal and the second control signal based on the timing signal; receive the motor position signal and the torque signal fed back by the motor module; and collect the output signal status of the EPB switch at different angles.
[0008] The host computer is used to generate the detection signal, receive the motor position signal and torque signal fed back by the control module, and analyze the working performance of the EPB switch under test based on the motor position signal, torque signal and the output signal status of the EPB switch at different angles.
[0009] In some embodiments, analyzing the operating performance of the tested EPB switch based on the motor position signal, the torque signal, and the output signal state of the EPB switch at different angles includes:
[0010] Determine whether the servo motor has found its zero point within the limited stroke based on the motor position signal;
[0011] If the servo motor fails to find its zero point within the specified stroke, a servo motor stop signal is generated, and the motor zero point is corrected.
[0012] After completing the motor zero-point correction, the working performance of the tested EPB switch is analyzed based on the motor position signal of the swing module in the downward or upward stroke, the torque signal, and the output signal status of the EPB switch at different angles.
[0013] In some embodiments, analyzing the operating performance of the tested EPB switch based on the motor position signal of the oscillating module in the tested EPB switch during the downward stroke, the torque signal, and the output signal state of the EPB switch at different angles includes:
[0014] The first switch output stroke signal is obtained when the swing module travels the first preset distance in the forward direction;
[0015] If the first switch output stroke signal falls within the electrical signal change range corresponding to the first preset distance, analyze the working performance of the tested EPB switch based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and
[0016] The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the first torque threshold or the comparison relationship between the servo motor running displacement and the upper limit of the maximum downward stroke.
[0017] In some embodiments, the step of analyzing the operating performance of the EPB switch under test based on the motor position signal of the oscillating module in the tested EPB switch during the downward stroke, the torque signal, and the output signal state of the EPB switch at different angles further includes:
[0018] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is not within the error range, continue searching for the motor zero point within the specified stroke.
[0019] In some embodiments, the step of analyzing the operating performance of the EPB switch under test based on the motor position signal of the oscillating module in the tested EPB switch during the downward stroke, the torque signal, and the output signal state of the EPB switch at different angles further includes:
[0020] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the second switch output stroke signal of the swing module moving in the opposite direction for a second preset distance;
[0021] If the second switch output stroke signal falls within the range of electrical signal changes corresponding to the second preset distance, analyze the working performance of the tested EPB switch based on the comparison relationship between the motor's travel distance and the actual switch output stroke and switch signal state.
[0022] If the servo motor's displacement reaches the maximum downward stroke limit, control the servo motor to return to the motor zero position.
[0023] In some embodiments, analyzing the operating performance of the EPB switch under test based on the motor position signal during the pull-up stroke of the swing module in the tested EPB switch, the torque signal, and the output signal state of the EPB switch at different angles includes:
[0024] Obtain the third switch output stroke signal when the swing module travels the third preset distance in the opposite direction;
[0025] If the output stroke signal of the third switch falls within the range of electrical signal changes corresponding to the third preset distance, analyze the working performance of the tested EPB switch based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and
[0026] The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the second torque threshold or the comparison relationship between the servo motor running displacement and the maximum upper limit of the pull-up stroke.
[0027] In some embodiments, analyzing the operating performance of the EPB switch under test based on the motor position signal during the pull-up stroke of the swing module in the EPB switch under test, the torque signal, and the output signal status of the EPB switch at different angles further includes:
[0028] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the fourth switch output stroke signal for the swing module to travel the fourth preset distance in the opposite direction;
[0029] If the output stroke signal of the fourth switch falls within the range of electrical signal changes corresponding to the fourth preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance and the actual switch output stroke and switch signal state.
[0030] If the servo motor's displacement reaches the maximum upper limit of its upward stroke, control the servo motor to return to the motor's zero position.
[0031] In some embodiments, before generating the detection signal, the host computer is further configured to:
[0032] The detection execution standard is generated based on the detection standard data input from the human-computer interaction module.
[0033] In some embodiments, the host computer is further configured to:
[0034] Based on the motor parameters and stroke parameters input from the human-computer interaction module, motor detection data execution standards and stroke detection data execution standards are generated.
[0035] In some embodiments, the host computer is further configured to:
[0036] Detect the working status of all communication links.
[0037] The testing system for an EPB switch provided in this embodiment of the invention has the following beneficial effects:
[0038] In this embodiment, after the EPB switch under test is fixed by the fixing module, the control module generates a control signal based on the detection signal sent by the host computer. The control signal is used to control the motor module to drive the EPB switch under test to simulate switching operation. The motor position signal and torque signal of the EPB switch under test during the simulated operation, as well as the output signal status of the EPB switch at different angles, are fed back to the host computer. This allows the host computer to analyze the working performance of the EPB switch under test based on the motor position signal, the torque signal, and the output signal status of the EPB switch at different angles. As a result, the performance test of the electronic parking brake system can be completed without a physical vehicle, effectively improving test safety and reducing test costs.
[0039] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0040] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0041] Figure 1 This is a block diagram of a test system for an EPB switch according to an embodiment of the present invention;
[0042] Figure 2 This is a flowchart of the first application process of a test system for an EPB switch according to an embodiment of the present invention;
[0043] Figure 3 This is a second application processing flowchart of a test system for an EPB switch according to an embodiment of the present invention;
[0044] Figure 4 This is a flowchart of the third application process of a test system for an EPB switch according to an embodiment of the present invention. Detailed Implementation
[0045] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0046] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.
[0047] In the description of this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0048] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0049] In the description of this invention, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0050] Reference Figure 1This invention provides a testing system for an EPB switch, including a fixing module, a motor module, a control module, and a host computer. The fixing module is used to fix the EPB switch under test according to a first control signal. The motor module is used to control the EPB switch under test to simulate switching operation according to a second control signal, and to feed back the motor position signal and torque signal of the EPB switch under test during the simulated operation. The control module is used to parse the detection signal into a timing signal, and generate the first control signal and the second control signal according to the timing signal; receive the motor position signal and the torque signal fed back by the motor module, and collect the output signal status of the EPB switch at different angles. The host computer is used to generate the detection signal, receive the motor position signal, the torque signal, and the output signal status of the EPB switch at different angles fed back by the control module, and analyze the working performance of the EPB switch under test based on the motor position signal, the torque signal, and the output signal status of the EPB switch at different angles.
[0051] Specifically, such as Figure 1 As shown, the fixing module in this embodiment includes a clamping control module and a clamping module. The clamping control module converts the first control signal into a drive signal for the clamping module. The clamping module is equipped with a support and an electrical interface of the product under test. During the test, the clamping module fixes the EPB switch under test onto the support according to the drive signal sent by the clamping control module, and connects the electrical interface of the EPB switch under test to the electrical interface on the clamping module. The motor module includes a motor control module and a servo motor. The motor control module is used to convert the second control signal into a drive signal for the servo motor. The servo motor provides push-pull force to the EPB switch under test according to the drive signal provided by the motor control module, so that the EPB switch under test simulates switch operation, and transmits the motor position signal and torque signal during the simulation process. The control module includes a communication conversion module, a processing module, an input conversion module, and an output conversion module. The communication conversion module is used for converting communication signals and is compatible with different communication interfaces. The input conversion module is used to convert high-voltage analog signals into low-voltage digital signals. The output conversion module is used to convert low-voltage digital signals into high-voltage analog signals. The processing module generates a first control signal and a second control signal based on the detection signal sent by the host computer, and sends the corresponding control signals to the relevant modules. Simultaneously, it monitors and collects the status data of each device and the output signal data of the product under test in real time, processes the data, and feeds it back to the host computer, enabling the host computer to perform calculations and determine the switching performance. The host computer analyzes the working performance of the product under test based on the data fed back by the processing module. Furthermore, this embodiment also includes an analog drive module, which provides power to the product under test and simulates the product's input signals and communication interface signals.
[0052] In this embodiment, the following steps can be taken to analyze the working performance of the tested EPB switch based on the motor position signal, torque signal, and the output signal status of the EPB switch at different angles:
[0053] Determine whether the servo motor has found its zero point within the limited stroke based on the motor position signal;
[0054] If the servo motor fails to find its zero point within the specified stroke, a servo motor stop signal is generated, and the motor zero point is corrected.
[0055] After completing the motor zero-point correction, the push-down and pull-up performance of the tested EPB switch is analyzed. Specifically, the push-down performance analysis can be performed through the following steps:
[0056] The first switch output stroke signal is obtained when the swing module travels the first preset distance in the forward direction;
[0057] If the first switch output stroke signal falls within the electrical signal change range corresponding to the first preset distance, analyze the working performance of the tested EPB switch based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and
[0058] The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the first torque threshold or the comparison relationship between the servo motor running displacement and the maximum downward stroke limit.
[0059] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is not within the error range, continue to search for the motor zero point within the specified stroke.
[0060] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the second switch output stroke signal of the swing module moving in the opposite direction for a second preset distance;
[0061] If the second switch output stroke signal falls within the range of electrical signal changes corresponding to the second preset distance, analyze the working performance of the tested EPB switch based on the comparison relationship between the motor's travel distance and the actual switch output stroke and switch signal state.
[0062] If the servo motor's displacement reaches the maximum downward stroke limit, control the servo motor to return to the motor zero position.
[0063] The pull-up stroke performance analysis can be achieved through the following steps:
[0064] Obtain the third switch output stroke signal when the swing module travels the third preset distance in the opposite direction;
[0065] If the output stroke signal of the third switch falls within the range of electrical signal changes corresponding to the third preset distance, analyze the working performance of the tested EPB switch based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and
[0066] The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the second torque threshold or the comparison relationship between the servo motor running displacement and the maximum upper limit of the pull-up stroke.
[0067] If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the fourth switch output stroke signal for the swing module to travel the fourth preset distance in the forward direction;
[0068] If the output stroke signal of the fourth switch falls within the range of electrical signal changes corresponding to the fourth preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance and the actual switch output stroke and switch signal state.
[0069] If the servo motor's displacement reaches the maximum upper limit of its upward stroke, control the servo motor to return to the motor's zero position.
[0070] In this embodiment, in order to improve the detection effect of the detection process, the host computer generates a detection execution standard based on the detection standard data input by the human-machine interaction module before generating the detection signal; generates a motor detection data execution standard and a stroke detection data execution standard based on the motor parameters and stroke parameters input by the human-machine interaction module; and detects the working status of all communication links.
[0071] For example, in one application scenario, such as Figure 2As shown, after the detection program starts, the host computer loads the service and database modules. It checks if a database file exists on the database module; if not, it creates the database file and prompts the user to create product data; otherwise, it reads the database file. Next, it checks if a detection standard data table exists in the database file, i.e., if a detection execution standard exists. If not, it prompts the user to create the detection standard data table, fills in the default data, and waits for confirmation. Then, it initializes the detection standard. It then checks if motor and stroke parameter data tables exist, i.e., if motor detection data execution standards and stroke detection data execution standards exist. If not, it prompts the user to create the motor and stroke parameter data tables, fills in the default data, and waits for confirmation. After confirmation, it reads the input motor and stroke parameter data tables and initializes the motor stroke data parameters. It continues to check if other parameter data tables exist; if not, it creates other parameter data tables and writes default parameters into them; otherwise, it reads other parameter data tables and initializes other parameters. After initializing the core control module and its sub-modules, loading the main interface module, and displaying the main interface, the communication link module is opened, and its startup status is checked. If it fails to start, other communication link modules are reopened; otherwise, the data receiving thread is started. Upon receiving an enable detection signal, execution begins. Figure 3 and Figure 4 The process is shown below.
[0072] like Figure 3 As shown, the equipment and detection parameters are initialized, and the servo motor begins searching for the zero point. It is determined whether the motor zero point is found within the specified stroke. If not, the stroke is considered out of range, and the servo motor is stopped, the current detection process is halted, the detection result is generated, and the servo motor's zero point is corrected. If the zero point is found, the downward stroke detection begins.
[0073] During the push-down stroke detection process, the servo motor controls the swing module to move forward a first preset distance x1. If the output signal of the first switch stroke changes within the electrical signal range corresponding to x1, the performance of the tested EPB switch is judged by comparing the motor's already moved stroke with the actual switch output stroke and the switch signal state. If the motor torque feedback exceeds the normal range or the servo motor's position reaches the upper limit of the maximum push-down stroke, it is determined whether the difference between the total servo motor stroke and the product design push-down stroke is within the error range. If not, the stroke is determined to be out of range, and the servo motor is stopped, the detection process is stopped, and the detection result is generated. If it is within the error range, the push-down stroke return detection begins. During the push-down stroke return detection process, the servo motor controls the swing module to move backward a second preset distance x2. If the output signal of the second switch stroke changes within the electrical signal range corresponding to x2, the performance of the tested EPB switch is judged by comparing the motor's already moved stroke with the actual switch output stroke and the switch signal state. If the servo motor's position reaches the upper limit of the maximum push-down stroke, the servo motor is controlled to return to the set motor zero position.
[0074] When the servo motor returns to the set motor zero position, the pull-up travel detection begins. For example... Figure 4 As shown, the servo motor controls the swing module to move backward a third preset distance x3. If the output signal of the third switch stroke changes within the electrical signal range corresponding to x3, the performance of the tested EPB switch is judged by comparing the motor's travel distance with the actual switch output stroke and the switch signal state. If the motor torque feedback exceeds the normal range or the servo motor reaches the maximum pull-up stroke limit, the difference between the total servo motor travel distance and the product design push-down stroke is further judged to be within the error range. If not, the travel distance is determined to be out of range, and the servo motor is controlled to stop working, and the current test process is stopped, generating the test result. If it is, the pull-up stroke return test is started. During the pull-up stroke return test, the servo motor controls the swing module to move forward a fourth preset distance x4. If the output signal of the fourth switch stroke changes within the electrical signal range corresponding to x4, the performance of the tested EPB switch is judged by comparing the motor's travel distance with the actual switch output stroke and the switch signal state. If the servo motor reaches the maximum pull-up stroke limit, the servo motor is controlled to return to the set motor zero position. Once the servo motor returns to the set motor zero position during the pull-up stroke detection process, the detection will stop after outputting the detection result.
[0075] In summary, the system of this application embodiment can perform micro switch signal detection, swing module stroke signal detection, stroke signal verification, and reasonableness detection of switch signals and actual displacement. Furthermore, it can be set to different operating temperatures and perform verification with different numbers of tests.
[0076] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention. Furthermore, the embodiments of the present invention and the features thereof can be combined with each other unless otherwise specified.
Claims
1. A testing system for an EPB switch, characterized in that, include: A fixing module is used to fix the EPB switch under test according to a first control signal; The motor module is used to control the tested EPB switch to simulate switch operation according to the second control signal, and to feed back the motor position signal and torque signal of the tested EPB switch during the simulated operation. The control module is used to parse the detection signal into a timing signal and generate the first control signal and the second control signal based on the timing signal. Receive the motor position signal and torque signal fed back by the motor module, and collect the output signal status of the EPB switch at different angles; The host computer is used to generate the detection signal, receive the motor position signal, the torque signal and the output signal status of the EPB switch at different angles fed back by the control module, and analyze the working performance of the tested EPB switch based on the motor position signal, the torque signal and the output signal status of the EPB switch at different angles. It also includes an analog drive module, which is used to provide power to the EPB switch under test and to simulate product input signals and communication interface signals; The analysis of the operating performance of the tested EPB switch based on the motor position signal, the torque signal, and the output signal status of the EPB switch at different angles includes: Determine whether the servo motor has found its zero point within the limited stroke based on the motor position signal; If the servo motor fails to find its zero point within the specified stroke, a servo motor stop signal is generated, and the motor zero point is corrected. After completing the motor zero-point correction, the working performance of the tested EPB switch is analyzed based on the motor position signal of the swing module in the downward or upward stroke of the tested EPB switch, the torque signal, and the output signal status of the EPB switch at different angles. The analysis of the operating performance of the tested EPB switch based on the motor position signal of the oscillating module during the downward stroke, the torque signal, and the output signal status of the EPB switch at different angles includes: The first switch output stroke signal is obtained when the swing module travels the first preset distance in the forward direction; If the first switch output stroke signal falls within the electrical signal change range corresponding to the first preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the first torque threshold or the comparison relationship between the servo motor running displacement and the maximum downward stroke limit. The analysis of the operating performance of the tested EPB switch based on the motor position signal during the pull-up stroke of the swing module in the tested EPB switch, the torque signal, and the output signal status of the EPB switch at different angles includes: Obtain the third switch output stroke signal when the swing module travels the third preset distance in the opposite direction; If the output stroke signal of the third switch falls within the range of electrical signal changes corresponding to the third preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance, the actual switch output stroke, and the switch signal state; and The working performance of the tested EPB switch is analyzed based on the comparison relationship between the torque signal and the second torque threshold or the comparison relationship between the servo motor running displacement and the maximum upper limit of the pull-up stroke.
2. The testing system for an EPB switch according to claim 1, characterized in that, The analysis of the working performance of the tested EPB switch based on the motor position signal of the swing module in the downward stroke, the torque signal, and the output signal status of the EPB switch at different angles also includes: If the difference between the total stroke of the servo motor and the downward stroke designed for the product is not within the error range, continue searching for the motor zero point within the specified stroke.
3. The testing system for an EPB switch according to claim 2, characterized in that, The analysis of the working performance of the tested EPB switch based on the motor position signal of the swing module in the downward stroke, the torque signal, and the output signal status of the EPB switch at different angles also includes: If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the second switch output stroke signal of the swing module moving in the opposite direction for a second preset distance; If the output stroke signal of the second switch falls within the range of electrical signal changes corresponding to the second preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance and the actual switch output stroke and switch signal state. If the servo motor's displacement reaches the maximum downward stroke limit, control the servo motor to return to the motor zero position.
4. The testing system for an EPB switch according to claim 1, characterized in that, The analysis of the working performance of the tested EPB switch based on the motor position signal during the pull-up stroke of the swing module in the tested EPB switch, the torque signal, and the output signal status of the EPB switch at different angles also includes: If the difference between the total stroke of the servo motor and the downward stroke designed for the product is within the error range, obtain the fourth switch output stroke signal for the swing module to travel the fourth preset distance in the forward direction; If the output stroke signal of the fourth switch falls within the range of electrical signal changes corresponding to the fourth preset distance, the working performance of the tested EPB switch is analyzed based on the comparison between the motor's travel distance and the actual switch output stroke and switch signal state. If the servo motor's displacement reaches the maximum upper limit of its upward stroke, control the servo motor to return to the motor's zero position.
5. The testing system for an EPB switch according to claim 1, characterized in that, Before generating the detection signal, the host computer is also used to: The detection execution standard is generated based on the detection standard data input from the human-computer interaction module.
6. The test system of an EPB switch according to claim 5, characterized by, The host computer is also used for: Based on the motor parameters and stroke parameters input from the human-computer interaction module, motor detection data execution standards and stroke detection data execution standards are generated.
7. The test system of an EPB switch according to claim 6, characterized by, The host computer is also used for: Detect the working status of all communication links.