The pigment automatic milk feeder
Technical field
The technical solution of the utility model relates to for the synthetic device of color, specifically pigment automatic milk feeder.
Background technology
Furniture, metope and some equipment surface scribble the coating such as paint mostly, and the one, for attractive in appearance, the 2nd, in order to extend working time, but after long-time the use, locally can occur damagedly, this not only affects attractive in appearance, but also affects its serviceability and life-span.In order to solve problems, all need to allot corresponding color and repaired.The popular most of based on database that adopts of paint device of joining mixes colours in the market, it relies on great many of experiments to obtain huge database, and then the color card that has obtained quantizing by the coupling of manually completing required color and color card, exports color.The color matching accuracy of this method is poor, and efficient is low, is not suitable for the repairing of furniture, metope and some equipment surface local damage.
CN102514442 A discloses a kind of full-automatic pigment deployment device and has realized the method for automatic governing pigment, it need to select the color of allotment by touch display screen, after comprehensively obtaining the pure color image according to three values of R, G, B of the pixel of choosing, extrude corresponding amount of pigment according to three values of R, G, B of pure color image.There is the automatic identification can not realize color in the method, and the parameter that need to know in advance color when selecting color is shortcoming more accurately.CN202441039 U has disclosed a kind of color identification mixed powder brush device, although possessing, it realizes the function of identification automatically, but the color matching of its device partly adopts single-chip microcomputer directly to control magnetic valve output, does not have corresponding feedback element, is difficult to realize the accurate of color proportioning link.
In a word, in prior art, the color identifying mainly relies on people's subjective judgement, and error is larger; Adopt graduated cylinder or constant displacement pump output in pigment allotment link, the accuracy of manufacture of graduated cylinder and pump is the precision of impact output color directly.
The utility model content
Technical problem to be solved in the utility model is: the pigment automatic milk feeder is provided, introduced color sensor in color identification link, realized the automation of color identification, in the pigment ratio link, adopts pressure sensor and single-chip microcomputer consist of closed-loop control, take full advantage of the highly sensitive advantage of pressure sensor, having completed accurate output controls, overcome prior art and can not realize the automatic identification of color in the color identifying, be difficult to realize color proportioning shortcoming accurately in pigment allotment link.
the utility model solves this technical problem the technical scheme that adopts: the pigment automatic milk feeder, comprise color identification division and pigment allotment part, wherein, the color identification division mainly comprises standard sources, color sensor and single-chip microcomputer and operating control procedure, single-chip microcomputer is connected with circuit with color sensor with standard sources simultaneously, standard sources and color sensor are positioned in light shield, when idle, light shield is positioned on the sidewall of pigment automatic milk feeder, in work, light shield fits tightly and is being identified body surface, pigment allotment part mainly comprises single-chip microcomputer, power amplification circuit, magnetic valve, pressure sensor and container, single-chip microcomputer is connected by power amplification circuit with magnetic valve, magnetic valve one end is arranged on container bottom, the magnetic valve other end has pipeline to draw, pressure sensor and single-chip microcomputer are with connection, place a drum that is used for the deployed pigment of splendid attire on pressure sensor, this drum is placed under the pipeline of the another port of magnetic valve drawing.
Above-mentioned pigment automatic milk feeder, described standard sources are highlighted White LEDs.
Above-mentioned pigment automatic milk feeder, described color sensor adopts existing TCS230 chip.
Above-mentioned pigment automatic milk feeder, described single-chip microcomputer adopt STC89C52 model single-chip microcomputer.
Above-mentioned pigment automatic milk feeder, described power amplification circuit adopt triode to amplify and auxiliary reclay output.
The valve body bore that above-mentioned pigment automatic milk feeder, described magnetic valve are selected is that 2 minutes, flow aperture are that 2.5mm and valve body material are brass.
Above-mentioned pigment automatic milk feeder, described pressure sensor adopts electric resistance sensor.
Above-mentioned pigment automatic milk feeder, described container have sealing and do not react with pigment.
Above-mentioned pigment automatic milk feeder, the operating control procedure of described single-chip microcomputer is: beginning → white balance, extract modifying factor → detection sample of color, drawing rgb value → data processes, RGB turns CMY, draw first magnetic valve of three critical control point → controls and open → detect whether reach corresponding critical control point → no, return; Be, control first closed electromagnetic valve, control second magnetic valve and open → detect whether reach corresponding critical control point → no, return; Be, control second closed electromagnetic valve, control the 3rd magnetic valve and open → detect whether reach corresponding critical control point → no, return; To close the 3rd magnetic valve → end.
Above-mentioned pigment automatic milk feeder, used unit are that those skilled in the art are known, all obtain by known approach.The method of attachment of described parts is that those skilled in the art can grasp.
The beneficial effects of the utility model are: compared with prior art, outstanding feature and the marked improvement of the utility model pigment automatic milk feeder are:
(1) the utility model device is specially provided with the color identification division, has realized the automation of color identification, when reducing human error, has also saved the huge database of existing color matching device, can identify and prepare the color that there is no known parameters.
(2) difference of different working environments can cause very large difficulty to color identification, for this reason, the utility model device is identified link in color, at first introduce white balance operation, find corrected parameter, the impact that causes being repaired the color body surface to get rid of environment, and before proportioning, primary colors to pigment is identified, and extracts correction factor, adjusts parameter in order to preset in program for the attribute of different pigment.This makes the utility model device can adapt to more working environment and is repaired the color body surface.
(3) in the pigment ratio part of the utility model device, having abandoned the open loop type of existing color matching device controls, adopts pressure sensor and single-chip microcomputer consist of closed-loop control, take full advantage of the highly sensitive advantage of pressure sensor, have completed accurate output and have controlled.
Description of drawings
Below in conjunction with drawings and Examples, the utility model is further illustrated.
Fig. 1 is the composition schematic block diagram of the utility model pigment automatic milk feeder.
Fig. 2 is the structural representation of the utility model pigment automatic milk feeder.
Fig. 3 is the operating control procedure flow chart of the utility model pigment automatic milk feeder.
In figure, 1. standard sources, 2. color sensor, 3. light shield, 4. single-chip microcomputer, 5. power amplification circuit, 6. magnetic valve, 7. container, 8. pressure sensor, 9. drum.
The specific embodiment
Embodiment illustrated in fig. 1 showing, the utility model pigment automatic milk feeder comprises color identification division and pigment allotment two parts, wherein, the color identification division mainly comprises standard sources, color sensor and single-chip microcomputer and operating control procedure, single-chip microcomputer is connected with color sensor simultaneously with standard sources, and in fact standard sources and color sensor are placed in a light shield simultaneously; Pigment allotment part mainly comprises single-chip microcomputer and operating control procedure, power amplification circuit, magnetic valve, pressure sensor and container, single-chip microcomputer is connected by power amplification circuit with magnetic valve, magnetic valve is related with container, in fact magnetic valve one end is arranged on container bottom, container is related with pressure sensor, in fact place a drum that is used for the deployed pigment of splendid attire on pressure sensor, this drum is placed in again under the pipeline of the another port of magnetic valve drawing, and pressure sensor and single-chip microcomputer are with connection.
embodiment illustrated in fig. 2 showing, the structure of the utility model pigment automatic milk feeder is: three containers (7) are placed side by side the top of this device, a magnetic valve (6) is installed in the bottom of each container (7), magnetic valve (6) is placed in the middle part of this device, magnetic valve (6) other end has pipeline to draw, place a drum (9) under this pipeline, this drum (9) is placed on above pressure sensor (8), magnetic valve (6) and power amplification circuit (5) are with connection, single-chip microcomputer (4) and power amplification circuit (5), pressure sensor (8), color sensor (2) and standard sources (1) that four LED are arranged are respectively with connection, single-chip microcomputer (4) and power amplification circuit (5) are placed in the lower floor of this device, standard sources (1) and color sensor (2) are placed in light shield (3), when idle, light shield (3) is placed on the sidewall of device, light shield in work (3) fits tightly and is identified body surface, to guarantee that standard sources (1) irradiation is identified the reverberation that body surface produced and is received by color sensor (2), light shield (3) has been discharged the interference of external environment light source, the height of light shield (3) has guaranteed that color sensor (2) and the distance that is identified body surface reach best simultaneously,
Embodiment illustrated in fig. 3 showing, the operating control procedure flow process of the utility model pigment automatic milk feeder is: beginning → white balance, extract modifying factor → detection sample of color, drawing rgb value → data processes, RGB turns CMY, draw first magnetic valve of three critical control point → controls and open → detect whether reach corresponding critical control point → no, return; Be, control first closed electromagnetic valve, control second magnetic valve and open → detect whether reach corresponding critical control point → no, return; Be, control second closed electromagnetic valve, control the 3rd magnetic valve and open → detect whether reach corresponding critical control point → no, return; To close the 3rd magnetic valve → end.
Embodiment 1
According to above-mentioned Fig. 2 and shown in Figure 3, make the pigment automatic milk feeder, wherein standard sources is four highlighted White LEDs, color sensor adopts existing TCS230 chip.single-chip microcomputer adopts STC89C52 model single-chip microcomputer, single-chip microcomputer 3 is by unified 5V DC power supply, power amplification circuit adopts triode to amplify and auxiliary reclay output, the model of selected magnetic valve is 2W-08, its valve body bore is 2 minutes, flow aperture is that 2.5mm and valve body material are brass, by the 12V DC power supply, pressure sensor adopts electric resistance sensor, container has sealing and does not react with pigment, the operating control procedure of single-chip microcomputer is: beginning → white balance, extract modifying factor → detection sample of color, drawing rgb value → data processes, RGB turns CMY, draw first magnetic valve of three critical control point → controls and open → detect whether reach corresponding critical control point → no, return, be, control first closed electromagnetic valve, control second magnetic valve and open → detect whether reach corresponding critical control point → no, return, be, control second closed electromagnetic valve, control the 3rd magnetic valve and open → detect whether reach corresponding critical control point → no, return, to close the 3rd magnetic valve → end.
The below is take the repairing of metope as example, and pigment used is cyan paint, red paint and the yellow paint that is purchased,
The first step, color identification
(1) because the pigment of buying may have deviation, in order to guarantee reliably carrying out of proportioning, before adding pigment, first pigment is carried out identifying processing, concrete operations are: switching on power makes the pigment automatic milk feeder in running order, light shield (3) is fitted tightly be identified body surface, the power switch of opening the color identification division makes standard sources (1) work, standard sources (1) transmitting white shines respectively the above-mentioned cyan paint that is purchased, red paint and yellow paint, color sensor (2) receives reverberation, giving respectively single-chip microcomputer (4) with data processes, extract the pigment correction factor, complete the preparation before using, then three kinds of paint are added respectively in cell therefor (7).
(2) Application standard light source (1) the irradiation white metope identical with repairing the metope surface quality, carry out " white balance ", and color sensor (2) receives reverberation, and is translated into umber of pulse, obtains modifying factor, is recorded by single-chip microcomputer (4); The instrument of next step translation color identification division is to being identified the body surface place, in order to detect the color that is identified body surface, same manner obtains corresponding each monochromatic umber of pulse, hand over single-chip microcomputer (4) to process, obtain ratio value and the critical control point of three monochromes in conjunction with modifying factor, namely completed color identification;
Second step, the pigment allotment
close the power switch of color identification division, and triggering makes pigment allocate the signal that the part instrument is started working, namely enter the part of pigment allotment, drum this moment (9) has been placed on pressure sensor (8), make pressure sensor (8) that certain output valve be arranged, at this moment by manually giving (4) triggering signals of single-chip microcomputer, record on the one hand the quality of drum (9), so that the follow-up quality that accurately records pigment, triggered on the other hand single-chip microcomputer (4), make it begin the pigment of annotating, at first open first magnetic valve (6) by single-chip microcomputer (4) by power amplification circuit (5) control and begin the green pigment of annotating, green pigment flows in cylinder 9, pigment and drum (9) are pressed on pressure sensor (8) jointly, single-chip microcomputer (4) forms feedback control loop with pressure sensor (8), the quality of monochromatic green pigment has been flowed out in command pressure sensor (8) detection in real time, and compare with the monochromatic ratio value of color identification link gained, when reaching critical control point, single-chip microcomputer (4) controls and cuts out first magnetic valve (6), single-chip microcomputer (4) is opened second magnetic valve (6) by power amplification circuit (5) control and is begun the red pigment of annotating, red pigment also flows in drum (9), mix with green pigment, pressure sensor this moment (8) is output as the common quality of two kinds of pigment and drum (9), single-chip microcomputer (4) forms feedback control loop with pressure sensor (8), the quality of monochromatic red pigment has been flowed out in command pressure sensor (8) detection in real time, and compare with the monochromatic ratio value of color identification link gained, when reaching critical control point, single-chip microcomputer (4) controls and cuts out second magnetic valve (6), single-chip microcomputer (4) is opened the 3rd magnetic valve (6) by power amplification circuit (5) control and is begun the yellow uitramarine of annotating, after yellow uitramarine flows in drum (9), mix with green pigment, pressure sensor this moment (8) is output as the common quality of three kinds of pigment and drum (9), single-chip microcomputer (4) forms feedback control loop with pressure sensor (8), the quality of monochromatic yellow uitramarine has been flowed out in command pressure sensor (8) detection in real time, and compare with the monochromatic ratio value of color identification link gained, when reaching critical control point, single-chip microcomputer (4) controls and cuts out the 3rd magnetic valve (6), i.e. three monochromatic all filling are completed, drum has just obtained color of object in (9), thereby realize the accurate allotment of pigment.