A kind of postcard Ticket issuing equipment and its control method
Technical field
The Ticket issuing equipment and its control method drawn a bill the present invention relates to a kind of separation of postcard, belong to postcard automatic ticketing
Technical field.
Background technology
Postcard admission ticket is one of main admission ticket medium of the famous tourist attraction in part, in recent years as smart travel develops, from
Dynamic ticket machine and ticket taking machine, which enter, to be started in scenic spot application.One core of automatic selling ticket taking machine is automatic ticket technology.It is existing
The technology of drawing a bill applied to scenic spot automatic machine is mainly printing and drawn a bill mode.The automatic ticket mode of printed ticket relative into
It is ripe and simple.So far occurred the automatic machine that some postcards are drawn a bill on the market, because the efficiency drawn a bill is low, failure is high,
Accuracy is difficult to ensure that and fails to put into practical application.It is the nucleus module of postcard automatic machine that postcard, which is drawn a bill,.Bright letter
The piece technology of drawing a bill is related to optoelectronic integration control technology, and difficult point is:On the one hand be Ticket issuing equipment design, be on the other hand with
The corresponding effective control method of Ticket issuing equipment.Ticket issuing equipment technological difficulties are postcard separation control, go out double control and collecting
Control etc..It is easy jam, separation mortality height that current market postcard Ticket issuing equipment, which has problem, and separation postcard is easily small
Spacing causes to draw a bill out of control, does not go out double detections or goes out that double Detection accuracies are low, Ticket issuing equipment does not account for housing controlling mechanism,
The problem of being easily caused draw a bill, lacks temporary controlling mechanism, speed of drawing a bill and efficiency are difficult to ensure that more.
Through investigation, it is a bottleneck that the postcard Ticket issuing equipment of current China's designed, designed, which separates and gone out double control aspect,.
The content of the invention
The technical problem to be solved in the invention is:Current postcard Ticket issuing equipment, easily occurs drawing a bill not smooth and goes out
Double the problem of.
The present invention takes following technical scheme:
A kind of postcard Ticket issuing equipment, the Ticket issuing equipment includes, for letter Disengagement zone, read area, sending area, keeping in successively
Area;Described to be provided with separating mechanism 1 for letter Disengagement zone, separating mechanism 1 includes belt pulley 1d, friction belt 1c, reverse damping wheel 1b, L
Shape baffle plate 1a;Belt pulley 1d drives friction belt 1c to rotate, and friction belt 1c drives postcard to be fed forward, L-shaped baffle plate 1a bottoms tool
There is inclination angle, make postcard formation imbricate;Reverse damping wheel 1b is driven by motor so that second ticket above the ticket of bottom is by anti-
Moved backward to thrust, prevent itself and bottom ticket to be separated out together;The Scan Architecture 3 of the read area carries out out double Scanning Detctions
And bar code scan, bar code scan is carried out if being normally if testing result, housing action is otherwise carried out;The transmission area is provided with collecting
Mechanism, the accommodation structure is swung up and down by magnet control flap door 4, the collecting position for making postcard fall into below the front end of flap door 4
Put or drawn a bill through Xia Piao mechanisms 5;Also include auxiliary separating mechanism, the auxiliary separating mechanism includes stand-by motor, crank connecting link
Mechanism, toggle is connected with for letter plate 2, and program is received after separation failure signal, starts auxiliary separating mechanism, auxiliary electricity
Machine rotates, using toggle, drives and is swung up and down for letter front edge of board, it is stirred the postcard separated not successfully, will
Its aligning of drawing a bill, is then again started up separating motor, proceeds lock out operation;Also include lower ticket temporary storage mechanism, it is described
The bottom of lower ticket temporary storage mechanism is provided with temporary electromagnet and lower ticket turnover panel, and drawing a bill falls into lower ticket temporary storage mechanism and keep in, bright needed for waiting
After card is all separated, electromagnet is kept in adhesive, drives lower ticket turnover panel to open downwards, realizes that whole folded disposable fall into of postcard takes
Ticket mouthful.
The technical program is intended to can solve the problem that following three points subject matter:
1st, improve and be successfully separated rate.The stability drawn a bill depends on separating mechanism, and existing multiple commercial vendors separate this in postcard
There is technological deficiency in block, the problems such as their isolating construction easily jam occurs, and not have counter-measure to this, i.e. these problems
Once occur, Ticket issuing equipment cannot normal work, it is necessary to which manual intervention can just be continued to run with.Drawn a bill dress by researching and developing postcard
This project is put, Success rate of virus isolation and segregational stability are improved from mechanical mechanism.
2nd, double rates are reduced out.Postcard easily shows double situations in separation, due to the printing per a collection of postcard and system
There is little bit different on work, go out double can not now to reduce postcard from this source of separating mechanism unavoidably and go out double probability.
3rd, the controllability to abnormal conditions is strengthened.The reliability drawn a bill depends on control, processing and the guarantor to abnormal conditions
The ability that card machine can be continued to run with.Generally Ticket issuing equipment easily show it is double, house failure and clear temporary unsuccessfully etc. different
Reason condition.For these problems, now develop a set of reliable monitoring system, and coordinate ray machine power technology add multiple monitoring points with
State to postcard each position in the module judges, and makes reply action accordingly.
A kind of control method of postcard Ticket issuing equipment,
A. the region corresponding to the auxiliary separating mechanism is to stack area;It is described to stack area's arrangement auxiliary separation Photoelectric Detection
Unit 1. with remaining ticket photodetector unit 2., auxiliary separation photodetector unit be 1. arranged at auxiliary separating mechanism below, be easy to
Control is tracked to auxiliary separating mechanism, 2. remaining ticket photoelectricity be arranged at postcard and stack near bottom, remaining postcard is entered
Row detection, request of being easy to draw a bill draw a bill the anticipation whether quantity meets.
B. 3. photodetector unit, separates photodetector unit in place and is 3. arranged at end the separation of Disengagement zone arrangement in place,
And the distance for separating photodetector unit in place 3. position and separating opening is less than postcard width;
C. read section arrange two pairs read photodetector units 5. and a pair of ultrasonic thickness measurement sensors 4., wherein super
4. sound wave thickness measurement sensor sets front end, for detect separation postcard whether individual, a pair read photodetector units 5. set
End is placed in, the positional distance of reading photodetector unit 5. separates photodetector unit in place, and 3. distance is less than a postcard
Distance, two reading photoelectric actions of installation are to determine up to whether read area admission ticket tilts;
D. sending area's arrangement collecting turnover panel displacement switch 6., housing photodetector unit 7., enter temporary Photoelectric Detection list
8. whether member, house turnover panel displacement switch and be 6. arranged at left side section, be easy to detection to house and succeed, enter temporary photodetector unit 8.
End is arranged at, whether is normally sent in place for detecting;
E. set in working area temporary photodetector unit 9. with temporary turnover panel displacement switch 10., keep in photodetector unit
9. being arranged in the middle part of temporary storage box, whether clearing up dry during for detecting whether postcard normally fall ins temporary and clear temporary completely
Only, keep in turnover panel displacement switch and be 10. arranged in right side, for whether in place to detect temporary action.
Further, every time before separation, starting state self-inspection, detection stacks ticket situation, Disengagement zone, read area more than section
With send area and be temporarily stored in state;State Autonomous test normally starts separating action afterwards, and abnormal state carries out initial operation, just
Status checkout is carried out after beginningization again;State self-inspection is abnormal after initial, stops operation of drawing a bill;State self-inspection ensures to draw a bill before separation
Accurate and the smooth of passage of drawing a bill, it is abnormal for simple state, it can be removed by initializing, to reduce downtime rate;Point
Include normal separation and auxiliary separation from control process;Separation starts separation motor and reads motor, in place photodetector unit
3. check that postcard separation terminates during signal, separation motor stops, and reads motor and continues to run with, into read area;Separating action
Time restriction is set, photodetector unit 3. signal in place is not detected by when reaching setting time, separation stops;Start auxiliary point
Auxiliary separation is carried out from motor, 1. carries out aiding in the judgement of separating action implementing result by auxiliary separation photodetector unit;It is auxiliary
Help after separating successfully, be again started up separating control action;If continuous three separation failure, control system report failure stops.
Separation control core, which avoids or reduced small spacing, to be occurred:On the one hand, the position of photoelectricity 3 must be provided with distance point in place for control point separation
It is less than from a distance from mouth in a postcard width range, on the other hand separation motor and reading motor need to carry out interoperation,
Stop separating motor, and preserve reading motor continuation to transmit immediately when postcard to separation photoelectricity 3 in place, it is to avoid take out of next
Open postcard;Read area carries out released state and information monitoring;Separating status information normally enters transmission area, separating status information
Exception enters accommodating area;When postcard enters read area, 4. ultrasonic thickness measurement sensor carries out Thickness sensitivity, and dynamic detection goes out
Postcard individual or multiple;Read photodetector unit 5. in the left and right two of read area configuration, it is to avoid separation postcard inclines
Signal causes to send collecting failure not in time in place for detection when tiltedly.Area is sent to control to include sending keeping in and sending to house;Read
Area judges that normal postcard sends temporary, 8. detects that sending action is completion by entering temporary photodetector unit;Sending action
After the completion of need to judge whether it is clear temporary, if necessary to it is clear it is temporary enter control flow temporary clearly, if without keeping in clearly, entered
Enter auxiliary separation photodetector unit 1. to continue to separate postcard process;Read area is housed if abnormal state is detected;
Open and house turnover panel, detect whether to open in place by housing turnover panel bit switch, sent if opening startup in place and reading motor
To accepting box;House photodetector unit and 7. detect whether photoelectricity houses normally;Continue remaining ticket photoelectricity if housing normally
Detection unit (2.) carries out lock out operation, if housing abnormal, sends and alerts and stop postcard separation;House Photoelectric Detection list
The full state of status checkout accepting box before 7. member is additionally operable to separation;Control temporary clearly is whole control final step, when keeping in clearly
Be first turned on temporary turnover panel, 10. detect that turnover panel opens situation by temporary turnover panel displacement switch, 9. judged by temporary photoelectricity be
No clear keep in finishes, and is finished if it exceeds limiting time is not detected by clear deposit, and reports that failure simultaneously stops separation process, normal clear temporary
Deposit after finishing, if the also postcard number of outstanding requests, go successively to remaining ticket photoelectricity (2.) progress separation and draw a bill.
The beneficial effects of the present invention are:
1. being automatically separated for postcard admission ticket can be realized;
2. it can realize that postcard goes out double detections and controlled;
Automatic detection and rejecting are carried out to the bar code validity on postcard admission ticket 3. can realize;
4. it can realize whether consecutive numbers carries out automatic detection to the bar code on postcard admission ticket;
5. the auto inventory work to postcard quantity can be realized.
6. by L-shaped baffle plate, reverse damping wheel, effectively realize single envelope separation.
7. go out double detections by just carrying out bar code scan, better reliability.
8. increase auxiliary separates this reply mechanism, the essence of the structure is exactly to imitate human hand, goes to stir postcard heap
Bottom, good released state is adjusted to by postcard.
9. whole control process all-the-way tracking is accurately controlled, draw a bill high reliability, high accuracy are improved, is largely dropped
Low outage rate, so as to improve efficiency.
Brief description of the drawings
Fig. 1 is the front view of Ticket issuing equipment internal structure.
Fig. 2 is the top view of Ticket issuing equipment internal structure, it is shown that function zoning.
Fig. 3 is the profile of Ticket issuing equipment internal structure.
Fig. 4 is separating mechanism partial enlarged drawing.
Fig. 5 is the front view after Ticket issuing equipment increase auxiliary separating mechanism and lower ticket temporary storage mechanism.
Fig. 6 is the sectional view after Ticket issuing equipment increase auxiliary separating mechanism and lower ticket temporary storage mechanism.
Fig. 7 is the left view after Ticket issuing equipment increase auxiliary separating mechanism and lower ticket temporary storage mechanism.
Fig. 8 is postcard Ticket issuing equipment control point layout drawing.
Fig. 9 is that postcard is drawn a bill control flow chart.
In figure, 1. separating mechanisms, 2. for letter plate, 3. sweep mechanisms, 4. flap doors, 5. Xia Piao mechanisms, 1a.L shape baffle plates, 1b.
Reverse damping wheel, 1c. friction belts, 1d. belt pulleys;1. auxiliary separates photodetector unit, 2. ticket photodetector unit more than,
3. separates photodetector unit in place, 4. ultrasonic thickness measurements sensor, and 5. reads photodetector unit, 6. houses turnover panel position
Pass is removed, photodetector unit is 7. housed, 8. enters temporary photodetector unit, photodetector unit is 9. kept in, turnover panel is 10. kept in
Displacement switch.
Embodiment
With reference to specific drawings and examples, the present invention is further described.
Postcard Ticket issuing equipment includes master control program, the automatically controlled submodule of control machinery action and performs action of drawing a bill
Mechanic submodule.
1st, as the nervous centralis of whole module, master control program not only needs to have sent each mechanism in link of respectively drawing a bill
Effect instruction, more possesses a set of tight monitoring flow, each link need to be detected and judged, logic and its careful.Main program
Security reliability be whole Ticket issuing equipment the outpost of the tax office.
2nd, automatically controlled submodule includes board design and mcu programming, to carry out action control to mechanical structure, wherein
Major technique is that stepper motor and sensor are controlled and coordinated.
3rd, the final executor of Ticket issuing equipment is mechanic submodule, is also the core technology in whole Ticket issuing equipment.The son
Module includes making the separating mechanism that postcard separated one by one, for scanning the sweep mechanism of bar code on every postcard, going out
Accommodation structure and most postcard falls into the Xia Piao mechanisms of ticket selling slot at last that existing abnormal conditions are reclaimed to invalidated ticket.Its work is former
Reason is as follows:
(1) by several postcards be put in for letter plate above, friction belt by frictional force drive lowermost postcard to
Preceding motion is to be separated, in order to prevent when each separation because the reasons such as paper adhesion have more than the folded ticket quilt of one
Separate, add reverse damping mechanism and carry out counter push away and be not required to postcard to be separated, and aided in by imbricated texture loosely bright
Card is to reduce paper adhesion.
(2) after bottom ticket postcard is separated out feeding scanning area, separating action terminates and stopped.It will then be introduced into out double
Detection, carries out bar code scan if being normally if testing result, otherwise carries out housing action, postcard will be admitted to collecting machine
Structure.Afterwards, into bar code scan link, if bar code is recognized successfully, postcard will fall ticket feeding port by Xia Piao mechanisms;If bar code is known
Do not fail, postcard can similarly be admitted to accommodation structure.
Wherein, the operation principle of reverse damping wheel is exactly:When separation motor, which is rotated forward, drives friction belt to travel forward, give
The ticket frictional force of bottom first and it is travelled forward and be separated, rub belt wheel rotate forward forward while, reversely damping
Wheel reversion so that the ticket above the ticket of bottom is damped the deboost of wheel and moved as after, thus can effectively prevent it and
Bottom ticket is separated out together, and double rates are reduced out from source.
And the operation principle of accommodation structure is exactly, once there is postcard against regulation to be separated, electromagnet will
Receive signal to carry out adhesive action to drive the folding of flap door, when flap door is opened, postcard will be oriented to by guide plate below flap door
To accommodation structure, when flap door is closed, postcard can be from the upper side normal through entrance Xia Piao mechanisms.
In early stage debugging, it has been found that, it is not good that postcard released state occurs for occasional in Ticket issuing equipment operationally
And lead to not separation, in order to solve this problem, increase auxiliary separates this reply mechanism, referring to Fig. 5-Fig. 6, the structure
Essence is exactly to imitate human hand, goes to stir the bottom of postcard heap, postcard is adjusted into good released state, its operation principle
It is:Program is received after separation failure signal, starts auxiliary separating mechanism, and stand-by motor rotation, using toggle, drives
Swung up and down for letter front edge of board, it is stirred the postcard separated not successfully, then aligning of being drawn a bill is again started up point
From motor so that Ticket issuing equipment can be continued to run with, lock out operation is carried out.
In early stage debugging, it has been found that, postcard is fallen into after ticket selling slot one by one, relatively more at random, is unfavorable for visitor one
Secondary property is taken, therefore in order to solve this problem, we increase lower ticket temporary storage mechanism, referring to Fig. 5-Fig. 6, makes the bright letter being separated
Piece first enters temporary storage box one by one, after postcard all separates needed for waiting, and electromagnet keep in adhesive, and ticket turnover panel is beaten downwards under driving
Open, realize that whole fold of postcard disposably falls into ticket selling slot.
Specific control point arrangement is described in detail below:
Refer to shown in Fig. 8, Ticket issuing equipment is divided into according to control thought and stacks area, Disengagement zone, read area, transmission area
And working area.Control point position deployment scenarios designed by the control method of this programme are described below:
(1) area is stacked, that is, separates front section, two pairs of photoelectricity are arranged in the section that stacks of Ticket issuing equipment, wherein auxiliary separation
1. photoelectricity is arranged at below auxiliary separating mechanism, is easy to be tracked control to auxiliary separating mechanism, 2. remaining ticket photoelectricity be arranged at
Postcard is stacked near bottom, and remaining postcard is detected, request of being easy to draw a bill draw a bill, and that whether quantity meet is pre-
Sentence.
(2) a pair of photoelectricity are arranged in separate sections, 3. photoelectricity be arranged at end, and photoelectricity in place to be separated in place for separation
3. positional distance separating opening is less than a postcard width, reduces the small spacing of separation and sends.
(3) section two pairs of photoelectricity of arrangement and a pair of ultrasonic sensors are being read, 4. wherein ultrasonic thickness measurement sensor sets
Put front end, for detect separation postcard whether individual, read photoelectricity and be 5. arranged at end for a pair, read the position of photoelectricity 5. away from
From photoelectricity 3. with a distance from be less than postcard distance, install two read photoelectricity purposes be to determine up to read area admission ticket whether
Tilt;
(4) section two pairs of photoelectricity of arrangement and a pair of displacement switch are being sent, is 6. being arranged at wherein housing turnover panel displacement switch
In place whether left side section, detection house;House photoelectricity to be 7. arranged at below this section in accepting box, be easy to whether collecting succeeds;Enter
Whether 8. temporary photodetector unit is arranged at end, sent normally in place for detecting;
(5) a pair of photoelectricity and a pair of displacement detection switch are set in working area, wherein 9. temporary photoelectricity set and temporary storage box
Whether middle part, clean out completely during for detecting whether postcard normally fall ins temporary and clear temporary;Temporary turnover panel displacement
10. switch is arranged on the right side of end, for whether in place to detect clear temporary action.
Specific control flow is described in detail below:
Fig. 9 control flow charts are referred to, this case design control method logic flow is as follows:
(1) every time before separation, starting state self-inspection, detection stacks ticket situation, Disengagement zone, read area and transmission more than section
Area and it is temporarily stored in state.State Autonomous test normally starts separating action afterwards, and abnormal state carries out initial operation, after initialization
Status checkout is carried out again.State self-inspection is abnormal after initial, stops operation of drawing a bill.Before separation state self-inspection ensure to draw a bill it is accurate and
Draw a bill the smooth of passage.It is abnormal for simple state, it can be removed by initializing, to reduce downtime rate.
(2) separation control process includes normal separation and auxiliary separation.
Separation starts separation motor and reads motor, and postcard separation terminates when 3. photoelectricity check signal in place, separation electricity
Machine stops, and reads motor and continues to run with, into read area.Separating action sets time restriction, is not detected when reaching setting time
To photoelectricity 3. signal, separation stops.Start auxiliary separation motor and carry out auxiliary separation, auxiliary separation is 1. carried out by auxiliary photoelectricity dynamic
Make the judgement of implementing result.After auxiliary is separated successfully, it is again started up separating control action.If continuous three separation failure, control
System Reports failure processed stops.Separation control core, which avoids or reduced small spacing, to be occurred:On the one hand, control point separates photoelectricity in place
3. position must be provided with less than one postcard width range of distance separation mouthful distance, on the other hand separates motor and reads electric
Machine needs to carry out interoperation, when postcard to separate in place photoelectricity 3. when stop separating motor immediately, and preserve reading motor
Continue to transmit, it is to avoid take next postcard out of.
(3) read area control core is released state and information monitoring.Separating status information normally enters transmission area, separation
Status information enters accommodating area extremely.When postcard enters read area, thickness detecting sensor carries out Thickness sensitivity, sensor
Postcard individual or multiple can be gone out with dynamic detection.Individual be it is normal, multiple be probably then it is double.Sensor ensure that out after survey
Ticket accuracy, it must be individual to draw a bill.Dynamic is detected, it is to avoid is entered read area pause, it is ensured that speed of drawing a bill, is also ensured
With the cooperation of separating action to prevent small spacing.In addition, photoelectricity is read in the left and right of read area configuration two 5., it is to avoid separation is bright
Signal causes to send collecting failure not in time in place for detection during card run-off the straight.
(4) area is sent to control to include sending keeping in and sending to house.Read area judges that normal postcard sends temporary, by
Enter temporary photoelectricity and 8. detect that sending action is completion.Need to judge whether after the completion of sending action to keep in clearly, if necessary to clear temporary
Deposit into clear temporary control flow.If without keeping in clearly, entering auxiliary separation photodetector unit and 1. continuing to separate bright letter
Piece process.Read area is housed if abnormal state is detected.Open and house turnover panel, be by housing the detection of turnover panel bit switch
No opening is sent to accepting box in place, if opening and starting reading motor in place.7. accepting box photoelectricity detect whether photoelectricity is received
Hold normal.Continue to aid in separation photoelectricity 1. to carry out lock out operation if housing normally.If housing abnormal, send and alert and stop
Only postcard is separated.Accepting box photoelectricity also has an effect, for the full state of status checkout accepting box before separation.
(5) control temporary clearly is whole control final step.It is to avoid drawing a bill one by one to set temporary purpose, can with it is a collection of go out
Ticket.Temporary quantity can be configured, reaches that configuration quantity is kept in clearly automatically.Completion of drawing a bill in addition directly can be kept in clearly.It is clear temporary
When be first turned on temporary turnover panel, 10. detect that turnover panel opens situation by temporary turnover panel displacement switch, 9. judged by temporary photoelectricity
Whether keep in clearly and finish.Finished if it exceeds limiting time is not detected by clear deposit, report failure and stop separation process.It is normal clear
It is temporary finish after, if the also postcard number of outstanding requests, go successively to 1. to carry out separation to draw a bill.
Whole control process all-the-way tracking is accurately controlled, and is improved draw a bill high reliability, high accuracy, is largely reduced
Outage rate, so as to improve efficiency.