CN107885185A - The method and system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation - Google Patents

The method and system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation Download PDF

Info

Publication number
CN107885185A
CN107885185A CN201710915287.4A CN201710915287A CN107885185A CN 107885185 A CN107885185 A CN 107885185A CN 201710915287 A CN201710915287 A CN 201710915287A CN 107885185 A CN107885185 A CN 107885185A
Authority
CN
China
Prior art keywords
test
knob
automotive air
button
conditioner controller
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.)
Granted
Application number
CN201710915287.4A
Other languages
Chinese (zh)
Other versions
CN107885185B (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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201710915287.4A priority Critical patent/CN107885185B/en
Publication of CN107885185A publication Critical patent/CN107885185A/en
Application granted granted Critical
Publication of CN107885185B publication Critical patent/CN107885185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Air Conditioning Control Device (AREA)
  • Air-Conditioning For Vehicles (AREA)

Abstract

The present invention relates to mobile unit technical field, specifically discloses the method and system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation, comprises the following steps:S1, test lead structure and parsing test cases;S2, test lead send test instruction and carry out test operation to automotive air-conditioning controller button or knob;S3, test result exported and recorded, the present invention is based on CAPL programs, realize to automotive air-conditioning controller button or the automatic test operation of knob, it instead of manual and mechanical hand mode of operation, improve testing efficiency and release human resources, reach the effect easily and fast tested, save production test cost.

Description

The method and system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation
Technical field
The present invention relates to mobile unit technical field, more particularly to a kind of simulated automotive air-conditioner controller button knob are automatic The method and system of operation.
Background technology
Automotive air-conditioning controller, as the control centre of air conditioning for automobiles, in the research and development tested automatically its software function , it is necessary to which the operation to its button or knob is realized and automatically controlled in journey, and then automatic test is realized, existing on-board air conditioner control The traditional test methods of device are to realize to operate by control machine hand, at present also without ripe, general automatic test in industry System specifications, automatization testing technique are not widely used yet.Traditional operating method cost of implementation is higher, either passes through In cost of helping or on technical costs, and when to automotive air-conditioning controller software test, if mechanical hand is not accurate enough, it is held Row is ageing also can be relatively low.
The content of the invention
For above-mentioned technical problem, the invention provides one kind to be based on CAPL programs, realizes and automotive air-conditioning controller is pressed The automatic test operation of key or knob, manual and mechanical hand mode of operation is instead of, improve testing efficiency and release manpower The method and system that the simulated automotive air-conditioner controller button knob of resource is automatically brought into operation.
In order to solve the above-mentioned technical problem, concrete scheme provided by the invention is as follows:A kind of simulated automotive air-conditioner controller The method that button knob is automatically brought into operation, comprise the following steps S1, test lead structure and parsing test cases;S2, test lead are sent Test instruction carries out test operation to automotive air-conditioning controller button or knob;Test result is exported and recorded by S3, test lead.
Preferably, procedure below is also included before the step S1:S0, complete to automotive air-conditioning controller button or knob System variable set, it is that the automotive air-conditioning controller that test program can identify " is pressed that system variable here, which sets represent, Key " or " knob ", then carry out corresponding instruction control.
Preferably, the step S2 specifically includes procedure below:S21, detection button or knob current state;S22, mould Anthropomorphic hand operates to button or knob;The virtual condition of button or knob after S23, test lead detection operation, is completed to vapour The automatic test operation of car air-conditioner controller button or knob.
Preferably, procedure below is also included before the step S21:Needed for S20, test lead control output test cases Magnitude of voltage, output voltage values and maximum output current value are controlled by computer software programming, realize normal power supply.
Preferably, the step S22 specifically includes procedure below:CAPL programmed instruction to automotive air-conditioning controller button or System variable is controlled corresponding to knob;The present invention triggers logic, control button by CAPL programs analogue-key or knob Or system variable corresponding to knob, and then corresponding rigid line pulse signal is exported, trigger button or rotation on automotive air-conditioning controller Button contact, realizes and button or knob is automatically brought into operation.
Preferably, the test cases includes presetting instruction and expectation state, and test cases of the invention is mainly pin The test operation carried out to air-conditioner controller button or knob, i.e., program beforehand through CAPL, realize that analogue-key or knob touch Logic is sent out, and obtains the expectation state of button or knob.
Preferably, the step S23 also includes procedure below:Test lead is to the virtual condition of button or knob with it is expected shape State is contrasted, and realizes and the automatic test operation and test result of automotive air-conditioning controller button or knob are exported.
Present invention also offers the system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation, including PC ends, The tested air-conditioner controller and test cabinet that are connected with PC ends and the power module being connected with test cabinet, the tested sky Controller is adjusted to be connected with test cabinet.
Preferably, the power module includes programmable power supply unit and power supply unit of voltage regulation, and programmable power supply unit is used In realizing the voltage change in system work process, system normal power supply is realized, power supply unit of voltage regulation is used to supply to test cabinet Electricity.
Preferably, the test machine case includes multiple boards, and board realizes power supply and ignition signal simulation;Input and output electricity Pressure measurement, output current measurement;Control programmable power supply etc..
Compared with prior art, the beneficial effects of the present invention are:Based on CAPL programs, pass through pre-set automobile System variable corresponding to air-conditioner controller button or knob, CAPL programs analogue-key or knob triggering logic, control button or System variable corresponding to knob, and then corresponding rigid line pulse signal is exported, trigger button or knob on automotive air-conditioning controller Contact, realize and button or knob are automatically brought into operation;And the button after operation or the virtual condition of knob are entered with expectation state Row contrast, exports and preserves test result, improves testing efficiency and releases human resources, saves the production test of enterprise Cost.
Brief description of the drawings
Fig. 1 is the method and step flow chart of the embodiment of the present invention one;
Fig. 2 is method and step flow chart of the embodiment of the present invention two to embodiment five;
Fig. 3 is detailed process figure of the embodiment of the present invention three to the step S2 of embodiment five;
Fig. 4 is the overall system architecture block diagram of the embodiment of the present invention seven.
Embodiment
In order that those skilled in the art is better understood from technical scheme, below in conjunction with the accompanying drawings to the present invention Technical scheme be further elaborated.
Embodiment one:As shown in figure 1, a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, including Following steps:
S1, test lead structure and parsing test cases;
S2, test lead send test instruction and carry out test operation to automotive air-conditioning controller button or knob;
Test result is exported and recorded by S3, test lead.
The present embodiment is based on CAPL programs, is completed by presetting test cases to automotive air-conditioning controller button or rotation The automatic test operation of button, and test result is exported and recorded, improve testing efficiency and release human resources, realize Quickly and easily effect is tested, it is necessary to illustrate, the test lead in the present embodiment is PC ends or other can be realized to automobile Microprocessor that air-conditioner controller button knob is automatically brought into operation etc..
Embodiment two:As shown in Fig. 2 a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, including Following steps:
S0, complete to set the system variable of automotive air-conditioning controller button or knob;
What the system variable in this step of the present embodiment set representative is that the automotive air-conditioning controller that test program can identify " is pressed Key " or " knob ", then carry out corresponding instruction control.
S1, test lead structure and parsing test cases;
S2, test lead send test instruction and carry out test operation to automotive air-conditioning controller button or knob;
Test result is exported and recorded by S3, test lead.
What the system variable in the present embodiment set representative is the automotive air-conditioning controller button that test program can identify Or knob, completed by presetting test cases to automotive air-conditioning controller button or the automatic test operation of knob, and will Test result is exported and recorded, and is improved testing efficiency and is released human resources, realizes and quickly and easily test effect.
Embodiment three:As shown in Figure 2,3, a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, bag Include following steps:
S0, complete to set the system variable of automotive air-conditioning controller button or knob;
S1, test lead structure and parsing test cases;
S2, test lead send test instruction and carry out test operation to automotive air-conditioning controller button or knob;
Test result is exported and recorded by S3, test lead.
Step S2 specifically includes procedure below in the present embodiment:S21, detection button or knob current state;S22, mould Anthropomorphic hand operates to button or knob;The virtual condition of button or knob after S23, test lead detection operation, is completed to vapour The automatic test operation of car air-conditioner controller button or knob.
Example IV:As shown in Figure 2,3, a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, bag Include following steps:
S0, complete to set the system variable of automotive air-conditioning controller button or knob;
S1, test lead structure and parsing test cases;
S21, test lead detection button or knob current state;S22, simulation human hand operate to button or knob;S23、 The virtual condition of button or knob after test lead detection operation;
Test result is exported and recorded by S3, test lead.
In the present embodiment, also include procedure below before the step S21:S20, test lead control output test cases institute The magnitude of voltage needed, output voltage values and maximum output current value are controlled by computer software programming, realize normal power supply, it is necessary to Illustrate, the present embodiment can realize the function of programmable power supply by board.
Embodiment five:As shown in Figure 2,3, a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, bag Include following steps:
S0, complete to set the system variable of automotive air-conditioning controller button or knob;
S1, test lead structure and parsing test cases;
S21, test lead detection button or knob current state;S22, simulation human hand operate to button or knob;S23、 The virtual condition of button or knob after test lead detection operation;
Test result is exported and recorded by S3, test lead.
In the present embodiment, the step S22 specifically includes procedure below:CAPL programmed instruction is pressed to automotive air-conditioning controller System variable corresponding to key or knob is controlled;The present invention triggers logic, control by CAPL programs analogue-key or knob System variable corresponding to button or knob, and then corresponding rigid line pulse signal is exported, trigger button on automotive air-conditioning controller Or knob contact, realize and button or knob are automatically brought into operation.
Embodiment six:The present embodiment is similar to embodiment five, and further, test cases includes presetting instruction and expectation State, the test operation that test cases of the invention is carried out primarily directed to air-conditioner controller button or knob, i.e., beforehand through CAPL is programmed, and realizes analogue-key or knob triggering logic, and obtain the expectation state of corresponding button or knob.
Step S23 described in the present embodiment also includes procedure below:Virtual condition and phase of the test lead to button or knob Prestige state is contrasted, and realizes and the automatic test operation and test result of automotive air-conditioning controller button or knob are exported.
Embodiment seven:As shown in figure 4, the system that a kind of automotive air-conditioning controller button knob is automatically brought into operation, including PC ends, The tested air-conditioner controller and test cabinet that are connected with PC ends and the power module being connected with test cabinet, the tested sky Controller is adjusted to be connected with test cabinet.
Power module includes programmable power supply unit and power supply unit of voltage regulation in the present embodiment, and programmable power supply unit is used for The voltage change in system work process is realized, realizes system normal power supply, power supply unit of voltage regulation is used to give test cabinet power supply; Test machine case includes multiple boards, and board realizes power supply and ignition signal simulation;Input and output voltage is measured, and output current is surveyed Amount;Control programmable power supply etc..
It should be noted that the test cabinet in the present embodiment is surveyed using the Vector VT of German Vector companies Test-run a machine case, comprising VT7001 boards, VT2516 boards and VT2848 boards, wherein VT7001 boards realize power supply and ignition signal Simulation;Input and output voltage measures, output current measurement;Control programmable power supply.
VT2516 boards realize voltage measurement, instantaneous voltage, and average voltage calculates;Pwm signal test function.VT2848 plates Card realizes the measurement or simulation of switching signal and pwm signal, such as:Button, knob, LED fields, the measurement for indicating lamp on/off.When So, the present embodiment and Vector VT test cabinet and VT7001 boards, VT2516 boards and VT2848 boards are not exclusively for, from The function that above-mentioned board is realized so also is not restricted to, the present embodiment can also use other to realize the hardware of above-mentioned function Module.
The present embodiment is in specific implementation process, the control test cabinet initialization of PC ends, and sends test cases to test Cabinet realizes the operation to automotive air-conditioning controller button or knob, and test cabinet exports the magnitude of voltage of programming Control and detection is pressed The current state of key or knob, logic is triggered by CAPL programs analogue-key or knob, is corresponding to control button or knob Unite variable, and then export corresponding rigid line pulse signal, be tested button or knob contact on air-conditioner controller, realize to button or Knob is automatically brought into operation.Tested air-conditioner controller receives the rigid line pulse signal of test cabinet transmission by CAN and detected The correctness of the signal, and testing result is output to PC ends by CAN and records preservation, improve testing efficiency.
Embodiments of the present invention are explained in detail above in conjunction with accompanying drawing, but the present invention is not limited to above-mentioned implementation Mode, can also be on the premise of present inventive concept not be departed from those of ordinary skill in the art's possessed knowledge Various changes can be made.

Claims (10)

1. a kind of method that simulated automotive air-conditioner controller button knob is automatically brought into operation, it is characterised in that comprise the following steps:
S1, test lead structure and parsing test cases;
S2, test lead send test instruction and carry out test operation to automotive air-conditioning controller button or knob;
Test result is exported and recorded by S3, test lead.
2. the method that simulated automotive air-conditioner controller button knob according to claim 1 is automatically brought into operation, it is characterised in that Also include procedure below before the step S1:S0, complete to set the system variable of automotive air-conditioning controller button or knob.
3. the method that simulated automotive air-conditioner controller button knob according to claim 2 is automatically brought into operation, it is characterised in that The step S2 specifically includes procedure below:S21, detection button or knob current state;S22, simulation human hand to button or Knob is operated;The virtual condition of button or knob after S23, test lead detection operation.
4. the method that simulated automotive air-conditioner controller button knob according to claim 3 is automatically brought into operation, it is characterised in that Also include procedure below before the step S21:Magnitude of voltage needed for S20, test lead control output test cases.
5. the method that simulated automotive air-conditioner controller button knob according to claim 3 is automatically brought into operation, it is characterised in that The step S22 specifically includes procedure below:CAPL programmed instruction is to system corresponding to automotive air-conditioning controller button or knob Variable is controlled.
6. the method that simulated automotive air-conditioner controller button knob according to claim 5 is automatically brought into operation, it is characterised in that: The test cases includes presetting instruction and expectation state.
7. the method that simulated automotive air-conditioner controller button knob according to claim 6 is automatically brought into operation, it is characterised in that The step S23 also includes procedure below:Test lead contrasts to the virtual condition of button or knob and expectation state.
8. the system that the simulated automotive air-conditioner controller button knob according to any one of claim 1 ~ 7 is automatically brought into operation, its It is characterised by:The tested air-conditioner controller and test cabinet that are connected including PC ends, with PC ends and the electricity being connected with test cabinet Source module, the tested air-conditioner controller are connected with test cabinet.
9. the system that simulated automotive air-conditioner controller button knob according to claim 8 is automatically brought into operation, it is characterised in that: The power module includes programmable power supply unit and power supply unit of voltage regulation.
10. the system that simulated automotive air-conditioner controller button knob according to claim 8 is automatically brought into operation, its feature exist In:The test machine case includes multiple boards.
CN201710915287.4A 2017-09-30 2017-09-30 Method and system for simulating automatic operation of automobile air conditioner controller key knob Active CN107885185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710915287.4A CN107885185B (en) 2017-09-30 2017-09-30 Method and system for simulating automatic operation of automobile air conditioner controller key knob

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710915287.4A CN107885185B (en) 2017-09-30 2017-09-30 Method and system for simulating automatic operation of automobile air conditioner controller key knob

Publications (2)

Publication Number Publication Date
CN107885185A true CN107885185A (en) 2018-04-06
CN107885185B CN107885185B (en) 2020-12-04

Family

ID=61781230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710915287.4A Active CN107885185B (en) 2017-09-30 2017-09-30 Method and system for simulating automatic operation of automobile air conditioner controller key knob

Country Status (1)

Country Link
CN (1) CN107885185B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203502153U (en) * 2013-09-09 2014-03-26 苏州凌创电子系统有限公司 Rotary knob test system of automobile air conditioner controller
CN106383465A (en) * 2016-09-20 2017-02-08 青岛时创智能技术有限公司 Program control voltage regulation circuit capable of replacing manual voltage regulation through rotary knob
CN106774260A (en) * 2016-12-22 2017-05-31 惠州华阳通用电子有限公司 The automatic test approach and its system of on-board air conditioner controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203502153U (en) * 2013-09-09 2014-03-26 苏州凌创电子系统有限公司 Rotary knob test system of automobile air conditioner controller
CN106383465A (en) * 2016-09-20 2017-02-08 青岛时创智能技术有限公司 Program control voltage regulation circuit capable of replacing manual voltage regulation through rotary knob
CN106774260A (en) * 2016-12-22 2017-05-31 惠州华阳通用电子有限公司 The automatic test approach and its system of on-board air conditioner controller

Also Published As

Publication number Publication date
CN107885185B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
JP2012118043A (en) Automatic evaluation system for vehicle device using vehicle simulator
CN106444712A (en) CAN/LIN network interference automation test system
CN103034227A (en) Testing method in circuit of battery electric vehicle vehicle-control unit model
CN106155038A (en) A kind of hardware in loop detecting system for hybrid vehicle
CN102890499A (en) Method for loop testing of vehicle control unit software of pure electric automobile
CN106094806B (en) The detection device and detection method of Electric air-conditioning control panel
CN207424668U (en) A kind of HIL real-time testing systems suitable for car body controller
CN210895122U (en) Control panel test fixture
CN206609930U (en) Charging pile feedback degradation detecting device
CN203397208U (en) Automatic detector for electric control unit (ECU) module of retired automobile body
CN110412976A (en) A kind of function test system and its test method of electric machine controller PCBA board
CN203950201U (en) Automobile electrically-controlled test all-purpose electronic simulator
CN107885185A (en) The method and system that a kind of simulated automotive air-conditioner controller button knob is automatically brought into operation
CN114486278A (en) Three-electric-system integration test method and test stand for pure electric vehicle
CN204783602U (en) Electric -Driven air compressor test system for vehicle
CN109813991A (en) A kind of power supply analogue system and its test method
CN214096607U (en) Integrated test bench for three-electric-system of pure electric vehicle
CN204008900U (en) Energy efficiency testing device
CN109885020A (en) A kind of vehicle material object loading functional test method
CN209764966U (en) power supply simulation system
CN208596211U (en) A kind of automobile fuse performance detection device
CN203299647U (en) Intelligent circuit board testing apparatus
CN207264189U (en) A kind of automotive motor controller emulation test system
CN206451040U (en) A kind of gearshift controller test device
CN105717914B (en) The detection method of the detecting system of on-board air conditioner control panel

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