Ticket issuing control system for rail transit

By introducing detection modules and MCU-controlled ticket scraping, ticket issuing motors and electromagnets into rail transit ticket issuing machines, accurate ticket issuance and recycling of IC cards is achieved, the problem of frequent failures is solved, and control reliability and failure are improved. Check difficulty.

CN221650955UActive Publication Date: 2024-09-03CHONGQING YUANCONG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202323619639.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-09-03
Estimated Expiration
2033-12-29

AI Technical Summary

Technical Problem

The IC card ticket issuance control of existing rail transit ticket issuing machines has frequent failures, and troubleshooting is difficult, affecting passenger experience.

Method used

A rail transit ticket issuance control system is designed, including a detection module and MCU. The detection module detects the position and status of the IC card in the ticket box through infrared tubes and Hall sensors. The MCU controls the ticket scraping motor and ticket issuing motor, and the electromagnet cooperates Use it to achieve accurate ticket issuance and recycling of IC cards and reduce the incidence of failures.

Benefits of technology

It improves the reliability of ticket issuance control, simplifies the troubleshooting process, reduces the failure rate, and improves passenger experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221650955U
    Figure CN221650955U
Patent Text Reader

Abstract

The utility model discloses a rail transit ticket issuing control system, which comprises a detection module and an MCU (Microprogrammed Control Unit) communicated with an upper computer and an IC (Integrated Circuit) card reader, the detection module is in communication connection with the MCU, the output of the MCU is connected with a driving module, and the driving module is connected with a ticket scraping motor, a ticket issuing motor and an electromagnet. Interaction with a whole ticketing system of rail transit is achieved based on communication between a main equipment controller and an upper computer, independent line control and unified logic processing are conducted on ticket scraping, ticket issuing and waste ticket recycling, it is ensured that circulation of each link is clear, five-coupling negotiation is conducted on execution components, and the fault occurrence rate is reduced. In addition, the difficulty of troubleshooting is effectively reduced by detecting whether tickets exist in the ticket box or not, detecting the circulation position of the tickets and indicating by indicator lamps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of ticket vending machines, in particular to a rail transit ticket issuing control system. Background Art

[0002] At present, most cities in China have entered the stage of urban rail transit network operation. Even if new lines adopt the QR code one-way ticket system solution or existing lines (stations) are gradually transformed into the QR code one-way ticket system solution through technical transformation, under the conditions of online operation, traditional physical one-way tickets and QR code one-way tickets will have a long period of coexistence.

[0003] Therefore, Chinese patent document CN 113538713 A proposes a two-dimensional code one-way ticket system for urban rail transit, including an ACC clearing system that communicates through industrial Ethernet networking, a diversified payment platform, a line-level LC, a station-level SC, and multiple gates and routers arranged in the station for entering and exiting tickets. It also includes a ticket terminal for issuing tickets, and the ticket terminal is composed of a self-service machine and a semi-automatic device. The self-service machine includes a ballot device and a ticket issuing device that are communicatively connected to each other, and the semi-automatic device includes an input device and the ticket issuing device that are communicatively connected to each other; the ticket issuing device includes a main controller, a communication unit electrically connected to the main controller for receiving data from the ballot device and the input device, and a thermal printer for receiving and printing the two-dimensional code data sent by the main controller, and the router is wirelessly connected to the communication unit.

[0004] We know from the above existing patent documents that for the IC card single-trip ticket issuance method, the IC card in the ticket machine is circulated and moved through rollers and transmission mechanisms, which are generally driven by stepper motors. However, the current problem is that Kangbao, which occupies most of the AFC domestic market, has withdrawn from the Chinese market, and the original IC card has many faults when issuing tickets, and the equipment needs to be disassembled to find out the problems, which affects the passengers' experience. Therefore, it is urgent to provide an IC card ticket issuance control solution that is reliable and easy to troubleshoot. Summary of the invention

[0005] The utility model provides a rail transit ticket issuing control system, which is used to solve the ticket issuing control problem of a rail transit ticket issuing machine, improve control reliability, and reduce the difficulty of fault troubleshooting.

[0006] In order to solve the above-mentioned technical problems, the technical solution of the utility model is:

