CN2629141Y - Single-ticket automatic booking machine - Google Patents

Single-ticket automatic booking machine Download PDF

Info

Publication number
CN2629141Y
CN2629141Y CN 03214230 CN03214230U CN2629141Y CN 2629141 Y CN2629141 Y CN 2629141Y CN 03214230 CN03214230 CN 03214230 CN 03214230 U CN03214230 U CN 03214230U CN 2629141 Y CN2629141 Y CN 2629141Y
Authority
CN
China
Prior art keywords
ticket
wheel
integrated circuit
chip microcomputer
electromagnet
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.)
Expired - Fee Related
Application number
CN 03214230
Other languages
Chinese (zh)
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.)
YINHE AUTOMATION TECHNOLOGY Co Ltd SHENYANG
Original Assignee
YINHE AUTOMATION TECHNOLOGY Co Ltd SHENYANG
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 YINHE AUTOMATION TECHNOLOGY Co Ltd SHENYANG filed Critical YINHE AUTOMATION TECHNOLOGY Co Ltd SHENYANG
Priority to CN 03214230 priority Critical patent/CN2629141Y/en
Application granted granted Critical
Publication of CN2629141Y publication Critical patent/CN2629141Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The utility model discloses an automatic single ticket seller, which comprises an industrial control computer, a single ticket dispense module, a coin machine, a control part and so on. The single ticket dispense module comprises a driving and printing part, a thickness measuring part, a character wheel part , a color ribbon and a ticket box; the driving and printing part consists of a ticket pickup wheel and a ticket driving wheel driven by the step motor, a guide plate, a rotation arm, a printing hammer and a commutation board. The ticket pickup wheel is positioned correspondingly to the ticket box outlet, one end of the L-shaped rotation arm is connected with a tension spring and a magnet while the other end is connected with the printing hammer which is positioned correspondingly to the character wheel part, the color ribbon is disposed between the printing hammer and the character wheel part, the ticket out side of the ticket driving wheel is positioned correspondingly to the clearance formed between the printing hammer and the character wheel part, the character wheel part is composed of a date wheel, a month wheel and an information wheel which are driven by the magnet and the step motor through the ratchet wheel and the ratchet mechanism, the thickness measuring part is composed of a micro-measurement displacement sensor driven by the thickness measuring magnet and positioned on one side of the guide plate, the commutation board driven by the withdrawal magnet is disposed at the ticket outlet. The utility model is simple in structure and applicable in a wide scope.

Description

The single-ticket automatic machine
Technical field
The utility model relates to ticket machine, is specially a kind of single-ticket automatic machine.
Background technology
Along with people to improving constantly that material and cultural life requires, also thereupon the improving of people's work, work efficiency, but seriously hindered the people's work work efficiency in the artificial ticketing efficient in some field.The appearance of single-ticket automatic machine has solved many inconvenience of artificial ticketing.Present domestic like product seldom, and application is not very extensive.
Common automatic machine has many drawbacks, and particular problem is as follows:
A, can't distinguish five jiaos and monobasic coin;
B, when going wrong, system do not move back the coin function;
C, single vote paper are exported the height of controlling cost;
D, volume are big, the dismounting inconvenience;
E, coin refund do not have anti-theft feature.
The utility model content
The purpose of this utility model is to provide a kind of single-ticket automatic machine simple in structure, applied widely, can realize inserting coins, and goes out single-ticket, moves back coin when breaking down automatically, can date printed.
The technical solution of the utility model is:
A kind of single-ticket automatic machine, comprise industrial computer, individual module of drawing a bill, coin-freed apparatus, display, touch-screen and control section, individual module of drawing a bill wherein, coin-freed apparatus, touch-screen links to each other with industrial computer by the RS232 interface respectively, display links to each other with the video interface of industrial computer, individual module of drawing a bill comprises the transmission printing portion, the thickness measuring part, the character wheel part, the colour band part, ballot box, the transmission printing portion is stepper motor driven ticket twisting machine, ticket delivering wheel and guide plate, pivoted arm, printing hammer, reversing plate constitutes, ticket twisting machine is corresponding with the outlet of ballot box, " " shape pivoted arm is connected with extension spring on one side, print electromagnet, another side links to each other with printing hammer, printing hammer is corresponding with the character wheel part, colour band is installed between the two, the gap that the end of drawing a bill of ticket delivering wheel partly forms corresponding to printing hammer and character wheel, character wheel partly is a date wheel, take turns in month and information wheel formation, date wheel wherein, take turns in month and pass through ratchet, ratchet structure is by solenoid actuated, the information wheel is driven by stepper motor, thickness measuring partly constitutes for the micrometering amount displacement transducer of thickness measuring solenoid actuated places guide plate one side, and the ticket outlet place is provided with the reversing plate that reclaims solenoid actuated;
Described control section comprises single-chip microcomputer, integrated circuit of clock, analog-digital conversion ic, exterior I/O expansion interface integrated circuit, Dongle, serial communication interface integrated circuit, photoelectric coupling circuit, solid-state relay, industrial computer and control section carry out data communication by the RS232 bus, the communication data that industrial computer is sent carries out signal transformation through the serial communication interface integrated circuit, the RS232 conversion of signals is become the TTL signal of standard, receive the serial data input end of single-chip microcomputer from the TTL signal end of serial communication interface integrated circuit;
The I/O control end of single-chip microcomputer links to each other with sth. made by twisting ticket controllor for step-by-step motor, subpoena controllor for step-by-step motor, information wheel controllor for step-by-step motor respectively by photoelectric coupling circuit; The I/O control end of single-chip microcomputer is printed electromagnet, second with thickness measuring electromagnet, first respectively by exterior I/O expansion interface integrated circuit, solid-state relay and is printed electromagnet, date character wheel electromagnet, month character wheel electromagnet and be connected; The I/O control end of single-chip microcomputer is connected with the signal triggering end of Dongle, and the reset terminal of Dongle is connected with the reset terminal of single-chip microcomputer, the exterior I/reset terminal of O expansion interface integrated circuit, the reset terminal of integrated circuit of clock.
The data bus of single-chip microcomputer is connected with the exterior I/data bus of O expansion interface integrated circuit, the data bus of integrated circuit of clock, the data bus of analog-digital conversion ic, the port of exterior I/O expansion interface integrated circuit selects control end to be connected the read/write signal control end of exterior I/O expansion interface integrated circuit with single-chip microcomputer; The read/write signal control end of analog-digital conversion ic; The read/write signal control end of integrated circuit of clock, be connected with the read/write signal control end of single-chip microcomputer respectively, the sheet choosing end of the sheet choosing end of exterior I/O expansion interface integrated circuit, the sheet choosing end of analog-digital conversion ic, integrated circuit of clock is connected with single-chip microcomputer respectively;
Colour band motor control signal, recovery magnet control signal pass through the data bus of single-chip microcomputer behind the data bus of exterior I/O expansion interface integrated circuit, by exterior I/O expansion interface integrated circuit output, these two signals are connected with solid-state relay respectively, after solid-state relay isolation amplification, be connected to the colour band motor respectively and reclaim electromagnet; Twist with the fingers ticket/subpoena motor convert light electric signal, print that location photosignal, first is printed electromagnet, second photosignal of printing electromagnet inputs to exterior I/O expansion interface integrated circuit respectively, the data bus by exterior I/O expansion interface integrated circuit inputs to single-chip microcomputer; The signal of sensor inputs to analog-digital conversion ic.
Connect between described Dongle and the power supply ground and insert 1 reset key.
Be provided with top ticket plate, ticket-pressing plate, guide plate, the axis of guide in the described ballot box, top ticket plate tilts fixing, and ticket-pressing plate and top ticket plate are set in parallel on the guide plate, and the axis of guide passes guide plate, installs on it to promote spring in the guide plate back side.
Take turns being provided with the drives structure that driving lever drives month ratchet described month, driving lever one end is manual end, and the other end passes through axle and connects a moon ratchet, and a month ratchet is connected with back-moving spring.
Described date wheel is the drives structure that driving lever drives day ratchet, and driving lever one end is manual end, and the other end connects a day ratchet by axle, and a day ratchet is connected with back-moving spring.
The beneficial effects of the utility model are:
Whether 1, the coin input equipment of single-ticket automatic machine adopts the technology that the size and the thickness of coin are discerned, and the receptance under the room temperature situation is more than 95%, and full by the infrared inductor monitoring pipe of saving.
2, adopt infrared touch panel, support to click and double-click function, under the help of display, provide friendly human-computer interaction interface for the user.
3, the employing industrial computer carries out the mode of master control, by industrial computer and individual module of drawing a bill, and coin-freed apparatus, modules such as touch-screen communicate, and are convenient to the single-ticket automatic machine is managed.
4, adopt Switching Power Supply that complete machine is powered, stable voltage is provided, and can cut off the power supply of single-ticket automatic machine at any time.
5, this individual module of drawing a bill is monitored state (gradient put etc.) and the duty of individual draw a bill module each several part etc. of ticket in transmission process by optoelectronic switch and travel switch, has in the process of drawing a bill if during problem and moves back the coin function automatically.
6, individual module of drawing a bill of this machine core component is an integral module, mainly is made up of 5 parts, and each one is all independent again, can dismantle separately and install, its module physical dimension is 370mm * 256mm * 325mm, and the speed of drawing a bill is every≤3 seconds, be provided with measuring thickness device, have two tickets of opening to reclaim function.
Description of drawings
Fig. 1 is the utility model The general frame.
Fig. 2 is a pseudosection behind the utility model.
Fig. 3 is the utility model side cutaway view.
Fig. 4 is of the present utility model individual module mechanical construction drawing of drawing a bill.
Fig. 5 is a character wheel part-structure synoptic diagram among Fig. 4.
Fig. 6 is a colour band part-structure synoptic diagram among Fig. 4.
Fig. 7 is the utility model control section block diagram.
Fig. 8 is the utility model control section circuit theory diagrams.
Fig. 9 is the utility model attended operation process flow diagram.
Figure 10 is the utility model operational flowchart of drawing a bill.
Figure 11 is the utility model drawing machine system clock operational flowchart.
Embodiment
Shown in Fig. 1~3, single-ticket automatic machine basic composition: casing 5, individual module 3 of drawing a bill, industrial computer 6, coin-freed apparatus 4, display 2, touch-screen 1, Switching Power Supply 7; Wherein individual module 3 of drawing a bill, coin-freed apparatus 4, touch-screen 1 link to each other with industrial computer 6 by the RS232 interface respectively, and display 2 links to each other with the video interface of industrial computer 6.
Industrial computer adopts Taiwan to grind the IPC6806 that magnificent company produces, overall dimensions: 166mm * 170mm * 393mm, and power supply: AC 220V ± 10% conforms: working temperature-20~40 ℃, relative humidity 10~90%, standard: UL, C-UL.Coin-freed apparatus: the MK4 that adopts sterling Heat ﹠ Control Pty Ltd. to produce, its main performance index is a power supply: DC 24V ± 10%, communication interface: RS232C, go out coin speed: about 6 pieces/second, cash box capacity: 800 pieces, conform: environment temperature-20~40 ℃, ambient humidity 10~90%, standard: UL.The model of display: SyncMaster 750B, manufacturer: SAMSUNG, overall dimensions: 412mm * 420mm * 415.5mm, power supply: AC 220V ± 10%, conform: working temperature-20~40 ℃, relative humidity 10~90%, standard: EPA ENERGY STAR ; NUTEK..The model of touch-screen: infrared 17 cun, the UT17D that adopts the Beijing Huiguan Science ﹠. Technology Co., Ltd to produce, overall dimensions: 335mm * 408mm, power supply: DC 5V ± 10%, kind: infrared type, standard: UL, CE.
Individual module mechanism structural drawing of drawing a bill shown in Fig. 4~6, individual module 3 of drawing a bill comprises transmission and printing portion 31, thickness measuring part 32, character wheel part 33, colour band part 34, ballot box 35, transmission printing portion 31 is a stepper motor 315,316 ticket twisting machines 317 that drive, ticket delivering wheel 318 and guide plate 319, pivoted arm 313, printing hammer 314, reversing plate 315 constitutes, ticket twisting machine 317 is corresponding with the outlet of ballot box 35, " " shape pivoted arm 313 is connected with extension spring 312 on one side, print electromagnet 311, another side links to each other with printing hammer 314, printing hammer 314 is corresponding with character wheel part 33, colour band is installed between the two, the gap that the end of drawing a bill of ticket delivering wheel 318 forms corresponding to printing hammer 314 and character wheel part 35, character wheel part 33 is a date wheel 336, month wheel 337 and information wheel 339 constitute, wherein date wheel 336, take turns 337 month and pass through ratchet, ratchet structure is by solenoid actuated, information wheel 339 is driven by stepper motor, wheel step motor drive month in month is taken turns electromagnet 3321, by month wheel ratchet 332 drive month wheel rotation, the date wheel driving mechanism is taken turns identical with month, thickness measuring part 33 constitutes for the micrometering amount displacement transducer of thickness measuring solenoid actuated places the guide plate both sides, and the ticket outlet place is provided with the reversing plate 315 that reclaims solenoid actuated;
Individual module workflow of drawing a bill is:
Twist with the fingers ticket → subpoena → thickness measuring → printing → subpoena → ticket outlet
Figure Y0321423000071
--→ subpoena → collection box
1) transmission and printing portion 31: transmission is realized by gear and transmission shaft, are furnished with two stepper motors, one is used to twist with the fingers ticket, one is used for subpoena, ticket delivering wheel 318 and ticket twisting machine 317 are made by the plug-in rubber of metal shaft, diameter is 24mm, connect to realize that by gear rotating the subpoena stroke synchronously is 280mm, designs every ticket from ballot box to the ticket outlet required time 2.5 seconds.Print the electromagnet optoelectronic switch and place printing electromagnet below, printing action finishes by printing electromagnet drive printing hammer, first prints 3111 control months of electromagnet optoelectronic switch, date printing action, printing electromagnet 311 drive printing hammers 314 by first finishes, print speed equals that electromagnet is driven accomplishes that the time of release is 0.2 second, print location optoelectronic switch 3141 and place print position, in service the blocking of blank vote printed location optoelectronic switch 3141, and blank vote is out of service; Second prints electromagnetism changes optoelectronic switch control information printing action, drives printing hammer by the second printing electromagnet and finishes, and the second printing electromagnet and first is printed electromagnet and be arranged in parallel.
2) the thickness measuring part 32: thickness measuring drives micrometering quantity sensor 321 by electromagnet and finishes, sensor actuating length 3mm, and resolution is 5 ‰ mm, its thickness measuring bound can be set arbitrarily by software, has increased the requirement restriction to single-ticket thickness greatly.
3) the character wheel part 33: the character wheel part mainly is made up of two coaxial character wheels (date wheel, month takes turns) and information wheel.Example:
Figure Y0321423000081
The wide 20mm of the whole horizontal or vertical scroll of calligraphy, the high 7mm of word.Drive date wheel and month wheel rotation by ratchet, quil structure by electromagnet, determine the moon, the day of printout, reach the function of the automatic adjusting moon, day, but also manual adjustments, taking turns manual adjustment means month is the drives structure that driving lever 333 drives month ratchets 334, driving lever 333 1 ends are manual end, and the other end connects a moon ratchet 334 by axle, and a month ratchet 334 is connected with back-moving spring 335; Date wheel manual adjustments machinery is taken turns identical with month.As shown in Figure 5.
4) the colour band part 34: be made of pulley 341, support 342, colour band 343, motor 344, colour band part is looped around on the pulley blocks that pulley 341 forms by the popular printer color tape in market, drive colour band 343 rotations by gear reducer motor 344, as shown in Figure 6.
5) ballot box 35: be provided with top ticket plate 354, ticket-pressing plate 352, guide plate 355, the axis of guide 356 in the ballot box 35, top ticket plate 354 tilts fixing, ticket-pressing plate 352 is set in parallel on the guide plate 355 with top ticket plate 354, the axis of guide 356 passes guide plate 355, installs on it to promote spring 353 in guide plate 355 back sides.The ballot box capacity is 700, and ticket is wide to be that 50mm~70mm is adjustable, ticket long for 150mm~170mm adjustable, in be provided with and lack the ticket monitoring sensor, is connected with main frame by the pulley rail structure, replacing conveniently.
The utility model control section block diagram and circuit theory diagrams shown in Fig. 7~8 now are described as follows the control section principle:
Sth. made by twisting ticket step motor control signal is connected with the pin NPBU of photoelectric coupling circuit OPNPB2 (P521) by the I/O control pin NPBU of single-chip microcomputer U1 (89C51), this signal is isolated the back by photoelectric coupling circuit OPNPB2 and is connected with 4 pin of connector NPB2, is connected with sth. made by twisting ticket controllor for step-by-step motor by connector NPB2.
Subpoena step motor control signal is connected with the pin CPBU of photoelectric coupling circuit OPCPB2 (P521) by the I/O control pin CPBU of single-chip microcomputer U1 (89C51), this signal is isolated the back by photoelectric coupling circuit OPCPB2 and is connected with 4 pin of connector CPB2, is connected with the subpoena controllor for step-by-step motor by connector CPB2.
The step motor control signal of information wheel is connected with the pin ZLBU of photoelectric coupling circuit OPZLB2 (P521) by the I/O control pin ZLBU of single-chip microcomputer U1 (89C51), this signal is isolated the back by photoelectric coupling circuit OPZLB2 and is connected with 4 pin of connector ZLB2, is connected with the controllor for step-by-step motor of information wheel by connector ZLB2.
Thickness measuring magnet control signal is connected with the pin CHDT of solid-state relay OPCEHO2 (D0111) by the I/O control pin CHDT of single-chip microcomputer U1 (89C51), this signal is isolated the amplification back by solid-state relay OPCEHO2 and is connected with 2 pin of connector CEHO2, is connected with the thickness measuring electromagnet by connector CEHO2.
The I/O control pin PDT1 that first control signal of printing electromagnet is passed through single-chip microcomputer U1 (89C51) is connected with the pin PDT1 of solid-state relay OPDAY2 (D0111), this signal is isolated the amplification back by solid-state relay OPDAY2 and is connected with 2 pin of connector DAY2, prints electromagnet by connector DAY2 and first and is connected.
The I/O control pin PDT2 that second control signal of printing electromagnet is passed through single-chip microcomputer U1 (89C51) is connected with the pin PDT2 of solid-state relay OPZLW3 (D0111), this signal is isolated the amplification back by solid-state relay OPZLW3 and is connected with 2 pin of connector DAYI3, prints electromagnet by connector DAYI3 and second and is connected.
The control signal of date character wheel electromagnet is connected with the pin DTDA of solid-state relay OPZLD2 (D0111) by the I/O control pin DTDA of single-chip microcomputer U1 (89C51), this signal is isolated the amplification back by solid-state relay OPZLD2 and is connected with 2 pin of connector ZLD2, is connected with date character wheel electromagnet by connector ZLD2.
Month, the I/O control pin DTWE of control signal by single-chip microcomputer U1 (89C51) of character wheel electromagnet was connected with the pin DTWE of solid-state relay OPZLW2 (D0111), this signal isolate to amplify the back by solid-state relay OPZLW2 and is connected with 2 pin of connector ZLW2, by connector ZLW2 with the moon on date the character wheel electromagnet be connected.
The I/O control pin DOG of single-chip microcomputer U1 (89C51) is connected with the signal triggering end DOG of Dongle U5 (MAX813), be used to monitor whether single-chip microcomputer U1 (89C51) is working properly, the reset terminal REST of Dongle U5 (MAX813) is connected with reset terminal REST, the reset terminal REST of integrated circuit of clock U2 (DS12887) of reset terminal REST, the exterior I/O expansion interface integrated circuit U4 (8255) of single-chip microcomputer U1 (89C51), be used to monitor single-chip microcomputer U1 (89C51), when its work is abnormal, system resetted.1 jiao of Dongle U5 (MAX813) with power supply ground, between 1 reset key of series connection access, press this button in the resetting system manually at needs, system's forced resetting.
The serial ports of industrial computer is received control section connector RS232 2,3,5 pin, connector 2 on the control section, the RS232 bus end of 3 pin and serial communication interface integrated circuit U7 (MAX232), R1IN, T1OUT connects, the 5 pin ground connection of connector RS232, industrial computer and control section carry out data communication by the RS232 bus, the communication data that industrial computer is sent carries out signal transformation through serial communication interface integrated circuit U7 (MAX232), the RS232 conversion of signals is become the TTL signal end R1OUT of the TTL signal of standard from serial communication interface integrated circuit U7 (MAX232), T1IN receives the serial type data input pin P3.0 of single-chip microcomputer U1 (89C51), the P3.1 pin.
The data bus PD0-PD7 of single-chip microcomputer U1 (89C51) is connected with the data bus PD0-PD7 of data bus PD0-PD7, the integrated circuit of clock U2 (DS12887) of exterior I/O expansion interface integrated circuit U4 (8255), the data bus PD0-PD7 of analog-digital conversion ic U3 (ADC0804).The port of exterior I/O expansion interface integrated circuit U4 (8255) selects control end 8255A0,8255A1 to be connected with 8255A0, the 8255A1 end of single-chip microcomputer U1 (89C51), single-chip microcomputer U1 (89C51) selects to use exterior I/O expansion interface integrated circuit U4 (8255) A mouth, B mouth, C mouth by 8255A0,8255A1 are held programming.Read/write signal control end RD, the WR of exterior I/O expansion interface integrated circuit U4 (8255); Read/write signal control end RD, the WR of analog-digital conversion ic U3ADC0804; Read/write signal control end RD, the WR of integrated circuit of clock U2DS12887 are connected with read/write signal control end RD, the WR of single-chip microcomputer U1 (89C51) respectively.The sheet of exterior I/O expansion interface integrated circuit U4 (8255) choosing end/8255 and single-chip microcomputer U1 (89C51)/8255 ends are connected; The sheet of analog-digital conversion ic U3 (ADC0804) choosing end/AD0804 and single-chip microcomputer U1 (89C51) /AD0804 holds and is connected; The sheet of integrated circuit of clock U2 (DS12887) choosing end/12887 and single-chip microcomputer U1 (89C51)/12887 ends are connected.Single-chip microcomputer U1 (89C51) selects the sheet choosing end to outside I/O expansion interface integrated circuit U4 (8255), integrated circuit of clock U2 (DS12887), analog-digital conversion ic U3 (ADC0804) by timesharing, comes these three elements are operated.
The colour band motor control signal is exported by the SDDT end of exterior I/O expansion interface integrated circuit U4 (8255) behind the data bus PD0-PD7 of exterior I/O expansion interface integrated circuit U4 (8255) by the data bus PD0-PD7 output of single-chip microcomputer U1 (89C51), this signal is connected with the SDDT end of solid-state relay OPSEDA2 (D0111), isolate the amplification back by solid-state relay OPSEDA2 (D0111) and be connected, be connected with the colour band motor by connector SEDA2 with 2 pin of connector SEDA2.
Reclaiming the magnet control signal is exported by the FPDT end of exterior I/O expansion interface integrated circuit U4 (8255) behind the data bus PD0-PD7 of exterior I/O expansion interface integrated circuit U4 (8255) by the data bus PD0-PD7 output of single-chip microcomputer U1 (89C51), this signal is connected with the FPDT end of solid-state relay OPFEN2 (D0111), isolate the amplification back by solid-state relay OPFEN2 (D0111) and be connected, be connected with the recovery electromagnet by connector FEN2 with 2 pin of connector FEN2.
Twist with the fingers of the 2 pin input of ticket/subpoena motor convert light electrical signal from connector CEXIE1, this signal is directly held with the CEXIE1 of exterior I/O expansion interface integrated circuit U4 (8255) and is connected, and the data bus PD0-PD7 by exterior I/O expansion interface integrated circuit U4 (8255) inputs to single-chip microcomputer U1 (89C51).
Print of the 2 pin input of location photosignal from connector PRNWE, this signal is directly held with the PRNWE of exterior I/O expansion interface integrated circuit U4 (8255) and is connected, and the data bus PD0-PD7 by exterior I/O expansion interface integrated circuit U4 (8255) inputs to single-chip microcomputer U1 (89C51).
First photosignal of printing electromagnet, the second printing electromagnet is imported from 2 pin of connector PRNDT1 and 2 pin of connector PRNDT2 respectively, these two signals are directly held with PRNDT1 end, the PRNDT2 of exterior I/O expansion interface integrated circuit U4 (8255) and are connected, and the data bus PD0-PD7 by exterior I/O expansion interface integrated circuit U4 (8255) inputs to single-chip microcomputer U1 (89C51).
The 5V power supply of control section is from the input of connector POWER end; The 24V power supply of control section is from the input of connector POWER2 end
The input end of DC/DC power module is connected with the 5V power supply of control section, and the 5V power supply of control section produces ± 12 power supplys through the DC/DC power module back of boosting, this ± 12 power supplys are connected with connector ADIN, as the working power of sensor.
The signal of sensor directly is connected with the signal input part AIN of analog-digital conversion ic U3ADC0804 from the AIN end input of connector ADIN.This sensor is mainly used to detect the thickness of the ticket in individual drawing machine passage.
On function, the control section of individual module of drawing a bill is formed and function declaration:
1) control section by 1. signal sampling part 2. the signal condition part 3. the CPU processing section 4. electromagnet and step motor control part 5. running part 6. printing portion form.
2) each several part function:
1. signal sampling part: the signal sampling part is made up of displacement transducer, photoelectric sensor travel switch.By the thickness of displacement transducer detection ticket, it is accurate to guarantee that individual is drawn a bill; Realize the sth. made by twisting ticket of ticket in transmission course and the switching of subpoena by photoelectric sensor, the location of ticket in transmission process, survey grow, the feedback of ticket state in deviational survey and the transmission process; Reconcile the movement position of electromagnet, printing electromagnet, recovery baffle plate electromagnet by travel switch Displacement Measurement sensor electrical magnet, character wheel.
2. signal condition part: with the analog signal conditioner of the displacement transducer that collects for can be for the digital signal of CPU identification.
3. CPU processing section: processing, computing, the whole process of drawing a bill of control, and realize automatic conciliation, the correction of system clock, the management of ticketing service and data communication.
4. electromagnet and step motor control part: major control draw a bill the associated electrical magnet in the process and the action of relevant stepper motor.
5. the running part of ticket: form by stepper motor and relative photo electric device, mainly realize twisting with the fingers ticket, subpoena function.
6. the printing portion of ticket: printing portion is the major part of whole individual module of drawing a bill, by month character wheel reconcile electromagnet, date character wheel and reconcile electromagnet, information wheel and reconcile stepper motor, position probing photoelectric sensor, time and print electromagnet and information and print electromagnet and form.Finish the automatic conciliation of day, month, guarantee consistent with the Beijing time on the same day.Automatically the content of printing ticket according to system information (comprising: the content of time, the definition of information wheel).
The communication interface of the utility model part of module adopts standard RS232 interface to communicate by letter with industrial computer (6), individual draw a bill module and industrial computer (6) communication process, calling out individual module of drawing a bill by industrial computer (6) responds, communication data adopts the BCC verification, whenever go out a ticket communication once, communication baud rate 9600.
1) Content of Communication comprises:
1. initialization drawing machine system
2. read individual module status order of drawing a bill
3. individual module of drawing a bill order of drawing a bill
4. read individual modular system date command of drawing a bill
5. write individual modular system date command of drawing a bill
2) communication format:
Communication format adopts following consolidation form:
--order--stop bit---BCC verification of command format: start bit
--data--stop bit---BCC verification of status format: start bit
--data--stop bit---BCC verification of data layout: start bit
1. initialize communications: when using for the first time drawing machine or hope to empty in the drawing machine existing data, use this order.
A, industrial computer are sent out initialization command, and (4 byte) waits for the drawing machine response then.
Initialization command Code 0x11
B, drawing machine are received initialization command, and drawing machine state and ballot box state are sent out industrial computer (5 byte).Clear memory block content (comprising record).
The drawing machine state Code
Normally 0x88
Fault 0x44
The ballot box state Code
Normally 0x88
Lack ticket 0x14
2. read states order: industrial computer reads drawing machine information after date of draft.
A, industrial computer are sent out the read states order, and (4 byte) waits for the drawing machine response then.
Initialization command Code 0x12
B, drawing machine are received the read states order, and draw a bill quantity, the actual quantity of drawing a bill, draw a bill state and ballot box state of plan sent out industrial computer (7 byte).
Plan to draw a bill quantity The actual quantity of drawing a bill The state of drawing a bill The ballot box state
The state of drawing a bill Code
Normally 0x88
Overtime 0x24
The ballot box state Code
Normally 0x88
Lack ticket 0x14
3. the order of drawing a bill: industrial computer is issued drawing machine order, ticket information and the plan quantity of drawing a bill of drawing a bill.
A, industrial computer send ticket order, ticket information and the plan quantity (12 byte) of drawing a bill and wait for that then drawing machine responds.
Attention: last state information is removed in this order of drawing a bill.
The order of drawing a bill Code 0x13
The order (1 byte) of drawing a bill Ticket information (6 byte) Significance bit (1 byte) Plan to draw a bill quantity (1 byte)
Ticket information (6 byte): for example: T1234 send or connects;
Ticket information is a set form: 6 bytes, the end zero filling of less than 6 bytes for example: send for 54 times, industrial computer is sent out: 54 send 000;
Significance bit determines that accurate train number is (2-5 position), as: 54 times are sent significance bit is 3.
B, drawing machine are received the order of drawing a bill, and respond industrial computer (4 byte) after the verification.
Respond Code
Correctly 0x18
Mistake 0x19
4. read date command: industrial computer reads drawing machine system clock information.
A, industrial computer are sent out and are read date command, and (4 byte) waits for the drawing machine response then.
Read date command Code 0x17
B, ticket machine are received and are read date command, and drawing machine system data is sent out industrial computer (9 byte).
Date data comprises: year, month, day, hour, min, second.
5. write date command: industrial computer is issued the new system clock information of drawing machine, is used to revise the system time of drawing machine.
A, industrial computer are sent out and are write date command (1 byte) and new date data (10 byte).Wait for the drawing machine response then.
Write date command Code 0x77
Write date command New date data (6 byte)
New date data comprises: year, month, day, hour, min, second.
B, drawing machine are received and are write date command, respond industrial computer (1 byte) after the verification.
Respond Code
Correctly 0x18
Mistake 0x19
Shown in Fig. 9~11, the utility model operating process comprises attended operation, the operation of drawing a bill, ticket system clock operation, and industrial computer is sent out information that initialization command returns by initialization operation and judged that drawing machine could operate as normal among Fig. 9, allows communication 3 times.

Claims (5)

1, a kind of single-ticket automatic machine, it is characterized in that: comprise industrial computer (6), individual module of drawing a bill (3), coin-freed apparatus (4), display (2), touch-screen (1) and control section, individual module of drawing a bill (3) wherein, coin-freed apparatus (4), touch-screen (1) links to each other with industrial computer (6) by the RS232 interface respectively, display (2) links to each other with the video interface of industrial computer, individual module of drawing a bill (3) comprises transmission printing portion (31), thickness measuring part (32), character wheel part (33), colour band part (34), ballot box (35), transmission printing portion (31) is stepper motor driven ticket twisting machine (317), ticket delivering wheel (318) and guide plate (319), pivoted arm (313), printing hammer (314), reversing plate (315) constitutes, ticket twisting machine (317) is corresponding with the outlet of ballot box (35), " " shape pivoted arm (313) is connected with extension spring (312) on one side, print electromagnet (311), another side links to each other with printing hammer (314), printing hammer (314) is corresponding with character wheel part (33), colour band is installed between the two, the gap that the end of drawing a bill of ticket delivering wheel (318) forms corresponding to printing hammer (314) and character wheel part (33), character wheel part (33) is date wheel (336), month wheel (337) and information wheel (339) constitute, date wheel (336) wherein, month wheel (337) passes through ratchet, ratchet structure is by solenoid actuated, information wheel (339) is driven by stepper motor, thickness measuring part (32) constitutes for the micrometering amount displacement transducer (321) of thickness measuring solenoid actuated places guide plate one side, and the ticket outlet place is provided with the reversing plate (315) that reclaims solenoid actuated;
Described control section comprises single-chip microcomputer (U1), integrated circuit of clock (U2), analog-digital conversion ic (U3), exterior I/O expansion interface integrated circuit (U4), Dongle (U5), serial communication interface integrated circuit (U7), photoelectric coupling circuit, solid-state relay, industrial computer (6) carries out data communication with control section by the RS232 bus, the communication data that industrial computer (6) is sent carries out signal transformation through serial communication interface integrated circuit (U7), the RS232 conversion of signals is become the TTL signal of standard, receive the serial data input end of single-chip microcomputer (U1) from the TTL signal end of serial communication interface integrated circuit (U7);
The I/O control end of single-chip microcomputer (U1) links to each other with sth. made by twisting ticket controllor for step-by-step motor, subpoena controllor for step-by-step motor, information wheel controllor for step-by-step motor respectively by photoelectric coupling circuit (OPNPB2, OPZLB2); The I/O control end of single-chip microcomputer (U1) is printed electromagnet, second with thickness measuring electromagnet, first respectively by exterior I/O expansion interface integrated circuit (U4), solid-state relay (OPCEHO2, OPDAY2, OPFEN2, OPSEDA2, OPZLD2, OPZLW2, OPZLW3) and is printed electromagnet, date character wheel electromagnet, month character wheel electromagnet and be connected; The I/O control end of single-chip microcomputer (U1) is connected with the signal triggering end of Dongle (U5), and the reset terminal of Dongle (U5) is connected with the reset terminal of the reset terminal of single-chip microcomputer (U1), exterior I/O expansion interface integrated circuit (U4), the reset terminal of integrated circuit of clock (U2).
The data bus of single-chip microcomputer (U1) is connected with the data bus of exterior I/O expansion interface integrated circuit (U4), the data bus of integrated circuit of clock (U2), the data bus of analog-digital conversion ic (U3), the port of exterior I/O expansion interface integrated circuit (U4) selects control end to be connected the read/write signal control end of exterior I/O expansion interface integrated circuit (U4) with single-chip microcomputer (U1); The read/write signal control end of analog-digital conversion ic (U3); The read/write signal control end of integrated circuit of clock (U2), read/write signal control end with single-chip microcomputer (U1) is connected respectively, and the sheet choosing end of the sheet choosing end of exterior I/O expansion interface integrated circuit (U4), the sheet choosing end of analog-digital conversion ic (U3), integrated circuit of clock (U2) is connected with single-chip microcomputer (U1) respectively;
Colour band motor control signal, recovery magnet control signal pass through the data bus of single-chip microcomputer (U1) behind the data bus of exterior I/O expansion interface integrated circuit (U4), by exterior I/O expansion interface integrated circuit (U4) output, these two signals are connected with solid-state relay (OPSEDA2, OPFEN2) respectively, after solid-state relay (OPSEDA2, OPFEN2) isolation amplification, be connected to the colour band motor respectively and reclaim electromagnet; Twist with the fingers ticket/subpoena motor convert light electric signal, print that location photosignal, first is printed electromagnet, second photosignal of printing electromagnet inputs to exterior I/O expansion interface integrated circuit (U4) respectively, the data bus by exterior I/O expansion interface integrated circuit (U4) inputs to single-chip microcomputer (U1); The signal of sensor inputs to analog-digital conversion ic (U3).
2, according to the described single-ticket automatic machine of claim 1, it is characterized in that: connect between described Dongle (U5) and the power supply ground and insert 1 reset key (S1).
3, according to the described single-ticket automatic machine of claim 1, it is characterized in that: be provided with top ticket plate (354), ticket-pressing plate (352), guide plate (355), the axis of guide (356) in the described ballot box (35), top ticket plate (354) tilts fixing, ticket-pressing plate (352) is set in parallel on the guide plate (355) with top ticket plate (354), the axis of guide (356) passes guide plate (355), installs on it to promote spring (353) in guide plate (355) back side.
4, according to the described single-ticket automatic machine of claim 1, it is characterized in that: described month wheel (337) is provided with driving lever (333) and drives month drives structure of ratchet (334), driving lever (333) one ends are manually to hold, the other end connects a month ratchet (334) by axle, and a month ratchet (334) is connected with back-moving spring (335).
5, according to the described single-ticket automatic machine of claim 1, it is characterized in that: described date wheel is the drives structure that driving lever drives day ratchet, and driving lever one end is manual end, and the other end connects a day ratchet by axle, and a day ratchet is connected with back-moving spring.
CN 03214230 2003-07-22 2003-07-22 Single-ticket automatic booking machine Expired - Fee Related CN2629141Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03214230 CN2629141Y (en) 2003-07-22 2003-07-22 Single-ticket automatic booking machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03214230 CN2629141Y (en) 2003-07-22 2003-07-22 Single-ticket automatic booking machine

Publications (1)

Publication Number Publication Date
CN2629141Y true CN2629141Y (en) 2004-07-28

Family

ID=34242608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03214230 Expired - Fee Related CN2629141Y (en) 2003-07-22 2003-07-22 Single-ticket automatic booking machine

Country Status (1)

Country Link
CN (1) CN2629141Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789141B (en) * 2010-02-08 2011-09-28 株洲市旺邻精密科技有限公司 Simple printing clock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789141B (en) * 2010-02-08 2011-09-28 株洲市旺邻精密科技有限公司 Simple printing clock

Similar Documents

Publication Publication Date Title
CN2857114Y (en) Multifunction help-youself card feeder
CN1197031C (en) Bill processing system
CN101904680A (en) Multifunctional intellectual mailbox
CN102173214B (en) On-site certificate card manufacturing equipment and method
CN2629141Y (en) Single-ticket automatic booking machine
CN1928924A (en) Smart card Ethernet gate inhibition controlling means and its system
CN1441390A (en) Self-supporting bank service terminal computer covering personal bank business
CN2886685Y (en) Intelligent transportation management service terminal
CN106228712A (en) A kind of self-service book returning machine
CN1333509A (en) Self-aid type IC card fee-charging method and device thereof
CN206921177U (en) A kind of Intelligent Voting System
CN103354026A (en) Meter reading instrument and method for replacing electric energy meter by virtue of meter reading instrument
CN202548962U (en) Recycling device based on image recognition device
CN201369076Y (en) Self-service certificate reclaimer
CN2629140Y (en) Railway coin-freed ticket vending machine
CN2836099Y (en) Self-service IC card label printer
CN209765384U (en) Computer display
CN2207608Y (en) Electronic charging device
CN201917974U (en) Tax-control cash register
CN201979818U (en) On-site certificate card manufacturing equipment
CN217705196U (en) Card-writing and code-printing integrated machine for smart card
CN1885302A (en) Bar code display device with data processing function
CN214727530U (en) Full-automatic certificate filling printer
CN206115608U (en) Self -service book returning machine
CN201159918Y (en) Secondary affirmation type queuing machine

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee