CN109619218B - Tea processing equipment control method based on genetic algorithm - Google Patents

Tea processing equipment control method based on genetic algorithm Download PDF

Info

Publication number
CN109619218B
CN109619218B CN201811332041.5A CN201811332041A CN109619218B CN 109619218 B CN109619218 B CN 109619218B CN 201811332041 A CN201811332041 A CN 201811332041A CN 109619218 B CN109619218 B CN 109619218B
Authority
CN
China
Prior art keywords
tea
motor
frying
temperature
tea leaves
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811332041.5A
Other languages
Chinese (zh)
Other versions
CN109619218A (en
Inventor
单晓杭
徐安生
陈文庆
孙建辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201811332041.5A priority Critical patent/CN109619218B/en
Publication of CN109619218A publication Critical patent/CN109619218A/en
Application granted granted Critical
Publication of CN109619218B publication Critical patent/CN109619218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23FCOFFEE; TEA; THEIR SUBSTITUTES; MANUFACTURE, PREPARATION, OR INFUSION THEREOF
    • A23F3/00Tea; Tea substitutes; Preparations thereof
    • A23F3/06Treating tea before extraction; Preparations produced thereby
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Genetics & Genomics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physiology (AREA)
  • Food Science & Technology (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Polymers & Plastics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Chemical & Material Sciences (AREA)
  • Tea And Coffee (AREA)

Abstract

The invention discloses a control method of tea processing equipment based on a genetic algorithm, wherein the tea processing equipment comprises a rack, a height detection device, a motor, a first coupler, a torque sensor, a second coupler, a transmission shaft, a frying pan, an electric heating wire, a frying plate, a speed sensor and a temperature sensor; the control of the motor and the electric heating wire by the tea processing equipment depends on the specific numerical values obtained by the torque sensor, so that the problem of unstable tea frying quality caused by operation by feel of workers is solved, the quality of processed tea is improved, and the improvement significance of improving the tea processing quality is profound; the genetic algorithm is adopted to search from the cluster set, so that the coverage area is large, and global preference is facilitated; and meanwhile, a plurality of individuals in the group are processed, namely a plurality of solutions in the search space are evaluated, so that the risk of trapping in a local optimal solution is reduced, and meanwhile, the algorithm is easy to realize parallelization.

Description

Tea processing equipment control method based on genetic algorithm
Technical Field
The invention relates to the technical field of tea processing, in particular to a control method of tea processing equipment based on a genetic algorithm.
Background
The prior spherical tea is taken as a main consumption tea, has a long export history and is famous in the world. Among the spherical teas, the gunpowder tea is the most typical. Historically, gunpowder tea originated from Shaoxing water, high quality, round and smooth appearance and high price. In the eighties of the twentieth century, the gunpowder tea has won the tea jackpot for many times. The export amount of the Shaoxing gunpowder tea in China in recent years accounts for about half of the proportion, and the economic impact is far away. The gunpowder tea, as a representative of the spherical tea, occupies a great proportion in tea leaves, and is increasingly popular with consumers at home and abroad.
Tea plant origin has a long history of six to seven thousand years since now, and the initial tea use has taken place in the wild collection in the original society. China is the origin of tea trees, and more than 4000 years ago, China begins to utilize tea leaves and is used as a good product for relieving summer heat by people. The tea can be used as additive material for food or medicine after deep processing. The processing process of the common tea leaves is mainly divided into three parts: primary processing of tea, refined processing of tea and deep processing of tea.
In the primary processing process of tea, stir-frying and forming are very important processes, which influence the quality of tea and the quality of tea forming effect to a great extent. During the stir-frying process, a series of physical and chemical changes occur, the tea is processed into a spherical shape during the stir-frying process, and the stir-frying forming is the cooperative work of tea forming, flavor forming, aroma forming and color forming.
However, the temperature, the wind speed, the time and the frying plate speed of the tea processing equipment are not regulated and controlled for a long time, so that a control method of the tea processing equipment is provided, and the improvement significance of improving the processing quality of the spherical tea is profound.
Disclosure of Invention
The invention aims to overcome the problem that when tea processing equipment is used for frying tea, due to the fact that the heating temperature of an electric heating wire is not matched with the rotating speed of a motor, the water loss rate of the tea is too high or too low, and the quality of the tea is reduced, provides a control method of the tea processing equipment based on a genetic algorithm, and has a profound significance for improving the tea processing quality.
The invention realizes the purpose through the following technical scheme: a tea processing equipment control method based on genetic algorithm, the tea processing equipment comprises a rack, a height detection device, a motor, a first coupler, a torque sensor, a second coupler, a transmission shaft, a frying pan, an electric heating wire, a frying plate, a speed sensor and a temperature sensor; the electric frying pan is characterized in that the motor and the frying pan are fixed on the rack, an output shaft of the motor is sequentially connected with a first coupler, a torque sensor and a second coupler, an output shaft of the second coupler is connected with a transmission shaft through a crank and rocker mechanism, the frying plate is fixed on the transmission shaft, the shape of the lower half part of the frying plate is a semicircle matched with the shape of the frying pan, the output shaft of the second coupler is driven to rotate by the first coupler and the torque sensor when the motor moves, and the frying plate is driven to swing in the frying pan in a reciprocating manner around the transmission shaft through the crank and rocker mechanism; the temperature sensor and the speed sensor are fixed at the bottom of the frying plate close to the frying pan, and the electric heating wires are uniformly distributed at the bottom of the frying pan; the height detection device comprises universal magnetic force gauge stands and laser probes, the universal magnetic force gauge stands are arranged on a rack beside a wok and are provided with a pair of universal magnetic force gauge stands, each universal magnetic force gauge stand is provided with three laser probes, the positions of the three laser probes on the two universal magnetic force gauge stands correspond to one another, the relative direction of the two laser probes is the soaring direction of tea leaves when the tea leaves are stir-fried by the stir-frying plate, and the three laser probes are sequentially arranged on the universal magnetic force gauge stands from top to bottom;
the control method of the tea processing equipment comprises the following steps:
1) determining two reasonable solution spaces, namely a temperature solution space and a motor rotating speed solution space, equally dividing the solution spaces into n parts according to actual conditions and required precision, wherein the solution spaces are respectively the temperature of the heating wires for heating the tea leaves and the rotating speed of the motor;
2) representing an individual by using a plurality of binary numbers, mapping a solution space of temperature and motor rotation speed to a bit string space, and then performing genetic operation in the bit string space {0, 1 };
3) preparing initial group data representing initial search points, wherein the group data is composed of temperature and motor speed, the size of the group scale is m,
Figure GDA0003415852300000031
m, each individual, i.e. chromosome, is generated by a random method;
4) after the tea leaves are fried, evaluating the tea leaves according to the factors influencing the tea leaf quality, such as the color, the moisture and the whole crushing degree of the tea leaves; mapping the individuals in bit string space to positive real space, decoding the chromosome composed of temperature and motor speed, converting into actual value, and calculating the objective function f (x)k) And defining the fitness function as the maximization problem eval (U)k)=f(xk) K is 1, 2.. m, and the fitness function value is the evaluation score of the tea;
5) giving an evaluation score (U) of each chromosome composed of temperature and motor speed in population datak) M and chromosome evaluation score and
Figure GDA0003415852300000032
6) for a single chromosome, the selection probability is calculated
Figure GDA0003415852300000033
k 1, 2.. m and the cumulative probability,
Figure GDA0003415852300000034
the sum of the probability values is 1;
7) rotating for m times according to a wheel disc selection method to generate m chromosomes;
8) setting a cross probability pcGenerating a [0, 1 ]]Random number in between, the random number being less than pcPerforming cross operation; firstly, randomly pairing groups; secondly, randomly setting the position of a cross point; finally, exchanging partial genes between paired chromosomes;
9) setting a variation probability pmFor each bit of chromosome, one [0, 1 ] is generated]Random number in between, the random number being less than pmCarrying out mutation operation;
10) in the process of each iteration, processing the tea leaves according to the heating temperature of the electric heating wire and the rotating speed of the motor, which correspond to the temperature and speed solution space forming the chromosomes, and recording the chromosome with the maximum value in each generation of fitness function until the iteration is finished; the chromosome with the maximum fitness function corresponds to the optimal temperature and the optimal motor rotating speed;
11) fixing and adjusting the height of a laser probe on the universal magnetic meter seat at the vertical position, and adjusting the temperature of the frying pan by adjusting the heating wire to ensure that the frying pan is in a proper temperature interval;
12) starting the motor to drive the crank rocker mechanism so as to control the frying plate to do reciprocating swing and fry the tea leaves; when one laser probe is shielded due to tea stir-frying and the upper probe adjacent to the laser probe is not shielded, detecting that the height of the tea stir-frying is between the heights of the two probes and detecting the value of the torque sensor at the moment, and further controlling the rotating speed of the motor;
13) the rotating speed of the motor is controlled through the value measured by the torque sensor so as to ensure that the torque applied to the tea leaves is constant, the heating temperature of the electric heating wire is adjusted according to the relation between the rotating speed of the motor and the heating temperature of the electric heating wire obtained by the algorithm, the moisture in the tea leaves is heated and evaporated in the process of stir-frying the tea leaves, and the tea leaves are increased in the flying height each time under the action of constant torque; until the tea leaves are highly stabilized between the second probe and the third probe;
14) the set value of the moment applied to the tea leaves is changed, the rotating speed of the motor is controlled through the moment sensor, moisture in the tea leaves is further heated and evaporated in a large amount, and the tea leaf soaring height is increased each time under the action of constant moment; until the tea leaves are highly stabilized between the first probe and the second probe;
15) because tealeaves loses a large amount of moisture, and the air resistance increases to the influence degree of tealeaves soaring height, returns the value through laser probe, control motor speed for tealeaves is turned over the stir-fry soaring height and is kept stable, according to the relation between motor speed and the heating wire heating temperature that the algorithm reachs, adjusts heating wire heating temperature, and reads torque sensor's under this rotational speed numerical value, when this value reaches preset torque value, closes motor and heating wire, and processing is accomplished.
Furthermore, the frying pan is fixed on the rack at an oblique angle of 45 degrees.
Furthermore, the edge of the lower half part of the semicircular shape of the frying plate is attached to the inner wall of the frying pan.
Furthermore, the frying plate is fixed on the transmission shaft through bolts, and the transmission shaft is installed on the rack through bearings at two ends.
The invention has the beneficial effects that:
1. the invention provides a control method of tea processing equipment based on a genetic algorithm aiming at the lack of a control method of tea processing equipment, and has profound significance for improving the tea processing quality.
2. The traditional optimization algorithm iteratively solves the optimal solution from a single initial value; the local optimal solution is easy to be mistakenly entered; the invention adopts the genetic algorithm to search from the cluster set, has large coverage and is beneficial to global preference.
3. The method adopts the genetic algorithm to simultaneously process a plurality of individuals in the group, namely, evaluates a plurality of solutions in the search space, reduces the risk of trapping in the local optimal solution, and simultaneously, the algorithm is easy to realize parallelization.
4. The invention has self-organization, self-adaptation and self-learning properties, and when the genetic algorithm utilizes the information obtained in the evolution process to self-organize and search, the individual with high adaptability has higher survival probability and obtains a gene structure more adaptive to the environment.
5. The processing process of the tea processing equipment is fully automatic, whether the processing is finished or not is judged vertically through the measurement of the torque sensor, the labor is saved, and the frying cost is reduced.
6. The control of the motor and the electric heating wire by the tea processing equipment of the invention depends on the specific numerical values obtained by the torque sensor, thereby avoiding the problem of unstable tea frying quality caused by the operation of workers by feel and improving the quality of processed tea.
7. According to the tea processing equipment, the weight change of tea in the wok is calculated through the numerical value measured by the torque sensor, so that the occupation ratio of the tea in the wok is calculated, the working conditions of the electric heating wire and the motor are controlled and adjusted, closed-loop control is formed, the tea frying process is controlled more accurately, and the quality of the processed tea is improved.
8. The tea processing equipment adopts the crank and rocker mechanism as the driving connecting device, and because of the inherent characteristics of the crank and rocker mechanism, the included angle of the polar position exists, namely the rocker has the characteristic of quick return motion, the contact stroke of tea with the frying plate and the pot wall is increased every time, the tea frying speed of the frying plate is accelerated, and the tea frying effect is improved.
Drawings
Fig. 1 is a schematic structural view of the tea processing apparatus of the present invention.
In the figure, 1-motor, 2-first coupling, 3-torque sensor, 4-second coupling, 5-output shaft, 6-frying pan, 7-electric heating wire, 8-frying plate, 9-speed sensor, 10-temperature sensor, 11-transmission shaft, 12-rotating disk, 13-transmission rod, 14-fixed seat, 15-swinging rod, 16-sliding block, 17-sliding groove, 18-machine frame, 19-universal magnetic meter seat and 20-laser probe.
Detailed Description
The invention will be further described with reference to the accompanying drawings in which:
as shown in fig. 1, a tea processing equipment control method based on genetic algorithm, the tea processing equipment comprises a frame 18, a height detection device, a motor 1, a first coupling 2, a torque sensor 3, a second coupling 4, a transmission shaft 11, a frying pan 6, an electric heating wire 7, a frying plate 8, a speed sensor 9 and a temperature sensor 10, the electric frying pan comprises a frame 18, a motor 1 and a frying pan 6 which are fixed on the frame 18, an output shaft of the motor 1 is sequentially connected with a first coupler 2, a torque sensor 3 and a second coupler 4, an output shaft 5 of the second coupler 4 is connected with a transmission shaft 11 through a crank rocker mechanism, a frying plate 8 is fixed on the transmission shaft 11, the lower half part of the frying plate 8 is in a semicircular shape matched with the shape of the frying pan 6, the output shaft 5 of the second coupler 4 is driven to rotate by the first coupler 2 and the torque sensor 3 when the motor 1 moves, further driving the frying plate 8 to swing back and forth in the frying pan 6 around the transmission shaft 11 through a crank rocker mechanism; the temperature sensor 10 and the speed sensor 9 are fixed at the bottom of the frying plate 8 close to the frying pan 6, and the electric heating wires 7 are uniformly distributed at the bottom of the frying pan 6; height-detecting device includes universal magnetic force gauge stand 19 and laser probe 20, and universal magnetic force gauge stand 19 is provided with a pair ofly and installs in 6 other frames 18 of frying pan relatively, all installs three laser probe 20 on every universal magnetic force gauge stand 19, three laser probe 20 position one-to-one on two universal magnetic force gauge stands 19, the soaring direction of tealeaves when two relative laser probe 20's relative direction is for frying 8 stir-fry tealeaves, and three laser probe 20 arranges in proper order on universal magnetic force gauge stand 19 from last to down.
The control method of the tea processing equipment comprises the following steps:
1) determining two reasonable solution spaces, namely a temperature solution space and a motor rotating speed solution space, equally dividing the solution spaces into n parts according to actual conditions and required precision, wherein the solution spaces are respectively the temperature of the heating wires for heating the tea leaves and the rotating speed of the motor;
2) representing an individual by using a plurality of binary numbers, mapping a solution space of temperature and motor rotation speed to a bit string space, and then performing genetic operation in the bit string space {0, 1 };
3) preparing initial group data representing initial search points, wherein the group data is composed of temperature and motor speed, the size of the group scale is m,
Figure GDA0003415852300000071
m, each individual, i.e. chromosome, is generated by a random method;
4) after the tea leaves are fried, evaluating the tea leaves according to the factors influencing the tea leaf quality, such as the color, the moisture and the whole crushing degree of the tea leaves; mapping the individuals in bit string space to positive real space, decoding the chromosome composed of temperature and motor speed, converting into actual value, and calculating the objective function f (x)k) And defining the fitness function as the maximization problem eval (U)k)=f(xk) K is 1, 2.. m, and the fitness function value is the evaluation score of the tea;
5) giving an evaluation score (U) of each chromosome composed of temperature and motor speed in population datak) M and chromosome evaluation score and
Figure GDA0003415852300000072
6) for a single chromosome, the selection probability is calculated
Figure GDA0003415852300000073
k 1, 2.. m and the cumulative probability,
Figure GDA0003415852300000074
the sum of the probability values is 1;
7) rotating for m times according to a wheel disc selection method to generate m chromosomes;
8) setting a cross probability pcGenerating a [0, 1 ]]Random number in between, the random number being less than pcPerforming cross operation; firstly, randomly pairing groups; secondly, randomly setting the position of a cross point; finally, exchanging partial genes between paired chromosomes;
9) setting a variation probability pmFor each bit of chromosome, one [0, 1 ] is generated]Random number in between, the random number being less than pmCarrying out mutation operation;
10) in the process of each iteration, processing the tea leaves according to the heating temperature of the electric heating wire and the rotating speed of the motor, which correspond to the temperature and speed solution space forming the chromosomes, and recording the chromosome with the maximum value in each generation of fitness function until the iteration is finished; the chromosome with the maximum fitness function corresponds to the optimal temperature and the optimal motor rotating speed;
11) fixing and adjusting the height of a laser probe on the universal magnetic meter seat at the vertical position, and adjusting the temperature of the frying pan by adjusting the heating wire to ensure that the frying pan is in a proper temperature interval;
12) starting the motor to drive the crank rocker mechanism so as to control the frying plate to do reciprocating swing and fry the tea leaves; when one laser probe is shielded due to tea stir-frying and the upper probe adjacent to the laser probe is not shielded, detecting that the height of the tea stir-frying is between the heights of the two probes and detecting the value of the torque sensor at the moment, and further controlling the rotating speed of the motor;
13) the rotating speed of the motor is controlled through the value measured by the torque sensor so as to ensure that the torque applied to the tea leaves is constant, the heating temperature of the electric heating wire is adjusted according to the relation between the rotating speed of the motor and the heating temperature of the electric heating wire obtained by the algorithm, the moisture in the tea leaves is heated and evaporated in the process of stir-frying the tea leaves, and the tea leaves are increased in the flying height each time under the action of constant torque; until the tea leaves are highly stabilized between the second probe and the third probe;
14) the set value of the moment applied to the tea leaves is changed, the rotating speed of the motor is controlled through the moment sensor, moisture in the tea leaves is further heated and evaporated in a large amount, and the tea leaf soaring height is increased each time under the action of constant moment; until the tea leaves are highly stabilized between the first probe and the second probe;
15) because tealeaves loses a large amount of moisture, and the air resistance increases to the influence degree of tealeaves soaring height, returns the value through laser probe, control motor speed for tealeaves is turned over the stir-fry soaring height and is kept stable, according to the relation between motor speed and the heating wire heating temperature that the algorithm reachs, adjusts heating wire heating temperature, and reads torque sensor's under this rotational speed numerical value, when this value reaches preset torque value, closes motor and heating wire, and processing is accomplished.
The frying pan 6 can be horizontally fixed on the rack 18, and can also be fixed on the rack 18 at an oblique angle of 45 degrees, when the frying pan 6 is fixed on the rack 18 at an oblique angle of 45 degrees, tea leaves are placed at the high side of the frying pan, and the frying plate 8 can swing within a small range to drive the tea leaves to move in a large range.
Fry the half round edge of semicircular of board 8 and the inner wall laminating of frying pan 6, tealeaves can not have the gap because of frying the inner wall of 8 bottoms of board and frying pan 6 and fall into the other side of frying pan 6 when frying board 8 and moving.
The frying plate 8 is fixed on a transmission shaft 11 through bolts, and the transmission shaft 11 is arranged on a rack 18 through bearings at two ends.
The crank rocker mechanism comprises a rotating disc 12, a transmission rod 13, a fixed seat 14, a swinging rod 15 and a sliding block 16, wherein the rotating disc 12 is fixed on an output shaft of the second coupling, the disc edge of the rotating disc 12 is hinged in the middle of the transmission rod 13, the lower end of the transmission rod 13 is hinged on the fixed seat 14, the sliding block 16 is sleeved at the upper end of the transmission rod 13, and the swing rod 15 is provided with a sliding groove 17 for the sliding of the sliding block 16, the sliding block 16 is sleeved in the sliding groove 17, the upper end of the swing rod 15 is fixedly connected with the transmission shaft, the output shaft of the second coupler drives the rotating disc 12 to rotate when rotating, thereby driving the transmission rod 13 to swing left and right around the fixed seat 14 at the lower end, the sliding block 16 arranged at the upper end of the transmission rod 13 swings left and right around the fixed seat 14 at the lower end of the transmission rod 13, and then the transmission rod 13 is driven to swing left and right around the transmission shaft, so that the frying plate swings left and right in the frying pan to stir and fry the tea in the frying pan.
The above embodiments are only preferred embodiments of the present invention, and are not intended to limit the technical solutions of the present invention, so long as the technical solutions can be realized on the basis of the above embodiments without creative efforts, which should be considered to fall within the protection scope of the patent of the present invention.

Claims (4)

1. A tea processing equipment control method based on genetic algorithm is characterized in that: tea processing equipment, including frame (18), height detection device, motor (1), first shaft coupling (2), torque sensor (3), second shaft coupling (4), transmission shaft (11), frying pan (6), heating wire (7), fry board (8), speedtransmitter (9) and temperature sensor (10), motor (1) and frying pan (6) are all fixed in frame (18), the output shaft of motor (1) connects gradually first shaft coupling (2), torque sensor (3) and second shaft coupling (4), and output shaft (5) of second shaft coupling (4) pass through crank and rocker mechanism and connect transmission shaft (11), fry board (8) and fix on transmission shaft (11), the shape of frying board (8) for with frying pan (6) shape cooperation semi-circular, through first shaft coupling (2) during motor (1) motion, The torque sensor (3) drives an output shaft (5) of the second coupling (4) to rotate, and then a crank rocker mechanism drives a frying plate (8) to swing in a frying pan (6) in a reciprocating manner around a transmission shaft (11); the temperature sensor (10) and the speed sensor (9) are fixed at the position, close to the frying pan (6), of the bottom of the frying plate (8), and the electric heating wires (7) are uniformly distributed at the bottom of the frying pan (6); the height detection device comprises universal magnetic force gauge seats (19) and laser probes (20), the universal magnetic force gauge seats (19) are provided with a pair of universal magnetic force gauge seats and are oppositely arranged on a rack (18) beside a frying pan (6), each universal magnetic force gauge seat (19) is provided with three laser probes (20), the three laser probes (20) on the two universal magnetic force gauge seats (19) are in one-to-one correspondence in position, the relative direction of the two relative laser probes (20) is the soaring direction of tea leaves when the tea leaves are stir-fried by the frying plate (8), and the three laser probes (20) are sequentially arranged on the universal magnetic force gauge seats (19) from top to bottom;
the control method of the tea processing equipment comprises the following steps:
1) determining two reasonable solution spaces, namely a temperature solution space and a motor rotating speed solution space, equally dividing the solution spaces into n parts according to actual conditions and required precision, wherein the solution spaces are respectively the temperature of the heating wires for heating the tea leaves and the rotating speed of the motor;
2) representing an individual by using a plurality of binary numbers, mapping a solution space of temperature and motor rotation speed to a bit string space, and then performing genetic operation in the bit string space {0, 1 };
3) some initial population data representing the starting search point is prepared,the group data is composed of temperature and motor speed, the size of the group scale is m,
Figure FDA0003415852290000021
each individual, i.e. chromosome, is generated by a random method;
4) after the tea leaves are fried, evaluating the tea leaves according to the factors influencing the tea leaf quality, such as the color, the moisture and the whole crushing degree of the tea leaves; mapping the individuals in bit string space to positive real space, decoding the chromosome composed of temperature and motor speed, converting into actual value, and calculating the objective function f (x)k) And defining the fitness function as the maximization problem eval (U)k)=f(xk) K is 1, 2.. m, and the fitness function value is the evaluation score of the tea;
5) giving an evaluation score (U) of each chromosome composed of temperature and motor speed in population datak) K ═ 1, 2.. m and chromosome evaluation scores and
Figure FDA0003415852290000022
6) for a single chromosome, the selection probability is calculated
Figure FDA0003415852290000023
And cumulative probability
Figure FDA0003415852290000024
The sum of the probability values is 1;
7) rotating for m times according to a wheel disc selection method to generate m chromosomes;
8) setting a cross probability pcGenerating a [0, 1 ]]Random number in between, the random number being less than pcPerforming cross operation; firstly, randomly pairing groups; secondly, randomly setting the position of a cross point; finally, exchanging partial genes between paired chromosomes;
9) setting a variation probability pmFor each bit of chromosome, one [0, 1 ] is generated]Random number in between, the random number being less than pmCarrying out mutation operation;
10) in the process of each iteration, processing the tea leaves according to the heating temperature of the electric heating wire and the rotating speed of the motor, which correspond to the temperature and speed solution space forming the chromosomes, and recording the chromosome with the maximum value in each generation of fitness function until the iteration is finished; the chromosome with the maximum fitness function corresponds to the optimal temperature and the optimal motor rotating speed;
11) fixing and adjusting the height of a laser probe on the universal magnetic meter seat at the vertical position, and adjusting the temperature of the frying pan by adjusting the heating wire to ensure that the frying pan is in a proper temperature interval;
12) starting the motor to drive the crank rocker mechanism so as to control the frying plate to do reciprocating swing and fry the tea leaves; when one laser probe is shielded due to tea stir-frying and the upper probe adjacent to the laser probe is not shielded, detecting that the height of the tea stir-frying is between the heights of the two probes and detecting the value of the torque sensor at the moment, and further controlling the rotating speed of the motor;
13) the rotating speed of the motor is controlled through the value measured by the torque sensor so as to ensure that the torque applied to the tea leaves is constant, the heating temperature of the electric heating wire is adjusted according to the relation between the rotating speed of the motor and the heating temperature of the electric heating wire obtained by the algorithm, the moisture in the tea leaves is heated and evaporated in the process of stir-frying the tea leaves, and the tea leaves are increased in the flying height each time under the action of constant torque; until the tea leaves are highly stabilized between the second probe and the third probe;
14) the set value of the moment applied to the tea leaves is changed, the rotating speed of the motor is controlled through the moment sensor, moisture in the tea leaves is further heated and evaporated in a large amount, and the tea leaf soaring height is increased each time under the action of constant moment; until the tea leaves are highly stabilized between the first probe and the second probe;
15) because tealeaves loses a large amount of moisture, and the air resistance increases to the influence degree of tealeaves soaring height, returns the value through laser probe, control motor speed for tealeaves is turned over the stir-fry soaring height and is kept stable, according to the relation between motor speed and the heating wire heating temperature that the algorithm reachs, adjusts heating wire heating temperature, and reads torque sensor's under this rotational speed numerical value, when this value reaches preset torque value, closes motor and heating wire, and processing is accomplished.
2. The tea processing apparatus control method based on genetic algorithm as set forth in claim 1, wherein: the frying pan (6) is fixed on the frame (18) at an oblique angle of 45 degrees.
3. The tea processing apparatus control method based on genetic algorithm as set forth in claim 1, wherein: the edge of the lower half part of the semicircle of the frying plate (8) is attached to the inner wall of the frying pan (6).
4. The tea processing apparatus control method based on genetic algorithm as set forth in claim 1, wherein: the frying plate (8) is fixed on the transmission shaft (11) through bolts, and the transmission shaft (11) is installed on the rack (18) through bearings at two ends.
CN201811332041.5A 2018-11-09 2018-11-09 Tea processing equipment control method based on genetic algorithm Active CN109619218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811332041.5A CN109619218B (en) 2018-11-09 2018-11-09 Tea processing equipment control method based on genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811332041.5A CN109619218B (en) 2018-11-09 2018-11-09 Tea processing equipment control method based on genetic algorithm

Publications (2)

Publication Number Publication Date
CN109619218A CN109619218A (en) 2019-04-16
CN109619218B true CN109619218B (en) 2022-02-01

Family

ID=66067583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811332041.5A Active CN109619218B (en) 2018-11-09 2018-11-09 Tea processing equipment control method based on genetic algorithm

Country Status (1)

Country Link
CN (1) CN109619218B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102239935A (en) * 2011-07-11 2011-11-16 浙江春江茶叶机械有限公司 Full-automatic spherical tea shaping equipment
CN106889222A (en) * 2017-03-20 2017-06-27 武汉大雾山茶业有限公司 The tea frying roller that a kind of many oars stir-fry
CN108432903A (en) * 2018-06-15 2018-08-24 广东工业大学 The terminal angle method of adjustment and tea frying robot of tea frying robot stir-frying tealeaves

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102239935A (en) * 2011-07-11 2011-11-16 浙江春江茶叶机械有限公司 Full-automatic spherical tea shaping equipment
CN106889222A (en) * 2017-03-20 2017-06-27 武汉大雾山茶业有限公司 The tea frying roller that a kind of many oars stir-fry
CN108432903A (en) * 2018-06-15 2018-08-24 广东工业大学 The terminal angle method of adjustment and tea frying robot of tea frying robot stir-frying tealeaves

