CN109000686A - A kind of digital Fibre Optical Sensor test macro - Google Patents

A kind of digital Fibre Optical Sensor test macro Download PDF

Info

Publication number
CN109000686A
CN109000686A CN201810636447.6A CN201810636447A CN109000686A CN 109000686 A CN109000686 A CN 109000686A CN 201810636447 A CN201810636447 A CN 201810636447A CN 109000686 A CN109000686 A CN 109000686A
Authority
CN
China
Prior art keywords
data
chip
unit
digital
photooptical
Prior art date
Application number
CN201810636447.6A
Other languages
Chinese (zh)
Inventor
宋占伟
黄琪
曹宏宇
周洁
Original Assignee
吉林大学
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 吉林大学 filed Critical 吉林大学
Priority to CN201810636447.6A priority Critical patent/CN109000686A/en
Publication of CN109000686A publication Critical patent/CN109000686A/en

Links

Classifications

    • 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infra-red, visible, or ultra-violet light
    • G01D5/268Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infra-red, visible, or ultra-violet light using optical fibres

Abstract

The invention discloses a kind of digital Fibre Optical Sensor test macros.Its system structure includes: Power Management Unit, uses 5V DC power supply for system power supply.MCU electricity control unit, it is using 16 RL78 Series MCUs as master controller.Infrared digital photoelectric sensing unit, for perceiving the photooptical data of ambient enviroment.Photooptical data display unit, for showing photooptical data.Data storage cell, for the storage of system parameters and the storage of photooptical data.Relay unit, the threshold value for completing photooptical data act.Real-time opto-electronic data WIFI net leaflet member, is used for Various types of data real-time display in other terminals.Man-machine interaction unit, for completing the setting of system parameter with the display of relevant parameter.

Description

A kind of digital Fibre Optical Sensor test macro

Technical field

The present invention can be used for the fields such as the detection of the non-contact object under particular surroundings (such as strong electromagnetic) and color identification It closes, belongs to infrared photoelectric sensing and internet of things field.

Background technique

Optical fiber sensing technology is the extraneous light to be measured modulating the light source transmitted through optical fiber and issuing, and causes the characteristic variations of light (such as intensity, phase, frequency etc.), is transmitted to receiving end through optical fiber by modulated light and demodulates through photodetector and demodulator A kind of extraneous sensing technology to be measured.And the transducing part of traditional sensor-based system uses correlation and reflective structure, electricity Road part generally carries out light-emitting tube driving using discrete analog circuit, and device dispersibility is larger, and to cut that structure is complicated etc. many lacks Point.

The design is to drive light-emitting tube, photoelectric conversion, and A/D converts output par, c and carries out Integration Design, passes through MCU Specific digital interface is carried out with the chip and communicates reading photoelectric conversion data progress Digital Signal Processing, can thus be combined Many advantages, such as integrated circuit such as parameter consistency is good, and low in energy consumption, size is small, and stability is promoted, and infrared digital sensing chip It just has the above advantages, the shortcomings for overcoming traditional discrete formula circuit structure and the author in combination with Internet of Things technology, realize Miniaturization and intelligentized digital Fibre Optical Sensor test macro.

Summary of the invention

The present invention utilizes infrared digital photoelectric transfer on the basis of some traditional optical fiber sensing systems based on intensity modulated Sense chip designs the Fibre Optical Sensor test macro of total digitalization.The scheme of the Fibre Optical Sensor test macro of total digitalization is as follows: The system using MCU as main control unit, using infrared proximity transducer as infrared LED drive and photoelectric conversion output unit, RTC chip and data storage EEPROM carry out the real-time storage of time reading and photooptical data, and WIFI transparent transmission module is realized The net of photooptical data passes, the functions such as key and LCD display unit finishing man-machine interaction.The experimental results showed that the system can be used for spy Non-contact object detects under different environment.The Fibre Optical Sensor test system hardware structure of total digitalization is as follows: mainly by power management Unit, MCU electricity control unit, infrared digital photoelectric sensing unit, photooptical data display unit, data storage cell, relay Device unit, real-time opto-electronic data WIFI net leaflet member, man-machine interaction unit are constituted.

Described further: Power Management Unit, this system use 5V DC power supply for system power supply.5V plant-grid connection relay Then device driving power pin and ULN2803 pin select two panels three-terminal regulator chip LM1117-3.3V to be supplied respectively to LCD1602 and ESP8266.

Further, the MCU electricity control unit, control unit select R5F104LEA, small in size, low in energy consumption and piece Upper resource is extremely abundant, and IIC communication, UART communication is supported to have the function of A/D converter, timer, on piece keys interrupt, interior Oscillator clock on high-speed chip is set, system clock can also be served as with external crystal oscillating circuit by of coursing, and this system is using external brilliant Vibration is 18.432MHz.

