One kind splicing beef detecting system and method
Technical field
The present invention relates to technical field of food detection, more particularly to a kind of splicing beef detecting system and method.
Background technology
Beef taste is delicious, nutritious, in good taste, is first-class food materials.But due to its production cost it is higher, especially
Top grade beef block, it is expensive.And splice beef and be spliced by different size of fragment beef, not only mouthfeel is bad, and
Also pollution can be formed between the beef clod of separate sources, food-safety problem is formed.
China Patent Publication No. CN1603794, in publication date on April 6th, 2005, the entitled near infrared technology of invention is quick
Detection tenderness of beef utilizing method and apparatus, this application case disclose a kind of method of rapidly detecting tenderness of beef utilizing near infrared technology and
Device, it is by near-infrared light source, near infrared detector, diffuse-reflectance fiber plant, microprocessor, display and recording equipment and can turn
Dynamic object stage is constituted.Its weak point is that the detection means can not detect whether beef is splicing beef.
The content of the invention
The purpose of the present invention is to overcome current beef detecting system to detect whether beef is that the technology for splicing beef is asked
Topic, there is provided one kind splicing beef detecting system and method, its can quickly, simplicity, detect whether beef is spelling exactly
Connect beef.
In order to solve the above problems, the present invention is employed the following technical solutions and is achieved:
A kind of splicing beef detecting system of the present invention, including controller and testing agency, the controller includes central authorities
Processing unit, touch screen and light source control module, the testing agency includes base, and the base is provided with monitor station, described
Monitor station middle part is provided with rectangular recess, and liquid is stored in the rectangular recess, and the liquid is provided with rounded sample carrier
Disk, the front-end and back-end of the sample tray are respectively equipped with the first permanent magnet and the second permanent magnet, and the sample tray bottom sets
There is locating dowel, the positioning column bottom is provided with positioning head, and the positioning head is made up of ferrimagnet, before the rectangular recess
Medial surface is provided with the first electric magnet and the first proximity switch, and the rear medial surface of the rectangular recess is provided with the second electric magnet, described
The bottom surface of rectangular recess is provided with several locating pieces, and the locating piece lower section is provided with the first driving electricity for driving locating piece to rotate
Machine, the locating piece is provided with the location hole for coordinating and limiting positioning head freely to rotate with positioning head, described several locating pieces
On location hole be arranged in a linear from front to back, the location hole bottom is provided with the 3rd electric magnet and the second proximity switch, described
Sample tray top is provided with optical transceiver, and the optical transceiver includes radiation source and optical receiver, the CPU
Respectively with touch screen, light source control module, the first electric magnet, the second electric magnet, the 3rd electric magnet, the first proximity switch, second
Proximity switch, the first motor and optical receiver electrical connection, the light source control module is also electrically connected with radiation source.
In the technical program, radiation source is Halogen light or generating laser.During detection, beef sample to be measured is placed
On sample tray, beef sample is set to be centrally located at the center of sample tray.
The work of electromagnet of central processing unit controls first, the first electric magnet produces suction, and first on sample tray is forever
Magnet is acted on by the first electromagnet suction, and sample tray to the anteromedial surface of rectangular recess is moved, while the first permanent magnet is inhaled
Power effect just to the first electric magnet, calibrates the position of positioning head, it is ensured that positioning head is inserted into location hole.In rectangular recess or so
The distance between side wall is more bigger than the diameter of sample tray, makes sample tray be merely able to move forward and backward, it is ensured that positioning head is in positioning
The straight line upper direction that hole is arranged in, is easy to positioning head to insert location hole.When sample tray moves to rectangular recess anteromedial surface
During place, the first proximity switch sends trigger, and CPU receives the trigger that the first proximity switch sends, control
Make the first electric magnet to quit work, the 3rd electromagnetism ironworker of the nearest location hole bottom of command range rectangular recess anteromedial surface
Make, the 3rd electric magnet produces suction, the positioning head of sample tray bottom is inserted the location hole by the suction of the 3rd electric magnet,
The second proximity switch in the location hole sends trigger.CPU receives trigger, judgement sample pallet
Position successfully, now the central point of sample tray is located at the underface of optical transceiver.
User can select sample tray to need the position of positioning hole of insertion by touch screen.Central processing unit controls distance
3rd electric magnet of the nearest location hole bottom of rectangular recess anteromedial surface quits work, and sample tray is floated by buoyancy,
The positioning head of sample tray bottom leaves location hole.The electric magnet of central processing unit controls second and sample tray need insertion
Location hole bottom the 3rd work of electromagnet, the second permanent magnet on sample tray by the second electromagnet suction act on, sample
Pallet to the rear medial surface of rectangular recess is moved.When sample tray moves to the location hole top for needing insertion, sample tray
The positioning head of lower section is acted on by the 3rd electromagnet suction, and the positioning head of sample tray bottom inserts the location hole, in the location hole
The second proximity switch send trigger.CPU receives trigger, and judgement sample pallet is successively inserted into use
The location hole that family selects.Sample tray is moved forward and backward in a liquid, without frictional dissipation, realizes being accurately positioned by location hole.
The locating piece that the location hole of central processing unit controls sample tray insertion is located rotates a circle, and often horizontally rotates 30
Degree stops and detects a spectroscopic data.During detection spectroscopic data, the intensity curve of the detection light that radiation source sends first from 0 according to
Maximum is ramped, then drops to 0 according to straight line from maximum.The intensity of reflected light that optical receiver detection is received,
And CPU is sent it to, CPU is carried out after respective handling to detection data, judges beef sample to be measured
Whether product are splicing beef.
The principle of beef is spliced in optical detection:Naturally continuous, orderliness is clear, color and luster is unified, aqueous for the beef lines of monoblock
Amount it is close, therefore its be with the reflection absorption spectrum signal of angle of incidence it is close, can as detection foundation.And splice meat
Although different fragments are through arranging, gluing and surface treatment, in meat lines and discontinuous in it, there is overall tomography,
Color and luster difference is larger, and water content is difficult unanimously, therefore can be determined whether to splice beef according to optical detecting method.
The present invention is the incident illumination irradiating sample being continually changing using light intensity, gradually greatly or is reduced in the intensity of incident illumination
Change procedure in, absorption of the different groups to respective wavelength light is gradually big or reduces, now at the degree of absorption of group
During unsaturation, saturation diminuendo, more detection informations are included in reflected light, so as to enable the detection signal for obtaining more
Accurately symbolize whether beef is splicing.
Preferably, the positioning head is in flat, the longitudinal section of the positioning head is in inverted isosceles trapezoid, described fixed
The shape in position hole and the form fit of positioning head, the location hole top is provided with inclined spigot surface.Location hole is along from front to back
Direction is arranged, and the spigot surface of the left and right sides at the top of location hole play the guiding role, and is easy to positioning head to insert location hole.
Preferably, the distance between described rectangular recess or so medial wall matches with the diameter of sample tray.Rectangle
The distance between groove or so medial wall is more bigger than the diameter of sample tray, makes sample tray be merely able to move forward and backward, it is ensured that fixed
The straight line upper direction that potential head is arranged in location hole, is easy to positioning head to insert location hole.
Preferably, the light source control module includes the digital capture cards of NI and power amplifier, the NI is digital to be adopted
The input of truck is electrically connected with CPU, the outfan of the digital capture card of the NI and the input of power amplifier
Electrical connection, the outfan of the power amplifier is electrically connected with radiation source.The digital capture card collection CPU of NI is sent out
The control signal for going out, and the detection light that radiation source sends varying strength is controlled by power amplifier.
Preferably, receiving and dispatching positioned at light apart from the nearest location hole of rectangular recess anteromedial surface on the rectangular recess bottom surface
The underface of device.It is used for the initial alignment of sample tray apart from rectangular recess anteromedial surface nearest location hole, foremost is determined
The distance between position hole and rearmost location hole for sample tray radius.
A kind of splicing beef detection method of the present invention, comprises the following steps:
S1:Lamellar beef sample is prepared, beef sample is placed on sample tray, make beef sample be centrally located at sample
The center of product pallet;
S2:The instruction that CPU is input into according to user by touch screen, control sample tray insertion user specify
Location hole;
S3:CPU is radiated at by the detection light that light source control module control radiation source sends certain light intensity
On beef sample, detection light intensity then drops to from maximum first from 0 according to ramping to maximum according to straight line
0, optical receiver collection reflected spectrum data Spect (t), the location hole institute that then central processing unit controls sample tray is inserted
The first motor work below locating piece, the first motor control locating piece rotates 30 degree, makes sample tray level
30 degree of rotation, optical receiver gathers the spectroscopic data of now radiation source point of irradiation, so control sample tray horizontal rotation 360
Degree, often horizontally rotates 30 degree of spectroscopic datas of detection that stop, so as to the spectrum for gathering 12 diverse locations on beef sample
Data Spect (t);
S4:Collect 12 spectroscopic datas Spect (t) are carried out same data processing by CPU, meter
12 signal to noise ratio eigenvalues are calculated, the data processing that each spectroscopic data Spect (t) is carried out is comprised the following steps:
Write using input letterAs input matrix, potential function V (x, t,
α) cooperate with input signal as one layer of accidental resonance model:
Wherein, V (x, t, α) is potential function, and x (t) is Brownian Particles movement locus function, and t is movement time,For periodic sinusoidal signal, N (t) grasps noise for interior, and A is signal amplitude, and f is signal frequency, and D is outer noise
Intensity, ξ (t) is outer noise,For phase place,
First derivatives of the V (x, t, α) for x (t), second dervative and three order derivatives are calculated, and makes equation be equal to 0, obtained
To two layers of accidental resonance model:
Setting noise intensity D=0,Spect (t)=0, N (t)=0 is calculated the marginal value of A
For Ac=4a3/(27b2α8), by AcIn substituting into one layer of accidental resonance model, and set x0(t)=0, sn0=0, using quadravalence jade for asking rain
One layer of accidental resonance model of Ge Kuta Algorithm for Solving, obtains:
Wherein, undetermined coefficient:
(k1)n=a (α xn-1(t))2-b(αxn-1(t))3+snn-1 (4)
Wherein, xn(t) for x (t) n order derivatives, snnIt is value of the n order derivatives of S (t) at t=0, a, b are the normal of setting
Number,
It is calculated x1(t), x2(t)…xn+1The value of (t), to x1(t), x2(t)…xn+1T () is integrated and obtains x (t),
And obtain x (t) and produce resonance in the double-deck stochastic resonance system of one layer of accidental resonance model and two layers of accidental resonance model composition
The position x at momentmValue and xmMoment t1 corresponding with t1 acceleration of motion α 1 of corresponding resonance and corresponding with t1
Noise D1, D1 are a value in D,
By formulaIt is calculated signal to noise ratio eigenvalue
SNRFeature, wherein, Δ U=a2/4b;
S5:Calculate 12 signal to noise ratio eigenvalues are divided into into four groups, by SNRFeature 3、SNRFeature 6、SNRFeature 9、SNRFeature 12Point
For first group, by SNRFeature 2、SNRFeature 4、SNRFeature 7、SNRFeature 11It is divided into second group, by SNRFeature 1And SNRFeature 5It is divided into the 3rd group, will
SNRFeature 8And SNRFeature 10It is divided into the 4th group, and the signal to noise ratio meansigma methodss of calculating each group respectively, obtains SNRAverage 1、SNRAverage 2、
SNRAverage 3、SNRAverage 4,
Calculate error QE between each signal to noise ratio eigenvalue and the signal to noise ratio meansigma methodss of the group corresponding to itj, j=
1 ..., 12;
Statistics meets QEjNumber M of≤2% signal to noise ratio eigenvalue1, count and meet QEjThe signal to noise ratio eigenvalue of > 2%
Number M2;
S6:IfThen CPU judges that the beef sample is not splicing beef, ifThen CPU judges that the beef sample is splicing beef, step S3 is otherwise jumped to, to beef sample
Re-start detection.
Preferably, step S2 is comprised the following steps:
S21:The work of electromagnet of central processing unit controls first, sample tray is arrived by the first electromagnet suction action
At rectangular recess anteromedial surface, the first proximity switch sends trigger;
S22:CPU receives the trigger that the first proximity switch sends, and the first electric magnet of control stops work
Make, the 3rd work of electromagnet of the nearest location hole bottom of command range rectangular recess anteromedial surface, the 3rd electric magnet produces suction
Power, the positioning head of sample tray bottom is inserted the location hole by the suction of the 3rd electric magnet, and second in the location hole connects
Nearly switch sends trigger;
S23:CPU receives the trigger that the second proximity switch sends, and judgement sample pallet is positioned to
Work(, now the central point of sample tray is positioned at the underface of optical transceiver;
S24:CPU reads user and determines that sample tray needs determining for insertion by the instruction that touch screen is input into
Position hole site;
S25:Threeth electric magnet of the central processing unit controls apart from the nearest location hole bottom of rectangular recess anteromedial surface
Quit work, sample tray is floated by buoyancy, the positioning head of sample tray bottom leaves location hole;
S26:The electric magnet of central processing unit controls second and sample tray need the 3rd of the location hole bottom of insertion
Work of electromagnet, the positioning head of sample tray bottom inserts the location hole, and the second proximity switch in the location hole sends triggering
Signal.
The present invention substantial effect be:(1) can quickly, it is easy, detect whether beef is splicing beef exactly.
(2) sample tray is moved forward and backward in a liquid, without frictional dissipation, realizes being accurately positioned by location hole.
Description of the drawings
Fig. 1 is a kind of structural representation of the present invention;
Fig. 2 is the structural representation of rectangular recess;
Fig. 3 is the structural representation of rectangular recess and sample tray;
Fig. 4 is the sectional view of Fig. 3;
Fig. 5 is the structural representation of location hole;
Fig. 6 is the circuit theory connection block diagram of the present invention;
The light intensity curve figure of the detection light that radiation source sends when Fig. 7 is detection.
In figure:1st, CPU, 2, touch screen, 3, light source control module, 4, base, 5, monitor station, 6, rectangle it is recessed
Groove, 7, sample tray, the 8, first permanent magnet, the 9, second permanent magnet, 10, locating dowel, 11, positioning head, the 12, first electric magnet, 13,
Second electric magnet, 14, locating piece, the 15, first motor, 16, location hole, the 17, the 3rd electric magnet, the 18, first proximity switch,
19th, optical transceiver, 20, radiation source, 21, optical receiver, 22, elevating mechanism, 23, spigot surface, 24, the digital capture cards of NI,
25th, power amplifier, 26, photographic head, 27, transverse link, 28, longitudinal rod, 29, screw mandrel, 30, support bar, 31, thread bush, 32,
Sleeve pipe, the 33, second proximity switch.
Specific embodiment
Below by embodiment, and accompanying drawing is combined, technical scheme is described in further detail.
Embodiment:A kind of splicing beef detecting system of the present embodiment, as shown in Figure 1, Figure 2, Figure 3, Figure 4, including control
Device and testing agency, controller includes CPU 1, touch screen 2 and light source control module 3, and testing agency includes base
4, base 4 is provided with monitor station 5, and the middle part of monitor station 5 is provided with rectangular recess 6, rectangular recess 6 and stores liquid, sets on liquid
The front-end and back-end for having rounded sample tray 7, sample tray 7 are respectively equipped with the first permanent magnet and the second permanent magnet, sample
The bottom of pallet 7 is provided with locating dowel 10, and the bottom of locating dowel 10 is provided with positioning head 11, and positioning head 11 is made up of ferrimagnet, rectangle
The anteromedial surface of groove 6 is provided with the first electric magnet 12 and the first proximity switch 18, and it is electric that the rear medial surface of rectangular recess 6 is provided with second
Magnet 13, the bottom surface of rectangular recess 6 is provided with seven locating pieces 14, and the lower section of locating piece 14 is provided with drive locating piece 14 to rotate first
Motor 15, locating piece 14 is provided with the location hole 16 for coordinating and limiting positioning head 11 freely to rotate with positioning head 11, seven
Location hole 16 on locating piece 14 is arranged in a linear from front to back, and the bottom of location hole 16 is provided with the 3rd electric magnet 17 and second and is close to
Switch 33, the top of sample tray 7 is provided with optical transceiver 19, and optical transceiver 19 includes radiation source 20 and optical receiver 21, base 4
On be additionally provided with drive optical transceiver 19 move up and down elevating mechanism 22.
As shown in fig. 6, light source control module 3 includes the digital capture cards 24 of NI and power amplifier 25, the top of rectangular recess 6
Be additionally provided with photographic head 26, photographic head 26 is connected by connector with elevating mechanism 22, CPU 1 respectively with touch screen 2,
First electric magnet 12, the second electric magnet 13, the 3rd electric magnet 17, the first proximity switch 18, the second proximity switch 33, first drive
The input electrical connection of the digital capture card 24 of motor 15, optical receiver 21, elevating mechanism 22, photographic head 26, NI, NI is digital
The outfan of capture card 24 is electrically connected with the input of power amplifier 25, and outfan and the radiation source 20 of power amplifier 25 are electrically connected
Connect.
Elevating mechanism 22 is rotated including transverse link 27, longitudinal rod 28, screw mandrel 29, support bar 30 and drive screw 29
The second motor, screw mandrel 29 and support bar 30 be vertically arranged on base 4, and the one end of transverse link 27 is provided with and is set in screw mandrel
Thread bush 31 on 29 and the sleeve pipe 32 being set on support bar 30, the other end of the transverse link 27 and longitudinal rod 28
Top is connected, and the optical transceiver 19 is arranged on the bottom of longitudinal rod 28, the direction of illumination of radiation source 20 straight down, the
Two motors are electrically connected with CPU 1.CPU 1 can adjust optical transceiver 29 by elevating mechanism 22
Upper-lower position, to meet actually detected demand.
Positioning head 11 is in flat, and the longitudinal section of positioning head 11 is in inverted isosceles trapezoid, the shape of location hole 16 with it is fixed
The form fit of potential head 11, as shown in figure 5, the top of location hole 16 is respectively arranged on the left side and the right side inclined spigot surface 23.Location hole
16 are arranged along direction from front to back, and the spigot surface 23 of the top left and right sides of location hole 16 play the guiding role, and are easy to positioning head 11 to insert
Enter location hole 16.
The distance between medial wall of rectangular recess 6 or so matches with the diameter of sample tray 7.In rectangular recess 6 or so
The distance between side wall 2cm bigger than the diameter of sample tray 7, makes sample tray 7 be merely able to move forward and backward, it is ensured that positioning head 11 exists
The straight line upper direction that location hole 16 is arranged in, is easy to positioning head 11 to insert location hole 16.
Optical transceiver 19 is being located on the bottom surface of rectangular recess 6 just apart from the nearest location hole 16 of the anteromedial surface of rectangular recess 6
Lower section.It is used for the initial alignment of sample tray 7, the positioning of foremost apart from the nearest location hole 16 of the anteromedial surface of rectangular recess 6
The distance between hole 16 and rearmost location hole 16 for sample tray 7 radius.
Sample tray 7 includes rounded chassis and the annular sidewall being connected with chassis outer rim, the first permanent magnet and the
Two permanent magnets are embedded in respectively the front-end and back-end of annular sidewall, and tray bottom is provided with downwardly projecting projection, and projection is in spherical crown
Shape, locating dowel 10 is arranged on the bottom of projection.Projection in spherical, enable sample tray 7 smoothly in a liquid on float downward
Dynamic, chassis is used to place beef sample to be measured, and annular sidewall can prevent liquid from splashing on the beef sample to be measured on chassis.
The control signal that the digital collection of capture card 24 CPU 1 of NI sends, and controlled by power amplifier 25
Radiation source 20 sends the detection light of varying strength.Photographic head 26 gathers the image information of rectangular recess 6, and is sent to centre
Reason unit 1, CPU 1 obtains the positional information of sample tray 7 by image procossing, movable in sample tray 7
When be monitored, if sample tray 7 do not move to need insertion location hole 16 surface, CPU 1 lead to
Cross the first electric magnet 12 and the second electric magnet 13 adjusts the position of sample tray 7, be easy to CPU 1 more accurately to adjust
The position of sample tray 7.Radiation source 20 is Halogen light.
During detection, beef sample to be measured is placed on sample tray 7, makes beef sample be centrally located at sample tray 7
Center.
CPU 1 controls the first electric magnet 12 and works, and the first electric magnet 12 produces suction, on sample tray 7
First permanent magnet receives the suction of the first electric magnet 12, and sample tray 7 to the anteromedial surface of rectangular recess 6 is moved, while first
Permanent magnet, just to the first electric magnet 12, is calibrated the position of positioning head 11, it is ensured that positioning head 11 is inserted into positioning by suction
Hole 16.The distance between the medial wall of rectangular recess 6 or so is more bigger than the diameter of sample tray 7, before and after being merely able to sample tray 7
Motion, it is ensured that the straight line upper direction that positioning head 11 is arranged in location hole 16, is easy to positioning head 11 to insert location hole 16.Work as sample
(now, positioning head 11 is located at nearest apart from the anteromedial surface of rectangular recess 6 when product pallet 7 contacts with the anteromedial surface of rectangular recess 6
Location hole 16 surface), the first proximity switch 18 sends trigger, and CPU 1 receives first and is close to be opened
18 triggers for sending are closed, the first electric magnet 12 of control quits work, and the anteromedial surface of command range rectangular recess 6 is nearest to be determined
3rd electric magnet 17 of the position bottom of hole 16 works, and the 3rd electric magnet 17 produces suction, and the positioning head 11 of the bottom of sample tray 7 is by the
The suction of three electric magnet 17 inserts the location hole 16, and the second proximity switch 33 in the location hole 16 sends trigger.
CPU 1 receives the trigger that the second proximity switch 33 sends, and judgement sample pallet 7 is positioned successfully, now sample
The central point of product pallet 7 is located at the underface of optical transceiver 19.
User can select sample tray 7 to need the position of location hole 16 of insertion by touch screen 2.CPU 1 is controlled
Threeth electric magnet 17 of the system apart from the nearest bottom of location hole 16 of the anteromedial surface of rectangular recess 6 quits work, and sample tray 7 is by floating
Power effect floats, and the positioning head 11 of the bottom of sample tray 7 leaves location hole 16.CPU 1 controls the second electric magnet 13
And sample tray 7 needs the 3rd electric magnet 17 of the bottom of location hole 16 of insertion to work, the second permanent magnet on sample tray 7
By the suction of the second electric magnet 13, sample tray 7 to the rear medial surface of rectangular recess 6 is moved.Need when sample tray 7 is moved to
During 16 top of location hole to be inserted, the positioning head 11 of the lower section of sample tray 7 receives the suction of the 3rd electric magnet 13, sample tray
The positioning head 11 of 7 bottoms inserts the location hole 16, and the second proximity switch 33 in the location hole 16 sends trigger.Centre
Reason unit 1 receives trigger, and judgement sample pallet 7 is successively inserted into the location hole 16 of user's selection.Sample tray 7 is in liquid
In move forward and backward, without frictional dissipation, realize being accurately positioned by location hole 16.
The locating piece 14 that the location hole 16 of the control insertion of sample tray 7 of CPU 1 is located rotates a circle, per level
Rotate 30 degree of spectroscopic datas of detection that stop.During detection spectroscopic data, the intensity curve of the detection light that radiation source 20 sends
First then drop to 0 according to straight line from maximum, as shown in Figure 7 according to ramping to maximum from 0.Optical receiver 21 is examined
The intensity of reflected light curve that survey is received, and CPU 1 is sent it to, CPU 1 is entered to detection data
After row respective handling, judge whether beef sample to be measured is splicing beef.
The principle of beef is spliced in optical detection:Naturally continuous, orderliness is clear, color and luster is unified, aqueous for the beef lines of monoblock
Amount it is close, therefore its be with the reflection absorption spectrum signal of angle of incidence it is close, can as detection foundation.And splice meat
Although different fragments are through arranging, gluing and surface treatment, in meat lines and discontinuous in it, there is overall tomography,
Color and luster difference is larger, and water content is difficult unanimously, therefore can be determined whether to splice beef according to optical detecting method.
The present invention is the incident illumination irradiating sample being continually changing using light intensity, gradually greatly or is reduced in the intensity of incident illumination
Change procedure in, absorption of the different groups to respective wavelength light is gradually big or reduces, now at the degree of absorption of group
During unsaturation, saturation diminuendo, more detection informations are included in reflected light, so as to enable the detection signal for obtaining more
Accurately symbolize whether beef is splicing.
A kind of a kind of splicing beef detection method of the present embodiment, it is adaptable to above-mentioned splicing beef detecting system, including
Following steps:
S1:The beef sample that thickness is 4mm-5mm is prepared, beef sample is placed on sample tray, make beef sample
It is centrally located at the center of sample tray;
S2:The instruction that CPU is input into according to user by touch screen, control sample tray insertion user specify
Location hole;
S3:CPU is radiated at by the detection light that light source control module control radiation source sends certain light intensity
On beef sample, detection light intensity then drops to from maximum first from 0 according to ramping to maximum according to straight line
0, optical receiver collection reflected spectrum data Spect (t), the location hole institute that then central processing unit controls sample tray is inserted
The first motor work below locating piece, the first motor control locating piece rotates 30 degree, makes sample tray level
30 degree of rotation, optical receiver gathers the spectroscopic data of now radiation source point of irradiation, so control sample tray horizontal rotation 360
Degree, often horizontally rotates 30 degree of spectroscopic datas of detection that stop, so as to the spectrum for gathering 12 diverse locations on beef sample
Data Spect (t);
S4:Collect 12 spectroscopic datas Spect (t) are carried out same data processing by CPU, meter
12 signal to noise ratio eigenvalues are calculated, the data processing that each spectroscopic data Spect (t) is carried out is comprised the following steps:
Using input signalAs input matrix,
Under adiabatic approximation condition, it is assumed that signal amplitude minimum (A < < 1), bistable system is driving without enough energy
In the case of dynamic, Brownian movement particle is offset in the potential well of side, and the signal period is than the system relaxation time in some typical potential wells
That what is grown is more, and the now appearance of cyclic drive power makes potential function run-off the straight, ultimately results in Brownian movement particle from a gesture
To the transition of another potential well, therefore potential function V (x, t, α) cooperates with as one layer of accidental resonance model trap with input signal:
Wherein, V (x, t, α) is potential function, and x (t) is Brownian Particles movement locus function, and t is movement time,For periodic sinusoidal signal, N (t) grasps noise for interior, and A is signal amplitude, and f is signal frequency, and D is outer noise
Intensity, ξ (t) is outer noise,For phase place,
First derivatives of the V (x, t, α) for x (t), second dervative and three order derivatives are calculated, and makes equation be equal to 0, obtained
To two layers of accidental resonance model:
Setting noise intensity D=0,Spect (t)=0, N (t)=0 is calculated the marginal value of A
For Ac=4a3/(27b2α8), in A < AcIn the case of, Brownian movement particle is hovered in its home position or so, can not
The transition between two potential wells is realized, but particle is in the case where outer noise intervention is obtained, even A < AcIt also can be completed
Transition between potential well, here it is the generating process of accidental resonance, by AcIn substituting into one layer of accidental resonance model, and set x0(t)
=0, sn0=0, using quadravalence jade for asking rain Ge Kuta one layer of accidental resonance model of Algorithm for Solving, obtain:
Wherein, undetermined coefficient:
(k1)n=a (α xn-1(t))2b(αxn-1(t))3+snn-1 (4)
Wherein, xn(t) for x (t) n order derivatives, snnIt is value of the n order derivatives of S (t) at t=0, a, b are the normal of setting
Number,
It is calculated x1(t), x2(t)…xn+1The value of (t), to x1(t), x2(t)…xn+1T () is integrated and obtains x (t),
And obtain x (t) and produce resonance in the double-deck stochastic resonance system of one layer of accidental resonance model and two layers of accidental resonance model composition
The position x at momentmValue and xmMoment t1 corresponding with t1 acceleration of motion α 1 of corresponding resonance and corresponding with t1
Noise D1, D1 are a value in D,
By formulaIt is calculated signal to noise ratio eigenvalue
SNRFeature, wherein, Δ U=a2/4b;
S5:Calculate 12 signal to noise ratio eigenvalues are divided into into four groups, by SNRFeature 3、SNRFeature 6、SNRFeature 9、SNRFeature 12Point
For first group, by SNRFeature 2、SNRFeature 4、SNRFeature 7、SNRFeature 11It is divided into second group, by SNRFeature 1And SNRFeature 5It is divided into the 3rd group, will
SNRFeature 8And SNRFeature 10It is divided into the 4th group, and the signal to noise ratio meansigma methodss of calculating each group respectively, obtains SNRAverage 1、SNRAverage 2、
SNRAverage 3、SNRAverage 4,
Calculate error QE between each signal to noise ratio eigenvalue and the signal to noise ratio meansigma methodss of the group corresponding to itj, j=
1 ..., 12;
Statistics meets QEjNumber M of≤2% signal to noise ratio eigenvalue1, count and meet QEjThe signal to noise ratio eigenvalue of > 2%
Number M2;
S6:IfThen CPU judges that the beef sample is not splicing beef, ifThen CPU judges that the beef sample is splicing beef, step S3 is otherwise jumped to, to beef sample
Re-start detection.
Light intensity then drops to 0 detection from maximum first from 0 according to ramping to maximum according to straight line
Light is adapted to detect beef sample of the thickness for 4mm-5mm.In step S6, ifWithTwo formula are all
It is false, then can controls sample tray and insert the location hole adjacent with the location hole, then jumps to step S3 to beef sample
Product re-start detection.
Step S2 is comprised the following steps:
S21:The work of electromagnet of central processing unit controls first, sample tray is arrived by the first electromagnet suction action
At rectangular recess anteromedial surface, the first proximity switch sends trigger;
S22:CPU receives the trigger that the first proximity switch sends, and the first electric magnet of control stops work
Make, the 3rd work of electromagnet of the nearest location hole bottom of command range rectangular recess anteromedial surface, the 3rd electric magnet produces suction
Power, the positioning head of sample tray bottom is inserted the location hole by the suction of the 3rd electric magnet, and second in the location hole connects
Nearly switch sends trigger;
S23:CPU receives the trigger that the second proximity switch sends, and judgement sample pallet is positioned to
Work(, now the central point of sample tray is positioned at the underface of optical transceiver;
S24:CPU reads user and determines that sample tray needs determining for insertion by the instruction that touch screen is input into
Position hole site;
S25:Threeth electric magnet of the central processing unit controls apart from the nearest location hole bottom of rectangular recess anteromedial surface
Quit work, sample tray is floated by buoyancy, the positioning head of sample tray bottom leaves location hole;
S26:The electric magnet of central processing unit controls second and sample tray need the 3rd of the location hole bottom of insertion
Work of electromagnet, sample tray is moved to the location hole top for needing insertion, sample tray bottom by the effect of the second electromagnet suction
The positioning head in portion is inserted the location hole by the effect of the 3rd electromagnet suction, and the second proximity switch in the location hole sends triggering letter
Number.Photographic head gathers the image information of rectangular recess, and is sent to CPU, and CPU passes through image procossing
The positional information of sample tray is obtained, if sample tray is moved rearwards by excessively by the effect of the second electromagnet suction, moving to needs
The rear of the location hole to be inserted, CPU adjusts the position of sample tray by the first electric magnet and the second electric magnet
Put, make sample tray be maintained at the surface of the location hole for needing insertion.
In the present embodiment, QE is met through detectionjNumber M of≤2% signal to noise ratio eigenvalue1=11, statistics meets
QEjThe number of the signal to noise ratio eigenvalue of > 2% is M2=1,Judge that beef sample is not splicing beef.