Summary of the invention
Of the existing technology in order to solve the problems, such as, at least one embodiment of the present invention provides a kind of effective Raman
Spectrum spectrogram acquisition methods, system and storage medium.
In a first aspect, the embodiment of the invention provides a kind of effective Raman Spectra picture capturing method, the acquisition side
Method includes:
S1, the Raman spectroscopy that laser irradiation article to be detected generates is obtained;
S2, the intensity value for obtaining the top in each characteristic peak of the Raman spectroscopy are used as maximum peak intensity
Value;
S3, judge the maximum peak intensity value whether within preset threshold range;
If S4a, the maximum peak intensity value adjust the illumination parameter of the laser not within preset threshold range,
And jump to the S1;
If S4b, the maximum peak intensity value confirm the Raman spectroscopy of acquisition within preset threshold range
Effectively.
Based on the above-mentioned technical proposal, the embodiment of the present invention can also make following improvement.
With reference to first aspect, in the first embodiment of first aspect, the illumination parameter of the adjustment laser, packet
It includes:
Obtain the detection intensity maximum value of the equipment for the Raman spectrum data that the detection article to be detected generates;
The detection intensity maximum value is adjusted parameter divided by the maximum peak intensity value;
According to the adjusting parameter, the irradiation time or/and laser power of the laser are adjusted.
The first embodiment with reference to first aspect is joined in second of embodiment of first aspect according to the adjustment
Number, adjusts the irradiation time or/and laser power of the laser, comprising:
By irradiation time multiplied by the adjusting parameter, the irradiation time after being adjusted, the photograph as the laser
Penetrate the time;
Alternatively, by laser power multiplied by the adjusting parameter, the laser power after being adjusted, as the laser
Laser power.
The first embodiment with reference to first aspect is joined in the third embodiment of first aspect according to the adjustment
Number, adjusts the irradiation time or/and laser power of the laser, comprising:
By irradiation time multiplied by the first adjustment parameter, the irradiation time after being adjusted, the photograph as the laser
Penetrate the time;
By laser power multiplied by second adjustment parameter, the laser power after being adjusted, as swashing for the laser
Optical power;
Wherein, the product of the first adjustment parameter and second adjustment parameter is equal to the adjusting parameter.
With reference to first aspect, in the 4th kind of embodiment of first aspect, the acquisition methods further include:
Obtain the temperature of the article to be detected;
Confirm whether the temperature of the article to be detected reaches the first preset threshold;
If the temperature of the article to be detected reaches first preset threshold, stop with described in the laser irradiation to
Detect article;Until the temperature of the article to be detected drops to the second preset threshold, reopen described in the laser irradiation
Article to be detected.
With reference to first aspect, in the 5th kind of embodiment of first aspect, before the laser irradiation article to be detected, institute
State acquisition methods further include:
Obtain the item color and article granularity of the article to be detected;
When the item color meets pre-set color or/and the article granularity meets presetting granularity, described in reduction
The default illumination parameter of laser is to preset value;Wherein, the illumination parameter for reducing the laser includes: the irradiation for reducing the laser
Time or/and laser power.
The 5th kind of embodiment with reference to first aspect, in the 6th kind of embodiment of first aspect, when the item color
Meet pre-set color or/and when the article granularity meets presetting granularity, reduce the illumination parameter of the laser, comprising:
When the item color meets pre-set color, and the article granularity does not meet presetting granularity, the object is obtained
The corresponding first irradiation time threshold value of product color and first laser power threshold;
The irradiation time of the laser is reduced to the first irradiation time threshold value, or/and by the laser of the laser
Power is reduced to the first laser power threshold;
Alternatively, when the article granularity meets presetting granularity, obtaining institute when the item color does not meet pre-set color
State the corresponding second irradiation time threshold value of article granularity and second laser power threshold;
The irradiation time of the laser is reduced to the second irradiation time threshold value, or/and by the laser of the laser
Power is reduced to the second laser power threshold;
Alternatively, when the item color meets pre-set color, when the article granularity meets presetting granularity, described in acquisition
The corresponding first irradiation time threshold value of item color and first laser power threshold;Obtain the article granularity corresponding second
Irradiation time threshold value and second laser power threshold;
By the relatively small conduct target illumination of the first irradiation time threshold value and the second irradiation time threshold value intermediate value
Time threshold;
By the relatively small conduct target laser of the first laser power threshold and the second laser power threshold intermediate value
Power threshold;
The irradiation time of the laser is reduced to the target illumination time threshold, or/and by the laser of the laser
Power is reduced to the target laser power threshold value.
With reference to first aspect or the first, second, third, fourth, the 5th or the 6th kind of embodiment of first aspect, first
In 7th kind of embodiment of aspect, the S4a further include:
Obtain the adjustment number for adjusting the illumination parameter of the laser;
Judge whether the adjustment number is greater than third predetermined threshold value;
If the adjustment number is greater than third predetermined threshold value, confirms that the Raman spectroscopy is invalid, stop jumping to
The S1;
If the adjustment number is less than or equal to third predetermined threshold value, the S1 is jumped to.
Second aspect obtains system the embodiment of the invention provides a kind of effective Raman spectroscopy, including processor,
Communication interface, memory and communication bus, wherein processor, communication interface, memory are completed each other by communication bus
Communication;
Memory, for storing computer program;
Processor, it is any described in realization claim 1~8 to have when for executing the program stored on memory
The Raman Spectra picture capturing method of effect.
The third aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has one or more program, and one or more of programs can be executed by one or more processor, with
Realize any effective Raman Spectra picture capturing method in claim 1~8.
Above-mentioned technical proposal of the invention has the advantages that the embodiment of the present invention is drawn by obtaining compared with prior art
Maximum peak intensity value in graceful spectrum spectrogram, and when maximum peak intensity value does not meet preset condition, adjust the illumination ginseng of laser
Number, that is, adjust the running parameter of laser, and obtains Raman spectrum caused by laser irradiation adjusted article to be detected again
Spectrogram confirms that the Raman spectroscopy got is effective when the maximum peak intensity value of Raman spectroscopy meets preset condition,
Whether meet the confirmation of preset condition according to the parameter in confirmation Raman spectroscopy as a result, determining whether the illumination of adjustment laser
Parameter guarantees the validity of Raman spectroscopy got.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of hardware knot of terminal of embodiment each to realize the present invention provided in an embodiment of the present invention
Structure schematic diagram, including Raman spectrometer 1150, processor 1110, communication interface 1120, memory 1130 and communication bus 1140,
Each electronic component completes mutual communication by communication bus 1140, wherein terminal can be such as mobile phone, plate electricity
Brain, laptop, palm PC, personal digital assistant (PersonalDigitalAssistant, PDA), portable media
Player (PortableMediaPlayer, PMP), navigation equipment, wearable device, Intelligent bracelet, pedometer etc. are mobile eventually
End, and the fixed terminals such as number TV, desktop computer.
As shown in Fig. 2, a kind of effective Raman Spectra picture capturing method provided in an embodiment of the present invention.It, should referring to Fig. 2
Verification method specifically comprises the following steps:
S1, the Raman spectroscopy that laser irradiation article to be detected generates is obtained.
In the present embodiment, Raman spectrum (Raman spectra) is a kind of scattering spectrum.Raman spectrum analysis method is
Based on the Raman scattering effect that India's scientist's C.V. Raman is found, the scattering spectrum different from incident light frequency is divided
Analysis is applied to a kind of analysis method of molecular structure research to obtain molecular vibration, rotation aspect information.In this step,
By laser cell in Raman spectrometer emit laser irradiation article to be detected, and obtains and generated due to Raman scattering effect
Raman spectroscopy.
S2, obtain Raman spectroscopy each characteristic peak in top intensity value as maximum peak intensity value.
In the present embodiment, each peak intensity angle value is ranked up, determines institute by the peak intensity angle value for determining each validity feature peak
There is the maximum value in peak intensity angle value, in the present embodiment, the intensity of illumination for irradiating article to be detected is bigger, then generated Raman
The peak intensity angle value of spectrum spectrogram is higher, when detecting Raman spectroscopy, can step up the intensity or irradiation time of laser,
Until the limiting value of the peak value proximity test equipment of the Raman spectroscopy detected, if the peak of the Raman spectroscopy detected
Value highest is only capable of reaching a certain value not within preset threshold range, then illustrates that the Raman spectroscopy of detection goes wrong,
In this step, the maximum value of peak intensity angle value is obtained as maximum peak intensity value.
In the present embodiment, can be by the spectroscopic data derivation in Raman spectroscopy, and obtaining derivative value is zero
Point, therefrom obtain each wave crest point and trough point of Raman spectrum data, and obtained from the corresponding intensity value of each wave crest point
It is maximized, as the maximum peak intensity value;It can also be by confirming intensity of any intensity value than the former point
The intensity value of value and the latter point is strong, then confirms that the point is wave crest, obtain wave crest all in Raman spectroscopy, will be each
The intensity value of a wave crest is compared, and confirms maximum value therein, as maximum peak intensity value.
S3, judge maximum peak intensity value whether within preset threshold range.
In the present embodiment, preset threshold range is determined by the performance of the Raman spectrometer of acquisition Raman spectroscopy, root
It goes to determine preset threshold range according to the equipment detection intensity maximum value of Raman spectrometer, for example, the equipment when Raman spectrometer is examined
The raman spectrum strength maximum value of survey is 65536, then preset threshold range can be under maximum value a certain range to Raman light
The maximum value of spectral intensity, if the raman spectrum strength of Raman spectrometer detection reaches maximum value, Raman spectrometer can overload, long
Time is in overload, then be easy to cause Raman spectrometer to damage, so, the peak value of preset threshold range can be not arranged in
Maximum of intensity, for example, preset threshold range can be 58000~62000, which is only to illustrate preset threshold range, is had
Body range can be set by the user to obtain.
If S4a, maximum peak intensity value adjust the illumination parameter of laser not within preset threshold range, and jump to
S1。
In the present embodiment, if maximum peak intensity value is not located within preset threshold range, the illumination parameter of laser is adjusted,
And Raman spectroscopy is generated again through laser irradiation article to be detected, until the maximum peak intensity value position of Raman spectroscopy
Within preset threshold range, in this step, it is pre- to reach one in adjustment number for the number of the illumination parameter of record adjustment laser
If this step is jumped out, to improve treatment effeciency when value.
As shown in figure 3, the present embodiment can also include the following steps:
S21, the adjustment number for adjusting the illumination parameter of laser is obtained.
S22, judge to adjust whether number is greater than third predetermined threshold value.
In the present embodiment, if adjustment number is excessive, and maximum peak intensity value is yet not up to preset threshold range, if
Effective Raman spectroscopy can not be acquired, repeatedly adjustment can not also make the maximum peak intensity value of Raman spectroscopy reach
To preset threshold range.
If S23a, adjustment number are greater than third predetermined threshold value, confirmation Raman spectroscopy is invalid, and stopping jumps to S1.
If S23b, adjustment number are less than or equal to third predetermined threshold value, S1 is jumped to.
In the present embodiment, if adjustment number is greater than third predetermined threshold value, S1 is no longer jumped to, i.e., no longer obtains laser
The Raman spectroscopy that article to be detected generates is irradiated, for example, third predetermined threshold value can be 5 or other numerical value.
If S4b, maximum peak intensity value within preset threshold range, confirm that the Raman spectroscopy of acquisition is effective.
In the present embodiment, when maximum peak intensity value can reach preset threshold range, then confirm the Raman spectroscopy
Effectively.
As shown in figure 4, in the present embodiment, the illumination parameter for adjusting laser may include steps of:
S31, the detection intensity maximum value for detecting the equipment for the Raman spectrum data that article to be detected generates is obtained.
In the present embodiment, it detects and is designed in the equipment i.e. above-described embodiment for the Raman spectrum data that article to be detected generates
Raman spectrometer, the detection intensity maximum value of Raman spectrometer is exactly the maximum value of the rated value of Raman spectrometer.
S32, it will test maximum of intensity and be adjusted parameter divided by maximum peak intensity value.
S33, according to adjusting parameter, adjust the irradiation time or/and laser power of laser.
In the present embodiment, adjustment can be obtained divided by the maximum peak intensity value of Raman spectroscopy in detection intensity maximum value
Parameter, then by adjusting the irradiation time or/and laser power of parameter adjustment laser, for example, by irradiation time for theoretically
Or laser power may make the maximum peak intensity value of the Raman spectroscopy got again to reach this multiplied by the adjusting parameter
Detection intensity maximum value, but due to the loss of detection process, it will lead to the maximum peak intensity of the Raman spectroscopy finally got
Peak is not achieved in angle value, so multiplied by the original irradiation time value of laser or can directly swash adjusting parameter in this step
Optical power value, obtains new irradiation time value or laser power value, and with the laser irradiation of new laser parameter article to be detected,
It is also possible that the adjusting parameter is obtained new adjusting parameter multiplied by a preset ratio, preset ratio can be 0.5~0.9, then will
New adjusting parameter adjusts laser in a manner described.
For example, in the present embodiment, according to adjusting parameter, adjusting the irradiation time of laser or/and the method for laser power
It may include: by irradiation time multiplied by adjusting parameter, the irradiation time after being adjusted, the irradiation time as laser;Alternatively,
By laser power multiplied by adjusting parameter, laser power after being adjusted, the laser power as laser.Finally, by adjusting
The laser for crossing irradiation time or laser power irradiates article to be detected again, obtains new Raman spectroscopy, and confirms new
Raman spectroscopy whether meet the requirements.
As shown in figure 5, in the present embodiment, according to adjusting parameter, the irradiation time or/and laser power of laser are adjusted,
It can also include the following steps:
S41, by irradiation time multiplied by the first adjustment parameter, irradiation time after being adjusted, when irradiation as laser
Between.
S42, by laser power multiplied by second adjustment parameter, laser power after being adjusted, the laser function as laser
Rate.
Wherein, the product of the first adjustment parameter and second adjustment parameter is equal to adjusting parameter.
In the present embodiment, due to the irradiation time of laser and laser power with the intensity data in Raman spectroscopy
Be worth it is directly proportional, so, in this step, irradiation time and laser power can be pressed into the first adjustment parameter and second adjustment respectively
Parameter is raised or lowered, but needs to guarantee that the product of the first adjustment parameter and second adjustment parameter is equal to adjusting parameter,
User can be according to equipment performance to be adjusted separately, to guarantee that this programme can be adapted for the Raman light of a variety of different newly energy
Spectrometer improves relevance factor.
As shown in fig. 6, the embodiment of the invention provides a kind of effective Raman Spectra picture capturing method, and shown in Fig. 2
Acquisition methods are compared, and difference is, acquisition methods further include:
S51, the temperature for obtaining article to be detected.
In the present embodiment, due to being with laser irradiation article to be detected in Raman spectrometer, and laser is a kind of high energy
Light beam is easy when long-time uses laser irradiation inflammable articles so that inflammable articles burning, warm even if not being inflammable articles
Height is spent to be also possible to that article to be detected is caused to damage, so, article to be detected is being irradiated with the laser cell of Raman spectrometer
During, the temperature of article to be detected is obtained in real time, and the state of article to be detected is confirmed by the temperature of article to be detected.Inspection
The temperature for surveying article to be detected can be detected by infrared camera or temperature sensor.
S52, confirm whether the temperature of article to be detected reaches the first preset threshold.
In the present embodiment, the first preset threshold can be obtained according to the property of article to be detected, for example, can be according to drawing
The type for the article that graceful spectrometer routine testing arrives, confirms the temperature threshold of the Raman spectrometer, guarantee in most cases, to
When detection article reaches the first preset threshold, sound an alarm, alternatively, the first preset threshold can be configured by user, to mention
High user's using flexible.
If the temperature of S53, article to be detected reach the first preset threshold, stop with laser irradiation article to be detected;Directly
Temperature to article to be detected drops to the second preset threshold, reopens laser irradiation article to be detected.
In the present embodiment, when the temperature of article to be detected reaches the first preset threshold, stop to be checked with laser irradiation
Object is surveyed, is further increased to avoid temperature, and wait second preset threshold of article natural cooling value to be detected, or is passed through actively
Cooling, so that the temperature of article to be detected drops to the second preset threshold, reopens laser irradiation article to be detected.
As shown in fig. 7, the embodiment of the invention provides a kind of effective Raman Spectra picture capturing methods.Acquisition methods packet
Include following steps:
S61, the item color and article granularity for obtaining article to be detected.
In the present embodiment, the burning point of different articles is different, but the color of article and the granularity of article can be with
Their contact area and heat absorption rate with air is embodied from its physical property, the color of article is deeper, heat
Absorptivity is higher, and under same duration and the laser irradiation of same lasing efficiency, the heat that the deeper article of color absorbs is more,
And the temperature of finished article is higher, article granularity is smaller, and the contact area of article and air is bigger, article more readily satisfy with
The condition that air comes into full contact with causes to burn when temperature is enough.Moreover, certain specific samples to be tested can show
Fixed color and granularity, for example, gunpowder is in black powder, and are easier to be ignited, in the present embodiment, by confirming certain
A little physical properties come confirm it is that article to be detected is likely to occur as a result, and taken precautions against, avoid damaging Raman spectrometer.
S62, when item color meets pre-set color or/and article granularity meets presetting granularity, reduce the pre- of laser
If illumination parameter is to preset value;Wherein, the illumination parameter for reducing laser includes: the irradiation time or/and laser function for reducing laser
Rate.
In the present embodiment, when the color of article or/article granularity meet preset condition, laser irradiation is not avoided to apply
Add too long or laser power excessive, the initial illumination parameter of laser is reduced, until default illumination parameter is preset value,
Wherein, the irradiation time of laser is reduced to the first preset value, or/and laser power is reduced to the second preset value, for example, working as
It, will when the item color and article granularity of article to be detected meet above-mentioned condition when the initial illumination parameter of laser is 400
Initial illumination parameter is reduced to 100, specifically, the initial laser irradiation time is 20, initial laser power 20, by irradiation time
10 are reduced to, while laser power is reduced to 10, alternatively, irradiation time is reduced to 5 or laser power is reduced to 5,
Above-described embodiment is only the specific embodiment provided, is understood with facilitating, and specifically default illumination parameter and preset value can
By user's self-setting.
For example, the method for reducing the illumination parameter of laser in the present embodiment may include steps of:
When item color meets pre-set color, and article granularity does not meet presetting granularity, it is corresponding to obtain item color
First irradiation time threshold value and first laser power threshold;
The irradiation time of laser is reduced to the first irradiation time threshold value, or/and the laser power of laser is reduced to
One laser power threshold.
Alternatively, when article granularity meets presetting granularity, obtaining article granularity when item color does not meet pre-set color
Corresponding second irradiation time threshold value and second laser power threshold;
The irradiation time of laser is reduced to the second irradiation time threshold value, or/and the laser power of laser is reduced to
Dual-laser power threshold.
Alternatively, when article granularity meets presetting granularity, it is corresponding to obtain item color when item color meets pre-set color
The first irradiation time threshold value and first laser power threshold;Obtain the corresponding second irradiation time threshold value of article granularity and the
Dual-laser power threshold;
By the relatively small conduct target illumination time threshold of the first irradiation time threshold value and the second irradiation time threshold value intermediate value;
By the relatively small conduct target laser power threshold value of first laser power threshold and second laser power threshold intermediate value;
The irradiation time of laser is reduced to target illumination time threshold, or/and the laser power of laser is reduced to mesh
Mark laser power threshold.
In the present embodiment, by confirming the physical property of article to be detected, and when physical property meets preset condition,
The irradiation time of laser and laser power are adjusted in time, a possibility that reduce laser-induced combustion article to be detected, improved
Detect safety.
S63, the Raman spectroscopy that laser irradiation article to be detected generates is obtained.
Related step S63 can be found in the description in step S1 in detail, and details are not described herein for the present embodiment.
S64, obtain Raman spectroscopy each characteristic peak in top intensity value as maximum peak intensity value.
Related step S64 can be found in the description in step S2 in detail, and details are not described herein for the present embodiment.
S65, judge maximum peak intensity value whether within preset threshold range.
Related step S65 can be found in the description in step S3 in detail, and details are not described herein for the present embodiment.
If S66a, maximum peak intensity value adjust the illumination parameter of laser not within preset threshold range, and jump to
S63。
Related step S66a can be found in the description in step S4a in detail, and details are not described herein for the present embodiment.
If S66b, maximum peak intensity value within preset threshold range, confirm that the Raman spectroscopy of acquisition is effective.
Related step S66b can be found in the description in step S4b in detail, and details are not described herein for the present embodiment.
As shown in figure 8, the embodiment of the invention provides a kind of effective Raman spectroscopy to obtain equipment, equipment packet is obtained
It includes: first acquisition unit, second acquisition unit, the first judging unit, first processing units and first control unit.
In the present embodiment, first acquisition unit, the Raman Spectra generated for obtaining laser irradiation article to be detected
Figure;
In the present embodiment, second acquisition unit, the top in each characteristic peak for obtaining Raman spectroscopy
Intensity value as maximum peak intensity value;
In the present embodiment, the first judging unit, for judging maximum peak intensity value whether within preset threshold range.
In the present embodiment, first processing units, if leading to not within preset threshold range for maximum peak intensity value
The illumination parameter for crossing first control unit adjustment laser reacquires the Raman Spectra that laser irradiation article to be detected generates
Figure, until the maximum peak intensity value in Raman spectroscopy is within preset threshold range.Wherein, pass through first control unit tune
The illumination parameter of whole laser can be first processing units to first control unit and send control instruction, first control unit root
According to the illumination parameter of control instruction adjustment laser.
In the present embodiment, first processing units, if can be also used for maximum peak intensity value not preset threshold range it
It is interior, then obtain the adjustment number of the illumination parameter of adjustment laser;If adjusting number is greater than third predetermined threshold value, Raman spectrum is confirmed
Spectrogram is invalid, closes laser irradiation article to be detected, alternatively, continuing to make if adjustment number is less than or equal to third predetermined threshold value
With laser irradiation article to be detected.
In the present embodiment, first processing units are also used to obtain and detect the Raman spectrum data that article to be detected generates
Equipment detection intensity maximum value;It will test maximum of intensity and be adjusted parameter divided by maximum peak intensity value;According to adjustment
Parameter adjusts the irradiation time or/and laser power of laser by first control unit.Detection intensity maximum value is divided by Raman light
Adjusting parameter can be obtained in the maximum peak intensity value of spectrum spectrogram, then adjusts the irradiation time of laser by adjusting parameter or/and swash
Optical power be may make and be got again for example, by irradiation time or laser power multiplied by the adjusting parameter for theoretically
The maximum peak intensity value of Raman spectroscopy reaches the detection intensity maximum value, but due to the loss of detection process, will lead to most
Peak is not achieved in the maximum peak intensity value of the Raman spectroscopy got eventually, so in this step, it can be by adjusting parameter
Directly multiplied by the original irradiation time value of laser or laser power value, new irradiation time value or laser power value is obtained, and with
The laser irradiation of new laser parameter article to be detected, it is also possible that the adjusting parameter is obtained new tune multiplied by a preset ratio
Whole parameter, preset ratio can be 0.5~0.9, then new adjusting parameter is adjusted laser in a manner described.
For example, in the present embodiment, according to adjusting parameter, adjusting the irradiation time of laser or/and the method for laser power
It may include: by irradiation time multiplied by adjusting parameter, the irradiation time after being adjusted, the irradiation time as laser;Alternatively,
By laser power multiplied by adjusting parameter, laser power after being adjusted, the laser power as laser.Finally, by adjusting
The laser for crossing irradiation time or laser power irradiates article to be detected again, obtains new Raman spectroscopy, and confirms new
Raman spectroscopy whether meet the requirements.
The embodiment of the invention provides a kind of effective Raman spectroscopy to obtain equipment, with acquisition equipment phase shown in Fig. 8
Than difference is, obtains equipment further include: third acquiring unit, second judgment unit, the second processing unit and the second control are single
Member.
In the present embodiment, third acquiring unit is used to obtain the temperature of article to be detected.
In the present embodiment, second judgment unit is for confirming whether the temperature of article to be detected reaches the first default threshold
Value.
In the present embodiment, if temperature of the second processing unit for article to be detected reaches the first preset threshold, lead to
The second control unit is crossed to stop with laser irradiation article to be detected;Until the temperature of article to be detected drops to the second default threshold
Value opens laser irradiation article to be detected again through the second control unit.Wherein, stopped by the second control unit with laser
Irradiate article to be detected, can be the second processing unit to the second control unit send control instruction, the second control unit according to
Control instruction closes the power supply of laser, and the power supply of laser is then opened by same way.
The embodiment of the invention provides a kind of effective Raman spectroscopy to obtain equipment, with acquisition equipment phase shown in Fig. 8
Than difference is, obtains equipment further include: the 4th acquiring unit, third judging unit, third processing unit and third control are single
Member.
In the present embodiment, the 4th acquiring unit is used to obtain the item color and article granularity of article to be detected.
In the present embodiment, third judging unit confirms article for confirming whether item color meets pre-set color
Whether granularity meets presetting granularity.
In the present embodiment, third processing unit is used to meet pre-set color or/and article granularity symbol when item color
When closing presetting granularity, the default illumination parameter of laser is reduced to preset value by third control unit;Wherein, the light of laser is reduced
It include: to reduce the irradiation time or/and laser power of laser according to parameter.Wherein, the pre- of laser is reduced by third control unit
If illumination parameter can be third processing unit to third control unit and send control instruction, third control unit to preset value
According to the default illumination parameter of control instruction reduction laser up to preset value, to improve device security.
As shown in figure 9, the embodiment of the invention provides a kind of effective Raman spectroscopy to obtain system, including processing
Device, communication interface, memory and communication bus, wherein processor, communication interface, memory are completed mutual by communication bus
Between communication;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes that following effective Raman spectroscopy obtains
Method, acquisition methods include the following steps:
S1, the Raman spectroscopy that laser irradiation article to be detected generates is obtained;
S2, obtain Raman spectroscopy each characteristic peak in top intensity value as maximum peak intensity value;
S3, judge maximum peak intensity value whether within preset threshold range;
If S4a, maximum peak intensity value adjust the illumination parameter of laser not within preset threshold range, and jump to
S1;
If S4b, maximum peak intensity value within preset threshold range, confirm that the Raman spectroscopy of acquisition is effective.
Electronic equipment provided in an embodiment of the present invention, processor 1110 is by executing the program stored on memory 1130
It realizes and obtains Raman spectroscopy caused by laser irradiation article to be detected, and confirm the maximum peak in Raman spectroscopy
Intensity value, and when maximum peak intensity value does not meet preset condition, adjust the illumination parameter of laser, i.e. the work ginseng of adjustment laser
Number, and Raman spectroscopy caused by laser irradiation article to be detected is obtained again, in the maximum peak intensity of Raman spectroscopy
When angle value meets preset condition, confirm that the Raman spectroscopy got is effective.
The communication bus 1140 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard
(PeripheralComponentInterconnect, abbreviation PCI) bus or expanding the industrial standard structure (ExtendedIndu
StryStandardArchitecture, abbreviation EISA) bus etc..The communication bus 1140 can be divided into address bus, data
Bus, control bus etc..Only to be indicated with a thick line in Fig. 9, it is not intended that an only bus or one kind convenient for indicating
The bus of type.
Communication interface 1120 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 1130 may include random access memory 1130 (RandomAccessMemory, abbreviation RAM), can also
To include nonvolatile memory 1130 (non-volatilememory), a for example, at least magnetic disk storage 1130.It is optional
, memory 1130 can also be that at least one is located remotely from the storage equipment of aforementioned processor 1110.
Above-mentioned processor 1110 can be general processor 1110, including central processing unit 1110
(CentralProcessingUnit, abbreviation CPU), network processing unit 1110 (NetworkProcessor, abbreviation NP) etc.;Also
It can be digital signal processor 1110 (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (Appli
CationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field-
ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components.
The embodiment of the invention provides a kind of computer readable storage medium, computer-readable recording medium storage has one
Or multiple programs, one or more program can be executed by one or more processor, to realize any of the above-described embodiment
Effective Raman Spectra picture capturing method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product
Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate
Raw process or function according to the embodiment of the present invention.Computer can be general purpose computer, special purpose computer, computer network,
Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer
Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site,
Computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as
Infrared, wireless, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer
Readable storage medium storing program for executing can be any usable medium or include one or more usable medium collection that computer can access
At the data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic
Band), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk SolidStateDisk (SSD)) etc..
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.