Further, the infrared digital photoelectric sensing unit, the core chips of this element are ISL29021, this chip is one Money built-in infrared LED driving and support IIC interface and infrared sensor.

Further, the photooptical data display unit, whole system data display unit are five in one common cathode charactrons And LCD liquid crystal display.For digital pipe driving chip using BC7275, it can support SPI interface to communicate, and select with piece Function.CLK, MOSI line of the four road units access the SPI serial input clock end of main control unit, SPI mouthfuls of data output ends, Main control unit is respectively connected to the chip select terminal of four driving chips with four heel piece route selections, remaining pin of chip access its corresponding five End is selected in the Duan Xuan of position common cathode charactron and position.LCD selects the LCD1602 device of 3.3V operating voltage, and data line is to control elder generation It can directly connect on the I/O mouth of main control chip.

Further, the data storage cell, the unit have selected AT24C02, AT24C08 and RX8025 chip, Perhaps other systems parameter RX storage or reads time values, AT24C08 record photoelectricity number to AT24C02 storage relay threshold value According to and acquisition time.Three's chip pin all can access the IICA interface of main control unit.

Further, the relay unit, the unit have used the external ULN2803 of the relay device of ATQ209 model to drive Dynamic chip, for driving No. four relays.And relay work be disconnection and closure depend on collected photooptical data with Otherwise the comparison of the initial value of setting disconnects if collection value is less than initial value relay and can be closed.

Further, the real-time opto-electronic data WIFI net leaflet member, using ESP8266 wireless module, the cell cube The Basic Mechanism for having showed Internet of Things shows collected data in other veneer display modules or mobile terminal.This Design is to show collected data on the end ARM.

Further, the man-machine interaction unit, using key triggering mode, the design has used four keys: function point Be not mode key, selection key, on rebuild, downturning key.They are accessed to the interrupt pin on main control unit.

Therefore the beneficial effects of the present invention are: the design carries out digital Fibre Optical Sensor test using digital proximity sensor The design of system electricity part, digital proximity sensor is integrated with LED driving, optical signal receives, signal amplification modulation, A/D turns It the functions such as changes, there is small in size, the low in energy consumption, distortion factor compared to traditional circuit system carried using discrete electronic device The features such as low, strong antijamming capability, and utilize wireless module, realizes that photooptical data is turned to other mobile terminals and shown by being locally displayed The function of showing.

Detailed description of the invention

Fig. 1 is circuit design structure figure of the invention

Fig. 2 is invention software design flow diagram

Fig. 3 is system pictorial diagram of the invention

Fig. 4 a is correlation type Fibre Optical Sensor test chart of the invention

Fig. 4 b is correlation type Fibre Optical Sensor test chart of the invention

Fig. 4 c is correlation type Fibre Optical Sensor test chart of the invention

Fig. 4 d is correlation type Fibre Optical Sensor test chart of the invention

Fig. 5 is reflection-type optical fiber sensing testing figure of the invention

Specific embodiment

The following contents will further illustrate that summary of the invention and its principle, example are all used to explain this hair in conjunction with attached drawing It is bright, and its non-limiting scope of use of the invention.

Fig. 1 is the circuit design structure figure of digital Fibre Optical Sensor test macro of the invention, is MCU with R5F104LEA Master control chip, external four roads infrared digital photoelectric sensor ISL29021 chip and five, external four tunnel common cathode charactron, Respectively correspond four road photoelectric sensors.The photoelectricity number that sensor is perceived by the IIC interface of its own due to master controller According to being read out, then its data is shown on five-digit number code pipe;Then it for the real-time operability of sophisticated systems, adds The function of No. four relays, key, LCD1602, WIFI net transmission module and data storage EEPROM facilitate system parameter And the storage of photooptical data.

Fig. 2 is software design flow chart of the invention, is initialized first to modules unit and parameters Initial value is set, and core is the model selection of system, which be partially completed by keys interrupt, which passes through user Be arranged under five kinds of modes: i.e. data acquire, mode is set, threshold value is set, data query, electricity quantity inquiring etc..Concrete function is such as Shown in lower:

(1) under data acquisition scheme, the function of completion are as follows: main control unit reads infrared digital photoelectricity core by IIC interface The collected photooptical data of piece simultaneously displays it on charactron;The temporal information combination photooptical data storage for reading RX8025 is arrived In AT24C08, since space limits, nearest 64 records can be stored altogether, each record comprising four road photooptical datas with And acquisition time;Collected photooptical data is compared with the value of setting, when collection value is less than setting value, corresponds to road Relay closure, otherwise disconnect;Each road relay status is shown on LCD;Real-time opto-electronic data are carried out by ESP8266 WIFI net passes.

(2) mode sets the function of Pattern completion are as follows: the working condition of each road infrared digital photoelectric chip and display is arranged. Two kinds for using four kinds of operating modes of infrared digital photoelectric chip herein: i.e. programmable primary close to sensing and programmable continuous Close to sensing, and its infrared LED driving current has 12.5mA, 25mA, and 50mA, 100mA fourth gear are adjustable, and the resolution ratio of ADC has 4 Position, 8,12 and 16, the resolution ratio of ADC is related to the time of integration.It may make up 32 kinds of sensing modes in this way, meanwhile, it can also It is in power-down state so that infrared digital photoelectric chip is arranged by register, that is, forbids its sensing acquisition, to sum up, user can basis Actual demand carries out 33 kinds of model selections to per sensing unit all the way.The sensing modes of four road infrared digital photoelectric chips can be shown On LCD, user can choose certain road sensing unit to be tested by selection key, then should by upturning key or downturning key change The mode in channel.

(3) under threshold value setting mode, the function of its completion are as follows: setting is simultaneously shown in per the threshold value of the actuating of relay all the way On LCD.The threshold value is used under data acquisition scheme.

(4) function of data query mode are as follows: collected nearest 64 data record under inquiry data acquisition scheme. LCD can show certain road photooptical data and its acquisition time of current page, and the switching in channel is realized by selection key, the switching of page It is completed by upturning key and downturning key.

(5) function of electricity quantity inquiring Pattern completion are as follows: collected lithium battery voltage is shown on LCD, while in LCD Whether upper prompt user cell voltage is normal.

Under each mode, when electric quantity of lithium battery deficiency, has LED light flash for prompting user and replace lithium battery.

Fig. 3 is pictorial diagram of the invention, and modules are as shown, second channel, light is shown in charactron at present 32636 by force, first and third, four-way do not work, therefore show OFF on LCD, ON is shown in second channel, shows current Moment is working.

Fig. 4 a is correlation type Fibre Optical Sensor test chart of the invention, which is 0-20mm, ADC when just starting to distance is penetrated Data are almost unchanged, but with the increase to distance is penetrated, then adc data fall is especially big.

Fig. 4 b is correlation type Fibre Optical Sensor test chart of the invention, which is 20mm-100mm to distance is penetrated, with right The increase of distance is penetrated, ADC output data value reduces, but reduced changing value comparison is penetrated the changing value that distance is 0-20mm and wanted It is small.

Fig. 4 c is correlation type Fibre Optical Sensor test chart of the invention, the figure to penetrating distance 0-160mm, and the figure be plus After entering focus lamp, distance sensing is significantly increased, with to penetrate distance increase its light intensity output valve reduce relatively slowly.

Fig. 4 d is correlation type Fibre Optical Sensor test chart of the invention, which is 160-480mm to distance is penetrated, and is being tested Cheng Zhong, it can be found that the reduced speed ratio of the last period distance is very fast with constantly reducing to the increase light intensity for penetrating distance, latter section The reduced comparison of distance is slow.

Further, described Fig. 4 a, 4b, 4c, 4d, it can be deduced that in a certain range, since light intensity is big, thus output quantity is several It is constant, it is then inversely proportional, in rear a distance, opposite the last period that output valve reduces reduces slower.It is added and focuses After mirror, distance sensing is significantly increased.

Fig. 5 is reflection-type optical fiber sensing testing figure of the invention, which is the similar object for selecting different colours As detected object, the distance between moving fiber probe and object, and record the infrared electro chip of numeral method ADC output valve.

Further, Fig. 5 reflection-type pipeline sensing testing figure, as seen from the figure, when fibre-optical probe and object distance are closer, ADC is exported to be increased as the distance of detecting object increases, but is then increased later and reduced, it is possible to obtain the wave in figure It is exactly optimal detection range at peak.

It is the specific embodiment of the invention above.

In summary: the present invention replaces relatively traditional discrete component with small in size, mistake using digital proximity sensor Really spend small, many advantages of strong antijamming capability, and utilize net transmission module, can by realtime curve in other terminals, Last the author also carries out data determination by building correlation type and reflection-type basic structure, and to it, and result can be used for Non-contact object detection under particular surroundings, purposes, can be in further genralrlization from now on than wide.

Claims (8)

1. a kind of digital Fibre Optical Sensor test macro characterized by comprising Power Management Unit, the control of MCU electricity are single Member, infrared digital photoelectric sensing unit, photooptical data display unit, data storage cell, real-time opto-electronic data WIFI net leaflet Member and man-machine interaction unit;The Power Management Unit uses 5V DC power supply for system power supply;The MCU electricity control Unit, using 16 RL78 Series MCUs as master controller;The infrared digital photoelectric sensing unit, for perceiving and acquiring The photooptical data of external environment;The photooptical data display unit, for showing that infrared digital photoelectric sensing unit collects Photooptical data;The data storage cell, the storage for system parameter and photooptical data;The relay unit is used In the threshold value movement for completing photooptical data;The real-time opto-electronic data WIFI net leaflet member, by the number of photooptical data display unit According to being shown in mobile network terminal, the network terminal can be mobile phone, plate etc.;The man-machine interaction unit completes system The setting of parameter and the display of setup parameter.
2. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that the power management list Member is powered using 5V DC power supply to whole system;What the electricity control unit was selected is that 16 Renesas produce The MCU of RL78 series is as master controller;The infrared digital photoelectric sensing unit includes photoelectric sensor chip I SL29021, Infrared LED high power SFH4056 chip;The photooptical data display unit includes BC7275 five-digit number code pipe driving chip, with And five in one common cathode charactron;The data storage cell includes memory AT24C02, AT24C08 chip and RX8025 Real-time timepiece chip;The relay unit includes relay chip ATQ209 and driving relay chip ULN2803;It is described What real-time opto-electronic data WIFI net leaflet member was selected is ESP8266 to complete;The man-machine interaction unit includes that key-press input is set Standby and LCD1602 display device.
3. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that its power management list Member, it utilizes 5V plant-grid connection relay driving power supply pin and ULN2803 power pins, and accesses three-terminal regulator chip 5V voltage is switched to 3.3V voltage for the power supply of remaining device of system by LM1117-3.3.
4. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that its electricity control unit The Master control chip R5F104LEA of the RL78 Series MCU of selection, that is, have low-power consumption, high-performance, can in piece debugging it is many excellent Point;Also it supports IIC communication, UART communication, there is A/D converter, timer, on piece key, vibrated on built-in high-speed chip The functions such as device clock.
5. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that the storage of its data is single Member, used AT24C02 memory chip are used for the storage of system parameter;Believed using RX8025 chip for read access time Breath, using AT24C08 chip for recording photooptical data and acquisition time.
6. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that its infrared digital photoelectricity Sensing unit includes photoelectric sensor chip I SL29021, it is a built-in infrared LED driving and supports the red of IIC interface Outer sensor, it is internal with the A/D converter for reaching as high as 16, and infrared LED driving current is adjustable optional, and gathers around There is high-frequency low noise.
7. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that its photooptical data is shown Unit, tetra- road BC7275 five-digit number code pipe driving chip of Shi Jiang are connected with four road five in one common cathode charactrons respectively, in turn Collected photooptical data can be shown on charactron;BC7275 five-digit number code pipe driving chip is supported SPI interface communication, is gathered around There is chip select functionality;CLK, MOSI line of four road BC7275 accesses the SPI serial input clock end of main control unit, SPI mouthfuls of data Output end, main control unit are respectively connected to the chip select terminal of four driving chips with four heel piece route selections, remaining pin of chip accesses it End is selected in the Duan Xuan of corresponding five common cathode charactrons and position.
8. a kind of digital Fibre Optical Sensor test macro according to claim 1, which is characterized in that its man-machine interaction unit System model selection is completed using keys interrupt mode, including five modes: be respectively data acquisition, working method setting, Threshold value setting, data query, electricity quantity inquiring mode;Function is arranged in its key: it is mode key, selection key, upturning key respectively, and Downturning key, they are respectively connected to the keys interrupt pin of main control unit.
CN201810636447.6A 2018-06-20 2018-06-20 A kind of digital Fibre Optical Sensor test macro CN109000686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810636447.6A CN109000686A (en) 2018-06-20 2018-06-20 A kind of digital Fibre Optical Sensor test macro

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810636447.6A CN109000686A (en) 2018-06-20 2018-06-20 A kind of digital Fibre Optical Sensor test macro

Publications (1)

Publication Number Publication Date
CN109000686A true CN109000686A (en) 2018-12-14

Family

ID=64601174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810636447.6A CN109000686A (en) 2018-06-20 2018-06-20 A kind of digital Fibre Optical Sensor test macro

Country Status (1)

Country Link
CN (1) CN109000686A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387605A (en) * 2008-10-20 2009-03-18 中国农业大学 Optical fiber agricultural land soil organic matter content rapid detector
CN102128683A (en) * 2010-12-29 2011-07-20 南京武大卓越科技有限公司 Wireless intelligent thermodetector
CN102353395A (en) * 2011-06-26 2012-02-15 西安电子科技大学 Infrared proximity transducer capable of inhibiting environmental noise
CN103028257A (en) * 2011-10-07 2013-04-10 陕西伟莉电子科技有限公司 Remote interactive tumblers
CN204202578U (en) * 2014-08-28 2015-03-11 深圳怡化电脑股份有限公司 Manual testing device
CN106706537A (en) * 2017-03-03 2017-05-24 苏州科技大学 Air multiple-parameter detection system based on optical fiber sensor
CN206540948U (en) * 2016-12-30 2017-10-03 南京信息工程大学 A kind of oscillograph with gesture function
CN107272520A (en) * 2017-08-07 2017-10-20 北京煜煌科技有限公司 A kind of intelligent safety and defence system based on sensor network and monitoring remote video
CN207367018U (en) * 2017-11-08 2018-05-15 长沙变化率信息技术有限公司 A kind of strong sensor signal monitoring change data collector of compatibility

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387605A (en) * 2008-10-20 2009-03-18 中国农业大学 Optical fiber agricultural land soil organic matter content rapid detector
CN102128683A (en) * 2010-12-29 2011-07-20 南京武大卓越科技有限公司 Wireless intelligent thermodetector
CN102353395A (en) * 2011-06-26 2012-02-15 西安电子科技大学 Infrared proximity transducer capable of inhibiting environmental noise
CN103028257A (en) * 2011-10-07 2013-04-10 陕西伟莉电子科技有限公司 Remote interactive tumblers
CN204202578U (en) * 2014-08-28 2015-03-11 深圳怡化电脑股份有限公司 Manual testing device
CN206540948U (en) * 2016-12-30 2017-10-03 南京信息工程大学 A kind of oscillograph with gesture function
CN106706537A (en) * 2017-03-03 2017-05-24 苏州科技大学 Air multiple-parameter detection system based on optical fiber sensor
CN107272520A (en) * 2017-08-07 2017-10-20 北京煜煌科技有限公司 A kind of intelligent safety and defence system based on sensor network and monitoring remote video
CN207367018U (en) * 2017-11-08 2018-05-15 长沙变化率信息技术有限公司 A kind of strong sensor signal monitoring change data collector of compatibility

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RENESAS: "《ISL29021 Digital Proximity Sensor with Interrupt Function》", 3 March 2009 *
邓文华等: "一种用于光纤传感的数字式检测系统设计", 《电子测量技术》 *
马银龙等: "HUG――远程互动不倒翁", 《物联网技术》 *

Similar Documents

Publication Publication Date Title
CN1138983C (en) Method and apparatus for electronic meter testing
CN102177492B (en) Optical control systems with feedback control
CN202720230U (en) Portable high-resolution gold labeled detection instrument
CA2917016C (en) Rfid card learning apparatus and operating method thereof
CN101330784A (en) Radiotelecontrol intelligent light control system capable of setting control light hint map
TWI297432B (en)
US20150133183A1 (en) Method, Electronic Device, and Accessory for Carrying Out Functions Based on Reflected Electromagnetic Radiation
CN103369795A (en) Interactive lamplight intelligent control system
CN101697034A (en) Circuit for portable day and night dual-purpose night-vision device
CN106969832A (en) Ambient light detection device, method and display screen
CN204791294U (en) Take intelligent gas meter of SX1278 module
CN103167691A (en) Light emitting diode (LED) driving power supply and dimming system
CN103699029B (en) A kind of energy consumption data acquisition terminal
CN102577125A (en) Field equipment photoelectric sensing sensitivity adjustment
CN105700666A (en) Terminal device and electricity saving method and device thereof
CN103810451B (en) Radio frequency card detection apparatus and radio-frequency card detection method thereof
CN201927051U (en) Face identifying device with function of resisting hard light
CN103760800A (en) Monitoring device of plant growth environment
CN201986216U (en) Intelligent LED (light-emitting diode) lighting control device
CN104758187A (en) Intelligent feeding bottle cover and control circuit
CN102012264A (en) Handheld device for detecting ambient light illumination
CN203366008U (en) Watch with low power consumption chip for timing and communication module for real-time communication
CN104965588B (en) Extensible intelligent bracelet or intelligent watch based on NFC
CN105437821A (en) Multi-functional intelligent bookmark and reading progress synchronizing method
CN107862853A (en) Infrared transmitter control method, terminal and computer-readable recording medium

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