Special detection device for quick-frozen food and detection method thereof
Technical field:
the invention relates to a special detection device for quick-frozen foods and a detection method thereof.
The background technology is as follows:
food refers to various finished products and raw materials for human consumption or drinking and articles which are traditional Chinese medicinal materials and are not used for treatment; from the perspective of food sanitation legislation and management, the broad food concept also relates to: the raw materials of the produced food, the materials and the environment contacted during the planting and breeding processes of the food, the added materials of the food, all the packaging materials directly or indirectly contacted with the food, facilities and the environment affecting the original quality of the food.
Among various foods, quick-frozen foods are an important branch, and are various main foods which are prepared by adopting quick-freezing technology and can be transported, stored and sold under the freezing condition after being processed into various cooked or uncooked main foods by taking rice, flour, coarse cereals and the like as main raw materials and meat, vegetables and the like as auxiliary materials, such as quick-frozen steamed stuffed bun, quick-frozen dumpling, quick-frozen rice dumpling, quick-frozen steamed bread, steamed roll, spring roll and the like; the quick-frozen food is quick-frozen food processed at a rapid low temperature (-below 18 ℃), water and juice in food tissues cannot be lost, microorganisms cannot be basically propagated at the low temperature, and the safety of the food is ensured; generally, the quality of the quick-frozen food is always higher than that of the slow-frozen food, and the quick-frozen food can well avoid adverse effects 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 affected, and therefore, no preservative or additive is needed to be added.
Before the quick-frozen food leaves the factory, the quality of the quick-frozen food is required to be detected, but the existing detection device only 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 types of the acquired state parameters are less, detection errors and deviation are easy to occur, and the quality of the speed food cannot be accurately confirmed; moreover, the existing detection algorithm is often only used for comparing the difference between the standard value and the standard value, the reliability of the detection result is poor, the one-to-one comparison workload is large, and the efficiency is low.
The invention comprises the following steps:
the embodiment of the invention provides a special detection device for quick-frozen foods and a detection method thereof, which are reasonable in structure and method design, and can detect multiple types of state parameters of quick-frozen foods in multiple detection periods to judge the compaction degree and freezing condition of the surfaces of the quick-frozen foods, so that the quality of the quick-frozen foods is rapidly and accurately confirmed, the operation is simple and efficient, errors or deviations in the detection process can be effectively avoided, the obtained detection result is ensured to be accurate and reliable, and the detection device is safe and practical, and solves the problems in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
the special detection device for the quick-frozen food comprises a substrate, wherein a plurality of detection grooves are formed in the substrate at equal intervals, and the detection grooves are used for detecting the quick-frozen food; the base body of each detection groove is respectively provided with a servo motor with an upward output shaft, the output shafts of the servo motors are respectively provided with a detection disc, each detection disc is respectively provided with an arc-shaped groove, and the arc-shaped grooves are used for placing quick-frozen foods to be detected; a plurality of linear push rods with upward output rods 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; the controller is arranged on the substrate, the controller is respectively and electrically connected with the temperature sensor, the humidity sensor and the pressure sensor through the AD converter, the controller is also electrically connected with a timer and an audible-visual annunciator, the timer is used for setting a detection period, and the controller is connected with an upper computer through a wireless transceiver so as to transmit detection parameters to the upper computer.
The arc-shaped groove is internally provided with a rubber cushion and a limiting column respectively.
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 buffer cushion.
The umbrella-shaped shield is an anti-static shield.
The model of the controller is STM32F103C8T6, 64 pins are arranged on the controller, the controller is connected with the timer through a tenth pin, the controller is connected with the AD converter through a sixteen pin, the controller is connected with the audible-visual annunciator through a twenty-third pin and a twenty-fourth pin, and the controller is connected with the wireless transceiver through a thirty-eighth pin and a thirty-ninth pin.
The model of the timer is 555 timer, 8 pins are arranged on the 555 timer, and the 555 timer is connected with a tenth pin of the controller through a third pin.
The model of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with sixteen pins of the controller through six pins; the model of the temperature sensor is SHT20, 4 pins are arranged on the temperature sensor, the second pin of the temperature sensor is connected with the 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 model of the humidity sensor is KZWS-01, 3 pins are arranged on the humidity sensor, the second pin of the humidity sensor is connected with the 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 model of the pressure sensor is MIK-P300, and the pressure sensor is connected with a pin III of the AD converter.
The model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, the fourth pin of the wireless transceiver is connected with the thirty-ninth pin of the controller, and the eighth pin of the wireless transceiver is connected with the thirty-eighth 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; an indicator light is connected to the first relay, and a loudspeaker is connected to the second relay.
A special detection method for quick-frozen foods comprises the following steps:
s1, a controller sets a plurality of detection periods T through a timer 1 、T 2 、……、T n ;
S2, in the detection period T 1 Internal acquisition temperature detection parameter t 1 Humidity detection parameter s 1 And a pressure detection parameter p 1 The method comprises the steps of carrying out a first treatment on the surface of the In the detection period T 2 Internal acquisition temperature detection parameter t 2 Humidity detection parameter s 2 And a pressure detection parameter p 2 The method comprises the steps of carrying out a first treatment on the surface of the … …: in the detection period T n Internal acquisition temperature detection parameter t n Humidity detection parameter s n And a pressure detection parameter p n ;
S3, calculating an average value t of the temperature detection parameters △ =(t 1 +t 2 +……+t n ) N, mean value s of humidity detection parameters △ =(s 1 +s 2 +……+s n ) N, average value p of pressure detection parameters △ =(p 1 +p 2 +……+p n )/n;
S4, selecting 3 detection periods at will in the detection period, and recording as Ta 1 、Ta 2 And Ta 3 Respectively acquiring a temperature detection parameter ta corresponding to each detection period 1 、ta 2 Sum ta 3 Humidity detection parameter sa 1 、sa 2 And sa 3 Pressure detection parameter pa 1 、pa 2 And pa 3 ;
S5, calculating correlation coefficients D of the temperature detection parameters respectively t Correlation coefficient D of humidity detection parameter s Correlation coefficient D with pressure detection parameter p Wherein:
D t =3(|t a1 -t △ |*Ta 1 +|t a2 -t △ |*Ta 2 +|t a3 -t △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*t △
D s =3(|s a1 -s △ |*Ta 1 +|s a2 -s △ |*Ta 2 +|s a3 -s △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*s △
D p =3(|p a1 -p △ |*Ta 1 +|p a2 -p △ |*Ta 2 +|p a3 -p △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*p △
s6, calculating a correlation coefficient D of the temperature detection parameter t Correlation coefficient D of humidity detection parameter s Correlation coefficient D with pressure detection parameter p And (3) evaluating, wherein when the coefficients are in the (0.1, 0.3) interval, the quality of the quick-frozen food is qualified.
By adopting the structure, a plurality of groups of quick-frozen foods with different types can be simultaneously placed for detection through the arrangement of the detection grooves on the substrate, so that the detection efficiency is improved, and the detection time is saved; the quality of the quick-frozen food is rapidly and accurately confirmed by adopting the multi-type sensor to detect the multi-type state parameters of the quick-frozen food; the rubber cushion and the limiting column in the arc-shaped groove ensure that the arc-shaped groove can be suitable for quick-frozen foods of different types; the anti-skid grooves and the buffer pads on the base body are used for facilitating the detection of the overall movement appointed position of the device; the distance between the sensor and the detection groove is adjusted through the linear push rod so as to facilitate detection, and the detection disc is driven to rotate through the servo motor so as to detect a plurality of angles of the quick-frozen food; through umbrella form guard shield can increase the protection area to can also eliminate electrostatic interference, have high-efficient accurate, reliable practical advantage.
Description of the drawings:
fig. 1 is a schematic structural view of the present invention.
Fig. 2 is a schematic structural view of the test disc of the present invention.
Fig. 3 is a schematic structural view 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 timer of the present invention.
Fig. 7 is an electrical schematic diagram of a wireless transceiver of the present invention.
Fig. 8 is an electrical schematic diagram of an 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 diagram of the temperature sensor of the present invention.
Fig. 11 is an electrical schematic diagram 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, 1, the base member, 2, detect the recess, 3, servo motor, 4, detect the dish, 5, arc groove, 6, sharp push rod, 7, guard shield, 8, temperature sensor, 9, humidity transducer, 10, pressure sensor, 11, cushion, 12, spacing post, 13, anti-skidding recess, 14, blotter.
The specific embodiment is as follows:
in order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings.
As shown in fig. 1 to 12, a detection device special for quick-frozen foods comprises a base 1, wherein a plurality of detection grooves 2 are formed in the base 1 at equal intervals, and the detection grooves 2 are used for detecting quick-frozen foods; the base body 1 of each detection groove 2 is respectively provided with a servo motor 3 with an upward output shaft, the output shafts of the servo motors 3 are respectively provided with a detection disc 4, each detection disc 4 is respectively provided with an arc-shaped groove 5, and the arc-shaped grooves 5 are used for placing quick-frozen foods to be detected; a plurality of linear push rods 6 with upward output rods 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; the base body 1 is provided with a controller, the controller is respectively and electrically connected with a temperature sensor 8, a humidity sensor 9 and a pressure sensor 10 through an AD converter, the controller is also electrically connected with a timer and an audible-visual alarm, the timer is used for setting a detection period, and the controller is connected with an upper computer through a wireless transceiver so as to transmit detection parameters to the upper computer.
A rubber cushion 11 and a limiting column 12 are respectively arranged in the arc-shaped groove 5.
The two sides of the base body 1 are respectively provided with an anti-slip groove 13, and the bottom of the base body 1 is provided with a buffer pad 14.
The umbrella-shaped shield 7 is an anti-static shield.
The model of the controller is STM32F103C8T6, 64 pins are arranged on the controller, the controller is connected with the timer through a tenth pin, the controller is connected with the AD converter through a sixteen pin, the controller is connected with the audible-visual annunciator through a twenty-third pin and a twenty-fourth pin, and the controller is connected with the wireless transceiver through a thirty-eighth pin and a thirty-ninth pin.
The model of the timer is 555 timer, 8 pins are arranged on the 555 timer, and the 555 timer is connected with a tenth pin of the controller through a third pin.
The model of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with sixteen pins of the controller through six pins; 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 model of the humidity sensor 9 is KZWS-01, 3 pins are arranged on the humidity sensor 9, the second pin of the humidity sensor 9 is connected with the 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 pin III of the AD converter.
The model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, the fourth pin of the wireless transceiver is connected with the thirty-ninth pin of the controller, and the eighth pin of the wireless transceiver is connected with the thirty-eighth 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; an indicator light is connected to the first relay, and a loudspeaker is connected to the second relay.
A special detection method for quick-frozen foods comprises the following steps:
s1, a controller sets a plurality of detection periods T through a timer 1 、T 2 、……、T n ;
S2, in the detection period T 1 Internal acquisition temperature detection parameter t 1 Humidity detection parameter s 1 And a pressure detection parameter p 1 The method comprises the steps of carrying out a first treatment on the surface of the In the detection period T 2 Internal acquisition temperature detection parameter t 2 Humidity detection parameter s 2 And a pressure detection parameter p 2 The method comprises the steps of carrying out a first treatment on the surface of the … …: in the detection period T n Internal acquisition temperature detection parameter t n Humidity detection parameter s n And a pressure detection parameter p n ;
S3, calculating an average value t of the temperature detection parameters △ =(t 1 +t 2 +……+t n ) N, mean value s of humidity detection parameters △ =(s 1 +s 2 +……+s n ) N, average value p of pressure detection parameters △ =(p 1 +p 2 +……+p n )/n;
S4, selecting 3 detection periods at will in the detection period, and recording as Ta 1 、Ta 2 And Ta 3 Respectively acquiring a temperature detection parameter ta corresponding to each detection period 1 、ta 2 Sum ta 3 Humidity detection parameter sa 1 、sa 2 And sa 3 Pressure detection parameter pa 1 、pa 2 And pa 3 ;
S5, calculating correlation coefficients D of the temperature detection parameters respectively t Correlation coefficient D of humidity detection parameter s Correlation coefficient D with pressure detection parameter p Wherein:
D t =3(|t a1 -t △ |*Ta 1 +|t a2 -t △ |*Ta 2 +|t a3 -t △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*t △
D s =3(|s a1 -s △ |*Ta 1 +|s a2 -s △ |*Ta 2 +|s a3 -s △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*s △
D p =3(|p a1 -p △ |*Ta 1 +|p a2 -p △ |*Ta 2 +|p a3 -p △ |*Ta 3 )/(Ta 1 +Ta 2 +Ta 3 )*p △
s6, calculating a correlation coefficient D of the temperature detection parameter t Correlation coefficient D of humidity detection parameter s Correlation coefficient D with pressure detection parameter p And (3) evaluating, wherein when the coefficients are in the (0.1, 0.3) interval, the quality of the quick-frozen food is qualified.
The detection device special for quick-frozen foods and the detection method thereof in the embodiment of the invention have the working principle that: the structure based on the combination of the integrated control of the singlechip and the mechanical component can detect the multiple types of state parameters of the quick-frozen food in multiple detection periods to judge the compaction degree and the freezing condition of the surface of the quick-frozen food, thereby rapidly and accurately confirming the quality of the quick-frozen food, having simple and efficient operation, effectively avoiding errors or deviations in the detection process, ensuring accurate and reliable detection results, safety and practicability, and being applicable to different types of speed foods.
In the whole scheme, a singlechip STM32F103C8T6 is used as a core component, 64 pins are arranged on a controller, the controller is connected with a timer through a tenth pin, the controller is connected with an AD converter through a sixteen pin, the controller is connected with an audible and visual alarm through a twenty-third pin and a twenty-fourth pin, and the controller is connected with a wireless transceiver through a thirty-eighth pin and a thirty-ninth pin; the model of the timer is 555 timer, 8 pins are arranged on the 555 timer, and the 555 timer is connected with a tenth pin of the controller through a third pin; the model of the AD converter is AD8551, 8 pins are arranged on the AD converter, and the AD converter is connected with sixteen pins of the controller through six pins; 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 model of the humidity sensor 9 is KZWS-01, 3 pins are arranged on the humidity sensor 9, the second pin of the humidity sensor 9 is connected with the 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 pin III of the AD converter; the model of the wireless transceiver is ESP8266, 8 pins are arranged on the wireless transceiver, the fourth pin of the wireless transceiver is connected with the thirty-ninth pin of the controller, and the eighth pin of the wireless transceiver is connected with the thirty-eighth 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; an indicator lamp is connected to the first relay, and a loudspeaker is connected to the second relay; therefore, an integral electrical hardware structure is formed, the action of the mechanical component is regulated by the electrical hardware structure, and the detection of the multi-type state parameters of the quick-frozen food is realized by matching with the multi-type sensor.
In the process of acquiring detection parameters, quick-frozen foods to be detected are firstly placed in the detection grooves 2, the number of the detection grooves 2 is multiple, and the detection grooves are arranged on the substrate 1 at equal intervals, so that the quick-frozen food detection device can be suitable for various quick-frozen foods; 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 a plurality of 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 rapidly and accurately confirmed; the servo motor 3 with the upward output shaft is correspondingly arranged in each detection groove 2, the detection discs 4 are respectively arranged on the output shafts of the servo motors 3, the arc grooves 5 are respectively arranged in each detection disc 4, the arc grooves 5 are used for placing quick-frozen foods to be detected, and the rubber pads 11 and the limiting columns 12 in the arc grooves 5 are matched with the quick-frozen foods of different types, so that the quick-frozen foods can be prevented from falling off from the arc grooves 5.
In the detection process, the detection disc 4 can be driven to rotate through the servo motor 3 so as to detect the quick-frozen food at a plurality of angles, eliminate detection errors and 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 acquired 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 detection periods are selected at will, corresponding temperature detection parameters, humidity detection parameters and pressure detection parameters are recorded, corresponding correlation coefficients are calculated through formulas respectively, and finally, whether the quality of the quick-frozen food is qualified or not is judged through evaluation of the correlation coefficients.
In summary, according to the detection device and the detection method for the quick-frozen food, provided by the embodiment of the invention, based on the structure of combining the integrated control of the singlechip with the mechanical component, multiple types of state parameters of the quick-frozen food can be detected in multiple detection periods 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 can be rapidly and accurately judged, the operation is simple, convenient and efficient, errors or deviations in the detection process can be effectively avoided, the obtained detection result is ensured to be accurate and reliable, and the detection device and the detection method are safe and practical and can be suitable for different types of speed foods.
The above embodiments are not to be taken as limiting the scope of the invention, and any alternatives or modifications to the embodiments of the invention will be apparent to those skilled in the art and fall within the scope of the invention.
The present invention is not described in detail in the present application, and is well known to those skilled in the art.