[go: up one dir, main page]

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
photoelectric
digital
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
CN201810636447.6A
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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CN201810636447.6A priority Critical patent/CN109000686A/en
Publication of CN109000686A publication Critical patent/CN109000686A/en
Pending legal-status Critical Current

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 infrared, visible, or ultraviolet 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 infrared, visible, or ultraviolet light using optical fibres

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

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

一种全数字光纤传感测试系统An all-digital optical fiber sensor test system

技术领域technical field

本发明可用于特殊环境(如强电磁干扰)下的非接触物体检测,以及颜色识别等场合,其属于红外光电传感以及物联网技术领域。The invention can be used for non-contact object detection and color recognition in special environments (such as strong electromagnetic interference), and belongs to the technical fields of infrared photoelectric sensing and Internet of Things.

背景技术Background technique

光纤传感技术是外界待测量调制经光纤传输的光源发出的光,引起光的特性变化(如强度,相位,频率等),被调制后的光经光纤传输至接收端经光电探测器及解调器解调出外界待测量的一种传感技术。而传统的传感系统的传感部分采用对射式和反射式结构,电路部分一般采用分立的模拟电路进行光发射管驱动,器件分散性较大切结构复杂等诸多缺点。Optical fiber sensing technology is to measure and modulate the light emitted by the light source transmitted through the optical fiber, causing changes in the characteristics of the light (such as intensity, phase, frequency, etc.), and the modulated light is transmitted to the receiving end through the optical fiber and passed through the photodetector and solution. The modulator demodulates a sensing technology to be measured from the outside world. However, the sensing part of the traditional sensing system adopts the through-beam and reflective structure, and the circuit part generally uses a discrete analog circuit to drive the light emitting tube, and the device has many shortcomings such as large dispersion and complex structure.

本设计是将光发射管驱动,光电转化,A/D转化输出部分进行集成化设计,通过MCU与该芯片进行特定的数字接口通信读取光电转换数据进行数字信号处理,这样就可以结合集成电路如参数一致性好,功耗低,尺寸小,稳定性提升等诸多优点,而红外数字传感芯片就具有上述优点,克服传统分立式电路结构的诸多缺点,以及笔者结合物联网技术,实现了小型化以及智能化的全数字光纤传感测试系统。This design is to integrate the drive of the light emission tube, photoelectric conversion, and A/D conversion output. Through the specific digital interface communication between the MCU and the chip, the photoelectric conversion data is read for digital signal processing, so that it can be combined with the integrated circuit Such as good parameter consistency, low power consumption, small size, improved stability and many other advantages, while the infrared digital sensor chip has the above advantages, overcomes many shortcomings of the traditional discrete circuit structure, and the author combines the Internet of Things technology to realize A miniaturized and intelligent all-digital optical fiber sensing test system.

发明内容Contents of the invention

本发明在一些传统基于强度调制的光纤传感系统的基础上,利用红外数字光电传感芯片设计出全数字化的光纤传感测试系统。全数字化的光纤传感测试系统的方案如下:该系统以MCU为主控单元,采用红外接近传感器作为红外LED驱动以及光电转换输出单元,RTC芯片以及数据存储器EEPROM进行时间读取及光电数据的实时存储,WIFI透传模块实现光电数据的网传,按键及LCD显示单元完成人机交互等功能。实验结果表明该系统可用于特殊环境下非接触物体检测。全数字化的光纤传感测试系统硬件结构如下:主要由电源管理单元、MCU电学控制单元、红外数字光电传感单元、光电数据显示单元、数据存储单元、继电器单元、实时光电数据WIFI网传单元、人机交互单元构成的。On the basis of some traditional optical fiber sensing systems based on intensity modulation, the invention uses infrared digital photoelectric sensing chips to design a fully digital optical fiber sensing testing system. The solution of the all-digital optical fiber sensing test system is as follows: the system uses MCU as the main control unit, uses infrared proximity sensors as infrared LED drive and photoelectric conversion output unit, RTC chip and data memory EEPROM for time reading and real-time photoelectric data Storage, WIFI transparent transmission module realizes network transmission of photoelectric data, buttons and LCD display unit complete functions such as human-computer interaction. Experimental results show that the system can be used for non-contact object detection in special environments. The hardware structure of the all-digital optical fiber sensing test system is as follows: it mainly consists of power management unit, MCU electrical control unit, infrared digital photoelectric sensing unit, photoelectric data display unit, data storage unit, relay unit, real-time photoelectric data WIFI network transmission unit, Human-computer interaction unit constitutes.

进一步所述:电源管理单元,本系统采用5V直流电源为系统供电。5V电源接入继电器驱动电源引脚及ULN2803引脚,然后选用两片三端稳压芯片LM1117-3.3V分别供给LCD1602及ESP8266。Further stated: the power management unit, the system uses a 5V DC power supply for the system power supply. The 5V power supply is connected to the relay drive power pin and the ULN2803 pin, and then two three-terminal voltage regulator chips LM1117-3.3V are used to supply LCD1602 and ESP8266 respectively.

进一步,所述MCU电学控制单元,控制单元选用R5F104LEA,其体积小,功耗低、且片上资源极其丰富,支持IIC通信,UART通信,具有A/D转换器、定时器、片上按键中断功能,内置了高速片上振荡器时钟,当然了也可以外接晶振电路充当系统时钟,本系统采用外部晶振为18.432MHz。Further, the MCU electrical control unit, the control unit selects R5F104LEA, which has small size, low power consumption, and extremely rich resources on the chip, supports IIC communication, UART communication, and has A/D converter, timer, on-chip button interrupt function, A high-speed on-chip oscillator clock is built in, and of course an external crystal oscillator circuit can also be used as the system clock. This system uses an external crystal oscillator with a frequency of 18.432MHz.

进一步,所述红外数字光电传感单元,此单元的核心芯片是ISL29021,此芯片是一款内置红外LED驱动及支持IIC接口以及红外传感器。Further, the infrared digital photoelectric sensing unit, the core chip of this unit is ISL29021, this chip is a built-in infrared LED driver and supports IIC interface and infrared sensor.

进一步,所述光电数据显示单元,整个系统数据显示部件是五位一体共阴数码管以及LCD液晶显示器。数码管驱动芯片采用的是BC7275,它可支持SPI接口通信,并带有片选功能。四路该单元的CLK、MOSI线均接入主控单元的SPI串行输入时钟端,SPI口数据输出端,主控单元用四根片选线分别接入四片驱动芯片的片选端,芯片的其余引脚接入其对应的五位共阴数码管的段选和位选端。LCD选用3.3V工作电压的LCD1602器件,其数据线以控制先可直接接在主控芯片的I/O口上。Further, the photoelectric data display unit and the data display components of the entire system are five-in-one common cathode digital tubes and LCD liquid crystal displays. The digital tube driver chip uses BC7275, which supports SPI interface communication and has a chip selection function. The four CLK and MOSI lines of the unit are connected to the SPI serial input clock terminal of the main control unit and the data output terminal of the SPI port. The main control unit uses four chip selection lines to connect to the chip selection terminals of the four drive chips respectively. The remaining pins of the chip are connected to the segment selection and bit selection terminals of the corresponding five-digit common cathode digital tube. The LCD selects the LCD1602 device with a working voltage of 3.3V, and its data line can be directly connected to the I/O port of the main control chip for control.

进一步,所述数据存储单元,该单元选用了AT24C02、AT24C08及RX8025芯片,AT24C02存储继电器阈值或者其他系统参数,RX存储或者读取时间值,AT24C08记录光电数据及采集时间。三者芯片管脚都可接入主控单元的IICA接口。Further, the data storage unit uses AT24C02, AT24C08 and RX8025 chips. AT24C02 stores relay thresholds or other system parameters, RX stores or reads time values, and AT24C08 records photoelectric data and collection time. All three chip pins can be connected to the IICA interface of the main control unit.

进一步,所述继电器单元,该单元使用了ATQ209型号的继电器器件外接ULN2803驱动芯片,用于驱动四路继电器。而继电器工作是的断开和闭合取决于采集到的光电数据与设定的初始值的比较,若采集值小于初始值继电器会闭合,否则断开。Further, the relay unit uses an ATQ209 relay device connected to an external ULN2803 driver chip to drive four relays. The opening and closing of the relay work depends on the comparison between the collected photoelectric data and the set initial value. If the collected value is less than the initial value, the relay will be closed, otherwise it will be disconnected.

进一步,所述实时光电数据WIFI网传单元,采用的是ESP8266无线模块,该单元体现了物联网的基本机理,将采集到的数据显示在其他单板显示模块中,或者是移动终端。本设计是将采集到的数据显示在ARM端上。Further, the real-time photoelectric data WIFI network transmission unit adopts the ESP8266 wireless module, which embodies the basic mechanism of the Internet of Things, and displays the collected data in other single-board display modules or mobile terminals. This design is to display the collected data on the ARM side.

进一步,所述人机交互单元,采用按键触发方式,本设计使用了四个按键:功能分别是模式键、选择键、上翻建、下翻键。将他们接入主控单元上的中断引脚。Further, the human-computer interaction unit adopts a button trigger mode, and this design uses four buttons: the functions are the mode key, the selection key, the up and down key, and the down key. Connect them to the interrupt pins on the main control unit.

因此本发明的有益效果是:本设计采用数字接近传感器进行全数字光纤传感测试系统电学部分的设计,数字接近传感器集成了LED驱动、光信号接收、信号放大调制、A/D转换等功能,相比于传统的采用分立电子元器件搭载的电路系统具有体积小、功耗低、失真度低、抗干扰能力强等特点,而且利用无线模块,实现光电数据由本地显示转向其他移动端显示的功能。Therefore the beneficial effect of the present invention is: this design adopts the digital proximity sensor to carry out the design of the electrical part of the all-digital optical fiber sensing test system, and the digital proximity sensor integrates functions such as LED drive, optical signal reception, signal amplification modulation, A/D conversion, Compared with the traditional circuit system equipped with discrete electronic components, it has the characteristics of small size, low power consumption, low distortion, strong anti-interference ability, etc., and uses wireless modules to realize photoelectric data from local display to other mobile display. Function.

附图说明Description of drawings

图1是本发明的电路设计结构图Fig. 1 is a circuit design structural diagram of the present invention

图2是本发明软件设计流程图Fig. 2 is a flow chart of software design of the present invention

图3是本发明的系统实物图Fig. 3 is a system physical diagram of the present invention

图4a是本发明的对射型光纤传感测试图Fig. 4a is the through-beam optical fiber sensing test diagram of the present invention

图4b是本发明的对射型光纤传感测试图Fig. 4 b is the through-beam optical fiber sensing test diagram of the present invention

图4c是本发明的对射型光纤传感测试图Fig. 4c is the through-beam optical fiber sensing test diagram of the present invention

图4d是本发明的对射型光纤传感测试图Fig. 4d is the through-beam optical fiber sensing test diagram of the present invention

图5是本发明的反射型光纤传感测试图Fig. 5 is a reflective optical fiber sensor test diagram of the present invention

具体实施方式Detailed ways

以下内容将结合附图来进一步说明发明内容及其原理,所举实例皆用来解释本发明,并非限定其本发明的用途范围。The following content will further illustrate the content of the invention and its principles in conjunction with the accompanying drawings. The examples given are used to explain the invention, not to limit the scope of application of the invention.

图1是本发明的全数字光纤传感测试系统的电路设计结构图,以R5F104LEA为MCU主控制芯片,外接四路红外数字光电传感器ISL29021芯片,以及外接四路五位共阴数码管,分别对应四路光电传感器。由于主控制器通过其自身的IIC接口对传感器感知到的光电数据进行读取,然后将其数据显示在五位数码管上;然后为了完善系统的实时可操作性,附加了四路继电器的功能,按键,LCD1602,WIFI网传模块,以及数据存储器EEPROM方便系统参数以及光电数据的存储。Fig. 1 is the circuit design structure diagram of the all-digital optical fiber sensing test system of the present invention, with R5F104LEA as the MCU main control chip, externally connected four-way infrared digital photoelectric sensor ISL29021 chip, and externally connected four-way five-bit common cathode digital tubes, corresponding to Four photoelectric sensors. Because the main controller reads the photoelectric data sensed by the sensor through its own IIC interface, and then displays the data on the five-digit digital tube; then in order to improve the real-time operability of the system, the function of four relays is added , buttons, LCD1602, WIFI network transmission module, and data memory EEPROM to facilitate the storage of system parameters and photoelectric data.

图2是本发明的软件设计流程图,首先对各个模块单元进行初始化,以及各个参数设置初始值,核心部分是系统的模式选择,该部分是由按键中断部分完成,该系统通过用户设置在五种模式下:即数据采集、方式设定、阈值设定、数据查询、电量查询等。具体功能如下所示:Fig. 2 is the software design flowchart of the present invention, at first each module unit is initialized, and each parameter setting initial value, core part is the pattern selection of system, and this part is finished by the key interruption part, and this system is set in five by the user In one mode: data collection, mode setting, threshold setting, data query, power query, etc. The specific functions are as follows:

(1)数据采集模式下,完成的功能为:主控单元通过IIC接口读取红外数字光电芯片采集到的光电数据并将其显示到数码管上;读取RX8025的时间信息结合光电数据存储到AT24C08中,由于空间限制,一共可存储最近的64条记录,每一条记录包含四路光电数据以及采集时间;将采集到的光电数据与设定的值进行比较,当采集值小于设定值时,其对应路的继电器闭合,否则断开;各路继电器状态显示在LCD上;实时光电数据通过ESP8266进行WIFI网传。(1) In the data acquisition mode, the completed functions are: the main control unit reads the photoelectric data collected by the infrared digital photoelectric chip through the IIC interface and displays it on the digital tube; reads the time information of the RX8025 and stores the photoelectric data in the In AT24C08, due to space constraints, a total of 64 recent records can be stored, each record contains four channels of photoelectric data and collection time; compare the collected photoelectric data with the set value, when the collected value is less than the set value , the relay of the corresponding road is closed, otherwise it is disconnected; the status of each relay is displayed on the LCD; the real-time photoelectric data is transmitted through the WIFI network through ESP8266.

(2)方式设定模式完成的功能为:设置各路红外数字光电芯片的工作状态并显示。本文用到红外数字光电芯片的四种工作模式的两种:即可编程一次接近传感和可编程连续接近传感,而其红外LED驱动电流有12.5mA、25mA,50mA、100mA四档可调,ADC的分辨率有4位、8位、12位和16位,ADC的分辨率与积分时间相关。这样可构成32种传感模式,同时,也可以通过寄存器设置红外数字光电芯片处于掉电状态,即禁止其传感采集,综上,用户可根据实际需求对每一路传感单元进行33种模式选择。四路红外数字光电芯片的传感模式会显示在LCD上,用户可以通过选择键选中待测试的某路传感单元,再通过上翻键或下翻键更改该通道的模式。(2) The function completed in mode setting mode is: to set and display the working status of each infrared digital photoelectric chip. This article uses two of the four working modes of the infrared digital optoelectronic chip: programmable one-time proximity sensing and programmable continuous proximity sensing, and its infrared LED drive current is adjustable in four levels: 12.5mA, 25mA, 50mA, and 100mA , The resolution of the ADC is 4 bits, 8 bits, 12 bits and 16 bits, and the resolution of the ADC is related to the integration time. In this way, 32 sensing modes can be formed. At the same time, the infrared digital photoelectric chip can also be set in the power-down state through the register, that is, its sensing collection is prohibited. In summary, the user can perform 33 modes for each sensing unit according to actual needs. choose. The sensing mode of the four-channel infrared digital photoelectric chip will be displayed on the LCD. The user can select a sensing unit to be tested by the selection key, and then change the mode of the channel by the up or down key.