[0007] A rail transit ticketing control system, comprising a detection module and an MCU communicating with a host computer and an IC card reader, wherein the detection module is connected to the MCU in communication, the MCU output is connected to a drive module, and the drive module is connected to a ticket scraping motor, a ticket issuing motor and an electromagnet, wherein:

[0008] The detection module includes a switch sensor for detecting whether there is a ticket in the ticket box, an infrared pair of tubes for detecting the position of the IC card, and a Hall sensor group for obtaining the rotor rotation information of the ticket scraping motor and the ticket dispensing motor;

[0009] The MCU is used to output PWM signals according to the ticket dispensing demand logic to control the execution actions of the ticket scraping motor, the ticket dispensing motor and the electromagnet through the driving module;

[0010] The ticket scraping motor drives the first roller and the first transmission mechanism to scrape the IC card in the ticket box to the preset ticket position;

[0011] The ticket dispensing motor drives the second roller and the second conveying mechanism to dispense the IC card placed at the preset ticket position;

[0012] The electromagnet drives the counterpart to open the recovery channel through magnetic attraction, so that the IC card at the preset ticket position slides into the recovery channel.

[0013] Furthermore, the MCU is a processor chip of model STM32F103, the ticket scratching motor is a two-phase stepper motor, the driving module includes a first motor driving chip for driving the ticket scratching motor, the model of the first motor driving chip is TMC5130A-TA-T, the twenty-ninth pin of the first motor driving chip is connected to the twenty-seventh pin of the MCU for enable control, the third pin of the first motor driving chip is connected to the thirtieth pin of the MCU for chip select control, the fourth, fifth and seventh pins of the first motor driving chip are correspondingly connected to the thirty-fourth, thirty-fifth and thirty-sixth pins of the MCU for SPI data communication, and the forty-sixth, forty-second, fifteenth and nineteenth pins of the first motor driving chip are connected to the four-wire connection of the two windings of the ticket scratching motor.

[0014] Furthermore, the ticket dispensing motor is a servo stepper motor, and the driving module includes a second motor driving chip for driving the ticket dispensing motor, the model of the second motor driving chip is KH39EM2, the twenty-ninth pin of the second motor driving chip is connected to the twenty-seventh pin of the MCU for enable control, the third pin of the second motor driving chip is connected to the 30th pin of the MCU for chip select control, the fourth, fifth and eighth pins of the second motor driving chip are correspondingly connected to the thirty-fourth, thirty-fifth and thirty-sixth pins of the MCU for SPI data communication, and the forty-seventh, forty-fifth, forty-first and thirty-ninth pins of the second motor driving chip are connected to the winding connection terminals of the ticket dispensing motor.

[0015] Furthermore, the Hall sensor group includes a number of Hall sensors corresponding to the ticket scratching motor and the ticket dispensing motor, the OUT pin of the Hall sensor is connected to a 3.3V voltage source through a twelfth resistor, and its OUT pin is also connected to the gate of a second N-channel enhancement type transistor, the source of the second transistor is grounded, the drain of the second transistor is connected to an eighth resistor, the eighth resistor is connected to the cathode of the first light-emitting diode, and the anode of the first light-emitting diode is connected to a 5V voltage source.

[0016] Furthermore, a first diode is connected between the two ends of the winding of the electromagnet, the cathode of the first diode is connected to the driving voltage source of the electromagnet, the anode of the first diode is connected to the collector of the fourth transistor, the emitter of the first diode is grounded, and the base of the first diode is connected to the sixty-first pin of the MCU through the thirteenth resistor.

[0017] Furthermore, the infrared pair tube group includes two infrared pair tubes corresponding to the preset ticket positions and three infrared pair tubes corresponding to the IC card issuing positions;

[0018] The photosensitive receiving tubes of the infrared pairs are connected in series in sequence, wherein the positive terminal of a photosensitive receiving tube is connected to the positive electrode of the voltage source, the emitter of the infrared emitting tube corresponding to the photosensitive receiving tube is grounded, the collector of the infrared emitting tube is connected to the 3.3V voltage source through the twenty-sixth resistor, the collector of the infrared emitting tube is connected to the gate of the sixth transistor through the twenty-fifth resistor, the source of the sixth transistor is grounded and a twenty-seventh resistor is connected to the gate, the drain of the sixth transistor is connected to the cathode of the third light-emitting diode, and the anode of the third light-emitting diode is connected to the 3.3V voltage source through the twenty-third resistor; the collector of the infrared emitting tube is connected to the twenty-first pin of the MCU.

[0019] Furthermore, the switch sensor is a Hall switch of model AH543, and the signal output end of the Hall switch is connected to the seventeenth pin of the MCU through the fifty-third resistor. The signal output end of the Hall switch is also connected to the 3.3V voltage source through the fiftieth resistor, and connected to the cathode of the seventh light-emitting diode through the fifty-second resistor, and the anode of the seventh light-emitting diode is connected to the 3.3V voltage source.

[0020] The utility model realizes interaction with the entire ticketing system of rail transit based on the communication between the main device controller and the host computer, and performs separate line control and unified logical processing for ticket scratching, ticket issuing, and waste ticket recovery, ensuring clear flow of each link and five-coupling negotiations on the execution components to reduce the occurrence rate of faults. In addition, it is supplemented by ticket box detection, ticket circulation position detection and indicator light indication to effectively reduce the difficulty of troubleshooting. In summary, this patent solves the ticket issuance control problem of rail transit ticket issuing machines, improves control reliability, and reduces the difficulty of troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a system module diagram in a specific embodiment of the utility model.

[0022] Figure 2 The following is a logic control flow chart in a specific embodiment of the utility model.

[0023] Figure 3 This is a circuit connection principle diagram of a Hall sensor group in a specific embodiment of the utility model.

[0024] Figure 4 The figure is a circuit connection principle diagram of an electromagnet in a specific embodiment of the utility model.

[0025] Figure 5 This is a circuit connection schematic diagram of the first motor driving chip in a specific embodiment of the utility model.

[0026] Figure 6 This is a circuit connection schematic diagram of the second motor driving chip in a specific embodiment of the utility model.

[0027] Figure 7 The present invention is a circuit connection principle diagram of a switch sensor in a specific embodiment of the present invention.

[0028] Figure 8 This is a circuit connection principle diagram of an infrared pair tube group in a specific embodiment of the utility model. DETAILED DESCRIPTION

[0029] The specific implementation methods of the present invention are further described below in conjunction with the accompanying drawings. It should be noted that the description of these implementation methods is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in each implementation method of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0030] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0031] A rail transit ticket control system, such as Figure 1 As shown, it includes a detection module and an MCU communicating with a host computer and an IC card reader. The detection module is connected to the MCU in communication, and the 232 signal of the host computer is connected to the MCU via a level conversion chip. The MCU output is connected to a drive module, and the drive module is connected to a ticket scraping motor, a ticket dispensing motor and an electromagnet, wherein:

[0032] The detection module includes a switch sensor for detecting whether there is a ticket in the ticket box, an infrared pair of tubes for detecting the position of the IC card, and a Hall sensor group for obtaining the rotor rotation information of the ticket scraping motor and the ticket dispensing motor. The switch sensor can be a capacitive or Hall micro switch, etc., such as being set at the bottom of the ticket box. When the box is empty and there is no ticket, the switch sensor generates a switch signal. The infrared pair of tubes can sense whether the specified position is covered by the IC card through multiple infrared pairs of tubes. Since the ticket dispensing displacement is small and requires accuracy, the Hall sensor of the Hall sensor group is used to detect the rotor's rotation speed, rotation angle and other information, with high accuracy, and can meet the fine control requirements of the movement amount.

[0033] The MCU is used to output PWM signals according to the ticket issuing logic to control the ticket scraping motor, ticket issuing motor and electromagnet through the driving module; the MCU is based on the card issuing management sequence of IC card tickets, and its logic control can be seen in the attached Figure 2 , Figure 2 The control logic is explained by taking two ticket boxes (ie, the ticket box described in this article) of two sets of master and slave ticket issuing machines (ie, master device and slave device) as an example. In actual application, only one set of ticket issuing machines may also be used.

[0034] Figure 2In the logic control:

[0035] 1. The host computer sends instructions to select the master device or slave device;

[0036] 2. Check whether there is a ticket in the ticket box. If there is a ticket, the ticket scraping motor will move the ticket to the preset ticket position and upload the information to the host computer; if there is no ticket, the ticketless information will be uploaded to the host computer;

[0037] 3. Wait for the host computer to issue instructions;

[0038] 4. According to the instructions of the host computer, the ticket dispensing motor slides the ticket out or puts the ticket into the waste ticket box, and uploads the completion instruction to the host computer;

[0039] 5. Repeat step 2.

[0040] The ticket scraping motor drives the first roller and the first transmission mechanism to scrape the IC card in the ticket box to the preset ticket position;

[0041] The ticket dispensing motor drives the second roller and the second conveying mechanism to dispense the IC card placed at the preset ticket position;

[0042] The electromagnet drives the counterpart to open the recycling channel through magnetic attraction, so that the IC card at the preset ticket position slides to the recycling channel for recycling faulty tickets. If the bottom plate where the IC card is placed at the preset ticket position is active, it will be used as the counterpart. When the electromagnet loses power, there is no magnetic attraction and the bottom plate does not move. When the IC card reader in the ticket issuing machine fails to read the IC card to be issued, the IC card reader transmits the information to the MCU, and the MCU controls the output to power on the electromagnet, adsorbs and opens the bottom plate, and the faulty IC card falls into the recycling channel, the electromagnet loses power, and the bottom plate is reset.

[0043] The utility model realizes interaction with the entire ticketing system of rail transit based on the communication between the main device controller and the host computer, and performs separate line control and unified logical processing for ticket scratching, ticket issuing, and waste ticket recovery, ensuring clear flow of each link and five-coupling negotiations on the execution components to reduce the occurrence rate of faults. In addition, it is supplemented by ticket box detection, ticket circulation position detection and indicator light indication to effectively reduce the difficulty of troubleshooting. In summary, this patent solves the ticket issuance control problem of rail transit ticket issuing machines, improves control reliability, and reduces the difficulty of troubleshooting.

[0044] As an embodiment, the MCU is a processor chip of the model STM32F103, the ticket-scraping motor is a two-phase stepper motor, and the driving module includes a first motor driving chip U5 that drives the ticket-scraping motor. Figure 5As shown, the model of the first motor driver chip U5 is TMC5130A-TA-T, the twenty-ninth pin of the first motor driver chip U5 is connected to the twenty-seventh pin of the MCU for enable control, the third pin of the first motor driver chip U5 is connected to the 30th pin of the MCU for chip select control, the fourth, fifth and seventh pins of the first motor driver chip U5 are connected to the thirty-fourth, thirty-fifth and thirty-sixth pins of the MCU for SPI data communication, and the forty-sixth, forty-second, fifteenth and nineteenth pins of the first motor driver chip U5 are connected to the four-wire connection of the two windings of the ticket scratching motor.

[0045] As an embodiment, the ticket dispensing motor is a servo stepper motor, and the driving module includes a second motor driving chip U7 that drives the ticket dispensing motor. Figure 6 As shown, the model of the second motor driver chip U7 is KH39EM2, the 29th pin of the second motor driver chip U7 is connected to the 27th pin of the MCU for enabling control, the 3rd pin of the second motor driver chip U7 is connected to the 30th pin of the MCU for chip selection control, the 4th, 5th and 8th pins of the second motor driver chip U7 are connected to the 34th, 35th and 36th pins of the MCU for SPI data communication, and the 47th, 45th, 41st and 39th pins of the second motor driver chip U7 are connected to the winding connection terminal of the ticket dispensing motor. The 23rd, 25th and 24th pins of the first motor driver chip U5 correspond to the encoding channel.

[0046] As an example, Figure 3 As shown, the Hall sensor group includes a number of Hall sensors corresponding to the ticket scratching motor and the ticket dispensing motor. The OUT pin of the Hall sensor is connected to a 3.3V voltage source through a twelfth resistor R12, and its OUT pin is also connected to the gate of a second N-channel enhancement type transistor Q2. The source of the second transistor Q2 is grounded, and the drain of the second transistor Q2 is connected to an eighth resistor R8. The eighth resistor R8 is connected to the cathode of the first light-emitting diode LD1, and the anode of the first light-emitting diode LD1 is connected to a 5V voltage source.

[0047] As an example, Figure 4 As shown, a first diode RD1 is connected between the two ends of the winding of the electromagnet, the cathode of the first diode RD1 is connected to the driving voltage source of the electromagnet, the anode of the first diode RD1 is connected to the collector of the fourth transistor Q4, the emitter of the first diode RD1 is grounded, and the base of the first diode RD1 is connected to the sixty-first pin of the MCU through the thirteenth resistor R13.

[0048] As an embodiment, the infrared pair tube group includes two infrared pair tubes corresponding to the preset ticket positions and three infrared pair tubes corresponding to the IC card issuing positions, such as Figure 8 As shown, five infrared pairs of tubes are used, that is, the setting logic is that the IC card to be issued at the preset ticket position is in place, and the previous IC card has been issued. At this time, the detection results of the infrared pairs of tubes at various setting points are consistent, all are turned on, and the five infrared pairs of tubes are working.

[0049] Corresponding to the above logic, the photosensitive receiving tubes of the infrared pairs are connected in series in sequence, the positive terminal of the series connection is connected to the VIN voltage, and the negative terminal of the series connection is connected to the voltage end of the IR_CURR constant current source, to ensure that the voltage difference between the positive terminal and the negative terminal can drive the photosensitive receiving tube to work. The connection circuit of the first infrared pair is taken as an example for explanation. The positive terminal of the photosensitive receiving tube IR1 of the first infrared pair is connected to the positive electrode of the voltage source, the emitter of the infrared emitting tube PT1 corresponding to the photosensitive receiving tube IR1 is grounded, the collector of the infrared emitting tube PT1 is connected to the 3.3V voltage source through the twenty-sixth resistor R26, the collector of the infrared emitting tube PT1 is connected to the gate of the sixth transistor Q6 through the twenty-fifth resistor R25, the source of the sixth transistor Q6 is grounded and the twenty-seventh resistor R27 is connected to the gate, the drain of the sixth transistor Q6 is connected to the negative electrode of the third light-emitting diode LD3, and the positive electrode of the third light-emitting diode LD3 is connected to the 3.3V voltage source through the twenty-third resistor R23; through the above-mentioned circuit design, the collector of the infrared emitting tube PT1 is connected to the twenty-first pin of the MCU, and the collector of the infrared emitting tube PT1 is used as IR_IN1 to output the standard level signal to the MCU.

[0050] Furthermore, if Figure 7 As shown, the switch sensor is a Hall switch U9 of model AH543, the signal output end of the Hall switch U9 is connected to the seventeenth pin of the MCU through the fifty-third resistor R53, the signal output end of the Hall switch U9 is also connected to the 3.3V voltage source through the fiftieth resistor R50, and connected to the cathode of the seventh light-emitting diode LD7 through the fifty-second resistor R52, and the anode of the seventh light-emitting diode LD7 is connected to the 3.3V voltage source.

[0051] Considering the circuit board size and crosstalk issues during circuit printing, a two-layer printed circuit board structure is selected during production. Preferably, the MCU and driver module are placed on one layer; other modules and sensors are placed on one layer.

[0052] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations of these embodiments are made without departing from the principles and spirit of the present invention, and still fall within the scope of protection of the present invention.

Claims

1. A rail transit ticketing control system, characterized in that: It includes a detection module and an MCU communicating with a host computer and an IC card reader, wherein the detection module is connected to the MCU in communication, the MCU output is connected to a drive module, and the drive module is connected to a ticket scraping motor, a ticket dispensing motor and an electromagnet, wherein: The detection module includes a switch sensor for detecting whether there is a ticket in the ticket box, an infrared pair of tubes for detecting the position of the IC card, and a Hall sensor group for obtaining the rotor rotation information of the ticket scraping motor and the ticket dispensing motor; The MCU is used to output PWM signals according to the ticket dispensing demand logic to control the execution actions of the ticket scraping motor, the ticket dispensing motor and the electromagnet through the driving module; The ticket scraping motor drives the first roller and the first transmission mechanism to scrape the IC card in the ticket box to the preset ticket position; The ticket dispensing motor drives the second roller and the second conveying mechanism to dispense the IC card placed at the preset ticket position; The electromagnet drives the counterpart to open the recovery channel through magnetic attraction, so that the IC card at the preset ticket position slides into the recovery channel.

2. The rail transit ticketing control system according to claim 1, characterized in that: The MCU is a processor chip of model STM32F103, the ticket-scraping motor is a two-phase stepper motor, the driving module includes a first motor driving chip (U5) for driving the ticket-scraping motor, the model of the first motor driving chip (U5) is TMC5130A-TA-T, the twenty-ninth pin of the first motor driving chip (U5) is connected to the twenty-seventh pin of the MCU for enable control, the third pin of the first motor driving chip (U5) is connected to the thirtieth pin of the MCU for chip select control, the fourth, fifth and seventh pins of the first motor driving chip (U5) are correspondingly connected to the thirty-fourth, thirty-fifth and thirty-sixth pins of the MCU for SPI data communication, and the forty-sixth, forty-second, fifteenth and nineteenth pins of the first motor driving chip (U5) are connected to the four-wire connection of the two windings of the ticket-scraping motor.

3. The rail transit ticketing control system according to claim 2, characterized in that: The ticket dispensing motor is a servo stepper motor, and the driving module comprises a second motor driving chip (U7) for driving the ticket dispensing motor, the model of the second motor driving chip (U7) is KH39EM2, the twenty-ninth pin of the second motor driving chip (U7) is connected to the twenty-seventh pin of the MCU for enabling control, the third pin of the second motor driving chip (U7) is connected to the thirtieth pin of the MCU for chip selection control, the fourth, fifth and eighth pins of the second motor driving chip (U7) are connected to the thirty-fourth, thirty-fifth and thirty-sixth pins of the MCU for SPI data communication, and the forty-seventh, forty-fifth, forty-first and thirty-ninth pins of the second motor driving chip (U7) are connected to the winding connection terminals of the ticket dispensing motor.

4. The rail transit ticketing control system according to claim 3, characterized in that: The Hall sensor group includes a number of Hall sensors corresponding to the ticket scratching motor and the ticket dispensing motor. The OUT pin of the Hall sensor is connected to a 3.3V voltage source through a twelfth resistor (R12), and its OUT pin is also connected to the gate of a second N-channel enhancement type transistor (Q2). The source of the second transistor (Q2) is grounded, and the drain of the second transistor (Q2) is connected to an eighth resistor (R8). The eighth resistor (R8) is connected to the cathode of a first light-emitting diode (LDl), and the anode of the first light-emitting diode (LDl) is connected to a 5V voltage source.

5. The rail transit ticketing control system according to claim 4, characterized in that: A first diode (RDl) is connected between the two ends of the winding of the electromagnet, the cathode of the first diode (RDl) is connected to the driving voltage source of the electromagnet, the anode of the first diode (RDl) is connected to the collector of the fourth transistor (Q4), the emitter of the first diode (RDl) is grounded, and the base of the first diode (RDl) is connected to the sixty-first pin of the MCU through a thirteenth resistor (R13).

6. The rail transit ticketing control system according to any one of claims 2 to 5, characterized in that: The infrared pair tube group includes two infrared pair tubes corresponding to the preset ticket positions and three infrared pair tubes corresponding to the IC card issuing positions; The photosensitive receiving tubes of the infrared pairs are connected in series in sequence, wherein the positive terminal of a photosensitive receiving tube (IR1) is connected to the positive electrode of a voltage source, the emitter of an infrared emitting tube (PT1) corresponding to the photosensitive receiving tube (IR1) is grounded, the collector of the infrared emitting tube (PT1) is connected to a 3.3V voltage source via a twenty-sixth resistor (R26), the collector of the infrared emitting tube (PT1) is connected to a gate of a sixth transistor (Q6) via a twenty-fifth resistor (R25), the source of the sixth transistor (Q6) is grounded and a twenty-seventh resistor (R27) is connected to the gate, the drain of the sixth transistor (Q6) is connected to a negative electrode of a third light-emitting diode (LD3), and the positive electrode of the third light-emitting diode (LD3) is connected to a 3.3V voltage source via a twenty-third resistor (R23); the collector of the infrared emitting tube (PT1) is connected to a twenty-first pin of the MCU.

7. The rail transit ticketing control system according to claim 6, characterized in that: The switch sensor is a Hall switch (U9) of model AH543. The signal output end of the Hall switch (U9) is connected to the seventeenth pin of the MCU through a fifty-third resistor (R53). The signal output end of the Hall switch (U9) is also connected to a 3.3V voltage source through a fiftieth resistor (R50), and is connected to the cathode of the seventh light-emitting diode (LD7) through a fifty-second resistor (R52). The anode of the seventh light-emitting diode (LD7) is connected to the 3.3V voltage source.

Citation Information

Cited By

  • Electromagnet clamping jaw control circuit and method based on PWM

    CN119717619A