CN101639519B - Detection circuit - Google Patents

Detection circuit Download PDF

Info

Publication number
CN101639519B
CN101639519B CN2008103032954A CN200810303295A CN101639519B CN 101639519 B CN101639519 B CN 101639519B CN 2008103032954 A CN2008103032954 A CN 2008103032954A CN 200810303295 A CN200810303295 A CN 200810303295A CN 101639519 B CN101639519 B CN 101639519B
Authority
CN
China
Prior art keywords
analog
output terminal
digital
electrically connected
input end
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.)
Expired - Fee Related
Application number
CN2008103032954A
Other languages
Chinese (zh)
Other versions
CN101639519A (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2008103032954A priority Critical patent/CN101639519B/en
Publication of CN101639519A publication Critical patent/CN101639519A/en
Application granted granted Critical
Publication of CN101639519B publication Critical patent/CN101639519B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a detection circuit, comprising a micro-program controller, a first multi-channel switch, a bus and a plurality of detection units, wherein, the micro-program controller is provided with an external interface and an output end; the first multi-channel switch is provided with a first end and a second end which is provided with multi-outputs; the first end is electrically connected with the output end of the micro-program controller; the bus is provided with a first end and a second end; the first end of the bus is electrically connected with the second end of the first multi-channel switch; the second end of the bus comprises multi-group signal interfaces; and the first multi-channel switch is used for controlling the multi-group signal interfaces; each detection unit comprises a digital-analog converter, an analog-digital converter, an operational amplifier and a second multi-channel switch.

Description

A kind of testing circuit
Technical field
The present invention relates to a kind of testing circuit, especially a kind of mobile phone image module motor is integrated testing circuit.
Background technology
The camera lens module mainly is to make linear displacement through motor to realize focusing and zoom.Along with the application of micro-camera in mobile phone is more and more wider, the performance of motor also there is higher requirement.And existing motor performance detection mainly is through instruments such as laser radar device, controllers it to be detected, and detection signal is transferred to computer analysis.Required detection method is high to hardware requirement, and required software development cycle is long, makes testing circuit more complicated and cost high.
Summary of the invention
To combine embodiment that a kind of simple in structure and testing circuit that cost is low is described below.
A kind of testing circuit, it comprises: a microprogram control unit, one first multi-way switch, a bus and a plurality of detecting unit.This microprogram control unit has an external interface and an output terminal.This first multi-way switch has one first end and second end with multichannel output, and this first end is electrically connected with the output terminal of this microprogram control unit.This bus has one first end and one second end, and first end of this bus is electrically connected with second end of this first multi-way switch, and second end of this bus comprises many group signaling interfaces, and this first multi-way switch is used for control should many group signaling interfaces.Each detecting unit comprises a digital to analog converter, an analog to digital converter, an operational amplifier and one second multi-way switch.This digital to analog converter has two input ends and an output terminal, and these two input ends are electrically connected with one group of signaling interface of this bus.This operational amplifier has an in-phase input end, an inverting input and an output terminal, and the in-phase input end of this operational amplifier is electrically connected with the output terminal of this digital to analog converter, the reverse inter-input-ing ending grounding of this operational amplifier.This second multi-way switch has an input end, one first output terminal and one second output terminal, and first output terminal of this second multi-way switch is electrically connected with the output terminal of this operational amplifier.This analog to digital converter has a first input end; One second input end and two output terminals; The first input end of this analog to digital converter is electrically connected with second output terminal of this second multi-way switch; Second input end of this analog to digital converter is electrically connected with a working power, and two output terminals of this analog to digital converter are parallelly connected with the input end of this digital to analog converter, and motor to be detected is electrically connected on second input end of this analog to digital converter and the input end of this second multi-way switch.
Compared with prior art, said testing circuit has a plurality of detecting units, through external signal of external interface reception of microprogram control unit, selects one group of signaling interface to control this first multi-way switch, promptly selects the motor of required detection.At first, connect this motor and this analog to digital converter through this second multi-way switch, the electric loop of composition to be detecting the resistance value of this motor, and resistance value is transferred to microprogram control unit.Then, connect this motor and this digital to analog converter and operational amplifier through second multi-way switch, the electric loop of composition is made linear displacement with CD-ROM drive motor, and shift value is transferred to microprogram control unit, thereby accomplishes the detection to motor performance.This testing circuit can detect a plurality of motors, and circuit structure be simple through bus expansion detecting unit, and cost is low.
Description of drawings
Fig. 1 is the structural representation of the testing circuit that provides of first embodiment of the invention.
Embodiment
Please with reference to Fig. 1, a kind of testing circuit 100, it comprises: 20, one buses 30 of 10, one first multi-way switchs of a microprogram control unit and a plurality of detecting unit 40.
This microprogram control unit 10 has an external interface 101 and an output terminals A 1.This external interface 101 is used for being electrically connected with external circuit, and to realize the exchanges data of testing circuit 100 and external circuit, the signal that promptly receives outside control signal or transmit this testing circuit 100 is to external circuit.Preferably, this microprogram control unit 10 adopts chip 68013.
This first multi-way switch 20 has one first end A2 and second an end B2 with multichannel output.This first end A2 is electrically connected with the output terminals A 1 of this microprogram control unit 10.
This bus 30 has one first end B1 and one second end C1.This first end B1 is electrically connected with the second end B2 of this first multi-way switch 20; The second end C1 of this bus 30 comprises many group signaling interfaces 31; This first multi-way switch 20 is used for control should organize signaling interfaces 31 more, and every group of signaling interface 31 comprises a data interface 311 and a clock interface 312.Preferably, this bus 30 adopts synchronous communication I 2The C bus.
Each detecting unit 40 comprises 41, one analog to digital converters of a digital to analog converter 42, an operational amplifier 43 and one second multi-way switch 44.
This digital to analog converter 41 has two input end D1, D2 and an output terminal D3.These two input end D1, D2 are electrically connected 31 and are electrically connected with one group of signaling interface of this bus 30.Preferably, this digital to analog converter 41 adopts single channel 10bit digital to analog converter.
This operational amplifier 43 has an in-phase input end D4, an inverting input D5 and an output terminal D6.The in-phase input end D4 of this operational amplifier 43 is electrically connected with the output terminal D3 of digital to analog converter 41, this inverting input D5 ground connection.
This second multi-way switch 44 has an input end D9, one first output terminal D7 and one second output terminal D8.The first output terminal D7 of this second multi-way switch 44 is electrically connected with the output terminal D6 of this operational amplifier 43.
This analog to digital converter 42 has a first input end D10, one second input end D13 and two output terminal D14, D15.The first input end D10 of this analog to digital converter 42 is electrically connected with the second output terminal D8 of this second multi-way switch 44.The second input end D13 of this analog to digital converter 42 is electrically connected with a working power Vdd.Two output terminal D14, the D15 of this analog to digital converter 42 are parallelly connected with input end D1, the D2 of this digital to analog converter 41.
Motor 45 to be detected is electrically connected on the second input end D13 of this analog to digital converter 42 and the input end D9 of this second multi-way switch 44.
Preferably, this analog to digital converter 42 adopts bidirectional current, voltage and power supply monitor INA109.
Connect this working power Vdd; Receive the control signal of an outside from the external interface 101 of this microprogram control unit 41; This first multi-way switch 20 is selected one group of signaling interface 31; And will connect the first input end D10 of this analog to digital converter 42 with this second output terminal D8 that organizes this second multi-way switch 44 in the detecting unit 40 that signaling interface 31 is electrically connected, form the electric loop of a closure.This analog to digital converter 42 becomes numerical value to transfer to this microprogram control unit 10 each conversion of signals of this circuit, is the magnitude of voltage and the current value at motor to be detected 45 two ends, and the ratio of this magnitude of voltage and this current value is the resistance value of this motor 45.
Connect this working power Vdd; Receive the control signal of an outside from the external interface 101 of this microprogram control unit 41; So that this first multi-way switch 20 is selected one group of signaling interface 31; And will connect the output terminal D6 of this operational amplifier 43 with this first output terminal D7 that organizes this second multi-way switch 44 in the detecting unit 40 that signaling interface 31 is electrically connected, form the electric loop of a closure.According to working power Vdd and measured motor 45 resistance values, through the current value in these microprogram control unit 10 control circuits.This digital to analog converter 41 drives this motor 45 and does linear moving, and simultaneously, this analog to digital converter 42 transfers to microprogram control unit 41 with shift value, thereby accomplishes the Performance Detection to this motor 45.Certainly, this microprogram control unit 41 receives each item performance index value of this motor 45, and it can transfer to external circuit through this external interface 101.
This first multi-way switch 20 is with how group signaling interfaces 31 are corresponding, thereby this testing circuit 100 can detect a plurality of motors 45, and circuit structure be simple through a plurality of detecting units 40 of bus 30 expansions, and cost is low.
What need indicate is that Fig. 1 has only provided a kind of electrical block diagram of testing circuit, still, it will be appreciated by persons skilled in the art that a kind of circuit diagram of testing circuit has multiple different form, as long as it does not depart from technique effect of the present invention and all can.These all should be included within the present invention's scope required for protection according to the variation that the present invention's spirit is done.

Claims (6)

1. motor performance testing circuit, it comprises:
A microprogram control unit, it has an external interface and an output terminal;
One first multi-way switch, it has one first end and second end with multichannel output, and this first end is electrically connected with the output terminal of this microprogram control unit;
A bus, it has one first end and one second end, and first end of this bus is electrically connected with second end of this first multi-way switch, and second end of this bus comprises many group signaling interfaces, and this first multi-way switch is used for control and is somebody's turn to do many group signaling interfaces;
A plurality of detecting units; Each detecting unit comprises a digital to analog converter, an analog to digital converter, an operational amplifier and one second multi-way switch; This digital to analog converter has two input ends and an output terminal, and these two input ends are electrically connected with one group of signaling interface of this bus, and this operational amplifier has an in-phase input end; An inverting input and an output terminal; The in-phase input end of this operational amplifier is electrically connected with the output terminal of this digital to analog converter, the reverse inter-input-ing ending grounding of this operational amplifier, and this second multi-way switch has an input end; One first output terminal and one second output terminal; First output terminal of this second multi-way switch is electrically connected with the output terminal of this operational amplifier, and this analog to digital converter has a first input end, one second input end and two output terminals; The first input end of this analog to digital converter is electrically connected with second output terminal of this second multi-way switch; Second input end of this analog to digital converter is electrically connected with a working power, and two output terminals of this analog to digital converter are parallelly connected with the input end of this digital to analog converter, and motor to be detected is electrically connected on second input end of this analog to digital converter and the input end of this second multi-way switch.
2. motor performance testing circuit as claimed in claim 1 is characterized in that, any one group comprises a data interface and a clock interface in these many group signaling interfaces.
3. motor performance testing circuit as claimed in claim 1 is characterized in that, this microprogram control unit adopts chip 68013.
4. motor performance testing circuit as claimed in claim 1 is characterized in that, this digital to analog converter adopts single channel 10bit digital to analog converter.
5. testing circuit as claimed in claim 1 is characterized in that, this analog to digital converter adopts bidirectional current, voltage and power supply monitor INA109.
6. motor performance testing circuit as claimed in claim 1 is characterized in that, this bus adopts synchronous communication I 2The C bus.
CN2008103032954A 2008-07-31 2008-07-31 Detection circuit Expired - Fee Related CN101639519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008103032954A CN101639519B (en) 2008-07-31 2008-07-31 Detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008103032954A CN101639519B (en) 2008-07-31 2008-07-31 Detection circuit

Publications (2)

Publication Number Publication Date
CN101639519A CN101639519A (en) 2010-02-03
CN101639519B true CN101639519B (en) 2012-05-30

Family

ID=41614603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008103032954A Expired - Fee Related CN101639519B (en) 2008-07-31 2008-07-31 Detection circuit

Country Status (1)

Country Link
CN (1) CN101639519B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102280017B (en) * 2010-06-14 2013-07-03 鸿富锦精密工业(深圳)有限公司 Digital interface sensing device
CN102280018B (en) * 2010-06-14 2013-07-31 鸿富锦精密工业(深圳)有限公司 Digital interface sensing device
CN109709863B (en) * 2019-01-05 2024-03-08 深圳市合信达控制系统有限公司 AD port self-checking circuit of singlechip, singlechip and water heater

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2081983U (en) * 1989-12-01 1991-07-31 北京农业工程大学 Microcomputerized monitor for electric quantity of motor
CN2836027Y (en) * 2005-08-18 2006-11-08 方大集团股份有限公司 Motor winding current detecting circuit for shielded door
CN2869979Y (en) * 2005-12-01 2007-02-14 上海星顺建筑科技有限公司 A/D module having USB communication function
CN200941156Y (en) * 2006-05-31 2007-08-29 北京利达恒信科技发展有限公司 Controller of realizing multiple measurements and control function by single port

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2081983U (en) * 1989-12-01 1991-07-31 北京农业工程大学 Microcomputerized monitor for electric quantity of motor
CN2836027Y (en) * 2005-08-18 2006-11-08 方大集团股份有限公司 Motor winding current detecting circuit for shielded door
CN2869979Y (en) * 2005-12-01 2007-02-14 上海星顺建筑科技有限公司 A/D module having USB communication function
CN200941156Y (en) * 2006-05-31 2007-08-29 北京利达恒信科技发展有限公司 Controller of realizing multiple measurements and control function by single port

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP昭60-42660A 1985.03.06

Also Published As

Publication number Publication date
CN101639519A (en) 2010-02-03

Similar Documents

Publication Publication Date Title
CN201993124U (en) Multi-channel physical quantity measuring device
CN108008191A (en) A kind of precision aid of Minitype resistance
CN101452017B (en) Full automatic over current protection test system and method
CN106405188B (en) Automatic range switching system and method of current measuring device
WO2020192549A1 (en) Charging circuit, terminal apparatus, and charging apparatus
KR20140101963A (en) System for performing charging and data communication
CN101639519B (en) Detection circuit
CN110618949A (en) KVM function card based on LPC bus
CN103308850A (en) Self-testing built-in framework and test method of touch IC (integrated circuit) analog front end
CN103457302A (en) Charge circuit and electronic device with same
CN214375036U (en) Mobile device test system
CN201498829U (en) Connector with serial port power output function
US20150185817A1 (en) Charging circuit for usb interface
TWI393908B (en) A detection circuit
CN115459754A (en) Current-mode and voltage-mode analog quantity signal acquisition switching circuit and control method
CN214540463U (en) Relay board for switching and detecting multiple paths of signals
CN106294246B (en) Mobile equipment and method using identity information acquisition component as peripheral equipment
CN210465520U (en) Digital oscilloscope capable of being used in cooperation with smart phone
CN101958495B (en) Connecting device capable of being used as transmission signal and also used as power supply transmission means
US8479025B2 (en) Motherboard
CN219627741U (en) Circuit system of network hand-in-hand technology and electronic equipment
CN212258838U (en) Redundant drive circuit
CN202330521U (en) Informationized electric power data display unit
CN218629967U (en) Control circuit for current detection and multi-channel gating
CN112596462B (en) Output method, device and system based on signal type

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120530

Termination date: 20160731

CF01 Termination of patent right due to non-payment of annual fee