CN113189959B - Test circuit and test method of drive circuit - Google Patents

Test circuit and test method of drive circuit Download PDF

Info

Publication number
CN113189959B
CN113189959B CN202110403326.9A CN202110403326A CN113189959B CN 113189959 B CN113189959 B CN 113189959B CN 202110403326 A CN202110403326 A CN 202110403326A CN 113189959 B CN113189959 B CN 113189959B
Authority
CN
China
Prior art keywords
circuit
voltage
test
output
feedback voltage
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
CN202110403326.9A
Other languages
Chinese (zh)
Other versions
CN113189959A (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.)
Changzhou Yikong Automotive Electronics Co ltd
Original Assignee
Changzhou Yikong Automotive Electronics 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 Changzhou Yikong Automotive Electronics Co ltd filed Critical Changzhou Yikong Automotive Electronics Co ltd
Priority to CN202110403326.9A priority Critical patent/CN113189959B/en
Publication of CN113189959A publication Critical patent/CN113189959A/en
Application granted granted Critical
Publication of CN113189959B publication Critical patent/CN113189959B/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)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a test circuit of a drive circuit, belonging to the technical field of automobile engine motor controller test; the existing test equipment can not simultaneously complete the test of a voltage acquisition circuit or a resistance acquisition circuit or a switch signal acquisition circuit; the test circuit provided by the invention comprises: the device comprises a singlechip, a digital-to-analog voltage conversion chip, an analog switch, an optional resistor module, an operational amplifier circuit and a feedback voltage acquisition circuit; the test of multiplexing support three kinds of circuits simultaneously is supported, the output impedance value can be adjusted in a self-adaptive mode, and the cost is saved.

Description

Test circuit and test method of drive circuit
Technical Field
The invention relates to the technical field of control and monitoring of automobile starting motors, in particular to a test circuit and a test method of a driving circuit.
Background
When the automobile engine electric control unit is produced and off-line, the function detection of hardware of the automobile engine electric control unit is required, wherein the function detection comprises the detection of a voltage acquisition circuit, a resistance acquisition circuit and a switching signal acquisition circuit.
At present, most manufacturers can only test a voltage acquisition circuit, a resistance acquisition circuit or a switching signal acquisition circuit independently, and can not multiplex and support the tests of three circuits at the same time. Special monitoring equipment is needed for different monitoring objects, and monitoring and maintenance costs are improved.
There is a need for a circuit capable of performing a general test on a voltage acquisition circuit, a resistance acquisition circuit and a switching signal acquisition circuit, which simplifies the equipment and reduces the cost.
Disclosure of Invention
In view of the problems in the prior art, the present invention provides a test circuit for a driving circuit, comprising: the test circuit includes: the device comprises a singlechip, a digital-to-analog voltage conversion chip, an analog switch, an optional resistor module, an operational amplifier circuit and a feedback voltage acquisition circuit;
the chip machine controls the output voltage of the digital-to-analog voltage conversion chip through an SPI bus; the voltage is regulated to a proper output voltage through the operational amplifier circuit;
the proper output voltage is connected with a test point of the test circuit through the impedance and the test port selected by the analog switch and the matching resistance module;
the feedback voltage of the test point is collected by the feedback voltage collecting circuit and is transmitted back to the single chip microcomputer.
Preferably, the single chip microcomputer controls the digital-to-analog voltage conversion chip to output 0-2.5V voltage through an SPI bus, and the operational amplifier circuit regulates and outputs 0-24V voltage.
Preferably, the feedback voltage acquisition circuit includes a buffer and a voltage division circuit.
Preferably, the voltage dividing circuit includes a first resistor, an input end of the first resistor is an input end of the voltage divider, an output end of the first resistor is an output end of the voltage divider, and the output end is grounded through a parallel structure of the second resistor and the capacitor C.
Preferably, the test port includes a level acquisition port and an ADC conversion port.
The invention also provides a test method of the test circuit, which is characterized in that; the method comprises the following steps:
step (1): the single chip microcomputer outputs a specified voltage value through the digital-to-analog voltage conversion chip and the operational amplifier circuit;
step (2): the output impedance is selected through an analog switch and a matching resistor module, and the node voltage connected with the sampling circuit is collected through the feedback voltage collecting circuit;
and (3): the pulling resistance state of the sampling circuit can be measured by combining the feedback voltage value acquired by the feedback voltage acquisition circuit with the output specified voltage value, the output impedance and the circuit state of the sampling circuit;
and (4): and whether the sampling circuit of the ECU works normally can be measured according to the output voltage value of the sampling circuit and the feedback voltage value acquired by the feedback voltage acquisition circuit.
Preferably, in the step (2), when the feedback voltage value is too small or the full scale is reached, the single chip configures the analog switch to select the resistors of other gears until the feedback voltage value is in the range of the scale.
Preferably, in step (2), the impedance with a larger resistance value should be selected first.
Compared with the prior art, the invention at least has the following beneficial effects:
the invention supports the test of multiplexing and supporting three circuits simultaneously by adopting the analog switch, the selection resistor, the level acquisition port and the ADC conversion port, and can adaptively adjust the output impedance value.
Drawings
FIG. 1 is a block diagram of a test of the jet drive circuit of the present invention;
FIG. 2 is a flow chart of the testing of the present invention;
the present invention is described in further detail below. The following examples are merely illustrative of the present invention and do not represent or limit the scope of the claims, which are defined by the appended claims.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
As shown in fig. 1, it is a test block diagram of the injection driving circuit of the present invention, and the right side of the dotted line is a sampling circuit ECU of the measured controller, i.e. an automobile engine motor control unit; the sampling circuit can be an analog voltage quantity acquisition circuit, an analog resistance quantity acquisition circuit or a digital switching value acquisition circuit, the typical circuit differences of the three circuits are that the voltage and the pull resistance value of the resistance acquisition circuit are different, the pull resistance value of the resistance sampling is smaller, and the digital switching sampling difference is that most ECU acquisition ports are level acquisition ports which do not have the ADC function;
the left side of the dotted line is a hardware testing circuit which consists of a voltage output circuit, an impedance selection circuit and a feedback voltage acquisition circuit. The voltage output consists of a single chip microcomputer, a DAC (digital-to-analog voltage conversion chip) and an operational amplifier circuit, wherein the single chip microcomputer controls the DAC to output 0-2.5V voltage output through an SPI bus, and the operational amplifier circuit regulates and outputs 0-24V voltage; the impedance selection consists of an analog switch and a matching resistor, and a proper resistance value is selected by the control of a single chip microcomputer, and the resistance values are discretely distributed from 0R, 10R, 100R, 1k, 10k, 100k, 1M and infinity; the feedback voltage acquisition circuit consists of a buffer and a voltage division circuit, and a single chip microcomputer acquires node feedback voltage.
The output of the buffer is connected with the input of a voltage divider, the voltage divider comprises a first resistor, the input end of the first resistor is the input end of the voltage divider, the output end of the first resistor de is the output end of the voltage divider, and the output end of the voltage divider is grounded through a parallel structure of a second resistor and a capacitor C.
The monitoring circuit provided by the invention can support the test of simultaneously multiplexing and supporting three circuits, and can adaptively adjust the output impedance value; and the pull-up resistance state (including pull-up or pull-down) of the measurement sampling circuit is supported.
As shown in fig. 2, which is a test flow chart of the present invention, the sampling circuit and the pull-up resistance state test method are as follows, the test circuit single chip outputs a specified voltage value through the voltage output circuit, selects the output impedance through the impedance selection circuit, and collects the node voltage connected with the ECU through the feedback voltage collection circuit.
Before the sampling circuit ECU tests, under the condition that specific parameters are unclear, impedance with large resistance value, 100k, is selected, and then output voltage and proper impedance are gradually adjusted according to the feedback voltage value, so that the feedback voltage value is located near a half range, and the condition that the sampling circuit ECU is not damaged due to overlarge divided voltage can be ensured.
When the feedback voltage value is too small or in a full range, the singlechip configures the analog switch to select the resistors of other gears until the feedback voltage value is in the range of the full range, and the singlechip configures the analog switch to select the resistor with smaller resistance value when the feedback voltage value is too small, preferably less than 1V; when the feedback voltage value is in a full range, the single chip is provided with an analog switch to select an impedance with a larger resistance value, namely a pull-down impedance; in summary, the feedback voltage value should be chosen to be around half the range for easy observation and with relatively small errors.
The pull-up resistance state of the ECU can be measured by the feedback voltage value in combination with the output voltage, the output impedance, and the known ECU circuit state. Meanwhile, according to the output voltage value of the measuring circuit, the ECU can measure whether the sampling circuit of the ECU works normally or not by collecting the voltage value or the level value.
The preferred embodiments of the present invention have been described in detail, however, the present invention is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present invention within the technical idea of the present invention, and these simple modifications are within the protective scope of the present invention.
It should be noted that, in the above embodiments, the various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, the present invention does not separately describe various possible combinations.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.

Claims (7)

