CN111290363B - Control logic testing method and device for transmission, computer equipment and system - Google Patents

Control logic testing method and device for transmission, computer equipment and system Download PDF

Info

Publication number
CN111290363B
CN111290363B CN201811494868.6A CN201811494868A CN111290363B CN 111290363 B CN111290363 B CN 111290363B CN 201811494868 A CN201811494868 A CN 201811494868A CN 111290363 B CN111290363 B CN 111290363B
Authority
CN
China
Prior art keywords
data
transmission
stage
vehicle
bus address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811494868.6A
Other languages
Chinese (zh)
Other versions
CN111290363A (en
Inventor
柯意
蒋巍
张伟
李云虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN201811494868.6A priority Critical patent/CN111290363B/en
Publication of CN111290363A publication Critical patent/CN111290363A/en
Application granted granted Critical
Publication of CN111290363B publication Critical patent/CN111290363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Transmission Device (AREA)

Abstract

The invention relates to a control logic testing method, a control logic testing device, computer equipment and a control logic testing system for a transmission. The method comprises the following steps: acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; and determining the control logic of the transmission according to the analog quantity data and the target data. The method can analyze the bus address of the logic data, and solves the problem that the whole vehicle control logic of the transmission is difficult to test in the traditional technology.

Description

Control logic testing method and device for transmission, computer equipment and system
Technical Field
The application relates to the technical field of vehicle testing, in particular to a method, a device, computer equipment and a system for testing control logic of a transmission.
Background
The transmission is one of the most important components in a vehicle transmission system, the automation degree of the transmission is higher and higher along with the development of science and technology, and in order to improve market competitiveness, various performance indexes of the same type of transmissions of other enterprises in the market are required in the design and research stage of the transmission.
In the conventional art, when testing an automatic transmission, it is generally based on a test of the transmission itself, and mainly tests mechanical properties of the transmission, such as fatigue durability of gears, oil level of lubricating oil, and the like.
However, the testing method for the whole vehicle control logic of the transmission is also deficient, so that the testing of the whole vehicle control logic is difficult.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a computer device and a system for testing the control logic of the transmission, aiming at the problem that the conventional method for testing the control logic of the transmission is deficient and the testing of the control logic of the transmission is difficult.
In a first aspect, an embodiment of the present application provides a method for testing control logic of a transmission, the method including:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
In one embodiment, the power-on stage, the engine starting stage, the accelerator stepping stage, the vehicle starting and driving stage and the braking and stopping stage of the tested vehicle are arranged in sequence; the data on the CAN bus of each stage of the detected vehicle is acquired through the CAN data acquisition equipment, and the method comprises the following steps:
acquiring data on the CAN bus of each stage according to the sequence of the power-on stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the tested vehicle; and the data on the CAN bus of each stage comprises data on a plurality of to-be-determined bus addresses in the duration corresponding to the stage.
In one embodiment, the determining a bus address of logic data required for testing the control logic of the transmission according to the data on the CAN bus of each stage includes:
generating a data change curve corresponding to each bus address to be determined in each stage according to data on the CAN bus in each stage;
and determining the bus address of the logic data required by testing the control logic of the transmission according to the data change curve corresponding to each bus address to be determined in each stage.
In one embodiment, the determining a bus address of logic data required for testing the control logic of the transmission according to the data change curve corresponding to each pending bus address in each stage includes:
and comparing data change curves corresponding to the same bus address to be determined in two adjacent stages in sequence, and determining the bus address of the logic data required by testing the control logic of the transmission.
In one embodiment, if the two phases adjacent to each other in the sequence are a power-on phase and an engine starting phase of the tested vehicle; comparing the data change curves corresponding to the same undetermined bus address in the two sequentially adjacent stages to determine the bus address of the logic data required by testing the control logic of the transmission, comprising:
comparing data change curves corresponding to the same undetermined bus address in the power-on stage and the engine starting stage of the tested vehicle, and screening out a first target data curve which changes relative to the power-on stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the engine starting stage;
and comparing the first target data curve with an instrument panel data curve of the tested vehicle, and determining a bus address of a data curve with the same change trend as the instrument panel data curve as a bus address of the engine rotating speed.
In one embodiment, if the two phases adjacent to each other in the sequence are an engine starting phase and an accelerator stepping phase of the tested vehicle, or the two phases are the accelerator stepping phase and a vehicle starting and driving phase; comparing the data change curves corresponding to the same undetermined bus address in the two sequentially adjacent stages to determine the bus address of the logic data required by testing the control logic of the transmission, comprising:
comparing data change curves corresponding to the same undetermined bus address in the previous stage and the next stage of the tested vehicle, and screening out a second target data curve which changes relative to the previous stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the next stage;
comparing the second target data curve with the historical data curve of the tested vehicle, and determining the bus address of the target curve with the variation trend different from the historical data curve as the bus address of the later stage; wherein the historical data curve comprises: the gear data curve of the tested vehicle, the switching state data curve of the vehicle lamp and the switching state data curve of the wiper.
In one embodiment, the sensor data comprises: the input shaft speed of the transmission, the gear of the transmission and the temperature of the clutch, and the current data of the solenoid valve comprise: the clutch controls the current of the solenoid valve and the current of the shift solenoid valve.
In one embodiment, said determining a control logic for said transmission based on said analog data and said target data comprises:
determining a starting clutch control strategy of the transmission according to the engine speed, the current of the clutch control electromagnetic valve, the input shaft speed and the throttle opening; the starting clutch control strategy comprises a current variation trend of a control solenoid valve of the clutch and a variation trend of the throttle opening degree in a time period from the starting combination to the full combination of the clutch;
determining a whole vehicle gear shifting boundary line of the transmission according to the wheel rotating speed, the gear of the transmission and the throttle opening; the whole vehicle gear shifting boundary line is the target wheel rotating speed and the target throttle opening degree which are required to correspond to different gears of the transmission;
determining a control strategy of a gear shifting fork according to the gear of the transmission and the current of the gear shifting solenoid valve; the control strategy of the gear shifting fork is the current change trend of the gear shifting electromagnetic valve in the time length from the current gear of the transmission to the target gear;
determining a thermal protection strategy of the clutch according to the temperature of the clutch; the thermal protection strategy is a maximum temperature threshold set for the clutch;
and determining the control logic of the transmission according to a starting clutch control strategy of the transmission, a whole vehicle gear shifting boundary line of the transmission, a control strategy of the gear shifting fork and a thermal protection strategy of the clutch.
In one embodiment, the transmission is equipped with an integrated automatic transmission control unit, and the sensors and the solenoid valves in the transmission have leads connected to the analog device.
In a second aspect, embodiments of the present application provide a control logic testing apparatus for a transmission, the apparatus comprising:
the first determining module is used for acquiring data on CAN buses of the tested vehicle at various stages through CAN data acquisition equipment and determining bus addresses of logic data required by testing the control logic of the transmission according to the data on the CAN buses at various stages; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
the acquisition module is used for acquiring target data on a bus address in a simulation process according to the bus address of the logic data in a vehicle simulation test stage and acquiring analog quantity data of the transmission through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and the second determination module is used for determining the control logic of the transmission according to the analog quantity data and the target data.
In a third aspect, an embodiment of the present application provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
In a fourth aspect, embodiments of the present application provide a control logic testing system for a transmission, the system comprising: the system comprises a current sensor, an analog quantity acquisition device, a whole vehicle controller, a transmission, a CAN data acquisition device and a computer device; the current sensor is respectively connected with the analog quantity acquisition equipment and the transmission; the transmission provided with an integrated automatic transmission control unit is connected with the whole vehicle CAN data acquisition equipment through the whole vehicle controller and a CAN bus, and the analog quantity acquisition equipment and the CAN data acquisition equipment are respectively connected with the computer equipment;
the analog quantity acquisition equipment is used for acquiring sensor data measured by each sensor of the transmission and current data of each electromagnetic valve acquired by the current sensor and transmitting the acquired data to the computer equipment;
the CAN data acquisition equipment is used for acquiring data on CAN buses of the detected vehicle in each stage through the vehicle control unit and transmitting the data on the CAN buses in each stage to the computer equipment;
the computer equipment is used for determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage, acquiring target data on the bus address in a simulation process according to the bus address of the logic data, and determining the control logic of the transmission according to the current data, the sensor data and the target data.
In a fifth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
According to the control logic test method, the control logic test device, the computer equipment, the control logic test system and the storage medium of the transmission provided by the embodiment, the computer equipment CAN acquire data on the CAN bus of each stage of the tested vehicle through the CAN data acquisition equipment, and determine the bus address of the logic data required by the control logic of the transmission to be tested according to the data on the CAN bus of each stage, so that target data on the bus address in the simulation process is directly acquired according to the bus address of the determined logic data in the vehicle test simulation stage, and the control logic of the transmission is determined according to the analog quantity data of the transmission acquired by the analog quantity acquisition equipment. In this embodiment, under the condition that the bus address is unknown, the computer device may determine the bus address of the logical data required for testing the control logic of the transmission according to the data on the CAN bus at each stage, so as to analyze the bus address of the logical data, so as to facilitate the test of the control logic of the entire vehicle of the transmission at the vehicle test stage, thereby improving the convenience of the test of the control logic of the transmission, and the computer device does not need to receive data from more devices, and only needs to complete the test of the control logic of the entire vehicle of the transmission according to the analog data collected by the analog quantity collecting device and the bus data collected by the CAN data collecting device, and the test method is relatively simple; in addition, because the CAN data acquisition equipment CAN acquire data from the vehicle controller of the tested vehicle, the target data CAN comprise various logic data, such as related data of a clutch, related data of a lamp, related data of an engine and the like, and thus, the computer equipment CAN determine the control logic of the transmission and the control logic of other equipment, such as the clutch, having a power connection relationship with the transmission according to different logic data and analog quantity data, so that the vehicle control logic of the transmission is obtained, and the problem that the vehicle control logic of the transmission is difficult to test in the traditional technology is solved.
Drawings
FIG. 1 is a schematic diagram of a control logic testing system for a transmission according to one embodiment;
FIG. 2 is a schematic flow chart illustrating a method for testing control logic of a transmission according to one embodiment;
FIG. 3 is a schematic flow chart illustrating a method for testing control logic of a transmission according to another embodiment;
FIG. 4 is a flow chart illustrating a method for testing control logic of a transmission according to yet another embodiment;
FIG. 5 is a flow chart illustrating a method for testing control logic of a transmission according to yet another embodiment;
FIG. 6 is a schematic diagram of a control logic testing apparatus for a transmission according to one embodiment;
FIG. 7 is a schematic diagram of a control logic testing apparatus for a transmission according to another embodiment;
FIG. 8 is a schematic diagram of a control logic testing apparatus for a transmission according to yet another embodiment;
fig. 9 is a schematic internal structural diagram of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The control logic test method of the transmission provided by the embodiment of the application can be applied to a control logic test system of the transmission shown in FIG. 1. The control logic test system of the transmission can be applied to vehicles, and the vehicles can be any vehicles containing automatic transmissions and other vehicles with corresponding control functions and containing automatic transmissions. Taking the vehicle as an example, the vehicle may be a single oil-circuit vehicle, a single steam-circuit vehicle, an oil-gas combined vehicle, or an assisted electric vehicle, and the type of the vehicle is not limited in the embodiment of the present application. The following embodiments are all described by taking the case where the vehicle is a vehicle.
The control logic system of the transmission may include a current sensor 10, an analog quantity acquisition device 11, a vehicle control unit 12, a transmission 13, a CAN (Controller Area Network) data acquisition device 14, and a computer device 15. The current sensor 10 is respectively connected with an analog quantity acquisition device 11 and a speed changer 13; a Transmission 13 equipped with an integrated automatic Transmission Control Unit (TCU) is connected to a CAN data acquisition device 14 through a vehicle Control Unit 12 and a CAN bus, and the analog quantity acquisition device 11 and the CAN data acquisition device 14 are connected to the computer device 15, respectively. Optionally, the current sensor 10 is electrically connected to the analog quantity acquisition device 11 and the transmission 13, the transmission 13 is in communication connection with the CAN data acquisition device 14 through the vehicle control unit 12 and the CAN bus, and the analog quantity acquisition device 11 and the CAN data acquisition device 14 are in communication connection with the computer device 15. The vehicle control unit 12 and the transmission 13 are located in a vehicle 16 to be tested. Optionally, the CAN data acquisition device 14 may be a USBCAN analyzer. Optionally, the control logic system of the transmission may further comprise a chassis dynamometer 17 for providing road resistance to the vehicle under test.
The analog quantity acquisition equipment is used for acquiring sensor data measured by each sensor of the transmission and current data of each electromagnetic valve acquired by the current sensor and transmitting the acquired data to the computer equipment.
The CAN data acquisition device 14 is configured to acquire data on the CAN bus of the vehicle under test at each stage through the vehicle controller 12, and transmit the data on the CAN bus at each stage to the computer device 15.
The computer device 15 is configured to determine a bus address of logic data required for testing the control logic of the transmission 13 according to data on the CAN bus at each stage, acquire target data on the bus address in the simulation process according to the bus address of the logic data, and determine the control logic of the transmission according to the current data, the sensor data, and the target data.
It should be noted that, in the control logic testing method for a transmission provided in the embodiment of the present invention, the execution subject may be a control logic testing apparatus for a transmission, and the control logic testing apparatus for a transmission may be implemented as part or all of a computer device by software, hardware, or a combination of software and hardware. In the following method embodiments, the execution subject is a computer device as an example.
FIG. 2 is a flow chart illustrating a method for testing control logic of a transmission according to one embodiment. The embodiment relates to a method for determining a bus address corresponding to logic data such as engine speed, throttle opening and wheel speed by computer equipment according to data acquired by CAN data acquisition equipment, acquiring the engine speed, the throttle opening, the wheel speed and the like corresponding to the bus address, and determining a realization process of control logic of a transmission through analog quantity data acquired by analog quantity acquisition equipment. As shown in fig. 2, the method may include:
s201, acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening degree, and a wheel speed.
Specifically, the CAN bus is a communication network interconnecting vehicle devices or vehicle instruments on the bottom layer in the vehicle-mounted network. The CAN data acquisition equipment CAN acquire a plurality of data from a CAN bus of the tested vehicle, wherein the plurality of data comprise logic data required for testing the control logic of the transmission. In this embodiment, the control logic of the transmission may be a control law or output response of the transmission. It should be noted that each data on the CAN bus corresponds to one bus address, and the bus addresses corresponding to different data are different. The logic data may include at least one of an engine speed, a throttle opening degree, and a wheel speed. Optionally, the computer device may obtain data on the CAN bus from the CAN data acquisition device in real time, or may obtain data on the CAN bus from the CAN data acquisition device according to a preset period. The above phases may include at least two of a power-on phase, an engine starting phase, a gas stepping phase and a vehicle starting driving phase of the tested vehicle. Optionally, the power-on stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the vehicle to be tested may respectively correspond to a preset time period of the vehicle to be tested in a running state corresponding to power-on, a preset time period of the vehicle to be tested in a running state corresponding to engine starting, a preset time period of the vehicle to be tested in a running state corresponding to accelerator stepping, and a preset time period of the vehicle to be tested in a running state corresponding to vehicle starting and driving.
Optionally, the computer device may obtain data on the CAN bus according to the random sequence of the above each stage, and may also obtain data on the CAN bus according to a preset arrangement sequence. Optionally, the computer device may obtain data on the CAN bus in two or more of the above stages according to an input instruction of a user, for example, if the user needs data in the power-on stage and the engine starting stage, the computer device may input an input instruction carrying the power-on stage and the engine starting stage to the computer device, and after receiving the input instruction, the computer device may only collect data on the CAN bus in the power-on stage and the engine starting stage.
After the computer equipment acquires the data on the CAN bus of each stage of the tested vehicle, the logic data required by testing the control logic of the transmission CAN be determined according to the comparison result of the data on the CAN bus of each stage and the preset threshold range of the corresponding stage, so that the bus address corresponding to the logic data is determined.
S202, in the stage of simulating vehicle testing, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog data includes sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission.
Specifically, the simulation environment in the vehicle test simulation stage may be simulated by using a chassis dynamometer, or may be simulated by using an actual road that needs to be traveled. In the simulated vehicle test stage, the computer device may obtain the target data at the bus address in the simulation process from the CAN data acquisition device according to the bus address of the logical data determined in S201. Optionally, the computer device may obtain target data corresponding to the bus address selected by the user from the CAN data acquisition device according to the selection instruction of the user, and may also obtain the target data at each bus address determined in S201 from the CAN data acquisition device. Optionally, the correspondence between the bus address and the target data does not change with time, for example, the bus address corresponding to the engine speed determined in S201 is 184, and in the stage of testing the simulated vehicle, the bus address corresponding to the engine speed is still 184.
The analog quantity acquisition device can acquire analog quantity data of a transmission in a tested vehicle, and the analog quantity data can comprise sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission. The current data of each electromagnetic valve can be collected by a current sensor in a control logic test system of the transmission and transmitted to the analog quantity collecting equipment. Optionally, the analog quantity acquisition device may include an a/D conversion module, and the a/D conversion module may be configured to convert an analog signal acquired by the analog quantity acquisition device into a digital signal, so as to transmit the analog quantity data to the computer device, so that the computer device may determine the control logic of the transmission.
And S203, determining the control logic of the transmission according to the analog quantity data and the target data.
In this step, since the CAN data acquisition device CAN acquire data from the vehicle control unit of the vehicle to be detected, the target data may include various logic data, such as data related to the clutch, data related to the vehicle lamp, data related to the engine, and the like, so that the computer device may determine different control logics according to different logic data and analog data. The control logic for the transmission may include control logic for the transmission itself, and may also include control logic for other devices, such as clutches, that are in power-connected relationship with the transmission. The computer device may determine the control logic of the transmission according to the analog quantity data and the target data obtained under different simulation conditions, for example, when the simulation condition is that the driver drives the tested vehicle to start and stop frequently on a slope, the CAN data acquisition device may send the target data corresponding to the acquired bus address and the analog quantity data acquired by the analog quantity acquisition device to the computer device, and the computer device may determine the control logic of the clutch according to the obtained target data and the analog quantity data.
According to the control logic test method of the transmission, the computer device CAN acquire data on the CAN bus of each stage of the tested vehicle through the CAN data acquisition device, and determine the bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus of each stage, so that in the stage of simulating vehicle test, target data on the bus address in the simulation process is directly acquired according to the bus address of the determined logic data, and the control logic of the transmission is determined through the analog quantity data of the transmission acquired by the analog quantity acquisition device. In this embodiment, under the condition that the bus address is unknown, the computer device may determine the bus address of the logical data required for testing the control logic of the transmission according to the data on the CAN bus at each stage, so as to analyze the bus address of the logical data, so as to facilitate the test of the control logic of the entire vehicle of the transmission at the vehicle test stage, thereby improving the convenience of the test of the control logic of the transmission, and the computer device does not need to receive data from more devices, and only needs to complete the test of the control logic of the entire vehicle of the transmission according to the analog data collected by the analog quantity collecting device and the bus data collected by the CAN data collecting device, and the test method is relatively simple; in addition, because the CAN data acquisition equipment CAN acquire data from the vehicle controller of the tested vehicle, the target data CAN comprise various logic data, such as related data of a clutch, related data of a lamp, related data of an engine and the like, and thus, the computer equipment CAN determine the control logic of the transmission and the control logic of other equipment, such as the clutch, having a power connection relationship with the transmission according to different logic data and analog quantity data, so that the vehicle control logic of the transmission is obtained, and the problem that the vehicle control logic of the transmission is difficult to test in the traditional technology is solved.
On the basis of the above embodiment, as an optional implementation manner of the above embodiment, the power-on stage, the engine starting stage, the accelerator stepping stage, the vehicle starting and driving stage, and the brake and stop stage of the vehicle to be tested are arranged in sequence. Thus, the above acquiring data on the CAN bus of the detected vehicle at each stage by the CAN data acquisition device may include: and acquiring data on the CAN bus of each stage according to the sequence of the power-on stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the detected vehicle. The data on the CAN bus of each stage comprises data on a plurality of bus addresses to be determined in the time length corresponding to the stage. On one hand, the power-on stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the detected vehicle are carried out according to the sequence of the driver driving the vehicle normally, so that the CAN data acquisition equipment CAN send acquired data to the computer equipment in real time; on the other hand, the received data of the two adjacent stages are compared conveniently by the computer equipment.
FIG. 3 is a flow chart illustrating a method of control logic for a transmission according to another embodiment. The embodiment relates to a realization process of determining a bus address of logic data required by control logic of a transmission by a computer according to data on a CAN bus of each stage of an obtained power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of a tested vehicle. On the basis of the foregoing embodiment, optionally, the "determining a bus address of logic data required for testing the control logic of the transmission according to the data on the CAN bus of each stage" in the foregoing S201 may include:
s301, generating a data change curve corresponding to each pending bus address in each stage according to data on the CAN bus in each stage.
In this embodiment, the data change curve may be a change curve of data corresponding to the bus address to be determined, where the abscissa is the collection time, and the ordinate is the undetermined bus address. Optionally, the computer may convert the hexadecimal data corresponding to the bus address to be tested into decimal data, so as to display a variation curve of the data corresponding to the bus address to be tested, where the abscissa is the acquisition time and the ordinate is the decimal, so as to facilitate the test of a tester. Optionally, each pending bus address corresponds to a data variation curve. Optionally, the computer device may also generate a data change curve corresponding to the pending bus address corresponding to the target CAN data according to a generation instruction of the target CAN data input by the user, for example, the target CAN data may be data that is not a fixed value in a corresponding stage, that is, data that changes with time in the corresponding stage.
S302, determining the bus address of the logic data required by testing the control logic of the transmission according to the data change curve corresponding to each bus address to be determined in each stage.
Specifically, the computer device may determine a data variation curve corresponding to the logical data required by the control logic of the test transmission according to the matching degree between the data variation curve corresponding to each pending bus address in each stage and a preset data variation curve, and determine the pending bus address corresponding to the data variation curve according to the corresponding relationship between the data variation curve and the pending bus address.
Optionally, the computer device may also compare data change curves corresponding to the same bus address to be determined in two consecutive stages, and determine a bus address of the logic data required for testing the control logic of the transmission. Optionally, different comparison stages may correspond to different comparison methods, and the specific comparison determination method may be as follows:
the first comparison mode is as follows: if the two stages adjacent to each other in sequence are the power-on stage and the engine starting stage of the vehicle to be tested, the following steps can be taken to compare data change curves corresponding to the same undetermined bus address in the two stages adjacent to each other in sequence so as to determine the bus address of the logic data required by testing the control logic of the transmission:
s3021, comparing data change curves corresponding to the same undetermined bus address in the power-on stage and the engine starting stage of the tested vehicle, and screening out a first target data curve which changes relative to the power-on stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the engine starting stage.
In this step, the computer device may compare data on data change curves corresponding to the same undetermined bus address in the power-on stage and the engine starting stage of the detected vehicle, and screen out a first target data curve that changes with respect to data on the data change curve corresponding to the power-on stage of the detected vehicle; the variation trends of the data variation curves corresponding to the same undetermined bus address in the power-on stage and the engine starting stage of the detected vehicle can be compared, and the first target data curves with different variation trends relative to the data curves in the power-on stage of the detected vehicle are screened out. Optionally, whether the data is changed or not may be defined by whether the data is a fixed value or not, for example, if the slope of the data change curve corresponding to the power-on stage is zero, and the slope of the data change curve corresponding to the same bus address to be determined in the engine starting stage is non-zero, it may be considered that the data on the data change curve corresponding to the engine starting stage is changed relative to the data on the data change curve corresponding to the power-on stage of the vehicle to be measured. Optionally, there may be a plurality of first target data curves.
S3022, comparing the first target data curve with an instrument panel data curve of the tested vehicle, and determining a bus address of a data curve with the same change trend as the instrument panel data curve as the bus address of the engine speed.
In this step, the computer device may collect data of an engine dashboard of the vehicle under test in the engine starting stage, and generate a dashboard data curve with an abscissa as time and an ordinate as data of the dashboard, so as to compare each target data curve in the first target data curve with the dashboard data curve, and determine a bus address of a data curve with the same variation trend as the dashboard data curve as a bus address of the engine rotation speed. Because the data on the CAN bus acquired by the computer equipment from the CAN data acquisition equipment comprises the engine rotating speed, the data displayed by the engine instrument panel is also the engine rotating speed, and the corresponding stages of the engine rotating speed and the engine instrument panel are engine starting stages, the variation trends of the engine rotating speed and the engine instrument panel are the same, so that the data curve with the same variation trend of the data curve in the first target data curve and the variation trend of the instrument panel data curve of the vehicle to be detected is determined to be the data curve corresponding to the engine rotating speed, and the accuracy of determining the bus address CAN be improved.
And a second comparison mode: if the two adjacent stages in sequence are the engine starting stage and the accelerator stepping stage of the tested vehicle, or the accelerator stepping stage and the vehicle starting and driving stage; comparing data change curves corresponding to the same undetermined bus address in two adjacent stages in sequence, and determining the bus address of logic data required by the control logic of the test transmission, wherein the bus address comprises the following steps:
and S3023, comparing data change curves corresponding to the same undetermined bus address in the previous stage and the next stage of the tested vehicle, and screening out a second target data curve which changes relative to the previous stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the next stage.
In this step, a manner S3021 of screening the second target data curve that changes with respect to the previous stage of the vehicle to be tested is similar, and details are not repeated here.
S3024, comparing the second target data curve with a historical data curve of the tested vehicle, and determining a bus address of a target curve with a different variation trend from the historical data curve as the bus address of the later stage; wherein the historical data curve comprises: the gear data curve of the tested vehicle, the switching state data curve of the vehicle lamp and the switching state data curve of the wiper.
In this step, the historical data curve may include a gear data curve of the vehicle, a switch state data curve of the vehicle lamp, a switch state data curve of the wiper, and the like, and may further include data that CAN be acquired by other CAN data acquisition devices. Before the vehicle testing stage is simulated, the computer equipment CAN respectively generate a corresponding gear data curve, a corresponding switch state data curve of the vehicle lamp, a corresponding switch state data curve of the wiper and the like by utilizing the gear data, the switch state data of the vehicle lamp, the switch state data of the wiper and the like acquired by the CAN data acquisition equipment. In this step, the computer device may compare the second target data curve with the change trend of the historical data curve of the vehicle under test, and determine a bus address of a target curve having a different change trend from the historical data curve as a bus address of a subsequent stage.
Through the comparison mode I and the comparison file II, the computer equipment can compare data change curves corresponding to the same undetermined bus address in two adjacent stages in sequence, and determine the bus address of the logic data required by testing the control logic of the transmission.
According to the control logic method of the transmission provided by the embodiment, the computer equipment CAN generate a data change curve corresponding to each pending bus address in each stage according to the data on the CAN bus in each stage; and comparing data change curves corresponding to the same bus address to be determined in two adjacent stages in sequence, and determining the bus address of the logic data required by the control logic of the test transmission. In two adjacent stages, the data change curves of the current stage are relatively less than the data change curve changed in the previous stage, so that the data change curves of the current stage are compared, the data change curves of the current stage are determined as compared with the data change curve changed in the previous stage, the number of the obtained data change curves is relatively less than that of the data change curves directly obtained from the current stage, and the candidate data change curves of the logic data required for determining are reduced.
On the basis of the above embodiment, the sensor data may include: the input shaft speed of the transmission, the gear of the transmission and the temperature of the clutch, and the current data of the electromagnetic valve comprises: the clutch controls the current of the solenoid valve and the current of the shift solenoid valve.
FIG. 4 is a flow chart illustrating a control logic method for a transmission according to yet another embodiment. The embodiment relates to a computer device for determining the implementation process of the control logic of the transmission according to the analog quantity data and the target data. On the basis of the foregoing embodiment, optionally, the foregoing S203 may include:
s401, determining a starting clutch control strategy of the transmission according to the engine speed, the current of the clutch control electromagnetic valve, the input shaft speed and the throttle opening; the starting clutch control strategy comprises a current variation trend of a control solenoid valve of the clutch and a variation trend of the throttle opening degree in the time period from the starting combination to the full combination of the clutch.
Specifically, in a vehicle test simulation stage, when a driver starts an engine, the CAN data acquisition device CAN acquire the rotation speed of the engine and the opening degree of a throttle valve according to a preset sampling frequency and send the rotation speed and the opening degree of the throttle valve to the computer device, and the analog quantity acquisition device CAN acquire the rotation speed of an input shaft of the transmission, acquire the current of the clutch control electromagnetic valve through a current sensor in a control logic system of the transmission and send the current to the computer device.
When the driver starts the engine, the clutch begins to engage and becomes fully engaged. Alternatively, the computer device may determine whether the clutch starts to be engaged based on a comparison of the engine speed with a preset engine speed threshold range, and may determine that the clutch starts to be engaged when the engine speed is within the preset engine speed threshold range. Alternatively, the computer device may determine that the clutch is fully engaged when it is determined that the engine speed and the input shaft speed are equal. The computer device may obtain a trend of a current of the control solenoid valve of the clutch and a trend of a throttle opening degree in a period from the start of engagement to the full engagement of the clutch, based on the current of the control solenoid valve of the clutch and the throttle opening degree in the period from the start of engagement to the full engagement of the clutch. And the current variation trend of the control electromagnetic valve of the clutch and the variation trend of the opening degree of the throttle valve in the time period from the start of the engagement of the clutch to the complete engagement are the starting clutch control strategy.
S402, determining a whole vehicle gear shifting boundary line of the transmission according to the wheel rotating speed, the gear of the transmission and the throttle opening; and the whole vehicle gear shifting boundary line is the target wheel rotating speed and the target throttle opening degree which are required to correspond to different gears of the transmission.
Specifically, the driver CAN step on the accelerator pedal to control the opening of the throttle at the current driving speed, the CAN data acquisition device CAN acquire data on a CAN bus including the opening of the throttle and the wheel rotation speed in the duration of the driver stepping on the accelerator pedal in real time and send the data to the computer device, and the computer device determines the opening of the throttle and the wheel rotation speed in the duration of the driver stepping on the accelerator pedal according to bus addresses respectively corresponding to the opening of the throttle and the wheel rotation speed determined by the embodiment. Within the time length of stepping on the accelerator pedal by the driver, the analog quantity acquisition equipment can acquire the gear of the transmission in real time and send the gear to the computer equipment. According to the obtained wheel rotating speed, the gear position of the transmission and the throttle opening, the computer equipment can determine the target wheel rotating speed and the target throttle opening which are required to correspond to different gear positions of the transmission. And the target wheel rotating speed and the target throttle opening corresponding to the gear positions of the different transmissions are the whole vehicle gear shifting boundary lines of the transmissions.
S403, determining a control strategy of a gear shifting fork according to the gear of the transmission and the current of the gear shifting solenoid valve; the control strategy of the gear shifting fork is the current change trend of the gear shifting electromagnetic valve in the time length from the current gear of the transmission to the target gear.
Specifically, a driver can perform gear engaging or gear disengaging operation in the running process of a vehicle to be tested, when the driver performs the gear engaging or gear disengaging operation on the basis of the current gear, the analog quantity acquisition equipment can acquire the current gear of the transmission and a target gear of the transmission during the gear engaging or gear disengaging, and the current change trend of the gear shifting electromagnetic valve from the current gear of the transmission to the target gear is acquired through a current sensor in a control logic system of the transmission. And the current change trend of the gear shifting solenoid valve from the current gear to the target gear of the transmission is the control strategy of the gear shifting fork.
S404, determining a thermal protection strategy of the clutch according to the temperature of the clutch; the thermal protection strategy is the temperature change trend of the clutch in the time period from the current temperature rise of the clutch to the clutch separation of the clutch.
Specifically, in the simulated vehicle test stage, the driver can perform frequent starting and frequent stopping operations on the tested vehicle, so that the clutch of the dual-clutch transmission is repeatedly combined and separated, the temperature of the clutch is rapidly increased, and when the temperature of the clutch is increased to a certain temperature, the clutch cannot be combined. Within the operation duration of frequent starting and frequent stopping of a driver from the current driving moment, the analog quantity acquisition device can acquire the temperature change trend of the corresponding temperature when the clutch rises from the current temperature corresponding to the current moment to the temperature when the clutch cannot be combined in real time and send the temperature change trend to the computer device, and the computer device can set the highest temperature threshold value for the clutch according to the temperature change trend. The maximum temperature threshold set for the clutch is the thermal protection strategy for the clutch.
S405, determining the control logic of the transmission according to a starting clutch control strategy of the transmission, a whole vehicle gear shifting line of the transmission, a control strategy of a gear shifting fork and a thermal protection strategy of the clutch.
Specifically, the starting clutch control strategy of the transmission, the whole vehicle gear shifting boundary of the transmission, the control strategy of the gear shifting fork and the thermal protection strategy of the clutch determined in the steps form the control logic of the transmission.
According to the control logic test method for the transmission, provided by the embodiment, a computer device can determine a starting clutch control strategy of the transmission, a whole vehicle gear shifting boundary line of the transmission, a control strategy of a gear shifting fork and a thermal protection strategy of the clutch according to data such as the rotating speed of an input shaft of the transmission, the gear of the transmission, the temperature of the clutch, the current of a clutch control solenoid valve, the current of the gear shifting solenoid valve and the like, wherein the starting clutch control strategy of the transmission, the whole vehicle gear shifting boundary line of the transmission, the control strategy of the gear shifting fork and the thermal protection strategy of the clutch form the control logic of the transmission, and the problem that a whole vehicle control logic test method for the transmission is lacked in the traditional technology is solved; in addition, the control logic of the transmission can be used as reference data for research and development personnel to research and develop the transmission, so that the research and development personnel can conveniently judge the performance of the autonomously researched and developed transmission according to the control logic of the transmission of different vehicles to be tested and a preset evaluation system.
On the basis of the above embodiment, optionally, the transmission is equipped with an integrated TCU therein, and the sensor and the solenoid valve in the transmission have leads connected to the analog device. Because the integrated TCU is integrated in the transmission and electrically connected to each sensor and solenoid valve in the transmission, if the current sensor and the analog quantity acquisition device are connected to each sensor and solenoid valve in the transmission, each sensor and solenoid valve in the transmission need to be led out of the transmission through lead wires. Optionally, the tester can directly utilize the universal meter to measure each sensor in the derailleur and each port of solenoid valve, finds out the port that switches on each other to determine the port that each sensor and solenoid valve correspond, also can utilize following mode with each sensor in the derailleur and solenoid valve through the lead wire draw outside the derailleur: the tester can determine the area corresponding to the electromagnetic valve and the area corresponding to the sensor according to the connection relation between the integrated TCU and each sensor and the electromagnetic valve, the wiring rule and the like; respectively determining a grounding wire and a mutual conduction wiring of each area by using the on-off function of a universal meter aiming at the determined area corresponding to the electromagnetic valve and the determined area corresponding to the sensor; the digital oscilloscope is used for testing each sensor, the type of each sensor can be determined, for example, the type of the sensor can be a circuit sensor or a current sensor, and the like, so that the sensors of different types can be connected to the matched ports of the analog quantity acquisition equipment. After each port and the corresponding device are determined, a port definition table can be formulated, and the port definition table can comprise the identifier of each port and the device which the port should represent, so that a tester can conveniently connect different ports to the corresponding ports of the analog quantity acquisition equipment or the current sensor. After each port and the corresponding device are determined, a lead wire needs to be welded to each port, so that the sensor or the electromagnetic valve corresponding to the lead wire is conveniently connected with the current sensor or the analog quantity acquisition equipment.
The following describes the process of the control logic test method of the transmission according to the embodiment of the present invention by way of a simple example. Specifically, see fig. 5 for a description:
s501, acquiring data on the CAN bus of each stage by the computer equipment according to the sequence of the electrifying stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the detected vehicle; and the data on the CAN bus of each stage comprises data on a plurality of to-be-determined bus addresses in the duration corresponding to the stage.
And S502, generating a data change curve corresponding to each bus address to be determined in each stage by the computer equipment according to the data on the CAN bus in each stage.
S503, judging whether the two adjacent stages in sequence are the power-on stage and the engine starting stage of the tested vehicle, if so, executing S503a and S503 b.
S503a, the computer equipment compares the data change curves corresponding to the same undetermined bus address in the electrifying stage and the engine starting stage of the tested vehicle, and screens out a first target data curve which changes relative to the electrifying stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the engine starting stage.
S503b, the computer device compares the first target data curve with an instrument panel data curve of the tested vehicle, and determines the bus address of the data curve with the same change trend as the instrument panel data curve as the bus address of the engine speed. After this step is completed, the process proceeds to S505.
S504, judging whether the two adjacent stages in sequence are the engine starting stage and the accelerator stepping stage of the tested vehicle, or whether the two adjacent stages are the accelerator stepping stage and the vehicle starting and driving stage. If so, perform S504a and S504 b.
S504a, the computer equipment compares the data change curves corresponding to the same undetermined bus address in the previous stage and the later stage of the tested vehicle, and screens out a second target data curve which changes relative to the previous stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the later stage.
S504b, the computer device compares the second target data curve with the historical data curve of the tested vehicle, and determines the bus address of the target curve with the variation trend different from the historical data curve as the bus address of the later stage; wherein the historical data curve comprises: the gear data curve of the tested vehicle, the switching state data curve of the vehicle lamp and the switching state data curve of the wiper. After this step is completed, the process proceeds to S505.
S505, in a vehicle simulation test stage, the computer equipment acquires target data on a bus address in a simulation process according to the bus address of the logic data, and acquires analog quantity data of the transmission through analog quantity acquisition equipment; the analog data includes sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission.
S506, determining a starting clutch control strategy of the transmission by the computer equipment according to the engine speed, the current of the clutch control electromagnetic valve, the input shaft speed and the throttle opening; the starting clutch control strategy comprises a current variation trend of a control solenoid valve of the clutch and a variation trend of the throttle opening degree in the time period from the starting combination to the full combination of the clutch.
S507, determining a whole vehicle gear shifting boundary line of the transmission by the computer device according to the wheel rotating speed, the gear of the transmission and the throttle opening; and the whole vehicle gear shifting boundary line is the target wheel rotating speed and the target throttle opening degree which are required to correspond to different gears of the transmission.
S508, the computer equipment determines a control strategy of a gear shifting fork according to the gear of the transmission and the current of the gear shifting solenoid valve; the control strategy of the gear shifting fork is the current change trend of the gear shifting electromagnetic valve in the time length from the current gear of the transmission to the target gear.
S509, determining a thermal protection strategy of the clutch by the computer equipment according to the temperature of the clutch; the thermal protection strategy is a maximum temperature threshold set for the clutch.
And S510, determining the control logic of the transmission by computer equipment according to a starting clutch control strategy of the transmission, a whole vehicle gear shifting boundary line of the transmission, a control strategy of the gear shifting fork and a thermal protection strategy of the clutch.
The working principle and technical effect of the control logic testing method for the transmission provided by the embodiment are as described in the above embodiment, and are not described herein again.
It should be understood that, although the steps in the flowcharts of fig. 2 to 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
FIG. 6 is a schematic diagram of a control logic testing device of the transmission according to one embodiment. As shown in fig. 6, the apparatus may include a first determining module 10, an obtaining module 11, and a second determining module 12.
Specifically, the first determining module 10 is configured to obtain data on a CAN bus of a vehicle to be tested at each stage through a CAN data acquisition device, and determine a bus address of logic data required for testing a control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening degree, and a wheel speed.
The acquisition module 11 is configured to, in a vehicle simulation test stage, acquire target data at a bus address in a simulation process according to the bus address of the logic data, and acquire analog data of the transmission through an analog acquisition device; the analog data includes sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission.
And the second determination module 12 is used for determining the control logic of the transmission according to the analog quantity data and the target data.
Optionally, the power-on stage, the engine starting stage, the accelerator stepping stage, the vehicle starting and driving stage and the braking and stopping stage of the detected vehicle are arranged in sequence.
Optionally, the sensor data includes: the input shaft speed of the transmission, the gear of the transmission and the temperature of the clutch, and the current data of the solenoid valve comprise: the clutch controls the current of the solenoid valve and the current of the shift solenoid valve.
Optionally, the transmission is equipped with an integrated automatic transmission control unit inside, and the sensors and the solenoid valves inside the transmission have leads connected to the simulation device.
The control logic testing device for the transmission provided by the embodiment can execute the method embodiments, and the implementation principle and the technical effect are similar, so that the detailed description is omitted.
FIG. 7 is a schematic diagram of a control logic testing apparatus for a transmission according to another embodiment. On the basis of the embodiment shown in fig. 6, optionally, the first determining module 10 may include an obtaining unit 101, a generating unit 102, and a first determining unit 103.
Specifically, the obtaining unit 101 is configured to obtain data on the CAN bus of each stage according to a sequence of a power-on stage, an engine starting stage, an accelerator stepping stage, and a vehicle starting and driving stage of the vehicle to be tested; and the data on the CAN bus of each stage comprises data on a plurality of to-be-determined bus addresses in the duration corresponding to the stage.
The generating unit 102 is configured to generate a data change curve corresponding to each address of the to-be-determined bus in each stage according to data on the CAN bus in each stage.
The first determining unit 103 is configured to determine a bus address of logic data required for testing the control logic of the transmission according to a data change curve corresponding to each bus address to be determined in each stage.
The control logic testing device for the transmission provided by the embodiment can execute the method embodiments, and the implementation principle and the technical effect are similar, so that the detailed description is omitted.
In another embodiment of the control logic testing apparatus for a transmission, the first determining unit 103 is specifically configured to compare data change curves corresponding to the same pending bus address in two sequentially adjacent stages, and determine a bus address of logic data required for testing the control logic of the transmission.
Optionally, if the two phases adjacent to each other in the sequence are the power-on phase and the engine starting phase of the vehicle to be tested, the first determining unit 103 is specifically configured to compare data change curves corresponding to the same undetermined bus address in the power-on phase and the engine starting phase of the vehicle to be tested, and screen out a first target data curve that changes with respect to the power-on phase of the vehicle to be tested from the data change curves corresponding to each undetermined bus address in the engine starting phase; and comparing the first target data curve with an instrument panel data curve of the tested vehicle, and determining a bus address of a data curve with the same change trend as the instrument panel data curve as a bus address of the engine rotating speed.
Optionally, if the two phases adjacent to each other in the sequence are the engine starting phase and the accelerator stepping phase of the vehicle to be tested, or the accelerator stepping phase and the vehicle starting and driving phase, the first determining unit 103 is specifically configured to compare data change curves corresponding to the same undetermined bus address in the previous phase and the subsequent phase of the vehicle to be tested, and screen out a second target data curve that changes relative to the previous phase of the vehicle to be tested from the data change curves corresponding to each undetermined bus address in the subsequent phase; comparing the second target data curve with the historical data curve of the vehicle to be tested, and determining the bus address of the target curve with the variation trend different from the historical data curve as the bus address of the later stage; wherein the historical data curve comprises: the gear data curve of the tested vehicle, the switching state data curve of the vehicle lamp and the switching state data curve of the wiper.
The control logic testing device for the transmission provided by the embodiment can execute the method embodiments, and the implementation principle and the technical effect are similar, so that the detailed description is omitted.
FIG. 8 is a schematic diagram of a control logic testing apparatus for a transmission according to yet another embodiment. On the basis of the above embodiment, optionally, the above second determining module 12 may include a second determining unit 121, a third determining unit 122, a fourth determining unit 123, a fifth determining unit 124 and a sixth determining unit 125.
A second determining unit 121, configured to determine a starting clutch control strategy of the transmission according to the engine speed, the current of the clutch control solenoid, the input shaft speed, and the throttle opening; the starting clutch control strategy comprises a current variation trend of a control solenoid valve of the clutch and a variation trend of the throttle opening degree in the time period from the starting combination to the full combination of the clutch.
A third determination unit 122 configured to determine a shift limit of the transmission as a whole vehicle according to the wheel rotation speed, the gear position of the transmission, and the throttle opening degree; and the whole vehicle gear shifting boundary line is the target wheel rotating speed and the target throttle opening degree which are required to correspond to different gears of the transmission.
A fourth determination unit 123, configured to determine a control strategy of the shift fork according to the gear of the transmission and the current of the shift solenoid; the control strategy of the gear shifting fork is the current change trend of the gear shifting electromagnetic valve in the time length from the current gear of the transmission to the target gear.
A fifth determining unit 124 for determining a thermal protection strategy of the clutch according to the temperature of the clutch; the thermal protection strategy is a maximum temperature threshold set for the clutch.
A sixth determining unit 125, configured to determine a control logic of the transmission according to a starting clutch control strategy of the transmission, a vehicle shift boundary of the transmission, a control strategy of the gear shifter, and a thermal protection strategy of the clutch.
The control logic testing device for the transmission provided by the embodiment can execute the method embodiments, and the implementation principle and the technical effect are similar, so that the detailed description is omitted.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of testing control logic of a transmission. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a control logic testing system for a transmission is provided, the system comprising: the system comprises a current sensor, an analog quantity acquisition device, a whole vehicle controller, a CAN data acquisition device and a computer device; the current sensor is respectively connected with the analog quantity acquisition equipment and the transmission; the transmission provided with an integrated automatic transmission control unit is connected with the whole vehicle CAN data acquisition equipment through the whole vehicle controller and a CAN bus, and the analog quantity acquisition equipment and the CAN data acquisition equipment are respectively connected with the computer equipment;
the analog quantity acquisition equipment is used for acquiring sensor data measured by each sensor of the transmission and current data of each electromagnetic valve acquired by the current sensor and transmitting the acquired data to the computer equipment;
the CAN data acquisition equipment is used for acquiring data on CAN buses of the detected vehicle in each stage through the vehicle control unit and transmitting the data on the CAN buses in each stage to the computer equipment;
the computer equipment is used for determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage, acquiring target data on the bus address in a simulation process according to the bus address of the logic data, and determining the control logic of the transmission according to the current data, the sensor data and the target data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A method of testing control logic of a transmission, the method comprising:
acquiring data on a CAN bus of a tested vehicle at each stage through CAN data acquisition equipment, and determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
in the simulated vehicle testing stage, target data on a bus address in the simulation process is obtained according to the bus address of the logic data, and analog quantity data of the transmission is obtained through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and determining the control logic of the transmission according to the analog quantity data and the target data.
2. The method according to claim 1, characterized in that the tested vehicle is in a power-on stage, an engine starting stage, an accelerator stepping stage, a vehicle starting and driving stage and a brake stopping stage in sequence; the data on the CAN bus of each stage of the detected vehicle is acquired through the CAN data acquisition equipment, and the method comprises the following steps:
acquiring data on the CAN bus of each stage according to the sequence of the power-on stage, the engine starting stage, the accelerator stepping stage and the vehicle starting and driving stage of the tested vehicle; and the data on the CAN bus of each stage comprises data on a plurality of to-be-determined bus addresses in the duration corresponding to the stage.
3. The method of claim 2, wherein determining a bus address for logic data required to test control logic of the transmission based on the data on the CAN bus of the respective phase comprises:
generating a data change curve corresponding to each bus address to be determined in each stage according to data on the CAN bus in each stage;
and determining the bus address of the logic data required by testing the control logic of the transmission according to the data change curve corresponding to each bus address to be determined in each stage.
4. The method of claim 3, wherein determining the bus address of the logic data required to test the control logic of the transmission based on the data profiles corresponding to each pending bus address in each phase comprises:
and comparing data change curves corresponding to the same bus address to be determined in two adjacent stages in sequence, and determining the bus address of the logic data required by testing the control logic of the transmission.
5. The method according to claim 4, characterized in that, if the two phases adjacent in sequence are the power-on phase and the engine starting phase of the vehicle under test; comparing the data change curves corresponding to the same undetermined bus address in the two sequentially adjacent stages to determine the bus address of the logic data required by testing the control logic of the transmission, comprising:
comparing data change curves corresponding to the same undetermined bus address in the power-on stage and the engine starting stage of the tested vehicle, and screening out a first target data curve which changes relative to the power-on stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the engine starting stage;
and comparing the first target data curve with an instrument panel data curve of the tested vehicle, and determining a bus address of a data curve with the same change trend as the instrument panel data curve as a bus address of the engine rotating speed.
6. The method according to claim 5, characterized in that, if the two phases adjacent to each other in the sequence are the engine starting phase and the accelerator stepping phase of the tested vehicle, or the accelerator stepping phase and the vehicle starting and driving phase; comparing the data change curves corresponding to the same undetermined bus address in the two sequentially adjacent stages to determine the bus address of the logic data required by testing the control logic of the transmission, comprising:
comparing data change curves corresponding to the same undetermined bus address in the previous stage and the next stage of the tested vehicle, and screening out a second target data curve which changes relative to the previous stage of the tested vehicle from the data change curves corresponding to each undetermined bus address in the next stage;
comparing the second target data curve with the historical data curve of the tested vehicle, and determining the bus address of the target curve with the variation trend different from the historical data curve as the bus address of the later stage; wherein the historical data curve comprises: the gear data curve of the tested vehicle, the switching state data curve of the vehicle lamp and the switching state data curve of the wiper.
7. The method of claim 1, wherein the sensor data comprises: the input shaft rotating speed of the transmission, the gear of the transmission and the temperature of the clutch, and the current data of the solenoid valve comprise: the clutch controls the current of the solenoid valve and the current of the shift solenoid valve.
8. The method of claim 7, wherein said determining a control logic for said transmission based on said analog data and said target data comprises:
determining a starting clutch control strategy of the transmission according to the engine speed, the current of the clutch control electromagnetic valve, the input shaft speed and the throttle opening; the starting clutch control strategy comprises a current variation trend of a control solenoid valve of the clutch and a variation trend of the throttle opening degree in a time period from the starting combination to the full combination of the clutch;
determining a whole vehicle gear shifting boundary line of the transmission according to the wheel rotating speed, the gear of the transmission and the throttle opening; the whole vehicle gear shifting boundary line is the target wheel rotating speed and the target throttle opening degree which are required to correspond to different gears of the transmission;
determining a control strategy of a gear shifting fork according to the gear of the transmission and the current of the gear shifting solenoid valve; the control strategy of the gear shifting fork is the current change trend of the gear shifting electromagnetic valve in the time length from the current gear of the transmission to the target gear;
determining a thermal protection strategy of the clutch according to the temperature of the clutch; the thermal protection strategy is a maximum temperature threshold set for the clutch;
and determining the control logic of the transmission according to a starting clutch control strategy of the transmission, a whole vehicle gear shifting boundary line of the transmission, a control strategy of the gear shifting fork and a thermal protection strategy of the clutch.
9. The method of any one of claims 1-8, wherein the transmission is equipped with an integrated automatic transmission control unit therein, and wherein the sensors and the solenoid valves in the transmission have leads connected to the analog acquisition device.
10. A control logic testing apparatus for a transmission, said apparatus comprising:
the first determining module is used for acquiring data on CAN buses of the tested vehicle at various stages through CAN data acquisition equipment and determining bus addresses of logic data required by testing the control logic of the transmission according to the data on the CAN buses at various stages; wherein, each stage comprises at least two stages of a power-on stage, an engine starting stage, an accelerator stepping stage and a vehicle starting and driving stage of the tested vehicle; the logic data includes at least one of an engine speed, a throttle opening, and a wheel speed;
the acquisition module is used for acquiring target data on a bus address in a simulation process according to the bus address of the logic data in a vehicle simulation test stage and acquiring analog quantity data of the transmission through analog quantity acquisition equipment; the analog quantity data comprises sensor data measured by various sensors in the transmission and current data of various solenoid valves in the transmission;
and the second determination module is used for determining the control logic of the transmission according to the analog quantity data and the target data.
11. A computer arrangement comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method according to any one of claims 1-9 when executing the computer program.
12. A transmission control logic test system for use in the method of any one of claims 1 to 9, the system comprising: the system comprises a current sensor, an analog quantity acquisition device, a whole vehicle controller, a transmission, a CAN data acquisition device and a computer device; the current sensor is respectively connected with the analog quantity acquisition equipment and the transmission; the transmission provided with an integrated automatic transmission control unit is connected with the CAN data acquisition equipment through the vehicle control unit and a CAN bus, and the analog quantity acquisition equipment and the CAN data acquisition equipment are respectively connected with the computer equipment;
the analog quantity acquisition equipment is used for acquiring sensor data measured by each sensor of the transmission and current data of each electromagnetic valve acquired by the current sensor and transmitting the acquired data to the computer equipment;
the CAN data acquisition equipment is used for acquiring data on CAN buses of the detected vehicle in each stage through the vehicle control unit and transmitting the data on the CAN buses in each stage to the computer equipment;
the computer equipment is used for determining a bus address of logic data required by testing the control logic of the transmission according to the data on the CAN bus at each stage, acquiring target data on the bus address in a simulation process according to the bus address of the logic data, and determining the control logic of the transmission according to the current data, the sensor data and the target data.
13. The system of claim 12, wherein the transmission is a transmission including an integrated automatic transmission control unit, the sensors and solenoid valves within the transmission having leads connected to the analog acquisition device.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN201811494868.6A 2018-12-07 2018-12-07 Control logic testing method and device for transmission, computer equipment and system Active CN111290363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811494868.6A CN111290363B (en) 2018-12-07 2018-12-07 Control logic testing method and device for transmission, computer equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811494868.6A CN111290363B (en) 2018-12-07 2018-12-07 Control logic testing method and device for transmission, computer equipment and system

Publications (2)

Publication Number Publication Date
CN111290363A CN111290363A (en) 2020-06-16
CN111290363B true CN111290363B (en) 2021-01-22

Family

ID=71021885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811494868.6A Active CN111290363B (en) 2018-12-07 2018-12-07 Control logic testing method and device for transmission, computer equipment and system

Country Status (1)

Country Link
CN (1) CN111290363B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112147980B (en) * 2020-09-24 2022-03-29 北京车和家信息技术有限公司 Vehicle controller testing method and device and testing equipment
CN114063607B (en) * 2022-01-17 2022-04-22 苏州英特模汽车科技有限公司 Automotive AMT clutch in-loop test bench and test method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829473A (en) * 1986-07-18 1989-05-09 Commodore-Amiga, Inc. Peripheral control circuitry for personal computer
CN101246087B (en) * 2008-01-18 2011-04-20 华夏龙晖(北京)汽车电子科技有限公司 Test system and method of motion control unit
CN102320276A (en) * 2011-07-05 2012-01-18 张化锴 Pure electric automobile entire car controller calibration system and calibration method based on the CAN bus
CN104181851B (en) * 2014-08-19 2017-04-05 盛瑞传动股份有限公司 A kind of automatic transmission automatic test approach and system
CN104214329B (en) * 2014-08-30 2016-08-17 吉林大学 A kind of automatic transmission virtual diagnosis system and diagnostic method
CN108255145B (en) * 2016-12-29 2020-11-17 株洲中车时代电气股份有限公司 Test system and method for vehicle transmission control unit

Also Published As

Publication number Publication date
CN111290363A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
EP2950074B1 (en) Vehicle test system, test condition data generation apparatus, test condition data generation program, and vehicle test method
EP2947447B1 (en) Vehicle test system, test management apparatus, test management program, and vehicle test method
CN102520711B (en) Hardware-in-the-loop simulation system of automatic mechanical transmission (AMT) controller and automatic test method thereof
CN111290363B (en) Control logic testing method and device for transmission, computer equipment and system
CN101799363B (en) Vehicle engine electronic control unit testing system and variable resistor combination adjusting method thereof
US6192302B1 (en) Motor vehicle diagnostic system and apparatus
JP2016001174A (en) Vehicle test system
CN106872827B (en) Dynamic testing system and method for electric transmission mechanism of electric vehicle
CN108663217A (en) A kind of engine pedestal based on vehicle dry run is to marking method
CN104214329A (en) Virtual diagnosis system and method for automatic transmission
CN102156255A (en) A method of and an arrangement for testing connections on a printed circuit board
JP4657843B2 (en) Model design support device
CN113740077A (en) Vehicle chassis testing method, device, equipment and storage medium
KR20120085974A (en) Debuggging Apparatus For CAN Communication Diagnosis Device
KR20120133711A (en) Apparatus and method for providing vehicle data for testing product
CN111721972B (en) Method and device for verifying rotation speed measured value of electrically-driven gearbox
JP5500057B2 (en) Inspection system
CN105973591B (en) A kind of test macro of gearbox
CN105377662A (en) Fuel saving driving diagnostic device and fuel saving driving diagnostic system
CN117109941A (en) Vehicle testing method and device, electronic equipment and storage medium
Scharfenberg et al. New Design Methodology–Using VHDL-AMS Models to Consider Aging Effects in Automotive Mechatronic Circuits for Safety Relevant Functions
Hagiwara et al. Development of automatic transmission control system using hardware-in-the-loop simulation system
CN113008551B (en) Clutch performance evaluation method and device
CN113742841A (en) Gear shifting performance testing method and device for automobile, storage medium and computer equipment
CN106353090A (en) Intelligent test system and method for automobile synchronizer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant