The content of the invention
The purpose of the present invention is to be directed to deficiency of the prior art, there is provided a kind of to prevent section from existing for slice scanner
The method of fragment in loading procedure.
To achieve the above object, the present invention adopts the technical scheme that:
A kind of slice scanner section loads breakage-proof system, including stepper motor, push rod, sensor group, encoder, slide glass
Platform, Upper system, control system;
The stepper motor is connected with the push rod, and for controlling the push rod to release and retract;
The sensor group includes multiple sensors, wherein a sensor is arranged on the place that the push rod retracts completely,
One preset of slide glass platform described in one sensor;
The slide glass platform is arranged in front of the push rod, and the push rod promotes section to be scanned and puts the section
In on the slide glass platform;
The encoder carries out meter step to the stepper motor, and continues recording gauge step data;
The control system sends pulse command to motor, and continues recording impulse data;
The Upper system is connected with the encoder, the sensor group and the control system respectively, described upper
System receives the data of the encoder, the sensor group and the control system, calculates the meter step data and the arteries and veins
The difference rushed between data, and judge according to the difference shipping situation of section, and according to the shipping situation to described
Control system sends control instruction, and the control system controls stepper motor according to the control instruction, to control the push rod
Release and retract.
Preferably, the Upper system includes a computing unit, the computing unit by calculate it is described based on step data with
The difference of the pulse data.
Preferably, the Upper system includes a judging unit and a command unit;
The judging unit is judged the difference and a given threshold to obtain a judged result;
The command unit sends control instruction according to the judged result to control system.
Preferably, the control instruction includes push rod release instruction, push rod retracts instruction;
When the control system, which receives the push rod, releases instruction, the control system controls the stepper motor will
The push rod is released;
When the control system, which receives the push rod, retracts instruction, the control system controls the stepper motor will
The push rod retracts.
A kind of method for preventing section fragment, apply and load breakage-proof system in slice scanner section, transported for cutting into slices,
Comprise the following steps:
Step S1, judge whether section transports completely using sensor group, if sensor is triggered, transport complete, fortune
Send end;If sensor is not triggered, transports not exclusively, be transferred to step S2;
Step S2, now stepper motor stops, and encoder also stops walking stepper motor meter, obtains stepper motor first and pushes away
Send distance;
Step S3, Upper system obtains the second push distance corresponding to the umber of pulse that control system is actually persistently sent;
Step S4, Upper system judges the difference of the first push distance and the second push distance, when its difference is set more than one
Determine threshold value, then Upper system judges that failure is transported in section;
Step S5, Upper system sends control instruction to control system, and control system controls stepping electricity according to control instruction
Machine, control push rod are released and retracted.
Wherein, the first push distance is obtained by the meter step data computing of the encoder, second push
Distance is obtained by the pulse data computing of the control system.
Preferably, it is described to prevent the method for section fragment from including a push rod and releasing flow, specifically include following steps:
Step A1, a stepper motor is controlled using the control system, the push rod is released, so as to by with scanning
Section pushes to the slide glass platform;
Step A2, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, is exited;
Step A3, the stepper motor is controlled using the control system, so as to which the push rod be retracted;
Step A4, the stepper motor is controlled using the control system, again released the push rod;
Step A5, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, is exited;
Step A6, the stepper motor is controlled using the control system, again retracted the push rod;
Step A7, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, is exited;
Step A8, the slide glass platform is removed;
Step A9, the stepper motor is controlled using control system, the push rod released so that the section is fallen into
In one section recycling box.
Preferably, the method for preventing section fragment retracts flow including a push rod, specifically includes following steps:
Step B1, a stepper motor is controlled using the control system, the push rod is retracted, so as to cut into slices back
Receive;
Step B2, described control system according to the control instruction received judge the push rod this retract whether
Success;
If success, is exited;
Step B3, the stepper motor is controlled using the control system, so as to which the push rod be released;
Step B4, the stepper motor is controlled using the control system, again retracted the push rod;
Step B5, described control system according to the control instruction received judge the push rod this retract whether
Success;
If success, is released;
Step B6, the slide glass platform is removed;
Step B7, the stepper motor is controlled using control system, the push rod released so that the section is fallen into
In one section recycling box.
The present invention uses above technical scheme, compared with prior art, has the following technical effect that:
A kind of slice scanner section of the present invention loads breakage-proof system and method, by setting sensor group and coding
Device, displacement can be accurately calculated, reduce and transport error;Accurate judgement abnormal conditions, using system timely processing, prevent out
Now section is damaged;The timely processing in loading procedure, damaged section is avoided to enter downstream;Protection section, is greatly improved
Section integrity.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art obtained on the premise of creative work is not made it is all its
His embodiment, belongs to the scope of protection of the invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
As shown in figure 1, a kind of section of slice scanner loads breakage-proof system, including stepper motor, push rod, sensor group,
Encoder, slide glass platform, Upper system, control system;
The stepper motor is connected with the push rod, and for controlling the push rod to release and retract;
The sensor group includes multiple sensors, wherein a sensor is arranged on the place that the push rod retracts completely,
One preset of slide glass platform described in one sensor;
The slide glass platform is arranged in front of the push rod, and the push rod promotes section to be scanned and puts the section
In on the slide glass platform;
The encoder carries out meter step to the stepper motor, and continues recording gauge step data;
The control system sends pulse command to motor, and continues recording impulse data;
The Upper system is connected with the encoder, the sensor group and the control system respectively, described upper
System receives the data of the encoder, the sensor group and the control system, calculates the meter step data and the arteries and veins
The difference rushed between data, and judge according to the difference shipping situation of section, and according to the shipping situation to described
Control system sends control instruction, and the control system controls stepper motor according to the control instruction, to control the push rod
Release and retract.
As a preferred embodiment, the Upper system includes a computing unit, and the computing unit is used to calculate
The difference of the meter step data and the pulse data.
As a preferred embodiment, the Upper system includes a judging unit and a command unit, the judgement
Unit is judged the difference and a given threshold command unit is used to send control instruction to control system.
As a preferred embodiment, the control instruction includes push rod release instruction, push rod retracts instruction, when described
When control system receives the push rod release instruction, the control system controls the stepper motor to release the push rod;
And when the control system receives the push rod and retracts instruction, the control system controls the stepper motor by described in
Push rod retracts.
In actual applications, in addition to the stepper motor, slice scanner also includes multiple systems, and each system includes electricity
The equipment such as machine, encoder, sensor, identical Upper system and control system are shared, make slice scanner control accurate.
As shown in Fig. 2 a kind of method for preventing section fragment, applies and loads breakage-proof system in the section of above-mentioned slice scanner
System, transport, comprise the following steps for cutting into slices:
Step S1, judge whether section transports completely using sensor group, if sensor is triggered, transport complete, fortune
Send end;If sensor is not triggered, transports not exclusively, be transferred to step S2;
Step S2, now stepper motor stops, and encoder also stops walking stepper motor meter, obtains stepper motor first and pushes away
Send distance;
Step S3, Upper system obtains the second push distance corresponding to the umber of pulse that control system is actually persistently sent;
Step S4, Upper system judges the difference of the first push distance and the second push distance, when its difference is set more than one
Determine threshold value, then Upper system judges that failure is transported in section;
Step S5, Upper system sends control instruction to control system, and control system controls stepping electricity according to control instruction
Machine, control push rod are released and retracted.
Wherein, the first push distance is obtained by the meter step data computing of the encoder, second push
Distance is obtained by the pulse data computing of the control system.
This method operation principle is that it is normal to judge whether section transports using sensor;If sensor is not triggered, say
Bright section is transported abnormal.Under abnormality, stepper motor meeting stop motion, encoder can stop counting therewith.But control
System continues to send umber of pulse, and now stepper motor will not continue to send umber of pulse and operate because of control system, i.e., electric
Machine stops, and control system still sends umber of pulse;When certain numerical value is counted in the pulse that control system is sent, its umber of pulse is corresponding
Second push distance subtract encoder transmission first push distance can be more than Upper system set a threshold value, now,
Upper system judges to transport failure, into subsequent treatment, occurs in order to avoid there is section fragment.
By technical scheme, distance is transported without calculating, judges whether to transport according to whether sensor triggers
Send completely, that is, transport in place, avoid the occurrence of it is artificial calculate mistake or it is abnormal cause to transport it is not in place, under the influence of a workflow.
Using encoder and upper software, calculating processing effectively can be carried out to abnormality in time, it is ensured that transport in place or will cut extremely
Piece is purged, and so as to avoid section damaged, influences section scanning.
The method for preventing section fragment can be used in push rod release flow and push rod retracts flow.
As a preferred embodiment, as shown in figure 3, the push rod releases flow, following steps are specifically included:
Step A1, a stepper motor is controlled using the control system, the push rod is released, so as to by with scanning
Section pushes to the slide glass platform;
Step A2, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, is exited;
Step A3, the stepper motor is controlled using the control system, so as to which the push rod be retracted;
Step A4, the stepper motor is controlled using the control system, again released the push rod;
Step A5, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, is exited;
Step A6, the stepper motor is controlled using the control system, again retracted the push rod;
Step A7, described control system according to the control instruction received judge the push rod this release whether
Success;
If success, exits, skips over the slice information;
Step A8, the slide glass platform is removed;
Step A9, the stepper motor is controlled using control system, the push rod released so that the section is fallen into
In one section recycling box.
Flow is released in push rod, is released by push rod twice, on the premise of guaranteeing to transport in place, reduces repetition time
Number, improve operating efficiency;If release does not make section transport in place twice, retracted by push rod and carry out section and retract operation,
If operation failure, platform, which is removed, makes section fall into recycling box, section is reclaimed.
As a preferred embodiment, as shown in figure 4, the push rod retracts flow, following steps are specifically included:
Step B1, a stepper motor is controlled using the control system, the push rod is retracted, so as to cut into slices back
Receive;
Step B2, described control system according to the control instruction received judge the push rod this retract whether
Success;
If success, is exited;
Step B3, the stepper motor is controlled using the control system, so as to which the push rod be released;
Step B4, the stepper motor is controlled using the control system, again retracted the push rod;
Step B5, described control system according to the control instruction received judge the push rod this retract whether
Success;
If success, is released;
Step B6, the slide glass platform is removed;
Step B7, the stepper motor is controlled using control system, the push rod released so that the section is fallen into
In one section recycling box.
Flow is retracted in push rod, is retracted by push rod twice, on the premise of ensuring that section can retract, reduces repetition time
Number;Fail if retracting twice, platform, which is removed, makes section fall into recycling box, and section is reclaimed.
The specific embodiment of the present invention, its application are as follows:
Step S1, judge whether section transports completely using sensor, if sensor is triggered, transport complete, transport
Terminate;If sensor is not triggered, transports not exclusively, be transferred to step S2;
Step S2, now stepper motor stop motion, encoder also stop walking stepper motor meter, and encoder is recorded
Data send to Upper system, including umber of pulse N2, motor operate a circle remote and push distance S2 from X2, stepper motor first,
And S2=N2*X2;
Step S3, Upper system obtains the actual data sent of control system, including umber of pulse N1, motor operate a circle remote
From X1, corresponding second push distance S1, and S1=N1*X1;
Upper system is by calculating the data that can be obtained control system theory and should send, including the operating of umber of pulse N11, motor
One circle remote is from X1, corresponding 3rd push distance S11, and S11=N11*X1=N2*X2=S2;
Step S4, due to N1>N11, i.e. S1>S11=S2, Upper system judge S1 and S2 difference, when its difference is more than
One given threshold S, then Upper system, which judges to cut into slices, transports failure;
Step S5, Upper system sends control instruction to control system, carries out respective handling.
Preferred embodiments of the present invention are the foregoing is only, not thereby limit embodiments of the present invention and protection model
Enclose, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content
Scheme obtained by equivalent substitution and obvious change, should be included in protection scope of the present invention.