CN104635592A - Resistance output instrument, testing system and method for outputting different resistance values - Google Patents

Resistance output instrument, testing system and method for outputting different resistance values Download PDF

Info

Publication number
CN104635592A
CN104635592A CN201510079094.0A CN201510079094A CN104635592A CN 104635592 A CN104635592 A CN 104635592A CN 201510079094 A CN201510079094 A CN 201510079094A CN 104635592 A CN104635592 A CN 104635592A
Authority
CN
China
Prior art keywords
resistance
light coupling
coupling relay
output instrument
resistive element
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.)
Pending
Application number
CN201510079094.0A
Other languages
Chinese (zh)
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.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
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 Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN201510079094.0A priority Critical patent/CN104635592A/en
Publication of CN104635592A publication Critical patent/CN104635592A/en
Pending legal-status Critical Current

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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Fluid Mechanics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses a resistance output instrument, comprising a single chip microcomputer, a buffer and a resistance adjusting unit which are all sequentially connected in series with each other, wherein a resistance value can be precisely output under the control of the single chip microcomputer, the stability of the output resistance value can be guaranteed, and multiple different resistance values can further be output. The invention further discloses a testing system, comprising a computer, a CAN bus interface module and the resistance output instrument which are all sequentially connected in series with each other, wherein the testing system can be used for testing parts, such as an automotive combination instrument which is tested by means of necessarily inputting different resistance values. The testing system has the advantages that the measurement is precise, the actual working condition can be simulated, and the operation is more convenient and faster.

Description

The method of resistance output instrument, test macro and output different resistance values
Technical field
The invention belongs to vehicle testing field, particularly a kind of method of resistance output instrument, test macro and output different resistance values.
Background technology
Along with consumer improves constantly for the requirement of automotive quality, and relevant laws and regulations are for the improve of auto parts and components technical property requirements, and the performance how promoting auto parts and components becomes the Main way of each main engine plants research and development.Example is shown as with the fuel oil of automobile combination meter, in fuel tank, the change of oil mass will cause inputting different resistance values to this combination instrument, the Fuel Oil Remaining that fuel gauge in combination instrument will correspondingly show in fuel tank, as when inputting 80 Ω resistance to combination instrument, fuel gauge in combination instrument correspondingly need be shown as the oil mass of 75%, and the Fuel Oil Remaining namely in fuel tank is 75% of fuel tank total measurement (volume).In order to whether this performance of testing combination instrument is accurately with stable, need to test combination instrument.Due to the difference of oleaginousness in automotive oil tank, different resistance values is inputted to correspondingly combination instrument, therefore, combination instrument is tested, then need to input different resistance values to combination instrument, compared by real surplus oil mass in Fuel Oil Remaining and the fuel tank of the display of combination instrument intermediate fuel oil table, whether evaluate and test combination instrument display accurately and stablize with this.In existing test process, general resistance box or the slide rheostat of using inputs different resistance values to combination instrument.But, resistance box or slide rheostat precision lower, the precision as resistance box or slide rheostat show can reach 1 Ω, but the precision that actual measurement goes out does not reach 1 Ω far away, there is comparatively big error, the combination instrument after test cannot show the actual oleaginousness in fuel tank truly.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of precision height and can realizes the resistance output instrument of multiple-channel output and export the method for different resistance values.The technical matters that the present invention also will solve be to provide a kind of precision high, use stable test macro.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is:
A kind of resistance output instrument, comprising:
Single-chip microcomputer, it is for the treatment of data;
Impact damper, it is for storing data;
Resistance adjustment unit, it is for exporting different resistance values;
Described single-chip microcomputer, described impact damper and described resistance adjustment unit are connected successively.
Preferably, described resistance adjustment unit, comprising:
Multiple resistive element, it is connected successively;
Multiple light coupling relay, each described light coupling relay is corresponding with a described resistive element, the resistive element parallel connection that each described light coupling relay is corresponding with it;
Described light coupling relay is connected with described impact damper.Its method exporting different resistance values of this resistance output instrument is as follows:
1) will the resistance value exported be needed to be set as r;
2) resistance of resistive element in resistance output instrument is set as R respectively i, i=1,2,3 ... n;
3) with r successively divided by R i, when r is divided by R ibusiness when being 1, remainder is preserved and assignment to M, R icorresponding light coupling relay disconnects;
4) A=R i+1, B=M/A, as B=1, preserves remainder assignment to M, R i+1corresponding light coupling relay disconnects;
5) step 4 is repeated), until during M=0, enter next step;
6) by the control of single-chip microcomputer, the resistance value sum of the resistive element corresponding to the light coupling relay be under off-state exported, described resistance value sum is setting resistance value r.
Preferably, described resistive element is chromatic circle resistance.
Preferably, described single-chip microcomputer, described impact damper, described light coupling relay and described chromatic circle resistance are integrated on one piece of circuit board.
A kind of test macro, comprising: the resistance output instrument as described in above-mentioned any one, computing machine and CAN interface module, described computing machine, described CAN interface module and described resistance output instrument are connected successively.
Preferably, described computing machine is industrial computer.
Preferably, described CAN interface module is CAN board.
A kind of resistance output instrument of the present invention comprises single-chip microcomputer, impact damper and the resistance adjustment unit of connecting successively, can be realized the accurate output of resistance value, and can guarantee the stability of output resistance by the control of single-chip microcomputer, can also realize the output of the different resistance of multichannel.A kind of test macro of the present invention comprises computing machine, CAN interface module and the above-mentioned resistance output instrument of connecting successively, can be used for testing automobile combination instrument etc. needs input different resistance values to carry out the parts tested, this test macro is measured precisely, and can actual condition be simulated, it is more convenient to operate.
Accompanying drawing explanation
The schematic diagram of the resistance output instrument that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of the test macro that Fig. 2 provides for the embodiment of the present invention;
The structural drawing of the resistance output instrument that Fig. 3 provides for the embodiment of the present invention;
The output characteristic curve of the resistance output instrument that Fig. 4 provides for the embodiment of the present invention.
In Fig. 1 to Fig. 3, Reference numeral is: 1-single-chip microcomputer, 2-impact damper, 2a-first impact damper, 2b-second impact damper, 2c-the 3rd impact damper, 3-resistance adjustment unit, 4-computing machine, 5-CAN board.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
As shown in Figure 1, a kind of resistance output instrument comprises single-chip microcomputer 1, impact damper 2 and the resistance adjustment unit 3 of connecting successively.Wherein, single-chip microcomputer 1 is for the treatment of data, and impact damper 2 is for storing data, and resistance adjustment unit 3 is for exporting different resistance values.As shown in Figure 3, preferably, resistance adjustment unit 3 comprises multiple resistive element and multiple light coupling relay, and above-mentioned resistive element is connected successively, and this resistive element preferred color of choice loop resistance, chromatic circle resistance is convenient to selection and resistance value is very clear.Resistive element also can select wire-wound resistor etc. except selecting chromatic circle resistance.Each light coupling relay is corresponding with a resistive element, the resistive element parallel connection that each light coupling relay is corresponding with it, and then light coupling relay is connected with impact damper 2 again.Further preferably, above-mentioned single-chip microcomputer 1, impact damper 2, light coupling relay and chromatic circle resistance are integrated on one piece of circuit board, thus by resistance output instrument modularization, can improve the integrated level of resistance output instrument.Resistance adjustment unit 3 also can adopt different potentiometers to coordinate with light coupling relay except adopting said structure.
In the present embodiment, resistive element and light coupling relay are 20, and 20 resistive elements are arranged in order according to the size of resistance, and four resistive elements are one group, are divided into five groups, and the resistance of each group is respectively:
R 1-R 4:50KΩ、20KΩ、20KΩ、10KΩ;
R 5-R 8:5KΩ、2KΩ、2KΩ、1KΩ;
R 9-R 12:500Ω、200Ω、200Ω、100Ω;
R 13-R 16:50Ω、20Ω、20Ω、10Ω;
R 17-R 20:5Ω、2Ω、2Ω、1Ω。
The light coupling relay that each resistive element is corresponding with it is in parallel, with R 1-R 8corresponding light coupling relay is connected with the first impact damper 2a, this first impact damper 2a again with the D on single-chip microcomputer 01-D 08pin serial connection.With R 9-R 16corresponding light coupling relay is connected with the second impact damper 2b, this second impact damper 2b again with the D on single-chip microcomputer 1 09-D 16pin serial connection.With R 17-R 20corresponding light coupling relay is connected with the 3rd impact damper 2c, the 3rd impact damper 2c again with the D on single-chip microcomputer 1 17-D 20pin serial connection.Total output area of this resistance output instrument is 1 Ω-110K Ω, precision 1 Ω, through actual measurement, the resistance value of output linearly, continuously and stable, as shown in Figure 4.
Above-mentioned resistance output instrument, its method exporting different resistance values is as follows:
1) will the resistance value exported be needed to be set as r;
2) resistance of resistive element is set as R respectively i, i=1,2,3 ... n;
3) with r successively divided by R i, when r is divided by R ibusiness when being 1, remainder is preserved and assignment to M, R icorresponding light coupling relay disconnects;
4) A=R i+1, B=M/A, as B=1, preserves remainder assignment to M, R i+1corresponding light coupling relay disconnects;
5) step 4 is repeated), until during M=0, enter next step;
6) single-chip microcomputer exports control signal, and the resistance value sum of the resistive element corresponding to the light coupling relay be under off-state exported, resistance value sum is setting resistance value r.
Suppose the resistance value r=80 Ω needing to export, R 1-R 20resistance as previously shown.
First, by 80 from R 1start to be divided by successively, find with 80 divided by R 1-R 12business be 0, so R 1-R 12corresponding light coupling relay all maintains closure state.
Work as r/R 13time, be 80/50, business is 1, and remainder is 30, i.e. M=30, then R 13corresponding light coupling relay disconnects;
Now A=R 14(because of R in previous step ifor R 13, so, R i+1for R 14, i.e. A=R 14), B=M/A=30/20=1 ... 10, namely business is 1, and remainder is 10, then M=10, R 14corresponding light coupling relay disconnects;
Now A=R 15(because of R in previous step ito increase progressively as R 14, so, R in this step i+1increase progressively as R 15, i.e. A=R 15), B=M/A=10/20=0 ... 10, namely business is 0, and remainder is 10, then the M value of giving is still in previous step 10, i.e. M=10, R 15corresponding light coupling relay still keeps closure state;
Now A=R 16(because of R in previous step ito increase progressively as R 15, so, R in this step i+1increase progressively as R 16, i.e. A=R 16), B=M/A=10/10=1 ... 0, namely business is 1, and remainder is 0, then M=0, R 16corresponding light coupling relay disconnects;
Now M=0, enters next step;
Single-chip microcomputer exports control signal, exports, the resistance value sum of the resistive element corresponding to the light coupling relay be under off-state by R 13, R 14and R 16resistance sum export, resistance value sum be setting resistance value r, r=80, R 13+ R 14+ R 16=50+20+10=80, thus the output achieving 80 Ω resistance.
Above-mentioned resistance output instrument comprises single-chip microcomputer 1, impact damper 2 and the resistance adjustment unit 3 of connecting successively, can be realized the accurate output of resistance value, and can guarantee the stability of output resistance by the control of single-chip microcomputer 1, can also realize the output of the different resistance of multichannel.
As shown in Figure 2, a kind of test macro comprises aforementioned resistance output instrument, computing machine 4 and CAN interface module, and resistance output instrument, computing machine 4 and CAN interface module are connected successively.Preferably, computing machine 4 is industrial computer, because industrial computer has better antidetonation and jamproof ability, therefore, is more suitable for industry spot.CAN interface module is CAN board 5, and select CAN board to be convenient to purchase on the one hand, board structure integrated level is high on the other hand, takes up room little.During use, resistance output instrument in this test macro is connected with tested parts, thus achieves the detection needing to input the parts that different resistance values is tested to such as automobile combination meter etc., and this test macro is measured precisely, and can actual condition be simulated, it is more convenient to operate.
Tester is according to different setting resistance values, call industrial computer and resistance output instrument carries out CAN communication, export the setting resistance signal value that needs to tested parts, separately using the parameter one of of setting resistance value as Labview program, actual Work condition analogue can be realized.Such as: this actual condition of fuel tank leakage of oil, resistance value is increasing progressively with non-linear, at this moment can using setting output resistance as one of Labview program parameter, it is programmed, make the resistance value exported at certain hour with linear or non-linear increasing, the leakage of oil operating mode that simulation is actual.
In sum, content of the present invention is not limited in the above-described embodiments, and those skilled in the art can propose other embodiment easily according to guiding theory of the present invention, and these embodiments all comprise within the scope of the present invention.

Claims (8)

1. a resistance output instrument, is characterized in that, comprising:
Single-chip microcomputer, it is for the treatment of data;
Impact damper, it is for storing data;
Resistance adjustment unit, it is for exporting different resistance values;
Described single-chip microcomputer, described impact damper and described resistance adjustment unit are connected successively.
2. resistance output instrument according to claim 1, is characterized in that, described resistance adjustment unit, comprising:
Multiple resistive element, it is connected successively;
Multiple light coupling relay, each described light coupling relay is corresponding with a described resistive element, the resistive element parallel connection that each described light coupling relay is corresponding with it;
Described light coupling relay is connected with described impact damper.
3. resistance output instrument according to claim 2, is characterized in that: described resistive element is chromatic circle resistance.
4. resistance output instrument according to claim 3, is characterized in that: described single-chip microcomputer, described impact damper, described light coupling relay and described chromatic circle resistance are integrated on one piece of circuit board.
5. a test macro, is characterized in that, comprising: the resistance output instrument according to any one of Claims 1-4, computing machine and CAN interface module, and described computing machine, described CAN interface module and described resistance output instrument are connected successively.
6. test macro according to claim 5, is characterized in that: described computing machine is industrial computer.
7. test macro according to claim 5, is characterized in that: described CAN interface module is CAN board.
8. the resistance output instrument according to any one of claim 2 to 4, its method exporting different resistance values is as follows:
1) will the resistance value exported be needed to be set as r;
2) resistance of resistive element in resistance output instrument is set as R respectively i, i=1,2,3 ... n;
3) with r successively divided by R i, when r is divided by R ibusiness when being 1, remainder is preserved and assignment to M, R icorresponding light coupling relay disconnects;
4) A=R i+1, B=M/A, as B=1, preserves remainder assignment to M, R i+1corresponding light coupling relay disconnects;
5) step 4 is repeated), until during M=0, enter next step;
6) by the control of single-chip microcomputer, the resistance value sum of the resistive element corresponding to the light coupling relay be under off-state exported, described resistance value sum is setting resistance value r.
CN201510079094.0A 2015-02-12 2015-02-12 Resistance output instrument, testing system and method for outputting different resistance values Pending CN104635592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510079094.0A CN104635592A (en) 2015-02-12 2015-02-12 Resistance output instrument, testing system and method for outputting different resistance values

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510079094.0A CN104635592A (en) 2015-02-12 2015-02-12 Resistance output instrument, testing system and method for outputting different resistance values

Publications (1)

Publication Number Publication Date
CN104635592A true CN104635592A (en) 2015-05-20

Family

ID=53214468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510079094.0A Pending CN104635592A (en) 2015-02-12 2015-02-12 Resistance output instrument, testing system and method for outputting different resistance values

Country Status (1)

Country Link
CN (1) CN104635592A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227197A (en) * 2016-08-31 2016-12-14 上海伟世通汽车电子系统有限公司 The autocontrol method of automobile instrument artifical resistance input
CN110837070A (en) * 2019-10-29 2020-02-25 中国人民解放军海军工程大学 Portable numerical control resistance signal source and signal generation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5528940A (en) * 1993-02-10 1996-06-25 Hitachi, Ltd. Process condition detecting apparatus and semiconductor sensor condition detecting circuit
CN201215492Y (en) * 2008-07-11 2009-04-01 芜湖天宇科技开发有限公司 Synthetic check instrument for combined instrument of car and motocycle
CN201237611Y (en) * 2008-05-14 2009-05-13 张蒙 Multifunctional high-precision resistor signal generator
CN102175280A (en) * 2011-01-07 2011-09-07 内蒙古科技大学 Digitalized vehicle instrument simulating device
CN204389956U (en) * 2015-02-12 2015-06-10 安徽江淮汽车股份有限公司 Resistance output instrument and test macro

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5528940A (en) * 1993-02-10 1996-06-25 Hitachi, Ltd. Process condition detecting apparatus and semiconductor sensor condition detecting circuit
CN201237611Y (en) * 2008-05-14 2009-05-13 张蒙 Multifunctional high-precision resistor signal generator
CN201215492Y (en) * 2008-07-11 2009-04-01 芜湖天宇科技开发有限公司 Synthetic check instrument for combined instrument of car and motocycle
CN102175280A (en) * 2011-01-07 2011-09-07 内蒙古科技大学 Digitalized vehicle instrument simulating device
CN204389956U (en) * 2015-02-12 2015-06-10 安徽江淮汽车股份有限公司 Resistance output instrument and test macro

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨伟东,张云龙等: "基于CAN总线通信的程控电阻系统设计", 《河北工业大学学报》 *
陈慧: "单片机控制的可编程标准电阻发生器", 《安徽工程科技学院学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227197A (en) * 2016-08-31 2016-12-14 上海伟世通汽车电子系统有限公司 The autocontrol method of automobile instrument artifical resistance input
CN110837070A (en) * 2019-10-29 2020-02-25 中国人民解放军海军工程大学 Portable numerical control resistance signal source and signal generation method
CN110837070B (en) * 2019-10-29 2022-03-15 中国人民解放军海军工程大学 Portable numerical control resistance signal source and signal generation method

