Mutton freshness detection device and detection method thereof
Technical field
The present invention relates to measurement techniques for quality detection of meat detection technique field, especially relate to and a kind ofly can detect the mutton freshness detection device that mutton is whether corrupt and detection method thereof accurately and rapidly.
Background technology
Mutton has nutritious and that mouthfeel is good feature, dark liking by consumers in general.
But mutton is easy to polluted and go bad.In storage process, along with propagation and a series of physicochemical change of microorganism, the freshness of mutton decreases.The nutritional labeling that protein, fat and carbohydrates etc. enrich is utilized by bacterium and enzyme, produces the sour gas of ammonia, sulfuration ammonia, aldehydic acid, aldehyde, ketone, ethanethio, alcohol and carboxylic acid.Aldehyde in metabolic product, ketone, ester and other low molecular compound make mutton produce peculiar smell.
At present, usually spectrum stimulus light source irradiation sample (namely adopting a laser array often opened or LED to impinge upon on sample) is adopted both at home and abroad, and gather incident illumination be mapped to sample after diffuse or through the reflected light of sample, diffuse reflection spectrum or reflectance spectrum are analyzed, finally realizes the detection to sample quality; But it is less to there is the Detection Information amount collected in this detection method, the deficiency that the precision of detection is lower.
Chinese patent Authorization Notice No.: CN101769889A, authorized announcement date on July 7th, 2010, disclose the electric nasus system that a kind of quality of agricultural product detects, comprise one and mainly complete gas enrichment module to low concentration odor trap, one air chamber gas path module and the sensor array mainly olfactory signal being converted into electric signal, one mainly carries out filtering to sensor array output signal, analog to digital conversion, the Conditioning Circuits of Sensor of feature extraction and data preprocessing module, a pair signal carries out identifying and judging, and with the embedded system that data store, one display and result output module, described gas enrichment module is formed by being filled with the adsorption tube of adsorbent, heating wire and attemperating unit.This invention has function singleness, the deficiency that detection time is long.
Summary of the invention
The present invention is the deficiency in order to overcome the low and length consuming time of detection method precision of the prior art, provides a kind ofly to detect mutton whether corrupt mutton freshness detection device and detection method thereof accurately and rapidly.
To achieve these goals, the present invention is by the following technical solutions:
A kind of mutton freshness detection device, comprise light tight housing, laser array, spectrometer, light intensity regulating device, be located at the container of the upper end open in housing, support, be located at the circular sample pallet in container, be located on support for the light emitting head to sample irradiation light and the light-receiving head for the reflected light that receives sample; Light intensity regulating device, laser array, light emitting head are electrically connected successively, and light-receiving head is electrically connected with spectrometer; Container and sample tray are made by non-magnet_conductible material, liquid is provided with in described container, described sample tray is suspended on liquid surface, container bottom is provided with center vertical core and m is individual around the edge vertical core that center vertical core circumferentially arranges, the equal upward opening of each vertical core and be equipped with location electromagnet in vertical core, location magnet piece is provided with in the middle part of described sample tray, metal column upper end through sample tray lower surface is connected with location magnet piece, and the pole polarity of location electromagnet and magnet piece opposite end, location is contrary;
Sample tray outward flange is provided with some traction magnet pieces to the distribution that is centrosymmetric, and top, container inside face is provided with the some power for traction magnet to being centrosymmetric matched with traction magnet piece; Light intensity regulating device, spectrometer, each block of location electromagnet and each block of power for traction magnet are equipped with the signaling interface for being electrically connected with computing machine.
Light intensity regulating device of the present invention is for the light intensity of the light source that regulates laser array to send, each location is used for locating to sample tray with electromagnet, power for traction magnet moves for drawing sample tray, the setting of liquid is used for providing the buoyancy departing from and be located by connecting with container to sample tray, thus the present invention can be detected the multiple points on sample, and data analysis is carried out to the detection signal that each point of irradiation obtains, and obtain the freshness of meat samples, that detects is wider, Detection Information more comprehensively, improves the reliability of testing result.
Light detects the principle learning mutton freshness: after light beam irradiates sample, because the different chemical characteristic group comprised in different freshness sample is different, therefore the degree of absorption for different wave length incident light is different, thus in reflected light, the intensity of each wavelength light is different, therefore can go the freshness of characterizing sample according to these information.But if the light intensity of incident light is fixed, then incident light is stably radiated on sample, each chemical group in sample is in state of saturation for the degree of absorption of different wavelengths of light, although can obtain Detection Information, quantity of information is not enriched, and accurately determining of detection is lower.
The present invention is that the incident light adopting light intensity constantly to change irradiates sample, in the intensity of incident light gradually in the large or change procedure that reduces, the absorption of different groups to respective wavelength light is gradually large or reduction, now the degree of absorption of group is in unsaturation, saturated diminuendo process, comprise more Detection Information in transmitted light, thus enable the detection signal obtained symbolize the freshness of mutton more accurately.
Therefore, it is fast that the present invention has detection speed, and check point is more, and the reliability and the precision that detect data are higher.
As preferably, motor is equipped with in container below each vertical core, each location electromagnet is connected with the vertical rotating shaft of each motor respectively, each location electromagnet is equipped with keeper, each keeper upper end offers cross groove, and metal column lower end is provided with the cruciform projection corresponding with cross groove; Each motor is provided with the signaling interface for being electrically connected with computing machine.Metal column is provided with spring, and keeper adopts metal material to make.
As preferably, described laser array comprises 6 and bundles and the single wavelength laser that is arranged in order of wavelength, and the wavelength of each single wavelength laser is respectively 585nm, 920nm, 512nm, 816nm, 670nm and 720nm.For the physicochemical property of mutton, select the laser instrument of above 6 wavelength to detect, more can give prominence to the detection feature of mutton, improve the accuracy detected.
As preferably, described light intensity regulating device comprises data collecting card and power amplifier, described data collecting card is provided with the signal input interface for being electrically connected with computing machine, described data collecting card is electrically connected with the input end of power amplifier, and the output terminal of described power amplifier is connected with the power electric of laser array.
Computing machine produces the waveform for controlling intensity variation, this waveform signal gathers by data collecting card, and output on power amplifier, the output terminal of power amplifier is connected with the power electric of laser array, thus realize the adjustment to the light intensity of the light source that laser array sends by the power supply controlling laser array, and by the incident light of light emitting head to sample irradiation Strength Changes.
As preferably, support is L-shaped, comprises flat board and column; Light emitting head is connected with flat board respectively by montant with light-receiving head; Each piece of traction magnet piece is all in bar shaped, and the pole polarity outside each piece of traction magnet piece is identical.
A detection method for mutton freshness detection device, comprises the steps:
(6-3-1) the location electromagnet in computer controlling center vertical core is energized, and under the effect of the suction of location electromagnet, metal column inserts in the vertical core of center, and the sequence number of setting edge vertical core is i, i=1 ..., the initial value of m, i is 1;
(6-3-2) computing machine regulates light emitting head output detections light by light intensity regulating device, and described detection light rises to maximal value MAT from 0 according to straight line, then drops to 0 from maximal value MAT according to sinusoidal curve; Spectrometer receives detection signal Spect (t) corresponding with detecting light;
(6-3-3) the location electromagnet power-off in computer controlling center vertical core, the location electromagnet controlled in edge vertical core i is energized, computing machine controls two the power for traction magnet energisings of line through edge vertical core i, the attractive force that 2 blocks of power for traction magnet and each piece of traction magnet piece produce and repulsive force drive sample tray to move on liquid level, when moving to vertical core i place, edge, metal column inserts in edge vertical core i under the effect of attractive force, computing machine controls two the power for traction magnet power-off of line through edge vertical core i, repeat step (6-3-2),
Location electromagnet in computer controlling center vertical core is energized, computing machine controls the location electromagnet power-off in edge vertical core i, control two the power for traction magnet energisings of line through edge vertical core i, the attractive force that 2 blocks of power for traction magnet and each piece of traction magnet piece produce and repulsive force drive sample tray to move on liquid level, and sample tray moves to center vertical core and metal column inserts in the vertical core of center under the effect of attractive force;
(6-3-4) as i < m, make i value increase 1, repeat step (6-3-3);
Obtain m+1 detection signal Spect (t);
(6-4) computing machine all does following data processing to m+1 detection signal Spect (t):
Detection signal Spect (t) is inputted one deck accidental resonance model:
In, computer calculate V (x, t, α) for the first order derivative of x (t), second derivative and three order derivatives, and makes equation equal 0, obtains two layers of accidental resonance model:
Setting noise intensity D=0,
spect (t)=0, N (t)=0; The critical value calculating A is
the critical value of A is substituted in one deck accidental resonance model, and set X
0(t)=0, sn
0=0, with quadravalence jade for asking rain Ge Kuta Algorithm for Solving one deck accidental resonance model, obtain
n=0,1,…,N-1
Wherein undetermined coefficient:
Wherein, x
nt n order derivative that () is x (t), sn
n-1the value of n-1 order derivative at t=0 place of S (t), sn
n+1the value of n+1 order derivative at t=0 place of S (t), n=0,1 ..., N-1; Obtain x
1(t), x
2(t) ..., x
n+1the value of (t);
Computing machine is to x
1(t), x
2(t) ..., x
n+1t () carries out integration, obtain x (t), and obtain x (t) produces accidental resonance moment optimal detection moment time t1 in the double-deck stochastic system of one deck accidental resonance model and two layers of accidental resonance model composition, optimum transient motion acceleration alpha 1, and determine the noise D1 corresponding to t1 and α 1;
Computing machine utilizes formula
calculate the signal to noise ratio (S/N ratio) that double-deck stochastic resonance system exports; Wherein, Δ U=α
2/ 4b; Obtain m+1 output signal-to-noise ratio SNR
1, SNR
2..., SNR
m+1;
(6-5) computing machine utilizes formula
calculate the output signal-to-noise ratio error QE corresponding to kth group pivoting angle data
k, wherein, k=1 ..., m+1;
Computer calculate meets QE
kthe number M of the output signal-to-noise ratio error of≤5%
1; Computer calculate meets QE
kthe number M of the output signal-to-noise ratio error of > 5%
2;
If (6-6)
then the fresh judgement of sample made by computing machine;
If
then the stale judgement of sample made by computing machine;
Otherwise, return step (6-3-1), sample detected again and carries out data processing.
As preferably, motor is equipped with in container below each vertical core described, each location electromagnet is connected with the vertical rotating shaft of each motor respectively, each location electromagnet is equipped with keeper, each keeper upper end all offers cross groove, metal column lower end is provided with the cruciform projection corresponding with cross groove, and each motor is provided with the signaling interface for being electrically connected with computing machine;
Step (6-3-2) is replaced by following step:
Computing machine regulates light emitting head output detections light by light intensity regulating device, and described detection light rises to maximal value MAT from 0 according to straight line, then drops to 0 from maximal value MAT according to sinusoidal curve; In testing process, the rotating shaft that computing machine controls the motor corresponding with the vertical core that metal column inserts drives sample tray to rotate for 1 to 2 week, and spectrometer receives detection signal Spect (t) corresponding with detecting light.
As preferably, the thickness of described sheet meat is 31 to 73mm.
As preferably, the incident angle of light emitting head is 15 to 60 degree.
As preferably, the span of MAT is 108 luxs, lux to 207.
Therefore, the present invention has following beneficial effect: (1) detection speed is fast; (2) check point is more, and the reliability and the precision that detect data are higher.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of container of the present invention and support;
Fig. 2 is a kind of structural representation of sample tray of the present invention;
Fig. 3 is a kind of structural representation of metal column of the present invention, vertical core, motor, location electromagnet and keeper;
Fig. 4 is a kind of theory diagram of embodiments of the invention 1;
Fig. 5 is the Strength Changes schematic diagram of detection light of the present invention;
Fig. 6 is a kind of process flow diagram of embodiments of the invention 1.
In figure: spectrometer 1, light intensity regulating device 2, container 3, sample tray 4, support 5, light emitting head 6, light-receiving head 7, vertical core 8, location electromagnet 9, metal column 11, power for traction magnet 13, motor 14, keeper 15, cross groove 16, cruciform projection 17, data collecting card 18, power amplifier 19, laser array 20, Housing Base 21, cushion pad 22, spring 23, computing machine 24.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be further described.
Embodiment 1
Embodiment is as shown in Figure 1, Figure 2, Figure 3, Figure 4 a kind of mutton freshness detection device, comprise light tight housing, laser array 20, spectrometer 1, light intensity regulating device 2, as shown in Figure 1, is located at the container 3 of the upper end open on Housing Base 21, support 5, be located at the circular sample pallet 4 in container, be located on support for the light emitting head 6 to sample irradiation light and the light-receiving head 7 for the reflected light that receives sample; Light intensity regulating device, laser array, light emitting head are electrically connected successively, and light-receiving head is electrically connected with spectrometer; Container and sample tray are made by wood materials, water is provided with in container, sample tray is suspended in water surface, container bottom is provided with center vertical core and 8 around the edge vertical core that center vertical core circumferentially arranges, each vertical core 8 all upward openings and be equipped with location electromagnet 9 in vertical core, location magnet piece is provided with in the middle part of sample tray, metal column 11 upper end through sample tray lower surface is connected with location magnet piece, and the pole polarity of location electromagnet and magnet piece opposite end, location is contrary;
As shown in Figure 2, sample tray outward flange is provided with 4 to the cushion pad 22 distributed that is centrosymmetric, 8 traction magnet pieces lay respectively in each cushion pad, and top, container inside face is provided be centrosymmetric the 5 pairs of power for traction magnet 13 matched with traction magnet piece; Light intensity regulating device, spectrometer, each block of location electromagnet and each block of power for traction magnet are equipped with the signaling interface for being electrically connected with computing machine 24.
Laser array comprises 6 and bundles and the single wavelength laser that is arranged in order of wavelength, and the wavelength of each single wavelength laser is respectively 635nm, 980nm, 532nm, 808nm, 660nm and 780nm.
Light intensity regulating device comprises data collecting card 18 and power amplifier 19, data collecting card is provided with the signal input interface for being electrically connected with computing machine, data collecting card is electrically connected with the input end of power amplifier, and the output terminal of power amplifier is connected with the power electric of laser array.
Support is L-shaped, comprises flat board and column; Light emitting head is connected with flat board respectively by montant with light-receiving head; Each piece of traction magnet piece is all in bar shaped, and the pole polarity outside each piece of traction magnet piece is identical.
As shown in Figure 2, light intensity regulating device comprises N1-6259 data collecting card 20 and power amplifier 21, data collecting card is provided with the signal input interface for being electrically connected with computing machine, data collecting card is electrically connected with the input end of power amplifier, and the output terminal of power amplifier is connected with the power electric of laser array.Motor is stepper motor.
A detection method for mutton freshness detection device, comprises the steps:
According to CNS GB/T 5009.44-2003, detect the total volatile basic nitrogen TVB-N value of different resting period meat samples, and obtain the freshness threshold SNR corresponding respectively with 9 sample detection points
thre1, SNR
thre2..., SNR
thre9;
According to CNS GB/T 5009.44-2003, detect the total volatile basic nitrogen TVB-N value of different resting period meat samples, and obtain the freshness threshold SNR corresponding respectively with 8 sample detection points
thre1=-86.21dB, SNR
thre2=-75.32dB, SNR
thre3=-69.25dB, SNR
thre4=-62.34dB, SNR
thre5=-53.28dB, SNR
thre6=-49.37dB, SNR
thre7=-44.64dB, SNR
thre8=-34.59dB, SNR
thre9=-28.42dB;
Freshness threshold SNR
thre1, SNR
thre2..., SNR
thre9the method obtained is as follows:
Detect the total volatile basic nitrogen numerical value of the new fresh mutton of just having slaughtered, after having detected, mutton is put in cold storage plant and stores, second day, 3rd day, ... take out mutton and continue to detect the total volatile basic nitrogen numerical value of mutton, has detected at every turn and all put into cold storage plant and store, when the total volatile basic nitrogen numerical value of certain day sample exceeds standard for the first time, then adopt following step to detect in the sample of this day, 9 SNR obtained are freshness threshold SNR
thre1, SNR
thre2..., SNR
thre9.
Freshness threshold and storage condition are relevant, detect obtained freshness threshold SNR to the meat samples stored in certain temperature, pressure and humidity
thre1, SNR
thre2..., SNR
thre9, the freshness detecting the mutton stored under the same conditions can only be used for.
Before detection, regulate the height of water level in container, the reflected light that light emitting head is launched can just in time enter in light-receiving head after sample reflection;
As shown in Figure 6, step 100, sample preparation: choose the thick sheet meat of 40mm as detected sample from mutton to be detected;
Step 200, detects: be electrically connected with light intensity regulating device, spectrometer, each block of location electromagnet and each block of power for traction magnet by computing machine, kept flat by sample on sample tray;
Step 210, the location electromagnet in computer controlling center vertical core is energized, and under the effect of the suction of location electromagnet, metal column inserts in the vertical core of center, and the sequence number of setting edge vertical core is i, i=1 ..., the initial value of 8, i is 1;
Step 220, computing machine regulates light emitting head output detections light by light intensity regulating device, as shown in Figure 5, within 10 second time, detected light rise to maximal value 200 lux from 0 according to straight line, then within 10 second time, dropped to 0 from maximal value 200 lux according to sinusoidal curve; Spectrometer receives detection signal Spect (t) corresponding with detecting light;
Step 230, the electromagnet power-off of location in computer controlling center vertical core, the location electromagnet controlled in edge vertical core i is energized, computing machine controls two the power for traction magnet energisings of line through edge vertical core i, the attractive force that 2 blocks of power for traction magnet and each piece of traction magnet piece produce and repulsive force drive sample tray to move on liquid level, when moving to vertical core i place, edge, metal column inserts in edge vertical core i under the effect of attractive force, computing machine controls two the power for traction magnet power-off of line through edge vertical core i, repeats step 220;
Location electromagnet in computer controlling center vertical core is energized, computing machine controls the location electromagnet power-off in edge vertical core i, control two the power for traction magnet energisings of line through edge vertical core i, the attractive force that 2 blocks of power for traction magnet and each piece of traction magnet piece produce and repulsive force drive sample tray to move on liquid level, and sample tray moves to center vertical core and metal column inserts in the vertical core of center under the effect of attractive force;
Step 240, as i < m, makes i value increase 1, repeats step 230;
Obtain 9 detection signals Spect (t);
Step 300, data processing:
Computing machine all does following data processing to 9 detection signals Spect (t):
Detection signal Spect (t) is inputted one deck accidental resonance model:
In, wherein, V (x, t, α) be potential function, x (t) is Brownian movement Particles Moving lopcus function, a, b is the constant of setting, ξ (t) is external noise, and D is with the external noise intensity of 0.01 stepping in [0,1] scope, N (t) grasps noise in being
for periodic sinusoidal signal, A is signal amplitude, and f is signal frequency, and t is run duration,
for phase place, if
Computer calculate V (x, t, α) for the first order derivative of x (t), second derivative and three order derivatives, and makes equation equal 0, obtains two layers of accidental resonance model:
Setting noise intensity D=0,
spect (t)=0, N (t)=0; The critical value calculating A is
the critical value of A is substituted in one deck accidental resonance model, and set X
0(t)=0, sn
0=0, with quadravalence jade for asking rain Ge Kuta Algorithm for Solving one deck accidental resonance model, obtain
n=0,1,…,N-1
And calculate undetermined coefficient:
Wherein, x
nt n order derivative that () is x (t), sn
n-1the value of n-1 order derivative at t=0 place of S (t), sn
n+1the value of n+1 order derivative at t=0 place of S (t), n=0,1 ..., N-1; Obtain x
1(t), x
2(t) ..., x
n+1the value of (t);
Computing machine is to x
1(t), x
2(t) ..., x
n+1t () carries out integration, obtain x (t), and obtain x (t) produces accidental resonance moment optimal detection moment time t1 in the double-deck stochastic system of one deck accidental resonance model and two layers of accidental resonance model composition, optimum transient motion acceleration alpha 1, and determine the noise D1 corresponding to t1 and α 1; D
1for the value of in D; D is that the value of D and time correlation, be aware of t with a function of 0.01 loop cycle stepping in [0,1] scope
1moment, D
1just determine.
Computing machine utilizes formula
calculate the signal to noise ratio (S/N ratio) that double-deck stochastic resonance system exports; Wherein, Δ U=α
2/ 4b; Obtain 9 output signal-to-noise ratio SNR
1, SNR
2..., SNR
m+1;
Step 400, error calculation:
Computing machine utilizes formula
calculate the output signal-to-noise ratio error QE corresponding to kth group pivoting angle data
k, wherein, k=1 ..., 9;
Computer calculate meets QE
kthe number M of the output signal-to-noise ratio error of≤5%
1; Computer calculate meets QE
kthe number M of the output signal-to-noise ratio error of > 5%
2;
Step 500, judges:
If
then the fresh judgement of sample made by computing machine;
If
then the stale judgement of sample made by computing machine;
Otherwise, return step 210, sample detected again and carries out data processing.
M in the present embodiment
1=8,
therefore, the stale judgement of sample made by computing machine.
Embodiment 2
In embodiment 2, as shown in Figure 3, motor 14 is equipped with in container below each vertical core, each location electromagnet is connected with the vertical rotating shaft of each motor respectively, each location electromagnet is equipped with keeper 15, each keeper upper end all offers cross groove 16, and metal column lower end is provided with the cruciform projection 17 corresponding with cross groove, and each motor is provided with the signaling interface for being electrically connected with computing machine.Metal column is provided with spring 23.
Step 220 in embodiment 2 is replaced by following step:
As shown in Figure 5, computing machine regulates light emitting head output detections light by light intensity regulating device, detects light and rises to maximal value 200 lux from 0 according to straight line, then drop to 0 from maximal value 200 lux according to sinusoidal curve; In testing process, the rotating shaft that computing machine controls the motor corresponding with the vertical core that metal column inserts drives sample tray to rotate 2 weeks, and spectrometer receives detection signal Spect (t) corresponding with detecting light.
Other result in embodiment 2 and method part in the same manner as in Example 1.
Should be understood that the present embodiment is only not used in for illustration of the present invention to limit the scope of the invention.In addition should be understood that those skilled in the art can make various changes or modifications the present invention, and these equivalent form of values fall within the application's appended claims limited range equally after the content of having read the present invention's instruction.