Also Published As

Publication number Publication date
CN109619218A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109452380B (en) Tea processing equipment control method based on particle swarm algorithm
CN109430437B (en) Control method for sectional tea frying
CN109613894B (en) Tea processing equipment control method based on infrared image
CN104517162B (en) A kind of continuous annealing product hardness Online integration learns forecasting procedure
CN109619218B (en) Tea processing equipment control method based on genetic algorithm
CN107368858A (en) A kind of parametrization measurement multi-model intelligent method for fusing of intelligent environment carrying robot identification floor
CN104048900B (en) A kind of starch viscosity tester and measuring method
CN103971176A (en) Method and system for optimizing harvesting decision of citrus fruits
Okamura et al. Development and evaluation of roasting degree prediction model of coffee beans by machine learning
CN114310485B (en) Method and device for predicting thermal error of machine tool feed shaft and storage medium
CN109548894B (en) Tea frying machine control method for detecting tea height by using laser probe
CN102058012A (en) Oyster sapidity peptide controllable enzymolysis process based on optimization of nerve network system
CN109548895B (en) Tea frying equipment control method based on infrared distance measurement
CN106779078A (en) A kind of intelligent modularized method of product structure
CN109463478A (en) A kind of tea-processing equipment control method based on ant group algorithm
CN101706488A (en) Method for establishing infant dairy product sensory evaluation expert system
CN209573161U (en) Frying apparatus is used in a kind of production of red melon seed
CN109601646A (en) A kind of tea-processing equipment control method based on quadratic function
CN209268562U (en) A kind of tealeaves fried green device with gas circulatory function
CN205378785U (en) Novel tealeaves automatic processing device
CN106730775A (en) A kind of Household fitness equipment based on Internet of Things
CN114468070A (en) Heating system for fry tea water content
CN110414139B (en) Simulation calculation method for thermal processing of granular nuts in roller
CN109601645B (en) Method for establishing tea processing expert database based on torque sensor
CN109601647B (en) Tea processing equipment with automatic air blocking device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant