CN106123787B - The control system and method for laser displacement sensor - Google Patents

The control system and method for laser displacement sensor Download PDF

Info

Publication number
CN106123787B
CN106123787B CN201610766464.2A CN201610766464A CN106123787B CN 106123787 B CN106123787 B CN 106123787B CN 201610766464 A CN201610766464 A CN 201610766464A CN 106123787 B CN106123787 B CN 106123787B
Authority
CN
China
Prior art keywords
laser
signal
processor
processing chip
shift value
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
CN201610766464.2A
Other languages
Chinese (zh)
Other versions
CN106123787A (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.)
Ningbo Shunyuan Intelligent Technology Co ltd
Yuyao Sunny Optical Intelligence Technology Co Ltd
Original Assignee
Ningbo Sunny Intelligent Technology Co Ltd
Yuyao Sunny Optical Intelligence Technology 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 Ningbo Sunny Intelligent Technology Co Ltd, Yuyao Sunny Optical Intelligence Technology Co Ltd filed Critical Ningbo Sunny Intelligent Technology Co Ltd
Priority to CN201610766464.2A priority Critical patent/CN106123787B/en
Publication of CN106123787A publication Critical patent/CN106123787A/en
Application granted granted Critical
Publication of CN106123787B publication Critical patent/CN106123787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

The invention discloses a kind of control system of laser displacement sensor and methods, wherein the system includes optical pickup module and control module, and optical pickup module includes FPGA processing chip, laser driving circuit, the first communication interface;Control module includes processor and the second communication interface, is communicated between processor and FPGA processing chip by the first communication interface and the second communication interface;Wherein, FPGA handles chip and is used to determine shift value according to the picture signal from imaging sensor, and determining shift value is sent to processor;And under the control of a processor, laser control signal to be exported to laser driving circuit;Laser driving circuit according to running parameter of the laser control signal to laser for controlling;Processor is for controlling FPGA processing chip output laser control signal, and shift value of the reception from FPGA processing chip.

Description

The control system and method for laser displacement sensor
Technical field
The present invention relates to laser measurement fields, and particularly, be related to a kind of laser displacement sensor control system and Method.
Background technique
Displacement sensor is to change for measuring object space and exported measurement result with digital or analog signal Component.According to working principle, displacement sensor can be divided into inductive displacement transducer, capacitive displacement transducer, photo-electric Displacement sensor, ultrasonic type displacement sensor and Hall displacement transducer etc..
Laser displacement sensor with its brilliant measurement performance, can be realized non-contact forecasting displacement, three-dimensional dimension, The parameters such as thickness, surface profile, object deformation, vibration, liquid level can sort for workpiece, the installation of various large-scale components provides Effectively support (for example, the location and installation that can assist to realize bridge, aircraft and naval vessel skeleton, machine tool guideway etc.), and can also In carrying micro-deformation occurs for enough dynamic monitoring important components.Over year, with the continuous development of modern photoelectric technology, laser Displacement sensor has been increasingly becoming the main product of optical electron un contact detection.
Under current information-based, networking development trend, laser displacement sensor is as industrial automation technology tool Instrument and meter for automation and device, also to digitlization, intelligence, web development.
In the utility model patent that notification number is 204807990 U of CN, a kind of material testing machine control device is disclosed, The program uses the framework that FPGA and ARM is formed, and has FPGA measurement data, is sent to arm processor later.Patent institute is public Although the scheme opened realizes the data acquisition and processing (DAP) of automation, obtained the parameters such as shift value.But in this scenario, For how to control the operating mode of FPGA, which is not related to.Therefore, scheme disclosed in the patent is lacked there are following Fall into: whether ARM or FPGA is not interacted with measuring device, only passively receives and handle data, can not be to measurement Equipment is controlled, if the current working condition actual measurement environment of measuring device is not inconsistent, it will influence measurement as a result, It is poor that effect when applying in the scene of monitoring is mass produced.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
For the problems in the relevant technologies, the present invention proposes the control system and method for a kind of laser displacement sensor, energy Enough while completing measurement, measuring device is controlled.
According to an aspect of the invention, there is provided a kind of control system of laser displacement sensor.
The control system of laser displacement sensor according to the present invention includes optical pickup module and control module, optical head mould Block includes FPGA processing chip, laser driving circuit, the first communication interface;Control module includes that processor and the second communication connect Mouthful, it is communicated between processor and FPGA processing chip by the first communication interface and the second communication interface;Wherein, at FPGA Reason chip is used to determine shift value according to the picture signal from imaging sensor, and determining shift value is sent to processing Device;And under the control of a processor, laser control signal to be exported to laser driving circuit;Laser driving electricity Road according to running parameter of the laser control signal to laser for controlling;Processor is for controlling FPGA processing chip Output laser controls signal, and receives the shift value from FPGA processing chip.
Wherein, laser driving circuit includes adder circuit, and FPGA processing chip is connected to the first of adder circuit Input terminal, and FPGA processing chip under the control of a processor exports laser control signal to first input end;Adder Second input terminal of circuit is connected to base-level signal, and the output end of adder circuit is connected to laser;Wherein, benchmark electricity Ordinary mail number is constant signal.
Further, in processor control FPGA processing chip output laser control signal, processor can will swash The operating mode of light device notify give FPGA processing chip, operating mode includes preset parameter mode and variable element mode;Its In,
Under preset parameter mode, FPGA handles chip and stops output laser control signal;
Under variable element mode, FPGA processing chip analyzes the picture signal from imaging sensor, according to It analyzes result output laser and controls signal.
Specifically, adder circuit can be used for that behaviour will be summed up from the signal of first input end and the second input terminal Adduction consequential signal is obtained, and adduction consequential signal is exported to laser by output end, wherein adduction consequential signal is used for Adjust the light intensity of laser;Under preset parameter mode, the adduction consequential signal of adder circuit output is benchmark level signal; Under variable element mode, FPGA processing chip picture signal is analyzed when, obtain reflective object surface characteristic and/ Or the distance between laser and reflective object, and according to surface characteristic and/or apart from generation laser control signal;Adder Circuit is used to laser control signal and base-level signal summing up operation and exports adduction consequential signal.
Further, above-mentioned control module can also include communication module, and processor is used to receive by communication module Shift value report to management equipment;Also, control system according to the present invention may further include: display, for showing Show that current operating mode, shift value and/or processor report the mode of shift value;Input equipment, finger for receiving input It enables;Also, processor is used to report the mode of shift value to adjust operating mode and/or processor according to the instruction of input It is whole, wherein it includes that single reports and concentration reports that processor, which reports the mode of shift value,.
In addition, above-mentioned optical pickup module may further include: temperature sensing module, for measuring temperature, and by temperature Measurement result is supplied to FPGA processing chip;Also, FPGA processing chip is also used to according to temperature measurement result and predetermined benefit Rule is repaid to be adjusted determining shift value;When sending shift value, FPGA processing chip sends shift value adjusted To processor, wherein include multiple temperature value/temperature values and corresponding shift value variable quantity in predetermined backoff rule.
Optionally, in addition, above-mentioned first communication interface and the second communication interface are analog voltage signal coffret, optics Head module further comprises D/A converter module, logical by first after D/A converter module converts determining shift value Letter interface is sent to the second communication interface of processor;And/or above-mentioned first communication interface and the second communication interface are led to for RS232 Believe interface.
In addition, above-mentioned optical pickup module can be wrapped further in the case where imaging sensor is line scan image sensor Low-pass filter is included, low-pass filter carries out low-pass filtering to the picture signal from line scan image sensor;Also, in FPGA When processing chip determines shift value, FPGA processing chip based on the picture signal after low-pass filtering for being determined in image outline Heart point position, and shift value is determined according to the position of center position and preset reference point.
Further, FPGA handles chip for determining the central point of image outline at least one of in the following manner Position: the peak point of the picture signal after determining low-pass filtering, in the multiple points and root of peak point two sides selection picture signal The central point of image outline is determined according to the point of peak point and selection;According to the peak value of the picture signal after low-pass filtering and in advance Proportionate relationship between the lower limit value and peak value of configuration determines lower limit value, selects the image letter between peak value and lower limit value Number, and determine according to selected picture signal the central point of image outline;To the waveform of the picture signal after low-pass filtering into The peak point of row curve matching, the curve obtained according to fitting determines the central point of image outline.
In addition, above-mentioned FPGA processing chip can be also used for determining reflective object according to the picture signal from imaging sensor The surface characteristic of body, and according to the time for exposure of surface characteristic adjustment imaging sensor.
Optionally, above-mentioned processor can be arm processor.
According to another aspect of the present invention, a kind of control method of laser displacement sensor is provided.
The control method of laser displacement sensor according to the present invention includes: FPGA processing chip according to from image sensing The picture signal of device determines shift value, and determining shift value is sent to processor, wherein FPGA handles chip in processor Control under, laser control signal is exported to laser driving circuit, also, laser driving circuit is according to laser control Signal processed controls the running parameter of laser;Processor receives the shift value from FPGA processing chip.
Wherein, laser driving circuit includes adder circuit, and FPGA processing chip is connected to the first of adder circuit Input terminal, and FPGA processing chip under the control of a processor exports laser control signal to first input end;Adder Second input terminal of circuit is connected to base-level signal, and the output end of adder circuit is connected to laser;Wherein, benchmark electricity Ordinary mail number is constant signal.
Further, in processor control FPGA processing chip output laser control signal, processor is by laser Operating mode notify give FPGA processing chip, operating mode includes preset parameter mode and variable element mode;Wherein, exist Under preset parameter mode, FPGA handles chip and stops output laser control signal;Under variable element mode, FPGA handles core Piece analyzes the picture signal from imaging sensor, and output laser controls signal based on the analysis results.
Specifically, when the running parameter to laser controls, adder circuit will from first input end and The signal of second input terminal sums up operation and obtains adduction consequential signal, and by output end output adduction consequential signal to sharp Light device, wherein adduction consequential signal is used to adjust the light intensity of laser;Under preset parameter mode, adder circuit output Adduction consequential signal is benchmark level signal;Under variable element mode, picture signal is analyzed in FPGA processing chip When, obtain the surface characteristic and/or the distance between laser and reflective object of reflective object, and according to surface characteristic and/or Distance generates laser control signal;Adder circuit is used to laser control signal and base-level signal summing up behaviour Make and exports adduction consequential signal.
In addition, the control method may further include: shift value can be reported to pipe by communication module by processor Manage equipment;Display come by way of showing that current operating mode, shift value and/or processor report shift value;Pass through The instruction of input is received by input equipment, processor reports displacement to operating mode and/or processor according to the instruction of input The mode of value is adjusted, wherein it includes that single reports and concentration reports that processor, which reports the mode of shift value,.
In addition, this method may further include: measuring temperature by temperature sensing module, and temperature measurement result is mentioned It supplies FPGA and handles chip;FPGA handles chip also according to temperature measurement result and predetermined backoff rule to determining shift value It is adjusted;When sending shift value, FPGA handles chip and shift value adjusted is sent to processor, wherein predetermined to mend Repay includes multiple temperature value/temperature values and corresponding shift value variable quantity in rule.
Optionally, it is communicated between processor and FPGA processing chip by analog voltage signal coffret and/or RS232 Interface is communicated.
In addition, imaging sensor be line scan image sensor in the case where, FPGA processing chip determine shift value it Before, low-pass filtering can be carried out to the picture signal from line scan image sensor by low-pass filter;Also, at FPGA When reason chip determines shift value, FPGA processing chip can determine the center of image outline based on the picture signal after low-pass filtering Point position, and shift value is determined according to the position of center position and preset reference point.
Specifically, FPGA handles chip can determine the center point of image outline at least one of in the following manner It sets: the peak point of the picture signal after determining low-pass filtering, in the multiple points and basis of peak point two sides selection picture signal Peak point and the point of selection determine the central point of image outline;Match according to the peak value of the picture signal after low-pass filtering and in advance The proportionate relationship between lower limit value and peak value set determines lower limit value, selects the picture signal between peak value and lower limit value, And the central point of image outline is determined according to selected picture signal;To the waveform march of the picture signal after low-pass filtering The peak point of line fitting, the curve obtained according to fitting determines the central point of image outline.
In addition, control method according to the present invention may further include: FPGA handles chip according to from image sensing The picture signal of device determines the surface characteristic of reflective object, and the time for exposure of imaging sensor is adjusted according to surface characteristic.
Optionally, above-mentioned processor can be arm processor.
The present invention can be realized it is following the utility model has the advantages that
(1) FPGA is controlled by processor and handles chip, and then control laser, laser displacement sensor can be allowed to locate It manages and works under the control of device, to facilitate the factors such as the working environment according to laser, measurement object, laser is adjusted flexibly Running parameter, to help to realize more accurate measurement;When control system according to the present invention is by distributed deployment, The work that measuring device can be controlled according to the actual requirement of equipment under test, is suitable for large-scale production monitoring;Also, this hair It is bright to obtain shift value and handling picture signal by FPGA, the process performance of FPGA processing chip can be given full play to, in nothing It needs to ensure that the real-time of processing in locally-available displacement result, make system more succinct in the case where the equipment such as host computer, drop Low cost and energy consumption;
(2) present invention proposes the work for controlling laser by adder circuit by FPGA processing chip, not only controls Process is effective, and structure is simple in practical application, and cost and complexity are lower, convenient for safeguarding;
(3) present invention handles the work that chip controls laser in both modes, energy by allowing processor to control FPGA Different measurement environment is enough adapted to, for example, the equipment more demanding for measurement accuracy, it can be using variable when measuring Parameter mode, to improve the accuracy of displacement measurement;And lower equipment is required for measurement accuracy, then it can be using fixation Parameter mode measures, to reduce the processing load and energy consumption of FPGA, helps to ensure that the real-time of processing;
(4) present invention is by adjusting laser at a distance from reflective object according to reflective object surface characteristic and laser Device can accurately be adjusted laser according to actual measurement environment, to facilitate the quality of improvement picture signal, be guaranteed The intensity of hot spot, to improve measurement accuracy;
(5) by display, operator can be allowed more easily to check the Working mould of each measuring device at the scene Formula, measurement result and measurement result report situation, make the management of factory floor more intuitive;Changed by input equipment Become working method and reporting schemes, operator can be allowed easily to control each measuring device, for example, for wanting It seeks low measurement accuracy, the equipment that contraposition moves relative insensitivity, can be measured using preset parameter mode, and reported with concentration Mode (disposably being reported the result of multi collect) uploads shift value;It is higher, non-to being displaced for requiring measurement accuracy Often sensitive equipment, then can measure under variable element mode, and reported using single and (refer to and obtain shift value every time Afterwards, all report this measure shift value) mode send shift value, in order to improve measurement accuracy, and monitored in real time;
(6) present invention according to shift value of the temperature to measurement by being adjusted, and to realize temperature-compensating, can allow measurement As a result it is not influenced by environment temperature, improves the Stability and veracity of measurement;Also, since the object of adjustment is shift value, Measuring device is adjusted so can be avoided, realization is more easier, is convenient;
(7) for line scan image sensor, the present invention uses the denoising scheme of low-pass filtering, can be due to laser light scattering Intensity causes more by force picture caused by linear sensing chip (such as CMOS chip) to will form saturation distortion characteristic (that is, single-point swashs Light deteriorated in cmos imaging by Gaussian waveform be intermediate recess bimodal waveform, and conventional median filtering, gaussian filtering, Value filtering image processing method fails to the saturation wave distortion of cmos sensor) in the case where, effectively eliminate high-frequency noise and Cmos sensor is saturated wave distortion, to significantly reduce noise so that original image contour smoothing, correctly to determine and Profile center position is extracted, helps to obtain more accurate relative displacement;In addition, based on the central point of image outline come It determines relative displacement, method used by image procossing is enabled to be effectively applicable to linear array sensing chip, to ensure that The precision of displacement sensing;And since the complexity for the treatment of process is lower, the real-time of processing is further improved, figure is reduced As processing is for the demand of hardware;
(8) in addition, the present invention proposes the central point for determining image outline by the way of center of gravity determination or curve matching, Image processing method can be allowed to be effectively applicable to the picture signal of linear array chip acquisition, so that processing result meets high-precision and wants It asks, and treatment process is simple and effective, complexity is lower, can be improved the efficiency of processing;
(9) present invention analyze to picture signal and adjusts imaging sensor based on analysis result by FPGA, can Quality of image signals is advanced optimized, to further increase the accuracy of subsequent relative displacement detection.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the block diagram of the control system of laser displacement sensor according to the present invention;
Fig. 2 is the structural schematic diagram of laser driving circuit according to an embodiment of the present invention;
Fig. 3 is the block diagram of the control system of laser displacement sensor according to another embodiment of the present invention;
Fig. 4 is the block diagram of the control system of laser displacement sensor according to yet another embodiment of the invention;
Fig. 5 is the block diagram of the control system of laser displacement sensor according to yet another embodiment of the invention;
Fig. 6 is the block diagram for showing control module structure according to an embodiment of the invention;
Fig. 7 is the block diagram for showing optical pickup module structure according to an embodiment of the invention;
Fig. 8 is the flow chart of the control method of laser displacement sensor according to the present invention.
Specific embodiment
The description of this illustrated embodiment should be combined with corresponding attached drawing, and attached drawing should be used as the one of complete specification Part.In the accompanying drawings, the shape of embodiment or thickness can expand, and to simplify or facilitate mark.Furthermore it is respectively tied in attached drawing The part of structure will be to describe to be illustrated respectively, it is notable that the member for being not shown in the figure or not being illustrated by text Part is the form known to a person of ordinary skill in the art in technical field.
The description of embodiments herein, any reference in relation to direction and orientation, is merely for convenience of describing, and cannot manage Solution is any restrictions to the scope of the present invention.Relational language, as " lower ", " higher ", " horizontal ", " vertical ", " On ", " under ", "upper", "lower", " top " and " | bottom " and its derivative (such as " horizontally ", " down ", " upward " Etc.) should all be interpreted that discussed orientation is shown described in explanation or in attached drawing.These relational languages are just to side Just it describes, and is not considered as the explanation to instrument and equipment or the concrete operations in particular orientation.Term, it is such as " attached It is upper ... " (attached), " being fixed on ... ", " connected " and " being connected with each other " refer to a kind of relationship, wherein tying Another structure is fixed or be attached to structure by directly or indirectly through insert structure, unless there are specific description, the structure packet It includes moveable or fixed or associated.In addition, the features and advantages of the invention are by referring to preferred reality The scheme of applying is illustrated.It is therefore preferable that embodiment illustrates the combination of possible infinite feature, these features may be independent In the presence of or combination exist, the present invention is not defined in preferred embodiment particularly.The scope of the present invention is by claim Book is defined.
According to an embodiment of the invention, providing a kind of control system of laser displacement sensor.
As shown in Figure 1, the control system of laser displacement sensor according to an embodiment of the present invention includes 1 He of optical pickup module Control module 2, optical pickup module include FPGA processing chip 11, laser driving circuit 12, the first communication interface 13;Control mould Block 2 includes processor 21 and the second communication interface 22, passes through the first communication interface between processor 21 and FPGA processing chip 11 13 and second communication interface 22 communicated.Wherein, FPGA handles chip 11 and is used for according to the image letter from imaging sensor It number determines shift value, and determining shift value is sent to processor 21.Wherein, imaging sensor can be cmos sensor, It is also possible to ccd sensor, can be transmitted by the way of the transmission of 10 parallel-by-bits between imaging sensor and FPGA processing chip Picture signal.
Moreover, FPGA handles chip 11 and is also used under the control of processor 21, and laser control signal is exported To laser driving circuit 12.Laser driving circuit 12 be used for according to laser control signal to the running parameter of laser into Row control;Processor 21 controls signal for controlling FPGA processing 11 output laser of chip, and receives and handle from FPGA The shift value of chip 11.Further, processor 21 can be also used for reporting received shift value.
Optionally, above-mentioned processor 21 can be arm processor.
In one embodiment, laser driving circuit includes adder circuit 121, as shown in Fig. 2, FPGA handles chip 11 are connected to the first input end Input 1 of adder circuit 121, and FPGA processing chip 11 will under the control of processor 21 Laser control signal (for example, it may be the voltage of 8 DA output 0-5V, or also can choose the signal of other forms Realize) it exports to first input end Input 1;Second input terminal Input 2 of adder circuit 121 is connected to reference level letter Number, the output end Output of adder circuit 121 is connected to laser;Wherein, base-level signal be constant signal (for example, It can be the constant voltage signal of level value, can adjust to obtain by potentiometer).
The present invention proposes the work for controlling laser by adder by FPGA processing chip, and not only control process has Effect, and in practical application, structure is simple, and cost and complexity are lower, convenient for safeguarding.
In one embodiment, when processor 21 controls FPGA processing 11 output laser of chip control signal, processing Device 21 by the operating mode of laser notify give FPGA handle chip 11, wherein operating mode include preset parameter mode and Variable element mode;Processor 21 can select in above-mentioned operating mode, later by selected state notifying to FPGA at Manage chip 11.
Specifically, FPGA handles chip 11 and stops output laser control signal under preset parameter mode;Variable Under parameter mode, FPGA processing chip 11 analyzes the picture signal from imaging sensor, exports based on the analysis results Laser control signal.
The present invention handles the work that chip controls laser in both modes, Neng Goushi by allowing processor to control FPGA Different measurement environment is answered, for example, the equipment more demanding for measurement accuracy, variable element can be used when measuring Mode, to improve the accuracy of displacement measurement;And lower equipment is required for measurement accuracy, then it can use preset parameter Mode measures, to reduce the processing load and energy consumption of FPGA, helps to ensure that the real-time of processing.
In one embodiment, adder circuit will be for that will come from first input end Input 1 and the second input terminal Input 2 signal sums up operation and obtains adduction consequential signal, and passes through output end Output output adduction consequential signal to laser Device, wherein adduction consequential signal is used to adjust the light intensity of laser.
Under preset parameter mode, since FPGA processing chip 11 does not provide laser control signal, so adder is electric The adduction consequential signal that road 121 exports is still the base-level signal that the second input terminal Input 2 is received, at this point, laser It will work under the control of base-level signal in some light intensity.Under variable element mode, 11 pairs of chip figures are handled in FPGA When being analyzed as signal, the surface characteristic and/or the distance between laser and reflective object of reflective object can be obtained.FPGA Handling chip 11 will be according to surface characteristic and/or apart from generation laser control signal;At this point, the level of laser control signal It will be not zero, the waveform for the adduction consequential signal that adder circuit 121 obtains is by laser control signal and base-level signal It is obtained after addition.At this point, the light intensity that laser control signal will only control in effective range, comparatively increases DA's Digit improves the precision of light intensity variation.
In addition, FPGA handles chip 11 can be according to currently received picture signal with the continuous progress of measurement process Constantly change laser control signal, therefore adder circuit 121 by the adduction changed as a result, laser adder electricity Under the control on road 121, also can output intensity variation laser, the intensity of the laser with current testee at a distance from and surface spy Property is consistent.
It, can be by means of laser triangulation algorithm when wherein, at a distance from determining laser between reflective object.Specifically For, laser is by camera lens by laser directive body surface, and the laser after object reflects is by receiver camera lens, by image Sensor (for example, it may be CMOS or ccd sensor) receives.According to different distances, imaging sensor can be at different angles Degree is lower to be presented the luminous point for receiving light, and imaging sensor converts the signal into digital signal and is transmitted to FPGA processing chip, at FPGA Reason chip can calculate distance according to this angle.
In other embodiments, adjustable running parameter is not limited to the light intensity of laser, for example, it is also possible to adjust The angle of laser, position.The knot equally being connect based on above-mentioned FPGA processing chip 11 with an input terminal of adder 121 Another input terminal of structure, adder 121 receives base-level signal.When not adjusting the angles and positions of laser, FPGA Handling chip 11, output laser does not control signal, and the adduction result that adder 121 exports at this time is still base-level signal, Laser will work under base position and references angle.In the angle and/or position for needing to control laser, FPGA processing Chip 11 can control signal with output laser, after adder sums up laser control signal and base-level signal, Result after exporting adduction gives the driving mechanism of laser (motor that can be laser) for example, can export to laser, Driving mechanism is according to adduction consequential signal movement, so that laser is rotated by a certain angle and/or be moved certain position.
The present invention by adjusting laser at a distance from reflective object according to reflective object surface characteristic and laser, Dynamic can be carried out to laser according to actual measurement environment, accurately adjusted, thus facilitate the quality of improvement picture signal, Guarantee forms the laser intensity of hot spot, to improve measurement accuracy.
In the embodiments described above, the control for laser is realized using adder, and the present invention is not limited to This.In other embodiments, laser driving circuit can also be made up of other devices, FPGA processing chip can pass through it His mode provides control signal to laser driving circuit, to be adjusted and to control to laser.
In addition, as shown in figure 3, in one embodiment of the invention, control system according to the present invention can be further Include: display 3, connect with control module 2, for showing current operating mode (that is, showing currently employed variable element mould Formula or preset parameter mode measure), shift value, in control module 2 (reporting process that can be controlled by processor 21) The mode for reporting shift value can also combine and show these information;And input equipment 4, it is connect with control module 2, for receiving The instruction of user's input;Also, processor 21 is used to report position to operating mode and/or control module 2 according to the instruction of input The mode of shifting value is adjusted, wherein it includes that single reports and (refers to and be displaced every time that processor 21, which reports the mode of shift value, Value, all reported) and concentration report and (with some cycles, all shift values obtained in this period once reported).It is optional Ground, aforementioned display device can be numeral method device, be also possible to other kinds of display;Above-mentioned input equipment can be key Disk etc..
By display, can allow operator more easily check at the scene each measuring device operating mode, Measurement result and measurement result report situation, make the management of factory floor more intuitive;Change work by input equipment Make mode and reporting schemes, operator can be allowed easily to control, for example, for requiring low measurement accuracy, right The equipment for being displaced relative insensitivity can be measured using preset parameter mode, and (by multi collect in a manner of concentrating and report As a result disposably reported) shift value is uploaded, the processing workload and energy consumption of FPGA are not only reduced, also reduction network load And the processing load of management equipment;It, then can be variable for requiring the equipment that measurement accuracy is higher, very sensitive to displacement It is measured under parameter mode, and is reported and (referred to after obtaining shift value every time, the displacement for all reporting this to measure using single Value) mode send shift value, in order to improve measurement accuracy, and monitored in real time.
In addition, as shown in figure 4, in one embodiment, in a control system in accordance with the invention, optical pickup module 1 into One step includes: temperature sensing module 14, is supplied at FPGA for measuring the temperature in current system, and by temperature measurement result Manage chip 11;Also, FPGA processing chip 11 is also used to according to temperature measurement result and predetermined backoff rule to determining position Shifting value is adjusted;When sending shift value, FPGA handles chip and shift value adjusted is sent to processor, wherein pre- Determine to include multiple temperature value/temperature values and corresponding shift value variable quantity in offset rule.For example, it is assumed that optical head is logical Normal operating temperature in 0-50 degree section, mend by the temperature that can be obtained by way of experiment in above-mentioned temperature range at this time Curve, a reference axis corresponding temperature of curve are repaid, another reference axis corresponds to the variable quantity that shift value is adjusted when compensation.Pass through The curve can carry out temperature-compensating to shift value according to current environmental temperature.
By being adjusted according to shift value of the temperature to measurement, to realize temperature-compensating, can allow measurement result not by The influence of environment temperature improves the Stability and veracity of measurement;Also, since the object of adjustment is shift value, so can It avoids that measuring device is adjusted, realization is more easier, is convenient.
As shown in figure 5, in one embodiment, the control module 2 in control system according to the present invention can be further Including communication module 23, processor 21 can be communicated by communication module 23 with management equipment, for example, shift value can be reported To management equipment.Optionally, processor 21 (control module 2) can be communicated with management equipment in several ways, for example, Communication module 23 may include one or more modules for realizing communication, for example, may include at least one of: TCP/ IP communication module, wifi communication module, RS232 communication module, usb communication module, RS485 communication module.
In one embodiment, above-mentioned first communication interface and the second communication interface can be analog voltage signal transmission and connect Mouthful, optical pickup module may further include D/A converter module (not shown), the position for determining FPGA processing chip 11 Shifting value is converted to analog signal, and the second communication interface of processor is sent to by the first communication interface.In another embodiment, Above-mentioned first communication interface and the second communication interface are RS232 communication interface, are used for transmission shift value.
In addition, being line scan image sensor (for example, it may be Linear Array CCD Image Sensor or linear array in imaging sensor Cmos image sensor) in the case where, optical pickup module may further include low-pass filter (not shown), be connected to image Sensor for carrying out low-pass filtering to the picture signal from imaging sensor, and the picture signal after low-pass filtering is passed It is defeated by FPGA processing chip and carries out image procossing.When FPGA processing chip determines shift value, FPGA processing chip is for being based on Picture signal after low-pass filtering determines the center position of image outline, and according to the position of center position and preset reference point Set determining shift value.
It can be due to laser scattering intensity by using the denoising scheme of low-pass filtering for line scan image sensor Picture caused by linear sensing chip (such as CMOS chip) is caused to will form saturation distortion characteristic (that is, single-point laser exists more by force The bimodal waveform for intermediate recess is deteriorated by Gaussian waveform in cmos imaging, and the median filtering of routine, gaussian filtering, mean value are filtered Wave image processing method fails to the saturation wave distortion of cmos sensor) in the case where, effectively eliminate high-frequency noise and CMOS Sensor is saturated wave distortion, so that noise is significantly reduced, so that original image contour smoothing, correctly to determine and to extract Profile center position helps to obtain more accurate relative displacement.In addition, carrying out image procossing in FPGA processing chip When, relative displacement is determined based on the central point of image outline, method used by image procossing is effectively applicable in In linear array sensing chip, to ensure that the precision of displacement sensing;And since the complexity for the treatment of process is lower, further mention The high real-time of processing, reduces image procossing for the demand of hardware.
In one embodiment, FPGA handles chip can determine image outline at least one of in the following manner Center position:
(mode one) determines the peak point of the picture signal after low-pass filtering, in peak point two sides selection picture signal Multiple points and the central point that image outline is determined according to the point of peak point and selection;
(mode two) is according between the peak value and preconfigured lower limit value and peak value of the picture signal after low-pass filtering Proportionate relationship determine lower limit value, select the picture signal positioned at peak value and lower limit value between, and according to selected image letter Number determine image outline central point;
(mode three) carry out curve fitting to the waveform of the picture signal after low-pass filtering, the curve obtained according to fitting Peak point determines the central point of image outline.
Figure is determined by using the mode of center of gravity determining (corresponded manner one and two) or curve matching (corresponded manner three) As the central point of profile, image processing method can be allowed to be effectively applicable to the picture signal of linear array chip acquisition, so that processing knot Fruit meets high-precision requirement, and treatment process is simple and effective, and complexity is lower, can be improved the efficiency of processing.
It in other embodiments, can also be using other kinds of imaging sensor (for example, high pixel CMOS can be used Imaging sensor etc.) acquire picture signal, FPGA processing chip can also handle picture signal using other methods, with must To shift value, such as the variation of ohject displacement can be calculated by laser triangulation.
In addition, in one embodiment, FPGA processing chip is also used to true according to the picture signal from imaging sensor Determine the surface characteristic of reflective object, and adjusts the time for exposure of imaging sensor according to surface characteristic.Image is believed by FPGA It number carries out analyzing and based on analysis result adjustment imaging sensor, quality of image signals can be advanced optimized, thus further Improve the accuracy of subsequent relative displacement detection.
Optionally, above-mentioned processor 21 can be arm processor.Between optical pickup module 1 and control module 2 of the invention It can be electrically connected by 12 core Shielded Twisted Pairs, data transmission is communicated using RS232, is installed very flexible.Control module 2 It can be packaged by shell, therefore, control module can also be referred to as control cabinet.
Fig. 6 is the specific block diagram of control module in practical applications.As shown in fig. 6, in practical applications, control cabinet It may include arm processor (corresponding to above-mentioned processor 21), clock circuit, EEPROM memory module, crystal oscillator, RS232 communication Circuit, USB turn serial port circuit and key-press input and digital tube display, in addition, arm processor can also by UART with Optical head communication, and arm processor can also receive the amount of opening the light input.In addition, it can include the extension communicated with optical head Module, such as RS485 module, WIFI module, TCP/IP module.
With continued reference to Fig. 6, wherein multiple voltage conversion is also shown, specifically, in example shown in Fig. 6, it is external Switching Power Supply can provide 24V power input, then converts to 6.8V, 6.8V to convert by 2 road LDO to 5V by DC-DC and distinguish It works for control cabinet and optical head, Fig. 6 also shows 5.0V and turns 3.3V, and 6.8V turns+12V and 6.8V and turns -12V.
Control cabinet is using arm processor as key control unit, the communication being mainly responsible between optical head, and with service Communication between device, the diversified communication modes such as RS232, USB, TCP/IP and WIFI can be used in communication between server, The displacement data of measurement is transmitted to the management equipments such as server.
Control cabinet has numeral method, the shift value for display control command and currently measured.And it can be by pressing Key input changes the value of control command, and the measuring state and data for reaching different upload state.For example it can change automatic Light Perhaps data pattern or single upload data pattern can automatically continuously be uploaded by measuring under conditions of fixed light intensity value.
Control cabinet has the function of external switch amount input, the feelings that such as more laser displacement sensors are connected by RS485 Under condition, synchronous averaging may be implemented.External trigger control model can also be realized with outside connected switch, the equipment such as PLC.
Fig. 7 is the structure chart of optical pickup module in practical application.As shown in fig. 7, optical pickup module may include at FPGA Device, 10 parallel-by-bit D/A conversion modules are managed, cmos sensor data acquisition module and has source crystal oscillator at digital temperature sensor.FPGA Processor can be communicated by 10 parallel-by-bit D/A conversion modules or UART with control cabinet, and FPGA can pass through expansion module interface Connect expansion module shown in fig. 6.
In addition, as described above, optical pickup module can be further attached to laser driving circuit, and optical pickup module It may further include RS232 communication module (for being communicated with control cabinet).
Fixed luminous intensity measurement and variable intensity measurement may be implemented in laser driving circuit, and fixed voltage is adjusted through potentiometer Production, variable intensity by FPGA control 8 Bits Serial DA export, the two signals can with the light intensity regulating of co- controlling laser, To change light intensity according to the distance of object, material.
Cmos sensor acquisition laser injects to the reflected light of object, and converts thereof into digital signal and be transmitted to FPGA processing, FPGA calculate the variation of ohject displacement by algorithm process.
The calculated shift value of FPGA is converted by 10 parallel-by-bit DA, the exportable analog quantity voltage for setting -10V to+10V, It can also be communicated by RS232 and displacement data is transferred to control cabinet.
Digital temperature sensor is had inside optical head, system can make the data of measurement according to the variation of internal temperature Compensation, to make up influence of the temperature drift to measurement accuracy.
Voltage conversion is also shown in Fig. 7, for example, may include following voltage conversion function: 5.0V turns 3.3V, 3.3V and turns 1.2V, 3.3V turn 2.5V.
According to an embodiment of the invention, additionally providing a kind of control method of laser displacement sensor.
As shown in figure 8, the control method of laser displacement sensor according to an embodiment of the present invention includes:
Step S801, FPGA handle chip and determine shift value according to the picture signal from imaging sensor, and will determine Shift value be sent to processor, wherein FPGA handle chip under the control of a processor, by laser control signal export to Laser driving circuit, also, laser driving circuit is controlled according to running parameter of the laser control signal to laser System;
Step S802, processor receive the shift value from FPGA processing chip.
In one embodiment, processor can report received shift value, for example, reporting to management equipment.
In one embodiment, laser driving circuit includes adder circuit, and FPGA processing chip is connected to adder The first input end of circuit, and FPGA processing chip under the control of a processor exports laser control signal to the first input End;Second input terminal of adder circuit is connected to base-level signal, and the output end of adder circuit is connected to laser;Its In, base-level signal is constant signal.
The present invention proposes the work for controlling laser by adder by FPGA processing chip, and not only control process has Effect, and in practical application, structure is simple, and cost and complexity are lower, convenient for safeguarding.
In one embodiment, in processor control FPGA processing chip output laser control signal, processor will The operating mode of laser notify give FPGA processing chip, operating mode includes preset parameter mode and variable element mode. Wherein, under preset parameter mode, FPGA handles chip and stops output laser control signal;Under variable element mode, FPGA processing chip analyzes the picture signal from imaging sensor, based on the analysis results output laser control letter Number.
The present invention handles the work that chip controls laser in both modes, Neng Goushi by allowing processor to control FPGA Different measurement environment is answered, for example, the equipment more demanding for measurement accuracy, variable element can be used when measuring Mode, to improve the accuracy of displacement measurement;And lower equipment is required for measurement accuracy, then it can use preset parameter Mode measures, to reduce the processing load and energy consumption of FPGA, helps to ensure that the real-time of processing.
In addition, in one embodiment, when the running parameter to laser controls, adder circuit will be from the The signal of one input terminal and the second input terminal sums up operation and obtains adduction consequential signal, and exports adduction knot by output end Fruit signal is to laser, wherein adduction consequential signal is used to adjust the light intensity of laser.Under preset parameter mode, adder The adduction consequential signal of circuit output is benchmark level signal;And under variable element mode, in FPGA processing chip to image When signal is analyzed, the surface characteristic and/or the distance between laser and reflective object of reflective object are obtained, and according to table Face characteristic and/or apart from generate laser control signal;Adder circuit is used to believe laser control signal and reference level It number sums up operation and exports adduction consequential signal.
The present invention by adjusting laser at a distance from reflective object according to reflective object surface characteristic and laser, Laser can accurately be adjusted according to actual measurement environment, to facilitate the quality of improvement picture signal, guarantee light The intensity of spot, to improve measurement accuracy.
In one embodiment, control method according to the present invention may further include:
Display come by way of showing that current operating mode, shift value and/or processor report shift value;
By receiving the instruction of input by input equipment, processor is according to the instruction of input to operating mode and/or place Reason device reports the mode of shift value to be adjusted, wherein it includes that single is reported and concentrated that processor, which reports the mode of shift value, Report.
By display, can allow operator more easily check at the scene each measuring device operating mode, Measurement result and measurement result report situation, make the management of factory floor more intuitive;Change work by input equipment Make mode and reporting schemes, operator can be allowed easily to control each measuring device, for example, for requiring to survey The equipment that accuracy of measurement is lower, contraposition moves relative insensitivity can be measured using preset parameter mode, and in a manner of concentrating and report (disposably being reported the result of multi collect) uploads shift value;It is higher, very quick to being displaced for requiring measurement accuracy The equipment of sense can then measure under variable element mode, and reported using single (refer to after obtaining shift value every time, All report this measure shift value) mode send shift value, in order to improve measurement accuracy, and monitored in real time.
In addition, in one embodiment, control method according to the present invention may further include:
Temperature is measured by temperature sensing module, and temperature measurement result is supplied to FPGA processing chip;
FPGA processing chip is adjusted determining shift value also according to temperature measurement result and predetermined backoff rule; When sending shift value, FPGA handles chip and shift value adjusted is sent to processor, wherein wraps in predetermined backoff rule Include multiple temperature value/temperature values and corresponding shift value variable quantity.
By being adjusted according to shift value of the temperature to measurement, to realize temperature-compensating, can allow measurement result not by The influence of environment temperature improves the Stability and veracity of measurement;Also, since the object of adjustment is shift value, so can It avoids that measuring device is adjusted, realization is more easier, is convenient.
In addition, shift value can be reported to management equipment by communication module by processor, optionally, communication module can be with Including at least one of: TCP/IP communication module, wifi communication module, RS232 communication module, usb communication module, RS485 Communication module.
Optionally, in addition, between processor and FPGA processing chip by analog voltage signal coffret and/or RS232 communication interface is communicated.
In addition, in one embodiment of the invention, in the case where imaging sensor is line scan image sensor, Before FPGA processing chip determines shift value, the picture signal from line scan image sensor is carried out by low-pass filter low Pass filter;
Also, when FPGA processing chip determines shift value, FPGA handles chip based on the picture signal after low-pass filtering It determines the center position of image outline, and shift value is determined according to the position of center position and preset reference point.
It can be due to laser scattering intensity by using the denoising scheme of low-pass filtering for line scan image sensor Picture caused by linear sensing chip (such as CMOS chip) is caused to will form saturation distortion characteristic (that is, single-point laser exists more by force The bimodal waveform for intermediate recess is deteriorated by Gaussian waveform in cmos imaging, and the median filtering of routine, gaussian filtering, mean value are filtered Wave image processing method fails to the saturation wave distortion of cmos sensor) in the case where, effectively eliminate high-frequency noise and CMOS Sensor is saturated wave distortion, so that noise is significantly reduced, so that original image contour smoothing, correctly to determine and to extract Profile center position helps to obtain more accurate relative displacement.In addition, carrying out image procossing in FPGA processing chip When, relative displacement is determined based on the central point of image outline, method used by image procossing is effectively applicable in In linear array sensing chip, to ensure that the precision of displacement sensing;And since the complexity for the treatment of process is lower, further mention The high real-time of processing, reduces image procossing for the demand of hardware.
Further, in an embodiment of the present invention, FPGA handle chip can at least one of in the following manner Determine the center position of image outline:
(mode one) determines the peak point of the picture signal after low-pass filtering, in peak point two sides selection picture signal Multiple points and the central point that image outline is determined according to the point of peak point and selection;
(mode two) is according between the peak value and preconfigured lower limit value and peak value of the picture signal after low-pass filtering Proportionate relationship determine lower limit value, select the picture signal positioned at peak value and lower limit value between, and according to selected image letter Number determine image outline central point;
(mode three) carry out curve fitting to the waveform of the picture signal after low-pass filtering, the curve obtained according to fitting Peak point determines the central point of image outline.
Figure is determined by using the mode of center of gravity determining (corresponded manner one and two) or curve matching (corresponded manner three) As the central point of profile, image processing method can be allowed to be effectively applicable to the picture signal of linear array chip acquisition, so that processing knot Fruit meets high-precision requirement, and treatment process is simple and effective, and complexity is lower, can be improved the efficiency of processing.
In other embodiments, the present invention can also be using other kinds of imaging sensor (for example, high picture can be used Plain cmos image sensor etc.) acquire picture signal, FPGA processing chip can also handle image using other methods believes Number, to obtain shift value, such as the variation of ohject displacement can be calculated by laser triangulation.
In addition, in one embodiment, control method according to the present invention may further include:
FPGA processing chip determines the surface characteristic of reflective object according to the picture signal from imaging sensor, and according to The time for exposure of surface characteristic adjustment imaging sensor.
Picture signal analyze by FPGA and imaging sensor is adjusted based on analysis result, can be advanced optimized Quality of image signals, to further increase the accuracy of subsequent relative displacement detection.
Optionally, above-mentioned processor can be arm processor, or be also possible to other processors.
By means of technical solution of the present invention, the precision of measurement can be effectively controlled, for example, 25mm ± 5mm may be implemented The measurement of range shift value allows in measurement accuracy 10um.The solution of the present invention additionally provide such as RS232, USB, TCP/IP and The diversified communication modes of WIFI for user select, help to realize big data management platform, user can according to oneself Demand selects suitable communication modes, has considerable flexibility, is easy to use.Control module (control cabinet) of the invention can be with The equipment such as outside connected switch, PLC realize external trigger control model, can also to realize data and external control command synchronized upload Multiple devices co- controlling is realized to communicate by RS485.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of control system of laser displacement sensor, which is characterized in that including optical pickup module and control module, the light Learning head module includes FPGA processing chip, laser driving circuit, the first communication interface;The control module include processor and Second communication interface is led between the processor and FPGA processing chip by first communication interface and described second Letter interface is communicated;Wherein,
FPGA processing chip is used to determine shift value according to the picture signal from imaging sensor, and will be determining described in Shift value is sent to the processor;And under the control of the processor, laser control signal to be exported to institute State laser driving circuit;
The laser driving circuit according to running parameter of the laser control signal to laser for controlling;
The processor exports the laser control signal for controlling the FPGA processing chip, and receives from described The shift value of FPGA processing chip;
In the case where described image sensor is line scan image sensor, the optical pickup module further comprises low-pass filtering Device, the low-pass filter carry out low-pass filtering to the picture signal from the line scan image sensor;
Also, when FPGA processing chip determines shift value, after the FPGA processing chip is used for based on low-pass filtering Picture signal determines the center position of image outline, and determines position according to the position of the center position and preset reference point Shifting value;
FPGA processing chip for determining the center position of image outline at least one of in the following manner:
The peak point of described image signal after determining low-pass filtering, in the multiple of peak point two sides selection described image signal Point and the central point that image outline is determined according to the point of the peak point and selection;
It is closed according to the ratio between the peak value and preconfigured lower limit value and peak value of the described image signal after low-pass filtering It is to determine lower limit value, selects the picture signal between the peak value and the lower limit value, and believe according to selected image Number determine image outline central point;
It carries out curve fitting to the waveform of the described image signal after low-pass filtering, it is true according to the peak point for being fitted obtained curve Determine the central point of image outline.
2. control system according to claim 1, which is characterized in that the laser driving circuit includes adder electricity Road, the FPGA processing chip is connected to the first input end of the adder circuit, and FPGA processing chip is described Laser control signal is exported to the first input end under the control of processor;Second input terminal of the adder circuit It is connected to base-level signal, the output end of the adder circuit is connected to the laser;Wherein, the reference level letter Number be constant signal.
3. control system according to claim 2, which is characterized in that control the FPGA in the processor and handle chip When exporting the laser control signal, the processor notifies the operating mode of laser to handle chip to the FPGA, The operating mode includes preset parameter mode and variable element mode;Wherein,
Under the preset parameter mode, the FPGA processing chip stops exporting the laser control signal;
Under the variable element mode, FPGA processing chip to the described image signal from described image sensor into Row analysis, output laser controls signal based on the analysis results.
4. control system according to claim 3, which is characterized in that the adder circuit will be for that will come from described first The signal of input terminal and second input terminal sums up operation and obtains adduction consequential signal, and is exported by the output end Consequential signal is summed it up to the laser, wherein the adduction consequential signal is used to adjust the light intensity of laser;
Under the preset parameter mode, the adduction consequential signal of the adder circuit output is the base-level signal;
Under the variable element mode, when FPGA processing chip analyzes described image signal, obtain reflective The surface characteristic of object and/or the distance between the laser and the reflective object, and according to the surface characteristic and/or The distance generates the laser control signal;The adder circuit is used for the laser control signal and the base Quasi- level signal sums up operation and exports adduction consequential signal.
5. control system according to claim 4, which is characterized in that the control module further comprises communication module, The processor is also used to that the received shift value is reported to management equipment by the communication module;
The control system further comprises:
Display, for showing that current operating mode, the shift value and/or the processor report the side of the shift value Formula;
Input equipment, instruction for receiving input;Also, the processor is used for the described instruction according to input to Working mould Formula and/or the processor report the mode of the shift value to be adjusted, wherein the processor reports the shift value Mode includes that single reports and concentration reports.
6. control system according to claim 1, which is characterized in that the optical pickup module further comprises:
Temperature measurement result for measuring temperature, and is supplied to the FPGA and handles chip by temperature sensing module;
Also, the FPGA processing chip is also used to according to the temperature measurement result and predetermined backoff rule to determining institute Shift value is stated to be adjusted;When sending shift value, the shift value adjusted is sent to institute by the FPGA processing chip State processor, wherein include that multiple temperature value/temperature values and corresponding shift value change in the predetermined backoff rule Amount.
7. control system according to claim 1, which is characterized in that
First communication interface and second communication interface are analog voltage signal coffret, the optical pickup module into One step includes D/A converter module, after the D/A converter module converts the determining shift value, passes through described One communication interface is sent to the second communication interface of the processor;And/or
First communication interface and second communication interface are RS232 communication interface.
8. control system according to claim 1, which is characterized in that the FPGA processing chip is also used to according to from institute The picture signal for stating imaging sensor determines the surface characteristic of reflective object, and adjusts described image according to the surface characteristic and pass The time for exposure of sensor.
9. control system according to any one of claim 1 to 8, which is characterized in that the processor is ARM processing Device.
10. a kind of control method of laser displacement sensor characterized by comprising
FPGA handles chip and determines shift value according to the picture signal from imaging sensor, and the determining shift value is sent out It send to processor, wherein the FPGA processing chip exports laser control signal to institute under the control of the processor State laser driving circuit, also, laser driving circuit according to the laser control signal to the running parameter of laser It is controlled;
The processor receives the shift value from FPGA processing chip;
Described image sensor be line scan image sensor in the case where, the FPGA processing chip determine shift value it Before, low-pass filtering is carried out to the picture signal from the line scan image sensor by low-pass filter;
Also, when FPGA processing chip determines shift value, the FPGA processing chip is based on the image after low-pass filtering Signal determines the center position of image outline, and is determined and be displaced according to the position of the center position and preset reference point Value;
FPGA processing chip determines the center position of image outline at least one of in the following manner:
The peak point of described image signal after determining low-pass filtering, in the multiple of peak point two sides selection described image signal Point and the central point that image outline is determined according to the point of the peak point and selection;
It is closed according to the ratio between the peak value and preconfigured lower limit value and peak value of the described image signal after low-pass filtering It is to determine lower limit value, selects the picture signal between the peak value and the lower limit value, and believe according to selected image Number determine image outline central point;
It carries out curve fitting to the waveform of the described image signal after low-pass filtering, it is true according to the peak point for being fitted obtained curve Determine the central point of image outline.
11. control method according to claim 10, which is characterized in that the laser driving circuit includes adder electricity Road, the FPGA processing chip is connected to the first input end of the adder circuit, and FPGA processing chip is described Laser control signal is exported to the first input end under the control of processor;Second input terminal of the adder circuit It is connected to base-level signal, the output end of the adder circuit is connected to the laser;Wherein, the reference level letter Number be constant signal.
12. control method according to claim 11, which is characterized in that control the FPGA in the processor and handle core When piece exports the laser control signal, the processor notifies the operating mode of laser to handle core to the FPGA Piece, the operating mode include preset parameter mode and variable element mode;Wherein,
Under the preset parameter mode, the FPGA processing chip stops exporting the laser control signal;
Under the variable element mode, FPGA processing chip to the described image signal from described image sensor into Row analysis, output laser controls signal based on the analysis results.
13. control method according to claim 12, which is characterized in that controlled in the running parameter to laser When, the signal from the first input end and second input terminal is summed up operation and is added by the adder circuit And consequential signal, and pass through output end output adduction consequential signal to the laser, wherein the adduction consequential signal For adjusting the light intensity of laser;
Under the preset parameter mode, the adduction consequential signal of the adder circuit output is the base-level signal;
Under the variable element mode, when FPGA processing chip analyzes described image signal, obtain reflective The surface characteristic of object and/or the distance between the laser and the reflective object, and according to the surface characteristic and/or The distance generates the laser control signal;The adder circuit is used for the laser control signal and the base Quasi- level signal sums up operation and exports adduction consequential signal.
14. control method according to claim 13, which is characterized in that further comprise:
The processor is reported the received shift value by communication module;
Show that current operating mode, the shift value and/or the processor report the shift value by display Mode;
The instruction of input is received by input equipment, the processor is according to the described instruction of input to operating mode and/or institute Stating processor reports the mode of the shift value to be adjusted, wherein the processor reports the mode of the shift value to include Single reports and concentration reports.
15. control method according to claim 10, which is characterized in that further comprise:
Temperature is measured by temperature sensing module, and temperature measurement result is supplied to the FPGA and handles chip;
The FPGA processing chip is also according to the temperature measurement result and predetermined backoff rule to the determining shift value It is adjusted;When sending shift value, the shift value adjusted is sent to the processor by the FPGA processing chip, It wherein, include multiple temperature value/temperature values and corresponding shift value variable quantity in the predetermined backoff rule.
16. control method according to claim 10, which is characterized in that the processor and the FPGA processing chip it Between communicated by analog voltage signal coffret and/or RS232 communication interface.
17. control method according to claim 10, which is characterized in that further comprise:
The FPGA processing chip determines the surface characteristic of reflective object according to the picture signal from described image sensor, and The time for exposure of described image sensor is adjusted according to the surface characteristic.
18. control method described in any one of 0 to 17 according to claim 1, which is characterized in that the processor is at ARM Manage device.
CN201610766464.2A 2016-08-30 2016-08-30 The control system and method for laser displacement sensor Active CN106123787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610766464.2A CN106123787B (en) 2016-08-30 2016-08-30 The control system and method for laser displacement sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610766464.2A CN106123787B (en) 2016-08-30 2016-08-30 The control system and method for laser displacement sensor

Publications (2)

Publication Number Publication Date
CN106123787A CN106123787A (en) 2016-11-16
CN106123787B true CN106123787B (en) 2019-05-28

Family

ID=57273053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610766464.2A Active CN106123787B (en) 2016-08-30 2016-08-30 The control system and method for laser displacement sensor

Country Status (1)

Country Link
CN (1) CN106123787B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7057067B2 (en) * 2017-03-10 2022-04-19 株式会社ミツトヨ Optical displacement meter, adjustment method of optical displacement meter and optical displacement measurement method
CN108132068B (en) * 2017-12-22 2020-08-07 唐智科技湖南发展有限公司 Photoelectric reflection type sensor array
CN109974622B (en) * 2019-04-26 2024-03-19 常州奥凡威尔智能技术有限公司 Laser profile measuring system and measuring tool based on wireless technology
CN110470227B (en) * 2019-08-07 2020-08-25 上海交通大学 Temperature self-adaptive compensation method for laser displacement sensor
CN110346612A (en) * 2019-08-15 2019-10-18 苏州华兴源创科技股份有限公司 A kind of automatic aligning crimping system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02297006A (en) * 1989-05-11 1990-12-07 Keyence Corp Method and device for measuring displacement of object
JPH03240171A (en) * 1990-02-16 1991-10-25 Keyence Corp Binarizing method for low level signal
JPH10267648A (en) * 1997-03-28 1998-10-09 Keyence Corp Optical displacement gauge
CN1712885A (en) * 2005-07-12 2005-12-28 陈昌浩 Micro-displacement measuring system and based on semiconductor laser-charge coupler
US7751065B2 (en) * 2006-10-05 2010-07-06 Keyence Corporation Optical displacement meter, optical displacement measuring method, optical displacement measuring program, computer-readable recording medium, and device that records the program
CN104460409A (en) * 2014-10-16 2015-03-25 北京理工大学 Laser self-mixing interference system with feedback light intensity self-adaptive adjustment function
CN206037946U (en) * 2016-08-30 2017-03-22 宁波舜宇智能科技有限公司 Laser displacement sensor's control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02297006A (en) * 1989-05-11 1990-12-07 Keyence Corp Method and device for measuring displacement of object
JPH03240171A (en) * 1990-02-16 1991-10-25 Keyence Corp Binarizing method for low level signal
JPH10267648A (en) * 1997-03-28 1998-10-09 Keyence Corp Optical displacement gauge
CN1712885A (en) * 2005-07-12 2005-12-28 陈昌浩 Micro-displacement measuring system and based on semiconductor laser-charge coupler
US7751065B2 (en) * 2006-10-05 2010-07-06 Keyence Corporation Optical displacement meter, optical displacement measuring method, optical displacement measuring program, computer-readable recording medium, and device that records the program
CN104460409A (en) * 2014-10-16 2015-03-25 北京理工大学 Laser self-mixing interference system with feedback light intensity self-adaptive adjustment function
CN206037946U (en) * 2016-08-30 2017-03-22 宁波舜宇智能科技有限公司 Laser displacement sensor's control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于FPGA与DSP的一体化激光三角位移传感器系统;聂晨晨等;《计算机测量与控制》;20120630;第20卷(第6期);第1725页右栏第1段,第1726页左栏第1-8段、右栏第1-6段,第1727页左栏1-5段,图1-4

