CN101256237B - Infrared ranging system and method for power tool - Google Patents

Infrared ranging system and method for power tool Download PDF

Info

Publication number
CN101256237B
CN101256237B CN2008100663358A CN200810066335A CN101256237B CN 101256237 B CN101256237 B CN 101256237B CN 2008100663358 A CN2008100663358 A CN 2008100663358A CN 200810066335 A CN200810066335 A CN 200810066335A CN 101256237 B CN101256237 B CN 101256237B
Authority
CN
China
Prior art keywords
mcu
filter capacitor
resistance
infrared
mxm
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
CN2008100663358A
Other languages
Chinese (zh)
Other versions
CN101256237A (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 Tuobang Electric Technology Co., Ltd.
Original Assignee
Shenzhen Topband 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 Shenzhen Topband Co Ltd filed Critical Shenzhen Topband Co Ltd
Priority to CN2008100663358A priority Critical patent/CN101256237B/en
Publication of CN101256237A publication Critical patent/CN101256237A/en
Application granted granted Critical
Publication of CN101256237B publication Critical patent/CN101256237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention uses infrared ray to measure the use distance of electric tool, comprising at least one MCU(microprocessor), ADC(analog to digital converter)interface of MCU, respectively connecting with filter capacitor, a third resistance, wherein another end of the filter capacitor is connected with ground and another end of third resistance is connected with a infrared receiving tube, and another end of the infrared receiving tube is connected with the fourth resistance; PWM(pulse width modulation) interface of MCU connected with triode base, the triode base connected with the first resistance, triode collector connected with a infrared transmitting tube; MCU- common I/O interface connected with a second resistance, wherein another end of the second resistance is connected with an indicator light.

Description

A kind of electric tool infrared distance measuring method
Technical field
The present invention relates to a kind of method of utilizing infrared ray to find range.
Background technology
Along with the development of technology, need the service range of testing tool in a lot of fields, particularly in field of power tools, such as the drilling depth of electric drill and the length or the like that screws of electric screw driver.Aspect electric drill control, the method for traditional keyhole degree of depth is to use mechanical hook-up, and mechanical hook-up is set to suitable position at present, and when drilling depth reached, mechanical hook-up blocked drill bit, finished boring; Also utilize ultrasonic reflections intensity, when reaching predetermined strength, allow electric drill stop automatically, the keyhole degree of depth.Above first kind of mode since now technology more and more to the electronic type development, incompatibility trend, second way measuring distance is stable, accurately, but its cost is higher, promoting the use of for it has increased difficulty.
Summary of the invention
The objective of the invention is to overcome deficiency of the prior art, a kind of system that utilizes the service range of infrared rays survey electric tool is provided, comprise at least one MCU (microprocessor), the ADC of MCU (A-D converter) interface, connect filter capacitor, one the 3rd resistance respectively, filter capacitor other end ground connection, the 3rd resistance other end connects infrared receiving tube, and the infrared receiving tube other end connects the 4th resistance; The PWM of MCU (pulse-length modulation) interface connects transistor base, and transistor emitter connects first resistance, and transistor collector connects infrared transmitting tube; MCU one common I/O mouth connects second resistance, and the second resistance other end connects a pilot lamp.
For reaching goal of the invention, the present invention also provides a kind of method of utilizing the service range of infrared rays survey electric tool, comprises step: the MCU initialization is provided with; MCU makes the infrared transmitting tube emission have the infrared ray of carrier wave by the PWM interface; MCU judges whether the filter capacitor both end voltage reaches mxm. VD; MCU control pilot lamp is bright, recording voltage mxm. VD; The boring of MCU control electric drill; MCU judges whether the filter capacitor both end voltage reaches mxm. VD, if reached mxm. VD, range finding finishes.
Description of drawings
Fig. 1 is the circuit diagram of a kind of electric tool infrared ranging system of the present invention and method embodiment;
Fig. 2 is the survey of a kind of electric tool infrared ranging system of the present invention and method embodiment filter capacitor both end voltage variation diagram when vertical;
Fig. 3 for the range finding of a kind of electric tool infrared ranging system of the present invention and method embodiment from the time filter capacitor both end voltage change synoptic diagram;
Fig. 4 is the software processes process flow diagram for a kind of electric tool infrared ranging system of the present invention and method embodiment.
Embodiment
Above-mentioned technical matters of the present invention is solved like this, electric controller with electric drill is an example: controller ranging unit hardware circuit as shown in Figure 1, the ADC interface 13 of MCU10, connect filter capacitor 41, resistance 23 respectively, filter capacitor 41 other end ground connection, resistance 23 other ends connect infrared receiving tube 32, and infrared receiving tube 32 other ends connect resistance 24; The PWM interface 11 of MCU10 connects triode 51 base stages, and triode 51 emitters connect resistance 21, triode 51 collectors connect infrared transmitting tube 31; MCU10 one common I/O mouth 12 connects resistance 22, and resistance 22 other ends connect a pilot lamp 61.Other I/O mouths of the MCU10 that does not identify among Fig. 1 can be used as other controls mouthful use of electric controller.
As shown in Figure 4, be the software processes process flow diagram of of the present invention a kind of electric tool infrared ranging system and method.At first, in step 310, the carrier frequency and vertical decision condition of ADC function, infrared transmitting tube 31 is set in the initialization of MCU10; In step 320, MCU10 makes infrared transmitting tube 31 emissions have the infrared ray of carrier wave by PWM interface 11, the infrared ray of launching is reflected when running into tested surface, the infrared ray of launching and the angle of tested surface and infrared reflection intensity are as shown in Figure 2, when the drill bit of electric drill is vertical with tested surface, infrared reflection intensity is the strongest, and this moment, infrared receiving tube 32 conduction voltage drops were extremely minimum, and this moment, filter capacitor 41 both end voltage were the highest; In step 330, MCU10 changes by ADC interface 13 record filter capacitors 41 both end voltage, and judges whether filter capacitor 41 both end voltage reach mxm. V DIf filter capacitor 41 both end voltage do not reach mxm. V D, return step 320; If filter capacitor 41 both end voltage have reached mxm. V D, then in step 340, MCU10 is bright by common I/O interface 12 control pilot lamp 61, and the drill bit of expression electric drill is vertical with tested surface, and MCU10 writes down filter capacitor 41 two ends ceiling voltage V when vertical D, this moment, the position of infrared transmitting tube 31 and infrared receiving tube 32 was B as shown in Figure 3, the ceiling voltage above the filter capacitor 41 of MCU10 record is V DThe electric drill operator with one above the electric drill vertical with tested surface, can before and after allow infrared transmitting tube 31 and infrared receiving tube 32 move mechanical hook-up make infrared transmitting tube 31 and infrared receiving tube 32 move to position A, the ceiling voltages above this moment filter capacitor 41 are V C, in step 350, MCU10 control electric drill begins boring, and in step 360, MCU10 detection filter electric capacity 41 both end voltage are if filter capacitor 41 both end voltage have reached mxm. V D, then range finding is finished, and drill bit drilling depth is the range difference of A position and B position, otherwise returns step 350.
The present invention is not limited to preferred forms and the various ins and outs in this instructions.Therefore, the innovation and creation in the scope of any innovation and creation thought that does not break away from claims records and various equivalents thereof all belong in the protection domain of claims.

Claims (1)

1. method of using the electric drill infrared ranging system to carry out infrared distance measuring, it is characterized in that, this system comprises at least one MCU, the ADC interface of described MCU, connect a filter capacitor, one the 3rd resistance respectively, described filter capacitor other end ground connection, described the 3rd resistance other end connects an infrared receiving tube, and the described infrared receiving tube other end connects one the 4th resistance; The PWM interface of described MCU connects a transistor base, described transistor emitter connects one first resistance, described transistor collector connects infrared transmitting tube, the common i/o port of described MCU is connected with an end of one second resistance, the other end of described second resistance is connected with the negative electrode of a pilot lamp, and the anode of described pilot lamp is connected with 5V voltage; The method comprising the steps of:
The S1.MCU initialization is provided with;
S2.MCU makes the infrared transmitting tube emission have the infrared ray of carrier wave by the PWM interface;
S3.MCU changes by ADC interface record filter capacitor both end voltage, and judges whether described filter capacitor both end voltage reaches mxm. V DIf described filter capacitor both end voltage does not reach mxm. V D, return step S2; If described filter capacitor both end voltage reaches mxm. V D, execution in step S4;
S4.MCU writes down described filter capacitor both end voltage mxm. V D
S5. the user moves to position A with infrared transmitting tube and infrared receiving tube, and the ceiling voltage of stating above the filter capacitor in A place, described position is V C
S6.MCU control electric drill carries out operation;
S7.MCU judges by described ADC interface whether described filter capacitor both end voltage reaches mxm. V DIf reached mxm. V D, range finding finishes; If described filter capacitor both end voltage does not reach mxm. V D, return step S6.
CN2008100663358A 2008-03-19 2008-03-19 Infrared ranging system and method for power tool Active CN101256237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100663358A CN101256237B (en) 2008-03-19 2008-03-19 Infrared ranging system and method for power tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100663358A CN101256237B (en) 2008-03-19 2008-03-19 Infrared ranging system and method for power tool

Publications (2)

Publication Number Publication Date
CN101256237A CN101256237A (en) 2008-09-03
CN101256237B true CN101256237B (en) 2011-10-19

Family

ID=39891197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100663358A Active CN101256237B (en) 2008-03-19 2008-03-19 Infrared ranging system and method for power tool

Country Status (1)

Country Link
CN (1) CN101256237B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065172B (en) * 2009-11-16 2013-08-07 东信和平科技股份有限公司 Method and device for controlling communication distance of radio frequency SIM card by infrared distance measurement
US10078322B2 (en) * 2016-01-08 2018-09-18 Newfrey Llc Power tool system having in-station verification utilizing radio frequency signal strength
EP3339901B1 (en) * 2016-12-21 2019-04-24 Hexagon Technology Center GmbH Laser distance measuring module with adc error compensation by varying sampling times

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4507834A (en) * 1983-05-27 1985-04-02 Sperry Corporation Drilling monitor
CN1112639A (en) * 1994-05-26 1995-11-29 魏营隆 Drill bit central coordinate ultrasonic wave real-time measurement while drilling for large driller
CN2371575Y (en) * 1999-03-04 2000-03-29 新普精密光学股份有限公司 Improved camera automatic focusing mechanism
DE19943818A1 (en) * 1999-09-14 2001-03-15 Bruno Gruber Measurement arrangement for indicating edge or bore hole distance with hand drill has laser mounted on a drill so as to be pivotable horizontally or vertically forwards and fixed in position
CN1384371A (en) * 2001-05-09 2002-12-11 亚洲光学股份有限公司 High-precision laser range finder
CN1448730A (en) * 2002-10-10 2003-10-15 大港油田集团有限责任公司 Echo imaging logging device and logging method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4507834A (en) * 1983-05-27 1985-04-02 Sperry Corporation Drilling monitor
CN1112639A (en) * 1994-05-26 1995-11-29 魏营隆 Drill bit central coordinate ultrasonic wave real-time measurement while drilling for large driller
CN2371575Y (en) * 1999-03-04 2000-03-29 新普精密光学股份有限公司 Improved camera automatic focusing mechanism
DE19943818A1 (en) * 1999-09-14 2001-03-15 Bruno Gruber Measurement arrangement for indicating edge or bore hole distance with hand drill has laser mounted on a drill so as to be pivotable horizontally or vertically forwards and fixed in position
CN1384371A (en) * 2001-05-09 2002-12-11 亚洲光学股份有限公司 High-precision laser range finder
CN1448730A (en) * 2002-10-10 2003-10-15 大港油田集团有限责任公司 Echo imaging logging device and logging method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柏军等.一种应用于单片机系统的红外串行通信接口.《无线电工程》.2003,第33卷(第6期),第35页左栏第11行至第36页左栏倒数第4行、图1. *

Also Published As

Publication number Publication date
CN101256237A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
CN101256237B (en) Infrared ranging system and method for power tool
CN103677449A (en) Method for adjusting scanning frequency of touch screen and electronic terminal
CN105675725A (en) Ultrasonic pulse transmitting-receiving system based on FPGA control
CN101762236A (en) Laser light curtain vehicle height detector
CN107632298A (en) A kind of high sensitivity receiving circuit applied to pulse type laser radar system
CN209356665U (en) A kind of multifunctional electric energy meter on-spot tester
CN203875890U (en) Intelligent cleaning machine control system and intelligent cleaning machine
CN203606379U (en) A vehicle speed sensor test and control system
CN110346641A (en) A kind of insulation resistance detection system and method
CN110208596A (en) Load current monitoring circuit and method
CN104777473A (en) Detection method for ultrasonic sensor
CN105525604B (en) A kind of static penetrometer cable-free type data penetration transmission device
CN101055242A (en) Portable dry method instrument for quickly detecting optical and biochemical parameters
CN1696718A (en) Method for measuring phase sequence through sampling three-phases AC in slicing time
CN111380916A (en) Liquid level detection device and liquid level detection method
CN114264351A (en) Capacitance liquid level detection system based on crystal oscillation method
CN205404805U (en) Ultrasonic range measurement system based on singlechip
CN114460369A (en) Ultrasonic product load characteristic display circuit, method, device and storage medium
CN103677456B (en) A kind of self coupling capacitance determining method and circuit
CN209690468U (en) Inverter output voltage detection device and inverter
CN102587891B (en) Method and system for detecting space position between drilling well and a plurality of adjacent wells
CN204128618U (en) Contact-free level measuring system
CN203337592U (en) Circuit for detecting soil moisture with time domain method
CN204495999U (en) Can the parking radar of accurate tracking sensor resonant frequency
CN109407867A (en) Touch detection system and its detection method, touch device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Chang Yuee

Document name: the First Notification of an Office Action

DD01 Delivery of document by public notice

Addressee: Chang Yuee

Document name: Notification of Passing Examination on Formalities

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170426

Address after: 516000 Guangdong province Huizhou Zhongkai high tech Zone Dongjiang High-tech Industrial Park in Dongxing District, East New Road No. 113

Patentee after: Huizhou Tuobang Electric Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Research Institute of Tsinghua University village B District 4 floor Tuobang electronic Polytron Technologies Inc

Patentee before: Shenzhen Topband Co., Ltd.