(3)阈值设定模式下,它完成的功能为:设置每一路继电器动作的阈值并显示在LCD上。该阈值在数据采集模式下用到。(3) In the threshold setting mode, the function it completes is: set the threshold of each relay action and display it on the LCD. This threshold is used in data acquisition mode.

(4)数据查询模式的功能为:查询数据采集模式下采集到的最近64条数据记录。LCD会显示当前页的某路光电数据及其采集时间,通道的切换通过选择键来实现,页的切换通过上翻键和下翻键来完成。(4) The function of the data query mode is to query the latest 64 data records collected in the data collection mode. The LCD will display the photoelectric data of a certain channel on the current page and its collection time. The switching of the channel is realized by the selection key, and the switching of the page is completed by the up and down keys.

(5)电量查询模式完成的功能为:将采集到的锂电池电压显示到LCD上,同时在LCD上提示用户电池电压是否正常。(5) The completed function of the power inquiry mode is: display the collected lithium battery voltage on the LCD, and at the same time prompt the user on the LCD whether the battery voltage is normal.

在各个模式下,当锂电池电量不足时,会有LED灯闪烁提示用户更换锂电池。In each mode, when the lithium battery is low, the LED light will flash to remind the user to replace the lithium battery.

图3是本发明的实物图,各个模块如图所示,数码管目前显示的是第二通道,其光强是32636,第一、三、四通道不工作,因此在LCD上显示OFF,第二通道显示的是ON,表明当前时刻正在工作。Fig. 3 is the actual figure of the present invention, and each module is as shown in the figure, what the nixie tube shows at present is the second channel, and its light intensity is 32636, and the first, third, and fourth channels are not working, so OFF is displayed on the LCD, and the second channel The second channel shows ON, indicating that it is working at the current moment.

图4a是本发明的对射型光纤传感测试图,该图的对射距离为0-20mm,刚开始时ADC数据几乎不变,但随着对射距离的增大,则ADC数据下降幅度特别大。Fig. 4a is the test diagram of the through-beam optical fiber sensor of the present invention, the distance between the beams of this figure is 0-20mm, and the ADC data is almost unchanged at the beginning, but with the increase of the distance between the beams, the ADC data decreases Very big.

图4b是本发明的对射型光纤传感测试图,该图的对射距离为20mm-100mm,随着对射距离的增大,ADC输出数据值减小,但是减小的变化值比对射距离是0-20mm的变化值要小。Fig. 4b is the through-beam type optical fiber sensor test diagram of the present invention, and the through-beam distance of this figure is 20mm-100mm, and with the increase of the through-beam distance, the ADC output data value decreases, but the change value of reduction is compared with The shooting distance is that the change value of 0-20mm is small.

图4c是本发明的对射型光纤传感测试图,该图的对射距离0-160mm,而且该图是加入聚焦镜后,传感距离显著增大,随着对射距离的增大其光强输出值减小的相对缓慢些。Fig. 4c is the test diagram of the through-beam optical fiber sensor of the present invention, the through-beam distance of this figure is 0-160mm, and this figure is that after adding the focusing mirror, the sensing distance increases significantly, and with the increase of the through-beam distance, its The light intensity output value decreases relatively slowly.

图4d是本发明的对射型光纤传感测试图,该图的对射距离是160-480mm,在测试过程中,可以发现随着对射距离的增大光强不断减小,前一段距离减小的速度比较快,后一段距离减小的比较缓慢。Fig. 4d is a test diagram of the through-beam optical fiber sensor of the present invention, the distance between the beams of this figure is 160-480mm, during the test, it can be found that the light intensity decreases continuously with the increase of the distance between the beams, The decreasing speed is relatively fast, and the latter distance decreases relatively slowly.

进一步,所述图4a、4b、4c、4d,可以得出在一定范围内,由于光强大,因而输出量几乎不变,而后成反比,在后一段距离中,输出值减小的相对前一段减小的缓慢些。加入聚焦镜后,传感距离显著增强。Further, as shown in Figures 4a, 4b, 4c, and 4d, it can be concluded that within a certain range, due to the strong light, the output is almost unchanged, and then it is inversely proportional. In the latter distance, the output value decreases relative to the previous one. Decrease slowly. After adding the focusing mirror, the sensing distance is significantly enhanced.

图5是本发明的反射型光纤传感测试图,该测试过程是选用不同颜色的同类物体作为被检测对象,移动光纤探头与物体之间的距离,并记录数码管显示的红外光电芯片的ADC输出值。Fig. 5 is a reflective optical fiber sensor test diagram of the present invention, the test process is to select similar objects of different colors as the detected object, move the distance between the optical fiber probe and the object, and record the ADC of the infrared photoelectric chip displayed by the nixie tube output value.

进一步,所述图5反射型管线传感测试图,由图可知,光纤探头与物体距离较近时,ADC输出随着探测物体的距离增大而增大,但是之后则增大而减小,所以可以得出图中的波峰处,就是最佳的探测距离。Further, the reflective pipeline sensing test diagram in Figure 5 shows that when the distance between the fiber optic probe and the object is relatively close, the ADC output increases as the distance of the detected object increases, but then increases and decreases, Therefore, it can be concluded that the wave peak in the figure is the best detection distance.

以上便是此发明的具体实施方式。The above is the specific embodiment of the invention.

综上所述:本发明利用数字接近传感器取代相对传统的分立元件具有体积小,失真度小,抗干扰能力强的诸多优势,而且利用网传模块,可将实时数据显示在其他终端上,最后笔者还通过搭建对射型以及反射型基本结构,并且对其进行数据测定,其结果可用于特殊环境下的非接触物体检测,用途比较广泛,可在今后进一步推广。To sum up: the present invention uses a digital proximity sensor to replace relatively traditional discrete components, which has the advantages of small size, small distortion, and strong anti-interference ability, and uses the network transmission module to display real-time data on other terminals, and finally The author also built through-beam and reflective basic structures, and measured data on them. The results can be used for non-contact object detection in special environments, which are widely used and can be further promoted in the future.

Claims (8)

1.一种全数字光纤传感测试系统,其特征在于,包括:电源管理单元、MCU电学控制单元,红外数字光电传感单元、光电数据显示单元、数据存储单元、实时光电数据WIFI网传单元,以及人机交互单元;所述电源管理单元,采用5V直流电源为系统供电;所述MCU电学控制单元,采用16位RL78系列MCU作为主控制器;所述红外数字光电传感单元,用于感知并采集外部环境的的光电数据;所述光电数据显示单元,用于显示红外数字光电传感单元采集到的光电数据;所述数据存储单元,用于系统参数以及光电数据的存储;所述继电器单元,用于完成光电数据的阈值动作;所述实时光电数据WIFI网传单元,将光电数据显示单元的数据显示在可移动网络终端上,网络终端可以是手机、平板等;所述人机交互单元,完成系统参数的设定以及设定参数的显示。1. An all-digital optical fiber sensing test system, characterized in that it includes: a power management unit, an MCU electrical control unit, an infrared digital photoelectric sensing unit, a photoelectric data display unit, a data storage unit, and a real-time photoelectric data WIFI network transmission unit , and a human-computer interaction unit; the power management unit uses a 5V DC power supply to power the system; the MCU electrical control unit uses a 16-bit RL78 series MCU as the main controller; the infrared digital photoelectric sensor unit is used for Sensing and collecting photoelectric data of the external environment; the photoelectric data display unit is used to display the photoelectric data collected by the infrared digital photoelectric sensing unit; the data storage unit is used for storage of system parameters and photoelectric data; the The relay unit is used to complete the threshold action of the photoelectric data; the real-time photoelectric data WIFI network transmission unit displays the data of the photoelectric data display unit on the mobile network terminal, and the network terminal can be a mobile phone, a tablet, etc.; the man-machine The interactive unit completes the setting of the system parameters and the display of the setting parameters. 2.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,所述电源管理单元采用5V直流电源给整个系统供电;所述的电学控制单元选用的是16位瑞萨公司生产的RL78系列的MCU作为主控制器;所述红外数字光电传感单元包括光电传感器芯片ISL29021,红外LED高功率SFH4056芯片;所述光电数据显示单元包括BC7275五位数码管驱动芯片,以及五位一体共阴数码管;所述数据存储单元包括存储器AT24C02、AT24C08芯片以及RX8025实时时钟芯片;所述继电器单元包括继电器芯片ATQ209以及驱动继电器芯片ULN2803;所述实时光电数据WIFI网传单元选用的是ESP8266来完成;所述人机交互单元包括按键输入设备以及LCD1602显示器件。2. A kind of all-digital optical fiber sensing test system according to claim 1, characterized in that, said power management unit adopts 5V DC power supply to supply power to the whole system; what said electrical control unit selected is 16 Renesas The RL78 series MCU produced by the company is used as the main controller; the infrared digital photoelectric sensing unit includes a photoelectric sensor chip ISL29021, an infrared LED high-power SFH4056 chip; the photoelectric data display unit includes a BC7275 five-digit digital tube driver chip, and five One-bit common cathode digital tube; the data storage unit includes memory AT24C02, AT24C08 chip and RX8025 real-time clock chip; the relay unit includes a relay chip ATQ209 and a drive relay chip ULN2803; the real-time photoelectric data WIFI network transmission unit is selected from ESP8266 to complete; the human-computer interaction unit includes a key input device and an LCD1602 display device. 3.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其电源管理单元,它利用5V电源接入继电器驱动电源引脚以及ULN2803电源引脚,并且接入三端稳压芯片LM1117-3.3,将5V电压转为3.3V电压为系统其余器件供电。3. A kind of all-digital optical fiber sensing test system according to claim 1, characterized in that, its power management unit utilizes a 5V power supply to access the relay drive power supply pin and the ULN2803 power supply pin, and access to the three terminals The voltage regulator chip LM1117-3.3 converts the 5V voltage to 3.3V voltage to supply power for the rest of the system. 4.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其电学控制单元选用的RL78系列MCU的主控制芯片R5F104LEA,即具有低功耗、高性能、可片内调试诸多优点;也支持支持IIC通信、UART通信、具有A/D转换器、定时器、片上按键,内置高速片上振荡器时钟等功能。4. A kind of all-digital optical fiber sensing test system according to claim 1, is characterized in that, the main control chip R5F104LEA of the RL78 series MCU that its electrical control unit selects, promptly has low power consumption, high performance, can Debugging has many advantages; it also supports IIC communication, UART communication, A/D converter, timer, on-chip buttons, built-in high-speed on-chip oscillator clock and other functions. 5.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其数据存储单元,所采用AT24C02芯片外存储器用于系统参数的存储;采用RX8025芯片用于读取时间信息,采用AT24C08芯片用于记录光电数据及采集时间。5. A kind of all-digital optical fiber sensing test system according to claim 1, is characterized in that, its data storage unit, adopted AT24C02 off-chip memory is used for the storage of system parameter; Adopt RX8025 chip to be used for reading time information , using AT24C08 chip for recording photoelectric data and acquisition time. 6.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其红外数字光电传感单元包括光电传感器芯片ISL29021,它是一款内置红外LED驱动以及支持IIC接口的红外传感器,其内部带有最高可达16位的A/D转换器,并且红外LED驱动电流可调可选,并且拥有高频率低噪声诸多优点。6. A kind of all-digital optical fiber sensing test system according to claim 1, characterized in that, its infrared digital photoelectric sensing unit includes a photoelectric sensor chip ISL29021, which is a built-in infrared LED driver and supports IIC interface infrared The sensor has an A/D converter up to 16 bits inside, and the infrared LED drive current is adjustable and optional, and has many advantages of high frequency and low noise. 7.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其光电数据显示单元,是将四路BC7275五位数码管驱动芯片分别与四路五位一体共阴数码管相连接,进而可在数码管上显示采集到的光电数据;BC7275五位数码管驱动芯片,支持SPI接口通信,拥有片选功能;四路BC7275的CLK、MOSI线均接入主控单元的SPI串行输入时钟端,SPI口数据输出端,主控单元用四根片选线分别接入四片驱动芯片的片选端,芯片的其余引脚接入其对应的五位共阴数码管的段选和位选端。7. A kind of all-digital optical fiber sensor test system according to claim 1, characterized in that, its photoelectric data display unit is to respectively connect four-way BC7275 five-digit nixie tube driver chips with four-way five-in-one common cathode digital The tubes are connected to each other, and then the collected photoelectric data can be displayed on the digital tube; the BC7275 five-digit digital tube driver chip supports SPI interface communication and has a chip selection function; the CLK and MOSI lines of the four BC7275 are connected to the main control unit. The SPI serial input clock terminal, the SPI port data output terminal, the main control unit uses four chip selection lines to connect to the chip selection terminals of the four drive chips, and the other pins of the chip are connected to the corresponding five-digit common cathode digital tube. Segment selection and bit selection end. 8.根据权利要求1所述的一种全数字光纤传感测试系统,其特征在于,其人机交互单元采用按键中断方式来完成系统模式选择,包括五个模式:分别是数据采集、工作方式设定、阈值设定、数据查询,电量查询模式;其按键设置功能:分别是模式键、选择键、上翻键,以及下翻键,它们分别接入主控单元的按键中断引脚。8. A kind of all-digital optical fiber sensing test system according to claim 1, characterized in that, its human-computer interaction unit adopts the key interruption mode to complete the system mode selection, including five modes: respectively data acquisition, working mode Setting, threshold setting, data query, power query mode; its key setting functions: mode key, selection key, up key, and down key, which are respectively connected to the key interrupt pins of the main control unit.
CN201810636447.6A 2018-06-20 2018-06-20 A kind of digital Fibre Optical Sensor test macro Pending 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 Pending 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110595520A (en) * 2019-10-29 2019-12-20 南昌航空大学 A Fiber Bragg Grating Sensing System Based on Cloud Communication

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 中国农业大学 Fiber-optic farmland 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 中国农业大学 Fiber-optic farmland 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――远程互动不倒翁", 《物联网技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110595520A (en) * 2019-10-29 2019-12-20 南昌航空大学 A Fiber Bragg Grating Sensing System Based on Cloud Communication

Similar Documents

Publication Publication Date Title
CN201765685U (en) A Sensing Node Circuit Adapting to Multiple Types of Sensors
CN206021009U (en) A kind of wireless low-power consumption intelligent detection device of warm and humid degrees of data
CN105827953A (en) Motion sensing interactive camera device of virtual reality helmet and on/off control method thereof
CN109000686A (en) A kind of digital Fibre Optical Sensor test macro
CN214960205U (en) Intelligent lighting system based on Bluetooth
CN201407994Y (en) Photoelectric Length Measuring Instrument
CN202632109U (en) Wireless tracking trolley of infrared sensor
CN108240847A (en) A kind of light button with communication function and the intellectual water meter with light button
CN206132216U (en) Light intensity tester
CN205067595U (en) Three -phase network deployment detects ammeter
CN103690020A (en) Intelligent window curtain control system
CN209014816U (en) Intelligent glasses
CN203606482U (en) Digital electric energy meter tester
CN207832264U (en) A kind of light button with communication function and the intellectual water meter with light button
CN203405284U (en) Multifunctional wireless soil environment monitor
CN216901573U (en) Gesture data transmission discernment control circuit based on TOF
CN203745003U (en) Converter valve regular checking maintenance diagnosis system
Liu et al. Design of non-contact gesture recognition control system based on embedded system
CN204669504U (en) Intelligent interaction device
CN111311898A (en) Remote control and electric sofa
CN201355345Y (en) Answer card quality inspection device
CN108775206A (en) Controller and Intelligent cargo cabinet for Intelligent cargo cabinet
CN1811346A (en) Greenhouse environment information voice demon and method
CN211018406U (en) Intelligent switch system based on ZigBee
CN107728866A (en) A kind of Computer Aided Put-Together Drawing System

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181214