Also Published As

Publication number Publication date
CN106123787A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106123787B (en) The control system and method for laser displacement sensor
CN206037946U (en) Laser displacement sensor's control system
CN104457645B (en) A kind of robot tooling center points scaling method of utilization two-dimensional measurement function flat board
CN101915551B (en) Non-contact on-line detection device of micro gap of wire wrapped screen
CN106826922B (en) Industrial machine humanization energy detection system based on monocular camera machine vision
CN102072704B (en) Non-contact laser displacement measurement system used for cement-based materials
CN105043381A (en) Magnetic nail-based positioning method
CN109211455A (en) A kind of measurement method, system and the equipment of synchronous belt tensile force
CN201935964U (en) Automatic intelligent detection device for quartz oscillator instrument
CN203719631U (en) Engine air cylinder displacement measuring apparatus
CN103196493B (en) The measurement mechanism of a kind of microscale torsional angle and moment of torsion and measuring method
CN106441104B (en) A kind of Size Measuring System
CN110132577A (en) Gearbox drive performance detecting system and gearbox drive method for testing performance
CN102128947B (en) Method and sensor for detecting relative sliding velocity between plate and mould in stamping process
CN110207605A (en) A kind of measuring device and method of the metal structure deformation based on machine vision
CN102721878A (en) Intelligentized automatic checkout device of quartz crystal oscillator instrument
CN109493464A (en) Low power-consumption intelligent opal door lock monitoring system and door lock monitoring method
CN101576568A (en) Single camera full field Doppler speed measuring device
CN209623725U (en) A kind of fiber optic coils dynamic simulation test device
CN201166625Y (en) Apparatus for scanning and measuring solid material deflection
CN205726573U (en) A kind of automatic environmental light compensation device for handheld laser scanners
CN203964856U (en) A kind of reinforced bar detection instrument with compound transducer
CN201413339Y (en) Single-camera Doppler global velocity measuring device
CN103411688B (en) The Methods of Remote Monitoring of Michelson interference ring and TT&C system thereof
CN109444150A (en) Contactless crackle measurement method and its 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
TA01 Transfer of patent application right

Effective date of registration: 20180712

Address after: No. 66-68, Shun Yu Road, Yuyao City, Ningbo, Zhejiang

Applicant after: NINGBO SUNNY INTELLIGENT TECHNOLOGY Co.,Ltd.

Applicant after: YUYAO SUNNY INTELLIGENT OPTICAL TECHNOLOGY Co.,Ltd.

Address before: No. 66-68, Shun Yu Road, Yuyao City, Ningbo, Zhejiang

Applicant before: NINGBO SUNNY INTELLIGENT TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No. 66-68, Shun Yu Road, Yuyao City, Ningbo, Zhejiang

Patentee after: Ningbo Shunyuan Intelligent Technology Co.,Ltd.

Country or region after: China

Patentee after: YUYAO SUNNY INTELLIGENT OPTICAL TECHNOLOGY Co.,Ltd.

Address before: No. 66-68, Shun Yu Road, Yuyao City, Ningbo, Zhejiang

Patentee before: NINGBO SUNNY INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China

Patentee before: YUYAO SUNNY INTELLIGENT OPTICAL TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240507

Address after: No. 5 Xingxian Road, Yangming Street, Yuyao City, Ningbo City, Zhejiang Province, 315400

Patentee after: Ningbo Shunyuan Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: No. 66-68, Shun Yu Road, Yuyao City, Ningbo, Zhejiang

Patentee before: Ningbo Shunyuan Intelligent Technology Co.,Ltd.

Country or region before: China

Patentee before: YUYAO SUNNY INTELLIGENT OPTICAL TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right