The system and method that a kind of quick detection splices Carnis caprae seu ovis
Technical field
The present invention relates to technical field of food detection, more particularly to the system and method that a kind of quick detection splices Carnis caprae seu ovis.
Background technology
Carnis caprae seu ovis delicious flavour, it is nutritious, it is in good taste, it is first-class food materials.But due to its production cost it is higher, especially
High-grade mutton chop, it is expensive.And splice Carnis caprae seu ovis and be spliced by different size of fragment Carnis caprae seu ovis, not only mouthfeel is bad, and
Pollution can be also formed between the mutton chop of separate sources, food-safety problem is formed.
China Patent Publication No. CN103645155, in publication date on March 19th, 2014, the entitled fresh Carnis caprae seu ovis of invention are tender
The fast non-destructive detection method of degree, this application case disclose a kind of fast non-destructive detection method of fresh Carnis caprae seu ovis tenderness, and it will adopt
The near infrared spectrum data information of all fresh meat samples of collection is corresponded with tenderness chemical measurements and sets up sample sets, is pressed
Ratio is divided into calibration set and checking collection, carries out pretreatment to the spectroscopic data information for gathering using different preprocessing procedures
Afterwards, using the spectroscopic data information and tenderness chemical measurements of calibration set, set up the forecast model of fresh Carnis caprae seu ovis tenderness;Using testing
The precision of the spectroscopic data information, tenderness chemical measurements and model parameter valuation prediction models of card collection, it is determined that for fresh
The optimal near infrared spectrum data information preprocessing method of Carnis caprae seu ovis tenderness and optimum prediction model, using determination for fresh sheep
The optimal near infrared spectrum data information preprocessing method of meat tenderness degree and optimum prediction model, to the tender of fresh meat samples to be measured
Degree is detected.Its weak point is that the method can not detect whether Carnis caprae seu ovis are splicing Carnis caprae seu ovis.
The content of the invention
The purpose of the present invention is to overcome current Carnis caprae seu ovis detecting system detect whether Carnis caprae seu ovis are that the technology for splicing Carnis caprae seu ovis is asked
A kind of topic, there is provided the system and method that quick detection splices Carnis caprae seu ovis, its can quickly, simplicity, detect that Carnis caprae seu ovis are exactly
It is no for splice Carnis caprae seu ovis.
In order to solve the above problems, the present invention is employed the following technical solutions and is achieved:
The system that a kind of quick detection of the present invention splices Carnis caprae seu ovis, including controller and testing agency, the controller bag
CPU, touch screen and light source control module are included, the testing agency includes base, and the base is provided with detection
Platform, is provided with rectangular recess in the middle part of the monitor station, liquid is stored in the rectangular recess, and the liquid is provided with rounded
Sample tray, the front-end and back-end of the sample tray are respectively equipped with the first permanent magnet and the second permanent magnet, the sample tray
Bottom is provided with locating dowel, and the positioning column bottom is provided with positioning head, and the positioning head is made up of ferrimagnet, and the rectangle is recessed
The anteromedial surface of groove 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 electromagnetism
Ferrum, the bottom surface of the rectangular recess are provided with the first motor and several rotatable locating pieces, first motor
It is connected with locating piece by drive mechanism, the locating piece is provided with
Position hole, the location hole on described several locating pieces are arranged in a linear from front to back, and the location hole bottom is provided with the 3rd electromagnetism
Ferrum and the second proximity switch, are provided with optical transceiver above the sample tray, the optical transceiver includes that radiation source and light connect
Receive device, the CPU respectively with touch screen, light source control module, the first electric magnet, the second electric magnet, the 3rd electromagnetism
The electrical connection of ferrum, the first proximity switch, the second proximity switch, the first motor and optical receiver, the light source control module is also
Electrically connect with radiation source.
In the technical program, radiation source is Halogen light or generating laser.During detection, meat samples to be measured are placed
On sample tray, meat samples are made to be centrally located at the center of sample tray.
The first work of electromagnet of central processing unit controls, the first electric magnet produce suction, and first on sample tray is forever
Magnet is acted on by the first electromagnet suction, and sample tray is moved to the anteromedial surface of rectangular recess, 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 insertion 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 second electric magnet of central processing unit controls 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 is moved to the rear medial surface of rectangular recess.When sample tray is moved to be needed above the location hole of 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
Tangent cutve rises to maximum, then drops to 0 according to straight line from maximum.The reflective light intensity that optical receiver detection is received
Degree, and CPU is sent it to, CPU is carried out to detection data after respective handling, judges Carnis caprae seu ovis to be measured
Whether sample is splicing Carnis caprae seu ovis.
The principle of Carnis caprae seu ovis is spliced in optical detection:Continuous, orderliness is clear naturally, color and luster is unified, aqueous for the Carnis caprae seu ovis lines of monoblock
Amount it is close, therefore its with the reflection absorption spectrum signal of angle of incidence be 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 which, there is overall tomography,
Color and luster difference is larger, and water content is difficult unanimously, therefore can be determined whether to splice Carnis caprae seu ovis 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 Carnis caprae seu ovis are splicing.
Preferably, the drive mechanism includes being arranged on the travelling gear of each locating piece bottom, is arranged on the first drive
Travelling gear and the tooth bar engaged with travelling gear on dynamic machine shaft.During the rotating shaft rotating of the first motor, tooth
Bar is moved forward and backward, and travelling gear of all locating pieces in its bottom drives similarly hereinafter step to rotate.
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, are provided with inclined spigot surface at the top of the location hole.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 insertion location hole.
Preferably, the distance between described rectangular recess or so medial wall is matched 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 insertion location hole.
Preferably, the light source control module includes function memory and power amplifier, the function memory it is defeated
Enter end to electrically connect with CPU, the outfan of the function memory is electrically connected with the input of power amplifier, described
The outfan of power amplifier is electrically connected with radiation source.The function information that function memory storage CPU sends, 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 radius of the distance between position hole and rearmost location hole for sample tray.
The method that a kind of quick detection of the present invention splices Carnis caprae seu ovis, comprises the following steps:
S1:Lamellar meat samples are prepared, meat samples is placed on sample tray, is made meat samples be centrally located at sample
The center of product pallet;
S2:The instruction that CPU is input into by touch screen according to user, 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
In meat samples, detection light intensity first rises to maximum according to tangent cutve from 0, then from maximum according under straight line
0 is dropped to, optical receiver gathers reflected spectrum data Spect (t), then the work of the first motor of central processing unit controls,
First motor control locating piece rotates 30 degree, makes sample tray horizontally rotate 30 degree, and optical receiver gathers now irradiation light
The spectroscopic data of source point of irradiation, so control sample tray horizontally rotate 360 degree, often horizontally rotate 30 degree of detection once light that stop
Modal data, so as to spectroscopic data Spect (t) for gathering 12 diverse locations in meat samples;
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, potential function V (x, t,
α) cooperate with as one layer of accidental resonance model 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) are outer noises,For phase place,
V (x, t, α) is calculated for the first derivative of x (t), second dervative and three order derivatives, and makes equation 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
ForBy AcSubstitute in one layer of accidental resonance model, and set x0(t)=0, sn0=0, using quadravalence jade for asking rain lattice
Storehouse tower one layer of accidental resonance model of Algorithm for Solving, obtains:
Wherein, undetermined coefficient:
(k1)n=a (α xn-1(t))2-b(αxn-1(t))3+snn-1 (4)
Wherein, xnThe n order derivatives of (t) for x (t), 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 double-deck stochastic resonance system generation resonance of the x (t) in 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 calculates the signal to noise ratio meansigma methodss of 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 whichj, 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 meat samples are not splicing Carnis caprae seu ovis, ifThen CPU judges that the meat samples are splicing Carnis caprae seu ovis, otherwise jumps to step S3, to meat samples
Re-start detection.
Preferably, step S2 is comprised the following steps:
S21:The first work of electromagnet of central processing unit controls, sample tray are 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 are 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 second electric magnet of central processing unit controls and sample tray need the 3rd of the location hole bottom of insertion
Work of electromagnet, the positioning head of sample tray bottom insert 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 Carnis caprae seu ovis are splicing Carnis caprae seu ovis 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, function memory, 25, work(
Electric discharge road, 26, photographic head, 27, transverse link, 28, longitudinal rod, 29, screw mandrel, 30, support bar, 31, thread bush, 32, sleeve pipe,
33rd, the second proximity switch.
Specific embodiment
Below by embodiment, and accompanying drawing is combined, technical scheme is described in further detail.
Embodiment:The system that a kind of quick detection of the present embodiment splices Carnis caprae seu ovis, as shown in Figure 1, Figure 2, Figure 3, Figure 4, bag
Controller and testing agency are included, controller includes CPU 1, touch screen 2 and light source control module 3, testing agency's bag
Base 4 is included, base 4 is provided with monitor station 5, rectangular recess 6 is provided with the middle part of monitor station 5, in rectangular recess 6, liquid, liquid is stored
Body is provided with rounded sample tray 7, and the front-end and back-end of sample tray 7 are respectively equipped with the first permanent magnet and the second permanent magnetism
Body, 7 bottom of sample tray are provided with locating dowel 10, and 10 bottom of locating dowel is provided with positioning head 11, and positioning head 11 is by ferrimagnet system
Into the anteromedial surface of rectangular recess 6 is provided with the first electric magnet 12 and the first proximity switch 18, and the rear medial surface of rectangular recess 6 sets
The bottom surface for having the second electric magnet 13, rectangular recess 6 is provided with a motor 15 and seven rotatable locating pieces 14, and first drives
Galvanic electricity machine 15 is connected with locating piece 14 by drive mechanism, and locating piece 14 is provided with
The location hole 16 for freely rotating, the location hole 16 on seven locating pieces 14 are arranged in a linear from front to back, and 16 bottom of location hole sets
There are the 3rd electric magnet 17 and the second proximity switch 33, above sample tray 7, be provided with optical transceiver 19, optical transceiver 19 includes irradiation
Light source 20 and optical receiver 21, are additionally provided with the elevating mechanism 22 for driving optical transceiver 19 to move up and down on base 4.
As shown in fig. 6, light source control module 3 includes function memory 24 and power amplifier 25, also set above rectangular recess 6
Have photographic head 26, photographic head 26 is connected with elevating mechanism 22 by connector, 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, the first motor
15th, optical receiver 21, elevating mechanism 22, photographic head 26, function memory 24 input electrical connection, function memory 24 it is defeated
Go out end to electrically connect with the input of power amplifier 25, the outfan of power amplifier 25 is electrically connected with radiation source 20.
Elevating mechanism 22 includes that transverse link 27, longitudinal rod 28, screw mandrel 29, support bar 30 and drive screw 29 are rotated
The second motor, screw mandrel 29 and support bar 30 be vertically arranged on base 4, and 27 one end of transverse link is provided with and is set in screw mandrel
Thread bush 31 and the sleeve pipe 32 being set on support bar 30 on 29,27 other end of the transverse link 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.
Drive mechanism includes being arranged on the travelling gear of each 14 bottom of locating piece, is arranged on 15 rotating shaft of the first motor
On travelling gear and the tooth bar engaged with travelling gear.During the rotating shaft rotating of the first motor 15, move before and after tooth bar
Dynamic, travelling gear of seven locating pieces 14 in its bottom drives similarly hereinafter step to rotate.
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, inclined spigot surface 23 is respectively arranged on the left side and the right side at the top of location hole 16.Location hole
16 are arranged along direction from front to back, and the spigot surface 23 of the 16 top left and right sides of location hole play the guiding role, and are easy to positioning head 11 to insert
Enter location hole 16.
The distance between 6 or so medial wall of rectangular recess is matched with the diameter of sample tray 7.In rectangular recess 6 or so
The distance between side wall 1cm 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 the insertion location hole 16 of positioning head 11.
Optical transceiver 19 is being located at just apart from the nearest location hole 16 of 6 anteromedial surface of rectangular recess on 6 bottom surface of rectangular recess
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 6 anteromedial surface of rectangular recess
The radius of the distance between hole 16 and rearmost location hole 16 for sample tray 7.
The annular sidewall that sample tray 7 is included rounded chassis and is connected with chassis outer rim, the first permanent magnet and
Two permanent magnets are embedded in the front-end and back-end of annular sidewall respectively, and tray bottom is provided with downwardly projecting projection, and projection is in spherical crown
Shape, locating dowel 10 are 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 meat samples to be measured, and annular sidewall can prevent liquid from splashing in the meat samples to be measured on chassis.
The function information that the storage of function memory 24 CPU 1 sends, and by the control irradiation of power amplifier 25
Light source 20 sends the detection light of varying strength.Photographic head 26 gathers the image information of rectangular recess 6, and it is single to be sent to centre reason
Unit 1, CPU 1 obtains the positional information of sample tray 7 by image procossing, enters when sample tray 7 is moved forward and backward
Row monitoring, if sample tray 7 does not move to the surface of the location hole 16 for needing insertion, CPU 1 is by the
One electric magnet 12 and the second electric magnet 13 adjust the position of sample tray 7, are easy to CPU 1 more accurately to adjust sample
The position of pallet 7.Radiation source 20 is Halogen light.
During detection, meat samples to be measured are placed on sample tray 7, make meat samples 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 12 suction of the first electric magnet, and sample tray 7 is moved to the anteromedial surface of rectangular recess 6, while first
Permanent magnet is calibrated the position of positioning head 11, it is ensured that positioning head 11 is inserted into positioning by suction just to the first electric magnet 12
Hole 16.The distance between 6 or so medial wall of rectangular recess 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 the insertion location hole 16 of positioning head 11.Work as sample
When product pallet 7 is contacted with 6 anteromedial surface of rectangular recess, (now, positioning head 11 is positioned at nearest apart from 6 anteromedial surface of rectangular recess
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 6 anteromedial surface of command range rectangular recess is nearest to be determined
3rd electric magnet 17 of position 16 bottom of hole works, and the 3rd electric magnet 17 produces suction, and the positioning head 11 of 7 bottom of sample tray 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 16 position of location hole of insertion by touch screen 2.CPU 1 is controlled
Threeth electric magnet 17 of the system apart from nearest 16 bottom of location hole of 6 anteromedial surface of rectangular recess quits work, and sample tray 7 is by floating
Power effect floats, and the positioning head 11 of 7 bottom of sample tray leaves location hole 16.CPU 1 controls the second electric magnet 13
And sample tray 7 needs the 3rd electric magnet 17 of 16 bottom of location hole of insertion to work, the second permanent magnet on sample tray 7
By 13 suction of the second electric magnet, sample tray 7 is moved to the rear medial surface of rectangular recess 6.Need when sample tray 7 is moved to
During 16 top of location hole to be inserted, the positioning head 11 below sample tray 7 receives 13 suction of the 3rd electric magnet, 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 maximum is risen to according to tangent cutve from 0, then drop to 0 according to straight line from maximum, as shown in Figure 7.Optical receiver
The intensity of reflected light curve that 21 detections are received, and CPU 1 is sent it to, 1 pair of detection number of CPU
According to carrying out after respective handling, judge whether meat samples to be measured are splicing Carnis caprae seu ovis.
The principle of Carnis caprae seu ovis is spliced in optical detection:Continuous, orderliness is clear naturally, color and luster is unified, aqueous for the Carnis caprae seu ovis lines of monoblock
Amount it is close, therefore its with the reflection absorption spectrum signal of angle of incidence be 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 which, there is overall tomography,
Color and luster difference is larger, and water content is difficult unanimously, therefore can be determined whether to splice Carnis caprae seu ovis 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 Carnis caprae seu ovis are splicing.
A kind of method that a kind of quick detection of the present embodiment splices Carnis caprae seu ovis, it is adaptable to above-mentioned quick detection splicing Carnis caprae seu ovis
System, comprise the following steps:
S1:The meat samples that thickness is 3mm-4mm are prepared, meat samples are placed on sample tray, meat samples are made
It is centrally located at the center of sample tray;
S2:The instruction that CPU is input into by touch screen according to user, 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
In meat samples, detection light intensity first rises to maximum according to tangent cutve from 0, then from maximum according under straight line
0 is dropped to, optical receiver gathers reflected spectrum data Spect (t), then the work of the first motor of central processing unit controls,
First motor control locating piece rotates 30 degree, makes sample tray horizontally rotate 30 degree, and optical receiver gathers now irradiation light
The spectroscopic data of source point of irradiation, so control sample tray horizontally rotate 360 degree, often horizontally rotate 30 degree of detection once light that stop
Modal data, so as to spectroscopic data Spect (t) for gathering 12 diverse locations in meat samples;
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 driven in no 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
To be 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
Transition of the trap to another potential well, therefore potential function V (x, t, α) and input signal collaboration are 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 making an uproar
Sound intensity, ξ (t) are outer noises,For phase place,
V (x, t, α) is calculated for the first derivative of x (t), second dervative and three order derivatives, and makes equation 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
ForIn A < AcIn the case of, Brownian movement particle is hovered in its home position or so, can not be real
Transition between existing two potential wells, but particle is in the case where outer noise intervention is obtained, even A < AcWhich can also complete gesture
Transition between trap, here it is the generating process of accidental resonance, by AcSubstitute in 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))2-b(αxn-1(t))3+snn-1 (4)
Wherein, xnThe n order derivatives of (t) for x (t), 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 double-deck stochastic resonance system generation resonance of the x (t) in 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 calculates the signal to noise ratio meansigma methodss of 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 whichj, 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 meat samples are not splicing Carnis caprae seu ovis, ifThen CPU judges that the meat samples are splicing Carnis caprae seu ovis, otherwise jumps to step S3, to meat samples
Re-start detection.
Light intensity first rises to maximum according to tangent cutve from 0, then drops to 0 according to straight line from maximum
Detection light is adapted to detect meat samples of the thickness for 3mm-4mm.
In step S6, ifWithTwo formula are all false, then can control sample tray
The insertion location hole adjacent with the location hole, then jumps to step S3 and meat samples is re-started with detection.
Step S2 is comprised the following steps:
S21:The first work of electromagnet of central processing unit controls, sample tray are 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 are 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 second electric magnet of central processing unit controls and sample tray need the 3rd of the location hole bottom of insertion
Work of electromagnet, sample tray is moved to by the effect of the second electromagnet suction to be needed above the location hole of insertion, sample tray bottom
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 location hole to be inserted, CPU passes through the first electric magnet and the second electric magnet adjusts the position of sample tray
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 meat samples are not splicing sheep
Meat.