Special detection device and detection method for quick-frozen food
The technical field is as follows:
the invention relates to a special detection device for quick-frozen food and a detection method thereof.
Background art:
food refers to various finished products and raw materials for people to eat or drink and the products which are food and traditional Chinese medicinal materials according to the tradition, but do not include the products for treating; from the standpoint of food hygiene legislation and management, the broad food concept also involves: raw materials of produced food, planting of food raw materials, substances and environment contacted in the breeding process, additive substances of food, packaging materials of all directly or indirectly contacted food, facilities and environment influencing the original quality of food.
Among various types of food, the quick-frozen food is an important branch, and the quick-frozen food is various main foods which are prepared by processing rice, flour, coarse cereals and the like serving as main raw materials and meat, vegetables and the like serving as auxiliary materials into various cooked or uncooked main foods, are immediately prepared by a quick-freezing process and can be transported, stored and sold under freezing conditions, such as quick-frozen steamed stuffed buns, quick-frozen dumplings, quick-frozen glue puddings, quick-frozen steamed buns, steamed rolls, spring rolls and the like; the quick-frozen food is processed at a low temperature (below-18 ℃), water and juice in food tissues can not be lost, and microorganisms can not be basically propagated at the low temperature, so that the safety of the food is ensured; generally, the quality of quick-frozen food is higher than that of slow-frozen food, and the quick freezing can well avoid the adverse effect on the frozen food caused by the growth of ice crystals in the freezing process, so that the taste and nutrition of the food are influenced, and no preservative or additive is needed.
Before the quick-frozen food leaves a factory, the quality of the quick-frozen food needs to be detected, the existing detection device usually detects a corresponding state parameter of the quick-frozen food at a detection time node, and the quality of the quick-frozen food is fed back through the detected state parameter; because the acquired state parameters have fewer types, detection errors and deviations are easy to occur, and the quality of the speed food cannot be accurately confirmed; in addition, the existing detection algorithm is only used for comparing the difference between the standard value and the standard value, the reliability of the result obtained by detection is poor, the workload of comparing the standard value and the standard value one by one is large, and the efficiency is low.
The invention content is as follows:
the embodiment of the invention provides a special detection device for quick-frozen food and a detection method thereof, the structure and the method are reasonable in design, various state parameters of the quick-frozen food can be detected in a plurality of detection periods to judge the compactness and the freezing condition of the surface of the quick-frozen food, so that the quality of the quick-frozen food can be quickly and accurately confirmed, the operation is simple, convenient and efficient, errors or deviations generated in the detection process can be effectively avoided, the obtained detection result is accurate and reliable, safety and practicability are realized, and the problems in the prior art are solved.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a special detection device for quick-frozen food comprises a base body, wherein a plurality of detection grooves are formed in the base body at equal intervals and are used for detecting the quick-frozen food; a servo motor with an upward output shaft is arranged in the base body of each detection groove, detection discs are arranged on the output shafts of the servo motors respectively, an arc-shaped groove is arranged in each detection disc respectively, and the arc-shaped grooves are used for placing quick-frozen foods to be detected; a plurality of linear push rods arranged upwards are arranged on the base body, and the linear push rods are respectively arranged on the base body between two adjacent detection grooves; the base body is connected with an umbrella-shaped shield through a linear push rod, and a plurality of temperature sensors, humidity sensors and pressure sensors are respectively arranged at the bottom of the shield corresponding to the detection grooves; be equipped with the controller on the base member, the controller passes through AD converter and temperature sensor, humidity transducer and pressure sensor difference electrical connection, and it has time-recorder and audible-visual annunciator still to electrically connect on the controller, the time-recorder is used for setting for the detection cycle, the controller is connected with the host computer through wireless transceiver to will detect the parameter transmission to the host computer.
The arc-shaped grooves are respectively provided with a rubber cushion and a limiting column.
The two sides of the base body are respectively provided with an anti-slip groove, and the bottom of the base body is provided with a cushion pad.
The umbrella-shaped shield is an anti-static shield.
The model of controller is STM32F103C8T6, is equipped with 64 pins on the controller, the controller links to each other with the time-recorder through ten numbers pin, the controller links to each other with the AD converter through sixteen numbers pin, the controller links to each other with audible-visual annunciator through twenty-three numbers pin and twenty-four numbers pin, the controller links to each other with wireless transceiver through thirty-eight numbers pin and thirty-nine numbers pin.
The model of the timer is 555 timers, is equipped with 8 pins on the 555 timers, the 555 timers links to each other with the ten number pin of controller through No. three pins.
The type of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with a sixteen pin of the controller through a six pin; the type of the temperature sensor is SHT20, 4 pins are arranged on the temperature sensor, a second pin of the temperature sensor is connected with a third pin of the AD converter, and the third pin of the temperature sensor is connected with the second pin of the AD converter; the type of the humidity sensor is KZWS-01, 3 pins are arranged on the humidity sensor, a second pin of the humidity sensor is connected with a third pin of the AD converter, and the third pin of the humidity sensor is connected with the second pin of the AD converter; the pressure sensor is of the type MIK-P300 and is connected with a third pin of the AD converter.
The model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, a fourth pin of the wireless transceiver is connected with a thirty-nine pin of the controller, and an eighth pin of the wireless transceiver is connected with a thirty-eight pin of the controller.
The audible and visual alarm comprises a first relay and a second relay, wherein the first relay is connected with a twenty-third pin of the controller, and the second relay is connected with a twenty-fourth pin of the controller; the first relay is connected with an indicator light, and the second relay is connected with a loudspeaker.
A special detection method for quick-frozen food comprises the following steps:
s1, the controller sets multiple detection periods T through the timer1、T2、……、Tn;
S2, in the detecting period T1Internal acquisition of temperature detection parameter t1Humidity detection parameter s1And a pressure detection parameter p1(ii) a In the detection period T2Internal acquisition of temperature detection parameter t2Humidity detection parameter s2And a pressure detection parameter p2(ii) a … …: in the detection period TnInternal acquisition of temperature detection parameter tnHumidity detection parameter snAnd a pressure detection parameter pn;
S3, calculating the average value t of the temperature detection parameters△=(t1+t2+……+tn) N, average value of humidity detection parameter s△=(s1+s2+……+sn) N, mean value p of pressure detection parameters△=(p1+p2+……+pn)/n;
S4, randomly selecting 3 detection periods in the detection period and recording the detection period as Ta1、Ta2And Ta3Respectively acquiring the temperature detection parameter ta corresponding to each detection period1、ta2And ta3Humidity detection parameter sa1、sa2And sa3Pressure detection parameter pa1、pa2And pa3;
S5, calculating the correlation coefficient D of the temperature detection parameters respectivelytCorrelation coefficient D of humidity detection parametersCorrelation coefficient D with pressure detection parameterpWherein:
Dt=3(|ta1-t△|*Ta1+|ta2-t△|*Ta2+|ta3-t△|*Ta3)/(Ta1+Ta2+Ta3)*t△
Ds=3(|sa1-s△|*Ta1+|sa2-s△|*Ta2+|sa3-s△|*Ta3)/(Ta1+Ta2+Ta3)*s△
Dp=3(|pa1-p△|*Ta1+|pa2-p△|*Ta2+|pa3-p△|*Ta3)/(Ta1+Ta2+Ta3)*p△
s6, calculating the correlation coefficient D of the temperature detection parameterstCorrelation coefficient D of humidity detection parametersCorrelation coefficient D with pressure detection parameterpAnd (4) evaluating, and when the coefficients are all in the (0.1, 0.3) interval, indicating that the quality of the quick-frozen food is qualified.
By adopting the structure, a plurality of groups of quick-frozen foods of different types can be placed at the same time for detection through the arrangement of the detection grooves on the base body, so that the detection efficiency is improved, and the detection time is saved; the quality of the quick-frozen food is quickly and accurately confirmed by adopting a multi-type sensor to detect multi-type state parameters of the quick-frozen food; the arc-shaped groove can be suitable for quick-frozen foods of different types by the rubber pad and the limiting column in the arc-shaped groove; the device is convenient to integrally move to a designated position for detection through the anti-skid groove and the buffer pad on the base body; the distance between the sensor and the detection groove is adjusted through the linear push rod to facilitate detection, and the detection disc is driven to rotate through the servo motor to detect the quick-frozen food at multiple angles; the umbrella-shaped shield can increase the protection area and eliminate electrostatic interference, and has the advantages of high efficiency, accuracy, reliability and practicability.
Description of the drawings:
FIG. 1 is a schematic structural diagram of the present invention.
Fig. 2 is a schematic structural diagram of the detection disk of the present invention.
FIG. 3 is a schematic diagram of the structure of the servo motor and the detection disk of the present invention.
Fig. 4 is a control schematic of the present invention.
Fig. 5 is an electrical schematic of the controller of the present invention.
Fig. 6 is an electrical schematic of the timepiece of the invention.
Fig. 7 is an electrical schematic diagram of the wireless transceiver of the present invention.
Fig. 8 is an electrical schematic diagram of the audible and visual alarm of the present invention.
Fig. 9 is an electrical schematic diagram of the AD converter of the present invention.
Fig. 10 is an electrical schematic of the temperature sensor of the present invention.
FIG. 11 is an electrical schematic of the humidity sensor of the present invention.
Fig. 12 is an electrical schematic of the pressure sensor of the present invention.
In the figure, the device comprises a base body 1, a detection groove 2, a servo motor 3, a detection disc 4, an arc-shaped groove 5, a linear push rod 6, a protective cover 7, a protective cover 8, a temperature sensor 9, a humidity sensor 10, a pressure sensor 11, a rubber cushion 12, a limiting column 13, an anti-skid groove 14 and a buffer cushion.
The specific implementation mode is as follows:
in order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings.
As shown in fig. 1-12, a special detection device for quick-frozen food comprises a base body 1, wherein a plurality of detection grooves 2 are arranged on the base body 1 at equal intervals, and the detection grooves 2 are used for detecting the quick-frozen food; a servo motor 3 with an upward output shaft is arranged in the base body 1 of each detection groove 2, detection plates 4 are arranged on the output shafts of the servo motors 3, an arc-shaped groove 5 is arranged in each detection plate 4, and the arc-shaped grooves 5 are used for placing quick-frozen foods to be detected; a plurality of linear push rods 6 arranged upwards are arranged on the base body 1, and the linear push rods 6 are respectively arranged on the base body 1 between two adjacent detection grooves 2; the base body 1 is connected with an umbrella-shaped shield 7 through a linear push rod 6, and a plurality of temperature sensors 8, humidity sensors 9 and pressure sensors 10 are respectively arranged at the bottom of the shield 7 corresponding to the detection grooves 2; be equipped with the controller on base member 1, the controller passes through AD converter and temperature sensor 8, humidity transducer 9 and pressure sensor 10 difference electrical connection, and it has time-recorder and audible-visual annunciator still to electrically connect on the controller, the time-recorder is used for setting for the detection cycle, the controller is connected with the host computer through wireless transceiver to with detecting parameter transmission to the host computer.
The arc-shaped grooves 5 are respectively provided with a rubber cushion 11 and a limiting column 12.
The two sides of the base body 1 are respectively provided with an antiskid groove 13, and the bottom of the base body 1 is provided with a buffer 14.
The umbrella-shaped shield 7 is an anti-static shield.
The model of controller is STM32F103C8T6, is equipped with 64 pins on the controller, the controller links to each other with the time-recorder through ten numbers pin, the controller links to each other with the AD converter through sixteen numbers pin, the controller links to each other with audible-visual annunciator through twenty-three numbers pin and twenty-four numbers pin, the controller links to each other with wireless transceiver through thirty-eight numbers pin and thirty-nine numbers pin.
The model of the timer is 555 timers, is equipped with 8 pins on the 555 timers, the 555 timers links to each other with the ten number pin of controller through No. three pins.
The type of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with a sixteen pin of the controller through a six pin; the type of the temperature sensor 8 is SHT20, 4 pins are arranged on the temperature sensor 8, a second pin of the temperature sensor 8 is connected with a third pin of the AD converter, and the third pin of the temperature sensor 8 is connected with the second pin of the AD converter; the type of the humidity sensor 9 is KZWS-01, 3 pins are arranged on the humidity sensor 9, a second pin of the humidity sensor 9 is connected with a third pin of the AD converter, and the third pin of the humidity sensor 9 is connected with the second pin of the AD converter; the model of the pressure sensor 10 is MIK-P300, and the pressure sensor 10 is connected with a third pin of the AD converter.
The model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, a fourth pin of the wireless transceiver is connected with a thirty-nine pin of the controller, and an eighth pin of the wireless transceiver is connected with a thirty-eight pin of the controller.
The audible and visual alarm comprises a first relay and a second relay, wherein the first relay is connected with a twenty-third pin of the controller, and the second relay is connected with a twenty-fourth pin of the controller; the first relay is connected with an indicator light, and the second relay is connected with a loudspeaker.
A special detection method for quick-frozen food comprises the following steps:
s1, the controller sets multiple detection periods T through the timer1、T2、……、Tn;
S2, in the detecting period T1Internal acquisition of temperature detection parameter t1Humidity detectionParameter s1And a pressure detection parameter p1(ii) a In the detection period T2Internal acquisition of temperature detection parameter t2Humidity detection parameter s2And a pressure detection parameter p2(ii) a … …: in the detection period TnInternal acquisition of temperature detection parameter tnHumidity detection parameter snAnd a pressure detection parameter pn;
S3, calculating the average value t of the temperature detection parameters△=(t1+t2+……+tn) N, average value of humidity detection parameter s△=(s1+s2+……+sn) N, mean value p of pressure detection parameters△=(p1+p2+……+pn)/n;
S4, randomly selecting 3 detection periods in the detection period and recording the detection period as Ta1、Ta2And Ta3Respectively acquiring the temperature detection parameter ta corresponding to each detection period1、ta2And ta3Humidity detection parameter sa1、sa2And sa3Pressure detection parameter pa1、pa2And pa3;
S5, calculating the correlation coefficient D of the temperature detection parameters respectivelytCorrelation coefficient D of humidity detection parametersCorrelation coefficient D with pressure detection parameterpWherein:
Dt=3(|ta1-t△|*Ta1+|ta2-t△|*Ta2+|ta3-t△|*Ta3)/(Ta1+Ta2+Ta3)*t△
Ds=3(|sa1-s△|*Ta1+|sa2-s△|*Ta2+|sa3-s△|*Ta3)/(Ta1+Ta2+Ta3)*s△
Dp=3(|pa1-p△|*Ta1+|pa2-p△|*Ta2+|pa3-p△|*Ta3)/(Ta1+Ta2+Ta3)*p△
s6, calculating the correlation coefficient D of the temperature detection parameterstCorrelation coefficient D of humidity detection parametersCorrelation coefficient D with pressure detection parameterpAnd (4) evaluating, and when the coefficients are all in the (0.1, 0.3) interval, indicating that the quality of the quick-frozen food is qualified.
The working principle of the special detection device and the detection method for the quick-frozen food in the embodiment of the invention is as follows: the structure that integrated control and mechanical component combined together based on the singlechip can detect the polymorphic type state parameter of quick-frozen food in a plurality of detection cycles, judges the degree of compaction and the situation of freezing on quick-frozen food surface to quick accurate quality of confirming quick-frozen food, easy and simple to handle high-efficient can effectively avoid producing mistake or deviation in the testing process, guarantees that the testing result that obtains is accurate reliable, and is safe practical, can be applicable to the speed food of different grade type.
In the whole scheme, a single chip microcomputer STM32F103C8T6 is used as a core component, 64 pins are arranged on a controller, the controller is connected with a timer through a No. ten pin, the controller is connected with an AD converter through a No. sixteen pin, the controller is connected with an audible and visual alarm through a No. twenty-three pin and a No. twenty-four pin, and the controller is connected with a wireless transceiver through a No. thirty-eight pin and a No. thirty-nine pin; the type of the timer is 555 timer, 8 pins are arranged on the 555 timer, and the 555 timer is connected with a No. ten pin of the controller through a No. three pin; the type of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with a sixteen pin of the controller through a six pin; the model of the temperature sensor 8 is SHT20, 4 pins are arranged on the temperature sensor 8, the second pin of the temperature sensor 8 is connected with the third pin of the AD converter, and the third pin of the temperature sensor 8 is connected with the second pin of the AD converter; the type of the humidity sensor 9 is KZWS-01, 3 pins are arranged on the humidity sensor 9, a second pin of the humidity sensor 9 is connected with a third pin of the AD converter, and the third pin of the humidity sensor 9 is connected with the second pin of the AD converter; the model of the pressure sensor 10 is MIK-P300, and the pressure sensor 10 is connected with a third pin of the AD converter; the model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, a fourth pin of the wireless transceiver is connected with a thirty-nine pin of the controller, and an eighth pin of the wireless transceiver is connected with a thirty-eight pin of the controller; the audible and visual alarm comprises a first relay and a second relay, wherein the first relay is connected with a twenty-third pin of the controller, and the second relay is connected with a twenty-fourth pin of the controller; the first relay is connected with an indicator light, and the second relay is connected with a loudspeaker; therefore, an integral electrical hardware structure is formed, actions of mechanical components are adjusted by relying on the electrical hardware structure, and the quick-frozen food multi-type state parameters are detected by matching with multi-type sensors.
In the process of obtaining detection parameters, firstly, quick-frozen foods to be detected are placed in the detection grooves 2, the number of the detection grooves 2 is multiple, the detection grooves are arranged on the base body 1 at equal intervals, and the quick-frozen foods can be suitable for quick-frozen foods of various types; the linear push rod 6 drives the shield 7 to descend, and the temperature sensor 8, the humidity sensor 9 and the pressure sensor 10 at the bottom of the shield 7 detect multiple state parameters of the quick-frozen food to judge the compaction degree and the freezing condition of the surface of the quick-frozen food, so that the quality of the quick-frozen food is quickly and accurately confirmed; every detects servo motor 3 that is equipped with the output shaft and upwards sets up in the recess 2 respectively correspondingly, is equipped with detection dish 4 on servo motor 3's output shaft respectively, is equipped with arc wall 5 in every detection dish 4 respectively, and arc wall 5 is used for placing the quick-frozen food who waits to detect, and the cushion 11 and spacing post 12 in the cooperation arc wall 5 can be applicable to the quick-frozen food of different grade type, also can prevent that quick-frozen food from droing from arc wall 5.
In the testing process, can also drive through servo motor 3 and detect 4 rotations of dish to carry out the detection of a plurality of angles to quick-freeze food, eliminate the detection error, acquire more accurate detection data.
Before detection, a plurality of detection periods are set through a timer, corresponding temperature detection parameters, humidity detection parameters and pressure detection parameters are obtained in each detection period, and then average values of the temperature detection parameters, the humidity detection parameters and the pressure detection parameters are calculated respectively.
And (3) selecting 3 detection periods at will, recording corresponding temperature detection parameters, humidity detection parameters and pressure detection parameters, calculating corresponding correlation coefficients respectively through a formula, and finally evaluating the correlation coefficients to judge whether the quality of the quick-frozen food is qualified.
In summary, the detection device and the detection method for the quick-frozen food in the embodiments of the present invention are based on a structure in which integrated control of a single chip microcomputer and a mechanical assembly are combined, and can detect various types of state parameters of the quick-frozen food in a plurality of detection periods to determine the degree of compaction and the freezing condition of the surface of the quick-frozen food, so as to quickly and accurately determine the quality of the quick-frozen food, have simple, convenient and efficient operation, can effectively avoid errors or deviations generated in the detection process, ensure that the obtained detection result is accurate and reliable, safe and practical, and can be suitable for different types of speed foods.
The above-described embodiments should not be construed as limiting the scope of the invention, and any alternative modifications or alterations to the embodiments of the present invention will be apparent to those skilled in the art.
The present invention is not described in detail, but is known to those skilled in the art.