1. A test method of a test circuit using a driver circuit, the test circuit comprising: the device comprises a singlechip, a digital-to-analog voltage conversion chip, an analog switch, an optional resistor module, an operational amplifier circuit and a feedback voltage acquisition circuit;
the single chip microcomputer controls the digital-to-analog voltage conversion chip to output voltage through an SPI bus; the voltage is regulated to a proper output voltage through the operational amplifier circuit;
the proper output voltage is connected with a test point of the test circuit through the impedance and the test port selected by the analog switch and the matching resistance module;
the feedback voltage of the test point is collected by the feedback voltage collecting circuit and is transmitted back to the singlechip; the method comprises the following steps:
step (1): the single chip microcomputer outputs a specified voltage value through the digital-to-analog voltage conversion chip and the operational amplifier circuit;
step (2): the output impedance is selected through the analog switch and the matching resistor module, and the node voltage connected with the sampling circuit is collected through the feedback voltage collecting circuit;
and (3): the pulling resistance state of the sampling circuit can be measured by combining the feedback voltage value acquired by the feedback voltage acquisition circuit with the output specified voltage value, the output impedance and the circuit state of the sampling circuit;
and (4): and whether the sampling circuit of the ECU works normally can be measured according to the output voltage value of the sampling circuit and the feedback voltage value acquired by the feedback voltage acquisition circuit.
2. The test method of claim 1, wherein: the single chip microcomputer controls the digital-to-analog voltage conversion chip to output 0-2.5V voltage through the SPI bus, and the operational amplifier circuit regulates and outputs 0-24V voltage.
3. The test method of claim 1, wherein: the feedback voltage acquisition circuit comprises a buffer and a voltage division circuit.
4. The test method of claim 3, wherein: the voltage division circuit comprises a first resistor, the input end of the first resistor is the input end of the voltage divider, the output end of the first resistor is the output end of the voltage division circuit, and the output end of the voltage division circuit is grounded through a parallel structure of a second resistor and a capacitor C.
5. The test method of claim 1, wherein: the test port comprises a level acquisition port and an ADC conversion port.
6. The test method according to claim 1, characterized in that; in the step (2), when the feedback voltage value is too small or the full scale is realized, the singlechip configures the analog switch to select the resistors of other gears until the feedback voltage value is in the range of the full scale.
7. The test method according to claim 1, characterized in that; in step (2), the impedance with a large resistance value should be selected first.
CN202110403326.9A 2021-04-15 2021-04-15 Test circuit and test method of drive circuit Active CN113189959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110403326.9A CN113189959B (en) 2021-04-15 2021-04-15 Test circuit and test method of drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110403326.9A CN113189959B (en) 2021-04-15 2021-04-15 Test circuit and test method of drive circuit

Publications (2)

Publication Number Publication Date
CN113189959A CN113189959A (en) 2021-07-30
CN113189959B true CN113189959B (en) 2023-02-17

Family

ID=76975769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110403326.9A Active CN113189959B (en) 2021-04-15 2021-04-15 Test circuit and test method of drive circuit

Country Status (1)

Country Link
CN (1) CN113189959B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201004072Y (en) * 2007-02-12 2008-01-09 上海四达电子仪表有限公司 An automatic gear conversion and range measurement circuit
CN203736145U (en) * 2013-06-05 2014-07-30 宁波方太厨具有限公司 Open type water tank cleaning machine
CN104360165A (en) * 2014-11-26 2015-02-18 上海斐讯数据通信技术有限公司 Multichannel resistance measuring device
CN206975092U (en) * 2017-03-31 2018-02-06 上海新华电子设备有限公司 A kind of Auto-Test System impedance voltage test device
CN108845240A (en) * 2018-04-27 2018-11-20 上海电机学院 A kind of SCM Based automatic testing circuit system
CN111781545B (en) * 2020-07-10 2022-05-17 迈普通信技术股份有限公司 Port state management circuit, method, device and readable storage medium

Also Published As

Publication number Publication date
CN113189959A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
US8838328B2 (en) Automotive diagnostic system
US5404304A (en) Vehicle control system for determining verified wheel speed signals
KR101458926B1 (en) Diagnostic system for a vehicle
EP3335033B1 (en) Potentiostat/galvanostat with digital interface
US20100101312A1 (en) Apparatus and Method for Starter RPM Detection
CN107407699B (en) Battery management device, battery monitoring circuit, and control system
KR20090084854A (en) System and method to measure series-connected cell voltages
WO2008088448A1 (en) Systems and methods for electrical leakage detection and compensation
US20170120771A1 (en) Electric vehicle battery test
CN210895123U (en) Automobile diagnosis equipment and system
CN113189959B (en) Test circuit and test method of drive circuit
JPH10501599A (en) Method and apparatus for monitoring measured value detection in vehicle engine electronic power control
US20060273811A1 (en) Using an active load as a high current output stage of a precision pin measurement unit in automatic test equipment systems
CN110703736A (en) Automobile diagnosis device, system and method
CN116540681A (en) Controller interface function test system and test method
CN219039278U (en) Detection circuit
CN113791281A (en) Full resistance detection system of multichannel electric detonator control circuit
CN114355030A (en) Method for monitoring current of aluminum electrolytic capacitor
CN113189958A (en) Detection circuit and detection method for motor control unit of automobile engine
EP3404425A1 (en) Dynamic probe, dynamic measurement system and method for probing a dynamic data signal
CN111366371A (en) Electric vehicle collision electricity safety data acquisition system
KR102259636B1 (en) Apparatus for diagnosing condition of output line of motor driver
US20230139159A1 (en) Automotive Controller Testing
CN214429712U (en) Diagnostic circuit and vehicle of audio transmission bus
CN211235995U (en) Current collecting device

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