Seat control test method, device and system
By simulating the working environment of the seat motor and drive mechanism by the test cabinet, and simulating the seat controller with the reverse electromotive force and Hall signal, the problem of seat control testing in the prior art relying on physical equipment, achieving a more efficient test process.
Patent Information
- Application Number
- CN202510748867.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-08-08
AI Technical Summary
In the prior art, seat control testing requires relying on physical seat motors or assembly, resulting in problems of long test cycles and low efficiency.
By testing the cabinet, simulate the seat assembly and motor working environment, use the reverse electromotive force signal and Hall signal to simulate the working status of the seat controller, determine the test results of the seat controller, and avoid the dependence of physical seat motors or assembly.
Improves the efficiency and accuracy of seat control testing, shortens testing time and reduces costs.
Smart Images

Figure CN120447527A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of testing technology, and more specifically, to a seat control testing method, device, and system. Background Art
[0002] With the development of intelligent automotive cockpits, intelligent seat control technology is becoming increasingly prevalent. To verify the functionality of seat control systems and ensure product quality during the product development phase, extensive testing is required. Previously, seat testing could only be accomplished using physical seat motors or seat assemblies, resulting in long seat control test cycles and low testing efficiency. Summary of the Invention
[0003] In view of this, embodiments of the present application provide a seat control testing method, device, and system to improve the above-mentioned problems.
[0004] In a first aspect, an embodiment of the present application provides a test method for seat control, the method comprising: simulating, by a test cabinet, a back electromotive force signal and a Hall signal generated by the motor when the seat controller drives the motor in the seat to work in response to an input seat switch signal; outputting the seat switch signal and the Hall signal to the seat controller, and outputting the back electromotive force signal to a seat simulation circuit connected to the seat controller, so as to determine a test result of the seat controller based on at least one of the Hall signal obtained from the seat controller, the back electromotive force signal, the first drive signal output by the seat controller, and the working current generated by the simulation circuit, wherein the working current is generated when the seat simulation circuit simulates the operation of the motor in the seat based on the first drive signal output by the seat controller and the back electromotive force signal, and the first drive signal is output by the seat controller according to the seat switch signal.
[0005] In a second aspect, embodiments of the present application provide a seat control test device, comprising: a test cabinet, a seat controller, and a seat simulation circuit, wherein the test cabinet is connected to the seat controller and the seat simulation circuit, respectively, and the seat controller is connected to the seat simulation circuit. The test cabinet is configured to, in response to an input seat switch signal, simulate a back electromotive force (EMF) signal and a Hall effect signal generated by a motor in a seat when the seat controller drives the motor to operate, and output the seat switch signal and the Hall effect signal to the seat controller, and output the back electromotive force signal to the seat simulation circuit, so as to determine a test result of the seat controller based on at least one of the Hall effect signal, the back electromotive force signal, a first drive signal output by the seat controller, and an operating current generated by the simulation circuit. The seat controller is configured to output the first drive signal based on the seat switch signal output by the test cabinet, and the seat simulation circuit is configured to simulate the operating current generated by the motor in the seat when the motor operates based on the first drive signal and the back electromotive force signal output by the seat controller.
[0006] In the third aspect, an embodiment of the present application provides a seat control test system, comprising a seat control test device and a monitoring device provided in the second aspect above, wherein the monitoring device is connected to the seat control test device and is used to collect the working parameters of the seat controller included in the seat control test device, and determine the test results of the seat controller based on the working parameters, wherein the working parameters include at least one of a Hall signal obtained from the seat controller, a back electromotive force signal, a first drive signal output by the seat controller, and a working current generated by the analog circuit.
[0007] In the solution of the present application, a test cabinet responds to an input seat switch signal to simulate the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat to work, and outputs the seat switch signal and the Hall signal to the seat controller, and outputs the back electromotive force signal to a seat simulation circuit connected to the seat controller, so as to determine the test result of the seat controller based on the Hall signal, the back electromotive force signal obtained from the seat controller, the first drive signal output by the seat controller according to the seat switch signal, and at least one of the working currents generated when the motor in the seat works based on the first drive signal and the back electromotive force signal output by the seat controller, thereby simulating the working environment of the motor in the seat, simulating the seat motor and the seat drive mechanism through the test cabinet, and realizing the test of the seat controller without relying on the physical seat motor or seat assembly, thereby improving the efficiency of the seat controller test. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0009] Figure 1 A schematic flow chart of a seat control test method provided in one embodiment of the present application is shown; Figure 2 A schematic diagram of a test bench provided in one embodiment of the present application is shown; Figure 3 A schematic flow chart of a seat control test method provided in one embodiment of the present application is shown; Figure 4 A schematic structural diagram of a seat simulation model provided in one embodiment of the present application is shown; Figure 5 A schematic diagram of a seat simulation model provided by an embodiment of the present application is shown; Figure 6 A module block diagram of a seat control test device provided in one embodiment of the present application is shown; Figure 7 A schematic structural diagram of a seat control test device provided in one embodiment of the present application is shown; Figure 8 A structural block diagram of a seat control test system provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0010] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0011] In order to better understand the solutions of the embodiments of the present application, the technical terms used in the embodiments of the present application are explained below.
[0012] Hardware-in-the-Loop (HIL) is a technology used to develop and test complex device controllers. It connects a real controller with a virtual controlled object (simulated by real-time simulation hardware) to form a closed-loop test system.
[0013] Hall signal, Hall Effect, HAll, refers to the signal generated based on the Hall Effect.
[0014] MATLAB is a combination of the words matrix and laboratory, which means matrix factory (matrix laboratory). The software is a high-tech computing environment mainly for scientific computing, visualization and interactive programming.
[0015] Simulink is a visual simulation tool in MATLAB and a block diagram environment for multi-domain simulation and model-based design.
[0016] The Zonal Control Unit (ZCU) is a core component in modern automotive electrical and electronic architecture, used to manage and control electronic equipment and systems within specific areas of the vehicle.
[0017] The Seat Control Module (SCM) is used to control various functions of the car seat, such as electric adjustment, heating, ventilation, massage, memory, etc. It can automatically adjust the seat position according to user settings and vehicle status.
[0018] The Smart Control Unit (SCU) is typically used to integrate multiple intelligent control functions, such as a vehicle's intelligent driver assistance system and intelligent cockpit system. It processes sensor data, executes complex control algorithms, and communicates with other systems.
[0019] Microcontroller Unit (MCU) is a chip that integrates a processor, memory, and input / output interfaces and is capable of performing complex control tasks.
[0020] The following is a detailed description of the implementation details of the technical solution of the embodiment of the present application: The testing of automobile seat control systems currently mainly includes bench testing and actual vehicle testing. Bench testing is generally carried out in the early stages of development, but the seat assembly has not yet been completed at this stage. Traditional benches can only be used to carry out testing through seat motors or alternative seat assemblies, which cannot fully meet the testing requirements. All testing tasks can only be completed after the seat assembly is trial-produced and installed on the vehicle. Therefore, in the related art, seat bench testing can only be carried out through seat motors or alternative seat assemblies, which cannot fully meet the testing requirements; in addition, seat system testing relies on physical seats and test prototypes, but seats in the design state are generally installed late, resulting in a long seat control system testing cycle and late test completion time. Based on this, in the related art, there is a problem of low efficiency in verifying seat control functions during the product development stage.
[0021] To address the above-mentioned issues, the inventors, after extensive research, have developed the seat control testing method, device, and system provided in the embodiments of this application. By simulating the seat assembly and the motor's operating environment using a test cabinet, seat control testing can be achieved without relying on a physical seat motor or seat assembly, thereby improving the efficiency of seat controller testing. The specific seat control testing method is described in detail in the subsequent embodiments.
[0022] The embodiments of the present application will be described below with reference to the accompanying drawings.
[0023] See also Figure 1 , Figure 1 FIG1 shows a flow chart of a seat control test method provided by an embodiment of the present application. In a specific embodiment, the seat control test method can be applied to Figure 6 The seat control test device 200 and the seat control test system 100 equipped with the seat control test device 200 are shown. Figure 8 ). The following will take the test cabinet as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the test cabinet used in this embodiment can include computers, servers and other equipment, which is not limited here. Figure 1 The process shown in FIG. 1 is described in detail. The seat control test method may specifically include the following steps: Step S110: The test cabinet simulates the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat to work in response to the input seat switch signal.
[0024] In this embodiment, the test cabinet may be a HIL cabinet, a BMS (battery management system) test cabinet, a VTSystem test cabinet, a CMC / BMC test cabinet, an NI PXI platform test cabinet, etc., without limitation herein.
[0025] In some embodiments, see Figure 2, which shows a schematic diagram of a test bench provided by an embodiment of the present application. The test cabinet, the seat controller and the seat simulation circuit can constitute a test bench for seat control testing. The test cabinet can be connected to the seat controller and the seat simulation circuit respectively, and the seat controller can be connected to the seat simulation circuit. The test cabinet can respond to the input seat switch signal to simulate the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat to work, and can output the seat switch signal and the Hall signal to the seat controller, and output the back electromotive force signal to the seat simulation circuit connected to the seat controller, so as to achieve the seat testing task without relying on the physical seat motor or seat assembly to build the test bench, shorten the time for building the test bench, reduce the cost of building the test bench, and improve the efficiency of seat testing.
[0026] The test cabinet can be equipped with a Simulink physics simulation model. This simulation model can be built based on the principles and parameters of the seat motor and seat drive mechanism, and is used to simulate the seat motor and seat assembly. For example, the test cabinet can be a HIL cabinet. The simulation model can be built in MATLAB / Simulink software and loaded into the HIL cabinet by compiling the model file. This allows the MATLAB / Simulink model to be used to build a simulation model consistent with the principles and parameters of the actual seat system. This simulation model can be used to calculate the back electromotive force (EMF) signal generated during seat movement in real time. Furthermore, during seat testing, when the seat switch is pressed, the seat switch signal is input into the simulation model, simulating motor movement. This output simulates the back electromotive force signal generated during motor operation, as well as a Hall effect signal that provides feedback on the current motor rotation.
[0027] In some embodiments, a test cabinet can simulate, in response to an input seat switch signal, a back electromotive force signal and a Hall effect signal generated by a motor in the seat when the seat controller drives the motor to operate. The test cabinet can simulate, in response to an input seat switch signal, a back electromotive force signal and a Hall effect signal generated by the motor when the seat controller drives the motor to operate, and output the simulated signal using a simulation model within the test cabinet.
[0028] Step S120: Output the seat switch signal and the Hall signal to the seat controller, and output the back electromotive force signal to a seat simulation circuit connected to the seat controller, so as to determine the test result of the seat controller based on at least one of the Hall signal obtained from the seat controller, the back electromotive force signal, the first drive signal output by the seat controller, and the working current generated by the simulation circuit. The working current is generated when the seat simulation circuit simulates the operation of the motor in the seat based on the first drive signal output by the seat controller and the back electromotive force signal. The first drive signal is output by the seat controller according to the seat switch signal.
[0029] In some embodiments, the test cabinet can output the seat switch signal and the Hall signal to the seat controller, and output the back electromotive force signal to the seat simulation circuit connected to the seat controller, so that the seat controller outputs a first drive signal according to the seat switch signal, and the seat simulation circuit simulates the operation of the motor in the seat to generate a working current based on the first drive signal output by the seat controller and the back electromotive force signal; and determine the test result of the seat controller based on at least one of the Hall signal, the back electromotive force signal, the first drive signal output by the seat controller, and the working current generated by the simulation circuit obtained from the seat controller.
[0030] Among them, the seat controller can be an MCU controller, a ZCU controller, an SCM controller, an SCU controller, etc., which is not limited here.
[0031] It should be noted that the operating principle of a power seat is as follows: when the user presses the power seat switch, the seat controller drives the seat motor to rotate. The seat motor, through a mechanical transmission mechanism, drives the seat. The motor generates a Hall signal that can be used to identify the motor's rotation status, and each motor rotation generates a Hall pulse. Accordingly, the seat controller can be tested by verifying whether the voltage and current output from the seat controller's motor drive terminals can drive the seat normally when the seat position adjustment switch is pressed. While related art tests seat controllers by connecting the seat controller to an actual seat motor or seat, this application utilizes the principles of seat motors to design parameters within a test cabinet and seat simulation circuitry, simulating the seat motor and seat assembly, replacing the physical seat motor and seat. The test cabinet simulates the back-electromotive force (EMF) signal and Hall signal generated by the motor during operation, simulating the seat control operating environment. The seat controller test results are determined based on at least one of the Hall signal, back-electromotive force (EMF) signal, the first drive signal output by the seat controller, and the operating current generated by the simulation circuitry. This approach eliminates reliance on the physical seat motor or seat assembly, shortening the time and cost of seat control testing and improving the efficiency of seat control testing.
[0032] A test method for seat control provided in an embodiment of the present application simulates, through a test cabinet, the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat to work in response to an input seat switch signal, and outputs the seat switch signal and the Hall signal to the seat controller, and outputs the back electromotive force signal to a seat simulation circuit connected to the seat controller, so as to determine the test result of the seat controller based on the Hall signal, the back electromotive force signal obtained from the seat controller, the first drive signal output by the seat controller according to the seat switch signal, and at least one of the working currents generated when the motor in the seat is working, simulated by the simulation circuit based on the first drive signal and the back electromotive force signal output by the seat controller, thereby simulating the working environment of the motor in the seat, simulating the seat motor and the seat drive mechanism through the test cabinet, and realizing the test of the seat controller without relying on the physical seat motor or seat assembly, thereby improving the efficiency of the seat controller test.
[0033] See also Figure 3 , Figure 3 The flow chart of the seat control test method provided by an embodiment of the present application is shown. The method is applied to the above electronic equipment. Figure 3 The process shown in FIG. 1 is described in detail. The seat control test method may specifically include the following steps: Step S210: inputting the seat switch signal into a first simulation model through the test cabinet to obtain a second driving signal output by a driving port of the seat controller simulated by the first simulation model.
[0034] In some embodiments, the back-electromotive force signal and Hall effect signal outputted by the test cabinet are generated using a seat simulation model, which may include a first simulation model, a second simulation model, and a third simulation model. The seat simulation model can be built in MATLAB / Simulink software and loaded into the test cabinet by compiling the seat simulation model file.
[0035] For example, see Figure 4 , which shows a schematic diagram of the structure of a seat simulation model provided by an embodiment of the present application. The seat simulation model can be modeled using Simulink and can include a first simulation model, a second simulation model, and a third simulation model. The first simulation model can output a second drive signal based on an input seat switch signal, the second simulation model can output a back electromotive force signal based on the input second drive signal, and the third simulation model can output a Hall effect signal based on the input back electromotive force signal.
[0036] In some embodiments, the first simulation model can be understood as a seat controller drive port simulation model, such as a ZCU drive circuit; wherein the first simulation model may include simulation units such as a simulation logic control unit, a simulation power supply unit, and a simulation filter circuit unit. For example, see Figure 5 , which shows a schematic diagram of a seat simulation model provided by an embodiment of the present application. The first simulation model 10 may include a simulation logic control unit 01, a simulation power supply unit 02, and a simulation filter circuit unit 03. The simulation logic control unit 01 may be used to perform logic processing on the input seat switch signal; the simulation logic control unit 01 may include a simulation input port 1 (In1), a simulation output port 1 (out1), and a simulation output port 2 (out2). In1 is used to receive the input seat switch signal (Seat_Swich); when the seat switch signal is in a forward adjustment, out1 outputs 1 and out2 outputs 0; when the seat switch signal is in a reverse adjustment, out1 outputs 0 and out2 outputs 1. The signals output by out1 and out2 may be used as second drive signals.
[0037] In the simulation power supply unit 02, Vbattery represents the power supply, which can be 12V. When the seat switch signal is adjusted in the forward direction, the upper Vcc is connected to the power supply; when the seat switch signal is adjusted in the reverse direction, the lower Vcc is connected to the power supply. Pin1 represents the drive port; the signal output by pin1 can be used as the second drive signal. The simulation filter circuit unit 03 can be connected to the output port of the simulation logic control unit 01 and can include an RC filter circuit to absorb pulses when the motor is stalled, thereby improving the accuracy of the motor simulation.
[0038] In some embodiments, please refer again to Figure 5 , wherein the seat simulation model may further include a seat switch signal output unit 40, and the seat switch signal output unit 40 may be used to output the input seat switch signal.
[0039] In some implementations, the test cabinet may input the seat switch signal into the first simulation model to obtain a second driving signal output by a driving port of the simulated seat controller of the first simulation model.
[0040] Step S220: inputting the second driving signal into a second simulation model to obtain the back electromotive force signal output by the second simulation model simulating the operation of the motor in the seat.
[0041] In some embodiments, the first simulation model in the seat simulation model can be connected to the second simulation model; wherein, the test cabinet can input the second drive signal generated by the first simulation model based on the seat switch signal into the second simulation model to obtain the reverse electromotive force signal output by the motor in the simulated seat of the second simulation model.
[0042] Among them, the second simulation model may include a first simulation resistance parameter and a first simulation inductance parameter. Before the second drive signal is input into the second simulation model through the test cabinet to obtain the reverse electromotive force signal output by the motor in the second simulation model simulation seat, the test cabinet can also obtain the internal resistance value of the motor in the seat and the inductance value of the motor coil, and determine the first simulation resistance parameter in the second simulation model based on the internal resistance value, and determine the first simulation inductance parameter in the second simulation model based on the motor coil inductance value. Thus, the first simulation resistance parameter is equivalent to the internal resistance of the motor, and the first simulation inductance parameter is equivalent to the coil inductance of the motor. In addition, it can be understood that in this embodiment, by modifying the first simulation resistance parameter and the first simulation inductance parameter in the second simulation model in the seat simulation model, seats with different motor models can be adapted to achieve testing of different models of seats, thereby improving the versatility of seat control testing.
[0043] For example, please refer again Figure 5. Wherein, the second simulation model 20 can be understood as a seat motor equivalent circuit simulation model; wherein, the second simulation model 20 can include a simulated motor equivalent circuit unit 21, a simulated ammeter unit 22, a simulated back electromotive force unit 23, and a simulated voltmeter unit 24. wherein, the simulated motor equivalent circuit unit 21 can include a simulated motor resistance and a simulated armature inductance, wherein the parameter of the simulated motor resistance is a first simulated resistance parameter, and the inductance of the simulated armature is a first simulated inductance parameter. wherein, the simulated back electromotive force unit 23 can be used to characterize the back electromotive force signal output by the motor in the simulated seat of the simulated motor equivalent circuit unit 21; the simulated ammeter unit 22 can be used to calculate the current in the simulated motor equivalent circuit unit 21, and the simulated voltmeter unit 24 can be used to calculate the magnitude of the electromotive force in the back electromotive force signal.
[0044] Step S230: Inputting the back electromotive force signal into a third simulation model to obtain the Hall signal output by the third simulation model simulating the physical structure of the seat.
[0045] In some embodiments, a second simulation model within a seat simulation model can be connected to a third simulation model. The test cabinet can input the back electromotive force signal generated by the second simulation model into the third simulation model to obtain a Hall effect signal output by the third simulation model simulating the physical structure of the seat. The third simulation model can be understood as a physical simulation model of the electric seat.
[0046] Considering that the rotation of the motor can drive the movement of the seat, in this embodiment, the third simulation model may include parameters related to the mechanics of the seat, such as the moment of inertia parameters, torque parameters, and friction parameters corresponding to the physical structure of the seat, thereby simulating the physical structure of the seat and simulating the rotation of the motor to drive the movement of the seat. The test cabinet inputs the back electromotive force signal into the third simulation model to obtain the Hall effect signal output by the third simulation model simulating the physical structure of the seat. The process may include inputting the back electromotive force signal into the third simulation model through the test cabinet, simulating the moment of inertia corresponding to the physical structure of the seat when the motor is operating based on the moment of inertia parameters in the third simulation model, simulating the torque corresponding to the physical structure of the seat when the motor is operating based on the torque parameters in the third simulation model, simulating the friction corresponding to the physical structure of the seat when the motor is operating based on the friction parameters in the third simulation model, and outputting the Hall effect signal generated by the physical structure of the seat based on the moment of inertia, torque, and friction.
[0047] In some embodiments, the seat simulation model may further include a simulated motor energy conversion unit, wherein the simulated motor energy conversion unit may be connected to the second simulation model and the third simulation model, respectively. That is, the third simulation model may be connected to the second simulation model via the simulated motor energy conversion unit. The simulated motor energy conversion unit may be used to simulate the process of converting electrical energy into mechanical energy by a motor, converting the voltage and current in the circuit into mechanical rotation of the motor, thereby driving the seat movement.
[0048] For example, please refer again Figure 5 . Among them, the seat simulation model may also include a simulation motor energy conversion unit 50 and a third simulation model 30, and the third simulation model 30 may be connected to the second simulation model 20 through the simulation motor energy conversion unit 50; wherein, the third simulation model 30 may include a unit for simulating the physical structure of the seat. Among them, the simulation motor energy conversion unit 20 can simulate the motor to convert electrical energy into mechanical energy, and can drive the seat movement by simulating the rotation of the motor through the third simulation model 30, and output the Hall signal generated when the simulation motor rotates. Therefore, the seat control test is realized without relying on the physical seat motor or seat assembly, thereby improving the efficiency of the seat control test.
[0049] Step S240: Output the seat switch signal and the Hall signal to the seat controller, and output the back electromotive force signal to a seat simulation circuit connected to the seat controller, so as to determine the test result of the seat controller based on at least one of the Hall signal obtained from the seat controller, the back electromotive force signal, the first drive signal output by the seat controller, and the working current generated by the simulation circuit. The working current is generated when the seat simulation circuit simulates the operation of the motor in the seat based on the first drive signal output by the seat controller and the back electromotive force signal. The first drive signal is output by the seat controller according to the seat switch signal.
[0050] For a detailed description of step S240 , please refer to the above description of step S120 , which will not be repeated here.
[0051] The seat control test method provided in one embodiment of the present application is compared with Figure 1The test method for seat control shown in the figure, in this embodiment, the back electromotive force signal and the Hall signal are generated by using a seat simulation model, and the seat simulation model includes a first simulation model, a second simulation model and a third simulation model. In this embodiment, the seat switch signal can also be input into the first simulation model through the test cabinet to obtain the second drive signal output by the drive port of the seat controller simulated by the first simulation model; the second drive signal is input into the second simulation model to obtain the back electromotive force signal output by the motor in the seat simulated by the second simulation model; the back electromotive force signal is input into the third simulation model to obtain the Hall signal output by the physical structure of the seat simulated by the third simulation model, thereby simulating the drive port of the seat controller, the motor in the seat and the physical structure of the seat through the seat simulation model, making the working environment of the seat control test more realistic, and improving the accuracy and efficiency of the seat control test.
[0052] See also Figure 6 , Figure 6 The module block diagram of the seat control test device provided by an embodiment of the present application is shown. The seat control test device 200 is applied to the above electronic equipment. Figure 6 The process shown is explained in detail. The seat control test device 200 includes: the test cabinet 210, the seat controller 220 and the seat simulation circuit 230, wherein the test cabinet 210 is connected to the seat controller 220 and the seat simulation circuit 230 respectively, and the seat controller 220 is connected to the seat simulation circuit 230.
[0053] The test cabinet 210 can be configured to simulate, in response to an input seat switch signal, the back electromotive force (EMF) signal and Hall effect signal generated by the motor in the seat when the seat controller 220 drives the motor. The test cabinet 210 outputs the seat switch signal and Hall effect signal to the seat controller 220, and outputs the back electromotive force signal to the seat simulation circuit 230. The seat controller 220 can be configured to output the first drive signal based on the seat switch signal output by the test cabinet 210. The seat simulation circuit 230 can be configured to simulate the operating current generated by the motor in the seat when the motor is in operation based on the first drive signal and the back electromotive force signal output by the seat controller 220.
[0054] Among them, a seat simulation model can be pre-set in the test cabinet 210. The seat simulation model can be built according to the principles and parameters of the seat motor and the seat drive mechanism. The seat simulation model can simulate the back electromotive force signal and Hall signal generated by the motor when the seat controller drives the motor in the seat to work based on the input seat switch signal.
[0055] In some embodiments, see Figure 7 , which shows a structural schematic diagram of a seat control test device provided by an embodiment of the present application. The seat simulation circuit 230 may include a first resistor 231, a first inductor 232, and a controllable voltage source 233. The first port of the first resistor 231 may be connected to the first motor drive port of the seat controller 220, and the second port of the first resistor 231 may be connected to the first port of the first inductor 232. The second port of the first inductor 232 may be connected to the first port of the controllable voltage source 233. The second port of the controllable voltage source 233 may be connected to the test cabinet 210, and may be used to receive the back electromotive force signal output by the test cabinet 210, and may adjust the voltage value of the controllable voltage source 233 according to the back electromotive force signal; the third port of the controllable voltage source 233 may be connected to the second motor drive port of the seat controller 220. Among them, the first motor drive port in the seat simulation circuit 230 can be a motor drive terminal +, and the second motor drive port in the seat simulation circuit 230 can be a motor drive terminal -, wherein the signals output by the first motor drive port and the second motor drive port in the seat simulation circuit 230 can include the first drive signal output by the seat controller 220 according to the seat switch signal.
[0056] The resistance value of the first resistor 231 may be the same as the internal resistance value of the motor in the seat, and may be used to simulate the internal resistance of the motor.
[0057] The inductance value of the first inductor 232 may be the same as the coil inductance value of the motor in the seat, and may be used to simulate the motor coil inductance of the motor.
[0058] It can be understood that the resistance value of the first resistor 231 and the inductance value of the first inductor 232 included in the seat simulation circuit 230 are determined according to the internal resistance and inductance of the motor; the seat simulation circuit 230 can include parameters such as the internal resistance value of the motor, the inductance value of the armature, the back electromotive force signal generated when the motor is running, and the Hall signal generated by the rotation of the motor, so that the seat simulation circuit 230 can be used as an equivalent circuit of the seat motor according to the internal principle of the seat motor.
[0059] In some embodiments, the resistance value of the first resistor 231 and the inductance value of the first inductor 232 included in the seat simulation circuit 230 can be determined based on the resistance and inductance of the motors in different types of seats, so that the seat simulation circuit 230 is adapted to the testing of different seats and the versatility of the seat testing is improved.
[0060] In some embodiments, the test cabinet 210 can be a hardware-in-the-loop (HIL) cabinet. A seat control test bench can be composed of a seat controller, a HIL cabinet, and a seat simulation circuit. The seat control test bench can run a HIL test project to perform seat control testing, and can compile and load a pre-built Simulink seat simulation model through the HIL cabinet. The HIL cabinet's I / O board can output back electromotive force signals, Hall signals, and seat switch signals to the seat test bench. Based on the motor's internal principles, the HIL cabinet controls the simulated motor's back electromotive force to simulate the seat motor's working environment. Simulink modeling and simulation of the seat motor and seat drive mechanism are then used to implement seat control testing through model simulation. This allows for testing of the seat controller without relying on a physical seat motor or seat assembly, thereby improving the efficiency of seat controller testing.
[0061] See also Figure 8 , which shows a structural block diagram of a seat control test system provided in an embodiment of the present application. The seat control test system 100 in the present application may include: a seat control test device 200 and a monitoring device 110 provided in the present application. The monitoring device 110 may be connected to the seat control test device 200, and may be used to collect the working parameters of the seat controller included in the seat control test device 110, and may determine the test results of the seat controller based on the working parameters. The working parameters may include at least one of a Hall signal obtained from the seat controller, a back electromotive force signal, a first drive signal output by the seat controller, and a working current generated by an analog circuit included in the seat control test device 110.
[0062] The monitoring device 110 can be connected to the seat controller included in the seat control test device 110, wherein the monitoring device 110 can be understood as an external circuit of the seat controller. Optionally, the monitoring device 110 can determine the rotation speed of the simulated motor based on the Hall signal obtained from the seat controller, or can determine the torque of the simulated motor based on the back electromotive force signal obtained from the seat controller, or can determine whether the seat switch signal is effective for the seat controller based on the first drive signal output by the seat controller obtained from the seat controller, or can determine the rotation condition of the simulated motor based on the working current generated by the analog circuit included in the test device 110 obtained from the seat controller, thereby determining the test condition of the seat controller. The seat controller can be tested without relying on the physical seat motor and seat assembly, thereby improving the efficiency of seat control testing, reducing the cost of seat testing, and enhancing the user experience.
[0063] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0064] In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0065] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0066] In this application, a plurality refers to two or more.
[0067] In this application, unless otherwise expressly defined, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. A person of ordinary skill in the art will understand the specific meanings of these terms in this application.
[0068] In this application, the terms "first," "second," "third," "fourth," etc. (if any) are used to distinguish similar objects and are not necessarily used to describe a particular sequential order.
[0069] The term "and / or" in this application simply describes an association between related objects, indicating that three possible relationships exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.
[0070] Unless otherwise specified, all steps of this application may be performed sequentially or randomly. For example, "the method includes steps A and B" means that the method may include steps A and B performed sequentially, or may include steps B and A performed sequentially. For example, "the method may also include step C" means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or steps A, C, and B, or steps C, A, and B, etc.
[0071] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A seat control test method, characterized in that: The method comprises: The test cabinet simulates the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat in response to the input seat switch signal; The seat switch signal and the Hall signal are output to the seat controller, and the back electromotive force signal is output to a seat simulation circuit connected to the seat controller, so as to determine a test result of the seat controller based on at least one of the Hall signal obtained from the seat controller, the back electromotive force signal, the first drive signal output by the seat controller, and the operating current generated by the simulation circuit. The operating current is generated when the seat simulation circuit simulates the operation of the motor in the seat based on the first drive signal output by the seat controller and the back electromotive force signal. The first drive signal is output by the seat controller according to the seat switch signal.
2. The method according to claim 1, characterized in that The back electromotive force signal and the Hall signal are generated by using a seat simulation model, which includes a first simulation model, a second simulation model, and a third simulation model. The test cabinet simulates the back electromotive force signal and the Hall signal generated by the motor when the seat controller drives the motor in the seat to work in response to the input seat switch signal, including: Inputting the seat switch signal into the first simulation model through the test cabinet to obtain a second driving signal output by the driving port of the seat controller simulated by the first simulation model; Inputting the second drive signal into the second simulation model to obtain the back electromotive force signal output by the second simulation model simulating the operation of the motor in the seat; The back electromotive force signal is input into the third simulation model to obtain the Hall signal output by the third simulation model simulating the physical structure of the seat.
3. The method according to claim 2, characterized in that The second simulation model includes a first simulation resistance parameter and a first simulation inductance parameter. Before inputting the second drive signal into the second simulation model through the test cabinet to obtain the back electromotive force signal output by the second simulation model simulating the operation of the motor in the seat, the method further includes: Obtaining the internal resistance value and the inductance value of the motor coil of the seat; A first simulated resistance parameter in the second simulation model is determined based on the internal resistance value, and a first simulated inductance parameter in the second simulation model is determined based on the motor coil inductance value.
4. The method according to claim 2, characterized in that The third simulation model includes a moment of inertia parameter, a torque parameter, and a friction parameter corresponding to the physical structure of the seat. Inputting the back electromotive force signal into the third simulation model through the test cabinet to obtain the Hall signal output by the third simulation model simulating the physical structure of the seat includes: inputting the back electromotive force signal into the third simulation model through the test cabinet; simulating the moment of inertia corresponding to the physical structure of the seat when the motor is operating based on the moment of inertia parameter in the third simulation model; Based on the torque parameter in the third simulation model, simulate the torque corresponding to the physical structure of the seat when the motor is working; simulating, based on the friction parameter in the third simulation model, a friction force corresponding to the physical structure of the seat when the motor is operating; The Hall signal is outputted according to the moment of inertia, the torque, and the friction force through the third simulation model.
5. A seat control test device, characterized in that: The seat control test device includes a test cabinet, a seat controller, and a seat simulation circuit, wherein the test cabinet is connected to the seat controller and the seat simulation circuit respectively, and the seat controller is connected to the seat simulation circuit, wherein: The test cabinet is configured to simulate, in response to an input seat switch signal, a back electromotive force signal and a Hall signal generated by a motor in a seat when the seat controller drives the motor to operate, and output the seat switch signal and the Hall signal to the seat controller, and output the back electromotive force signal to the seat simulation circuit, so as to determine a test result of the seat controller based on at least one of the Hall signal obtained from the seat controller, the back electromotive force signal, a first drive signal output by the seat controller, and an operating current generated by the simulation circuit; The seat controller is configured to output the first drive signal according to the seat switch signal output by the test cabinet; The seat simulation circuit is used to simulate the operating current generated when the motor in the seat is working based on the first drive signal output by the seat controller and the back electromotive force signal.
6. The device according to claim 5, characterized in that The seat simulation circuit includes a first resistor, a first inductor, and a controllable voltage source, wherein: The first port of the first resistor is connected to the first motor drive port of the seat controller, and the second port of the first resistor is connected to the first port of the first inductor; The second port of the first inductor is connected to the first port of the controllable voltage source; The second port of the controllable voltage source is connected to the test cabinet, and is used to receive the back electromotive force signal output by the test cabinet, and adjust the voltage value of the controllable voltage source according to the back electromotive force signal; The third port of the controllable voltage source is connected to the second motor drive port of the seat controller.
7. The device according to claim 6, characterized in that The resistance value of the first resistor is the same as the internal resistance value of the motor in the seat, and is used to simulate the internal resistance of the motor.
8. The device according to claim 6, characterized in that The inductance value of the first inductor is the same as the coil inductance value of the motor in the seat, and is used to simulate the motor coil inductance of the motor.
9. The device according to any one of claims 5 to 8, characterized in that: The test cabinet is a hardware-in-the-loop (HIL) cabinet.
10. A seat control test system, characterized in that: The seat control test system includes: A seat control test device according to any one of claims 5 to 9; A monitoring device connected to the seat control test device, for collecting operating parameters of the seat controller included in the seat control test device, and determining test results of the seat controller based on the operating parameters, wherein the operating parameters include at least one of a Hall signal obtained from the seat controller, a back electromotive force signal, a first drive signal output by the seat controller, and an operating current generated by the analog circuit.
Citation Information
Cited By
Seat diagnosis test method based on HIL platform and related equipment
CN121540442A
Seat diagnostic test method based on hil platform and related apparatus
CN121540442B