Similar Documents

Publication Publication Date Title
US10997331B2 (en) Integrated circuit including parametric analog elements
CN103837824B (en) Digital integrated electronic circuit Auto-Test System
CN100565215C (en) A kind of high power digital varistor method of testing
CN103605095B (en) A kind of method making the adaptive all vector network analyzers of Electronic Calibration part
CN101226402A (en) Method and apparatus for detecting airplane digital type fuel oil measurement control system
CN107238788B (en) Touch chip test system based on matrix capacitor plate and test method thereof
CN103177551B (en) Data collecting card and its data acquisition device with self-calibration function
CN204389956U (en) Resistance output instrument and test macro
CN110187299B (en) General calibration system for electrical parameters of aviation support equipment
CN103234572A (en) Check system for LabVIEW-based automobile instrument
CN103257277B (en) Multifunctional virtual instrument based on constant flow source and control method
CN109949726A (en) A kind of LED display mould group automatic white balance debugging system and adjustment method
CN102455701A (en) Programmable logic controller (PLC) automatic testing platform using programmable relay structure
CN104991214B (en) Digital integrated electronic circuit DC parameter standard reproducing method and standard set-up
CN104635592A (en) Resistance output instrument, testing system and method for outputting different resistance values
CN2773711Y (en) Multifunctional standard source automatic testing system
CN110837073A (en) Intelligent ammeter clock error adjustment test system and method
CN105702398B (en) One kind rotary ten enters semifixed resistor case
CN202886580U (en) Automated adjustment system for comprehensive multi-parameter electrical measuring instrument
CN216387829U (en) Program-controlled resistance box for vehicle-mounted instrument
CN202305841U (en) Test device of air data computer
CN211293231U (en) Smart electric meter clock error timing test device
CN204008918U (en) The room temperature frequencies test macro of temperature compensated crystal oscillator
CN104280098A (en) Labview-based ship liquid level sensor testing system and testing method thereof
CN105788788B (en) One kind rotary ten enters semifixed resistor case preparation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 230601 Anhui Province, Hefei City Industrial Park, the Peach Blossom Road No. 669

Applicant after: Anhui Jianghuai Automobile Group Limited by Share Ltd

Address before: 230601 Anhui Province, Hefei City Industrial Park, the Peach Blossom Road No. 669

Applicant before: Anhui Jianghuai Automotive Co., Ltd.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Guan Ning

Inventor after: Yan Gang

Inventor after: Li Weibing

Inventor after: Liu Jiangbo

Inventor before: Guan Ning

CB03 Change of inventor or designer information
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150520

WD01 Invention patent application deemed withdrawn after publication