Multi-channel RFID reader-writer communication control module
Through the multi-channel RFID reader communication control module, using RS232 and RS422 communication units and the chip select signal control of the single-chip microcomputer U1, the problems of high cost, large size and communication susceptibility to interference of multiple RFID readers in medical IVD equipment are solved, and efficient data transmission and anti-interference capabilities are achieved.
Patent Information
- Application Number
- CN202422823961.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2034-11-20
AI Technical Summary
When using multiple RFID readers in medical IVD equipment, there are problems such as high manufacturing cost, large size, short communication distance and susceptibility to interference, resulting in a low RFID reading and writing success rate.
A multi-channel RFID reader communication control module is used, including an RS232 communication unit, a single-chip microcomputer U1, an alarm unit and a level conversion RS422 communication unit. Through the chip select signal control of the single-chip microcomputer U1 and the RS422 full-duplex communication unit, data interaction and anti-interference capabilities are achieved, and the communication rate and long-distance communication are improved.
It reduces manufacturing costs, improves data communication rate and anti-interference ability, ensures data accuracy and convenience of multi-channel RFID readers, and reduces crosstalk between channels.
Smart Images

Figure CN223461877U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to RFID reader and writer, especially a multi-channel RFID reader and writer communication control module. BACKGROUND
[0002] At present, the reagent box of most products in the medical IVD (the abbreviation of English In Vitro Diagnosis, in vitro diagnosis) industry equipment uses paper two-dimensional code label or RFID electronic label, thereby realizing reagent box information reading and identification, with the development of technology popularization, RFID reader and writer gradually replace bar code scanner.
[0003] When there are multiple different position applications RFID labels on the medical IVD equipment, multiple RFID reader and writers are needed, and each RFID reader and writer needs to integrate single-chip microcomputer U1 control unit, which leads to the increase of manufacturing cost and the increase of volume, and meanwhile, when multiple positions use RFID electronic labels, one RFID reader and writer corresponds to multiple RFID antennas, the communication distance is short, and in the complex electrical environment of medical equipment, it is easy to be disturbed, and the RFID reading and writing success rate is low. SUMMARY
[0004] Therefore, the utility model provides a multi-channel RFID reader and writer communication control module, which realizes the reduction of manufacturing cost, the improvement of data communication rate and the anti-interference ability.
[0005] In order to realize the above-mentioned purpose, the utility model adopts the following technical scheme:
[0006] The multi-channel RFID reader and writer communication control module, including RS232 communication unit, single-chip microcomputer U1, alarm unit and a plurality of level conversion RS422 communication unit;
[0007] The RS232 communication unit communication interface is respectively connected with industrial computer and single-chip microcomputer U1 communication, is used for converting the RS232 signal from industrial computer into TTL signal and sends single-chip microcomputer U1, and converts the TTL signal from single-chip microcomputer U1 into RS232 signal and sends industrial computer;
[0008] The general synchronous / asynchronous transceiver interface and the chip selection signal interface of the single-chip microcomputer U1 are connected with a plurality of level conversion RS422 communication units respectively, so as to enable the corresponding chip selection signal interface and disable other chip selection signal interfaces according to the instructions sent by the industrial computer, so as to ensure that the enabled channel signal data is accurate and is not interfered by other level conversion RS422 communication units; the data interaction is realized through the general synchronous / asynchronous transceiver interface and the corresponding level conversion RS422 communication unit; and the internal timer is enabled at the same time to judge whether the enabled chip selection signal interface completes the corresponding instruction within the specified time, and the command execution result is sent to the industrial computer.
[0009] The level conversion RS422 communication unit comprises a level conversion unit and an RS422 full-duplex communication unit; the level conversion unit receives the chip selection signal of the single-chip microcomputer U1 and enables the corresponding channel, synchronously sends and receives the TTL signal sent by the single-chip microcomputer U1, realizes the interaction communication between the general synchronous / asynchronous transceiver signal USART of the single-chip microcomputer U1 and the RS422 full-duplex communication unit, achieves the expansion of the general synchronous / asynchronous transceiver, realizes the communication application of one control and multiple, and improves the utilization rate.
[0010] The RS422 full-duplex communication unit comprises an RS422 full-duplex transceiver; the RS422 full-duplex transceiver converts the logic level signal converted by the level conversion unit into a differential signal and sends the differential signal to the RFID reader, and converts the differential signal from the RFID reader into a logic level signal and sends the logic level signal to the single-chip microcomputer U1, so as to realize full-duplex communication; the communication rate is improved, the anti-interference ability of long-distance communication is improved, the convenience and miniaturized design of the layout of the RFID reader in the equipment are improved, the one-to-one communication between the multi-channel RFID reader communication control module and the RFID reader is realized, the data accuracy of the specified channel RFID reader is ensured, and the crosstalk between channels is reduced.
[0011] The alarm unit control input end is connected with the single-chip microcomputer U1 control end IO, which is used for receiving the control signal output by the single-chip microcomputer U1 and driving the indicator to issue the working state prompt of the RFID reader.
[0012] Further, the RS232 communication unit comprises a level conversion chip U4 (MAX3232), an interface J3 and an interface J4; the interfaces J3 and J4 can be connected with the industrial computer; the interface J3 is used for power supply and communication interaction of the industrial computer to the multi-channel RFID reader communication control module, and the interface J4 is used for communication interaction with the industrial computer.
[0013] Further, the level conversion RS422 communication unit is two, comprising a first channel level conversion RS422 communication unit and a second channel level conversion RS422 communication unit.
[0014] The first channel level conversion RS422 communication unit comprises a first level conversion unit and a first RS422 full-duplex communication unit; the second channel level conversion RS422 communication unit comprises a second level conversion unit and a second RS422 full-duplex communication unit;
[0015] The first level conversion unit is composed of MOS tubes Q1 and Q2 and resistors R1, R2, R3, R4 and R5; the second channel level conversion RS422 communication unit is composed of MOS tubes Q3 and Q4 and resistors R1, R2, R6, R7 and R8;
[0016] The high potential ends of the resistors R1, R2, R3, R4 and R5 are connected to a power supply VCC, the low potential end of the resistor R4 is connected to the drain of the MOS tube Q1; the gates of the MOS tubes Q1 and Q2 and the low potential end of the resistor R3 are connected to a chip select signal interface CS1 of a single-chip microcomputer U1; the source of the MOS tube Q1, the low potential end of the resistor R1, the source of the MOS tube Q3 and a receiving end (USART1_RX) of a universal synchronous / asynchronous transceiver interface of the single-chip microcomputer U1 are connected; the drain of the MOS tube Q2 is connected to the low potential end of the resistor R5; the source of the MOS tube Q2, the low potential end of the resistor R2, the source of the MOS tube Q4 and a transmitting end (USART1_TX) of the universal synchronous / asynchronous transceiver interface of the single-chip microcomputer U1 are connected;
[0017] The high potential ends of the resistors R6, R7 and R8 are connected to the power supply VCC, the drain of the MOS tube Q3 is connected to the low potential end of the resistor R7; the gates of the MOS tubes Q3 and Q4 and the low potential end of the resistor R6 are connected to a select signal interface CS2 of the single-chip microcomputer U1; the drain of the MOS tube Q4 is connected to the low potential end of the resistor R8;
[0018] The first RS422 full-duplex communication unit is composed of a full-duplex transceiver U2 (chip model: SIT3490), resistors R9 and R10 and an RFID reader / writer interface J1; the resistor R10 is connected between DI_Z and DI_Y of the full-duplex transceiver U2 and the RFID reader / writer interface J1; the resistor R9 is connected between RO_A and RO_B of the full-duplex transceiver U2 and the RFID reader / writer interface J1; the differential signal input and output of the full-duplex transceiver U2 are in parallel with the data transmitting end and the data receiving end of the RFID reader / writer interface J1, and the data transmitting and receiving do not affect each other, realizing full-duplex communication;
[0019] The second channel RS422 full duplex communication unit is composed of a full duplex transceiver U3 (chip model: SIT3490), resistors R11 and R12, and an RFID reader interface J2; the resistor R12 is connected between DI_Z and DI_Y of the full duplex transceiver U3 and connected with the RFID reader interface J2; the resistor R11 is connected between RO_A and RO_B of the full duplex transceiver U3 and connected with the RFID reader interface J2; the differential signal input and output of the full duplex transceiver U3 are in parallel with the data sending end and the data receiving end of the RFID reader interface J2, and the data sending and receiving do not affect each other, so that full duplex communication is realized.
[0020] Preferably, the alarm unit is composed of a triode Q5, a resistor R13, a resistor R16, and an indicator; the base of the triode Q5 is connected with the output IO port of the single-chip microcomputer U1 through the resistor R13; the anode of the indicator is connected with the power supply VCC, the cathode of the indicator is connected with the collector of the triode Q5 through the resistor R16, and the emitter of the triode Q5 is grounded; of course, the indicator can be a buzzer or / and an indicator lamp.
[0021] The utility model improves communication rate and long distance communication anti -interference ability, promotes the convenience and miniaturization design of RFID reader layout in equipment, realizes one -to -one communication of multi -channel RFID reader communication control module and RFID reader, ensures that the RFID reader data of the specified channel is accurate, reduces the crosstalk between channels. Meanwhile, under the control of a single-chip microcomputer, communicate with multiple channel RFID readers, reduce the communication structure of multiple CAN node cascades, the whole machine CAN node is less, improve the efficiency of single-chip microcomputer integrated processing data information. BRIEF DESCRIPTION OF DRAWINGS
[0022] Figure 1 It is the circuit schematic diagram of the utility model.
[0023] Figure 2 It is the application block diagram of the utility model. DETAILED DESCRIPTION
[0024] The embodiments of the utility model will be described in detail below in combination with the drawings, and the embodiments are implemented on the premise of the technical scheme of the utility model, and detailed implementation modes and specific operation processes are given, but the protection scope of the utility model is not limited to the following embodiments.
[0025] It should be noted that, in the description of the utility model, the relationship terms such as 'first' and'second' are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between the entities or operations.
[0026] In the description of the utility model, unless another explicit provision and limitation, the possible term "link", "connection" should be broad sense understanding, for example, can be fixed connection, can be also detachable connection, or integrally connected, can be mechanical connection, can be also electrical connection, can be direct connection, can be also indirectly connected through intermediate medium, can be two element internal communication. For the person skilled in the art, the above-mentioned term can be understood by the specific meaning in the utility model through specific circumstances.
[0027] As Figure 1 Indicated, the utility model discloses multi-channel RFID reader communication control module, including RS232 communication unit 1, single-chip microcomputer U1, alarm unit 4 and two level conversion RS422 communication unit;
[0028] RS232 communication unit 1 communication interface is connected with industrial computer and single-chip microcomputer U1 communication respectively, for converting the RS232 signal from industrial computer into TTL signal and sending to single-chip microcomputer U1, and converting the TTL signal from single-chip microcomputer U1 into RS232 signal and sending to industrial computer;
[0029] The general synchronous / asynchronous transceiver interface of single-chip microcomputer U1, chip selection signal interface is connected with several level conversion RS422 communication units respectively, for enabling the corresponding chip selection signal interface according to the instruction sent by industrial computer and disabling other chip selection signal interfaces, guaranteeing that enabling channel signal data is accurate and is not interfered by other level conversion RS422 communication units, realizes data interaction through the general synchronous / asynchronous transceiver interface and corresponding level conversion RS422 communication unit, and simultaneously enables internal timer, judges whether the chip selection signal interface enabled in the prescribed time completes corresponding instruction, and sends command execution result to industrial computer;
[0030] Level conversion RS422 communication unit, including level conversion unit and RS422 full duplex communication unit, level conversion unit receives single-chip microcomputer U1 chip selection signal and opens corresponding enabling channel, synchronously sends and receives the TTL signal sent by single-chip microcomputer U1, realizes the interactive communication of single-chip microcomputer U1 general synchronous / asynchronous transceiver signal USART and RS422 full duplex communication unit, reaches general synchronous / asynchronous transceiver expansion, realizes the communication application of one control multiple, and improves utilization rate;
[0031] The RS422 full-duplex communication unit comprises an RS422 full-duplex transceiver, which converts the logic level signal converted by the level conversion unit into a differential signal and sends the differential signal to the RFID reader, and converts the differential signal from the RFID reader into a logic level signal and sends the logic level signal to the single-chip microcomputer U1, so as to realize full-duplex communication; improve the communication rate and the anti-interference ability of long-distance communication, improve the convenience and miniaturized design of the layout of the RFID reader in the equipment, realize one-to-one communication between the multi-channel RFID reader communication control module and the RFID reader, ensure the accuracy of the data of the RFID reader of the specified channel, and reduce the crosstalk between channels;
[0032] The alarm unit control input end is connected with the single-chip microcomputer U1 control end IO, and is used for receiving the control signal output by the single-chip microcomputer U1 and driving the indicator to issue a prompt of the working state of the RFID reader.
[0033] Beneficially or exemplarily, the RS232 communication unit 1 comprises a level conversion chip U4 (MAX3232), an interface J3 and an interface J4; the interfaces J3 and J4 can be connected with the industrial computer; the interface J3 is used for power supply and communication interaction of the industrial computer to the multi-channel RFID reader communication control module, and the interface J4 is used for communication interaction with the industrial computer.
[0034] Beneficially or exemplarily, the two level conversion RS422 communication units are a first channel level conversion RS422 communication unit 2 and a second channel level conversion RS422 communication unit 3.
[0035] The first channel level conversion RS422 communication unit 2 comprises a first level conversion unit 2.1 and a first RS422 full-duplex communication unit 2.2; and the second channel level conversion RS422 communication unit 3 comprises a second level conversion unit 3.1 and a second RS422 full-duplex communication unit 3.2.
[0036] The first level conversion unit 2.1 is composed of MOS tubes Q1 and Q2 and resistors R1, R2, R3, R4 and R5; and the second channel level conversion RS422 communication unit 3 is composed of MOS tubes Q3 and Q4 and resistors R1, R2, R6, R7 and R8.
[0037] R1, R2, R3, R4, R5 high potential end connected power supply VCC, the low potential end of resistor R4 and MOS tube Q1 drain connection; MOS tube Q1, Q2 gate, and the low potential end of resistor R3 and single-chip microcomputer U1 chip selection signal interface CS1 connection; MOS tube Q1 source, R1 low potential end, MOS tube Q3 source and single-chip microcomputer U1 universal synchronous / asynchronous transceiver interface receiving end (USART1_RX) connection, for receiving serial data stream; MOS tube Q2 drain and R5 low potential end connection; MOS tube Q2 source and resistor R2 low potential end, MOS tube Q4 source, single-chip microcomputer U1 universal synchronous / asynchronous transceiver interface sending end (USART1_TX) connection, for sending serial data stream;
[0038] The high potential end of resistor R6, R7, R8 is connected with power supply VCC, the low potential end of resistor R7 is connected with MOS tube Q3 drain; MOS tube Q3, Q4 gate, and the low potential end of resistor R6 and single-chip microcomputer U1 selection signal interface CS2 connection; MOS tube Q4 drain and resistor R8 low potential end connection;
[0039] The first RS422 full duplex communication unit 2.2 is composed of full duplex transceiver U2 (chip model: SIT3490), resistor R9, R10, RFID reader interface J1; resistor R10 is connected between full duplex transceiver U2 DI_Z and DI_Y, and is connected with RFID reader interface J1; resistor R9 is connected between full duplex transceiver U2 RO_A and RO_B, and is connected with RFID reader interface J1; the differential signal input and output of full duplex transceiver U2 are in parallel with the data sending end and data receiving end of RFID reader interface J1, and the data sending and receiving do not affect each other, realizing full duplex communication;
[0040] The second channel RS422 full duplex communication unit is composed of full duplex transceiver U3 (chip model: SIT3490), resistor R11, R12, RFID reader interface J2; resistor R12 is connected between full duplex transceiver U3 DI_Z and DI_Y, and is connected with RFID reader interface J2; resistor R11 is connected between full duplex transceiver U3 RO_A and RO_B, and is connected with RFID reader interface J2; the differential signal input and output of full duplex transceiver U3 are in parallel with the data sending end and data receiving end of RFID reader interface J2, and the data sending and receiving do not affect each other, realizing full duplex communication.
[0041] Preferably, the alarm unit is composed of a triode Q5, a resistor R13, a resistor R16 and a buzzer; the base of the triode Q5 is connected with the IO port of the single-chip microcomputer U1 through the resistor R13; the anode of the buzzer is connected with the power supply VCC, and the cathode of the buzzer is connected with the collector of the triode Q5 through the resistor R16; and the emitter of the triode Q5 is grounded.
[0042] As shown in Figure 1 、 2 The working principle of the utility model is briefly described as follows.
[0043] When the operator selects the reagent bottle A to be scanned through the display screen (human-computer interaction unit), the display screen human-computer interaction unit sends a corresponding instruction to the industrial computer, the industrial computer sends a command signal to the RS232 communication unit 1 through the interface J3 of the RS232 communication unit 1, and transmits the command signal to the general-purpose synchronous / asynchronous transceiver interface USART2_RX of the single-chip microcomputer U1 after level conversion by the level conversion chip U4 (dual-channel RS-232 transceiver, chip model: MAX3232), the single-chip microcomputer U1 sets the chip selection interface CS1 end output to high level, the MOS tubes Q1 and Q2 of the first level conversion unit 2.1 are high level at the gate, the first channel level conversion RS422 communication unit 2 is enabled, the timer of the single-chip microcomputer U1 is opened at the same time, which is used to set the time limit for identifying the RFID tag by the RFID reader, the chip selection interface CS2 end output of the single-chip microcomputer U1 is set to low level, and the second channel level conversion RS422 communication unit 3 is in the disabled state, so as to ensure that the signal of the second channel level conversion RS422 communication unit 3 does not interfere with the signal reception and transmission of the first channel level conversion RS422 communication unit 2.
[0044] The level conversion RS422 communication unit can be expanded to 4 channels or even more, so as to improve the utilization rate of the general-purpose synchronous / asynchronous transceiver interface USART of the single-chip microcomputer.
[0045] The received command is processed and converted by the single-chip microcomputer U1, and then read by the general synchronous / asynchronous transceiver interface USART1_TX. When the signal is at a high level, the source of the MOS transistor Q2 is at a high level and is cut off, the drain of the MOS transistor Q2 is pulled up to the VCC level through the resistor R5, the third pin DI of the full-duplex transceiver U2 (chip model: SIT3490) of the first RS422 full-duplex communication unit 2.2 is input at a high level, the fifth pin and the sixth pin of the full-duplex transceiver U2 are the same phase and reverse output terminals of the driver, the Y terminal outputs a high level signal, and the Z terminal outputs a low level signal, thereby forming an output differential signal, improving the transmission distance of the signal and the anti-interference ability of the signal in a complex electromagnetic environment device, and the resistor R10 is a matching resistor of the differential signal. When the signal waveform quality is affected by the stray capacitance between the communication lines, the distance, etc., the influence can be eliminated by adjusting the resistance value of the resistor R10 to obtain better signal quality. By default, the resistance value of the resistor R10 is usually 120 ohms, and a differential signal matching resistor is also designed in the RFID reader / writer circuit connected to the other end of the interface J1. When the general synchronous / asynchronous transceiver interface USART1_TX signal is at a low level, the source of the MOS transistor Q2 is at a low level and is turned on, the drain of the MOS transistor Q2 is at a low level, the third pin DI of the full-duplex transceiver U2 is at a low level, and the fifth pin of the full-duplex transceiver U2 outputs a low level and the sixth pin outputs a high level.
[0046] When the RFID reader scans the RFID tag of the reagent bottle A, the RFID reader connects the seventh pin and the eighth pin of the full-duplex transceiver U2 through the interface J1, and the resistor R9 is a differential signal matching resistor, which has the same function as the resistor R10. When the voltage level of the eighth pin of the full-duplex transceiver U2 minus the voltage level of the seventh pin of the full-duplex transceiver U2 is greater than or equal to 200mV, i.e. A-B≥200mV, the Ro terminal of the full-duplex transceiver U2 outputs a high level, the drain of the MOS transistor Q1 of the level conversion circuit is at a high level, the source of the MOS transistor Q1 is pulled up to VCC through the resistor R1, the source of the MOS transistor Q1 is also at a high level, the MOS transistor Q1 is cut off, and the USART1_RX input of the general synchronous / asynchronous transceiver interface of the single-chip microcomputer U1 inputs a high level signal. When A-B≤-200mV, the Ro terminal of the full-duplex transceiver U2 outputs a low level, the drain of the MOS transistor Q1 is at a low level, and Q1 is cut off. Due to the internal diode of the MOS transistor Q1, the source of the MOS transistor Q1 is turned on through the MOS transistor internal diode, the source of the MOS transistor Q1 is clamped to a low level (0.7V), and the USART1_RX terminal of the general synchronous / asynchronous transceiver interface of the single-chip microcomputer U1 inputs a low level signal.
[0047] When the single-chip microcomputer U1 receives the tag information returned by the RFID reader / writer, the IO port of the single-chip microcomputer U1 outputs a high level in a fixed time, the base of the triode Q5 of the alarm unit is high, the triode Q5 is turned on, the buzzer B1 emits a "drop" sound, prompting the operator to load the scanning success, and then the IO port of U1 pushes and pulls the output low, the triode Q5 is cut off, and the buzzer B1 is turned off.
[0048] After the single-chip microcomputer U1 reads the RFID tag of the reagent bottle A successfully, the reagent content information and the reagent amount information in the bottle are sent to the RS232 communication unit 1 through the general synchronous / asynchronous transceiver interface USART2_TX, and are converted in level by the level conversion chip U4, and then are communicated with the industrial computer through the interface J3.
[0049] The industrial computer feeds back the information to the man-machine interaction unit display screen through the network line, and displays the reagent information in the RFID tag and the remaining amount of the reagent in the bottle; prompts the loading success of the reagent bottle A, and realizes the visual and auditory double interaction with the alarm unit.
[0050] If the single-chip microcomputer U1 does not receive the tag information returned by the RFID reader / writer within the set time of the timer, the IO port of the single-chip microcomputer U1 outputs high level and low level signals alternately for 3 times in a short fixed time, the triode Q5 is turned on and cut off periodically for 3 times, and the buzzer B1 is turned on and off periodically for 3 times, to prompt the operator that the RFID electronic tag is not correctly identified.
[0051] The single-chip microcomputer U1 sends the RFID tag identification failure information to the RS232 communication unit 1 through the general synchronous / asynchronous transceiver interface USART2_TX, and realizes the communication with the industrial computer through the interface J3; the industrial computer feeds back the information to the interaction unit display screen through the network line, and the display screen prompts the tag card search failure of the reagent bottle position, and realizes the visual and auditory double interaction with the alarm unit.
[0052] When the operator clicks the reagent bottle A unloading scanning through the display screen, the display screen sends the current reagent bottle A remaining amount data information to the industrial computer through the network line, the industrial computer transmits the information to the general synchronous / asynchronous transceiver interface USART2_RX of the single-chip microcomputer U1 through the RS232 communication unit 1, the single-chip microcomputer U1 outputs high level at the chip selection interface CS1 end, the MOS tubes Q1 and Q2 of the first channel level conversion unit are high at the gate, the first channel level conversion RS422 communication unit 2 is enabled to work; at the same time, the timer of the single-chip microcomputer U1 is turned on, which is used for the set time of the RFID reader / writer identifying the RFID tag, the chip selection interface CS2 end and the IO port of the single-chip microcomputer U1 output low level, the second channel level conversion RS422 communication unit is in the disabled state, to ensure that the signals of this channel will not interfere with the signal reception and transmission of the first channel level conversion RS422 communication unit 2.
[0053] II. When the operator selects the reagent bottle B loading scan through the display screen, the display screen man-machine interaction unit will issue corresponding instructions to the industrial computer,
[0054] The industrial computer sends command signals to the RS232 communication unit 1 through the interface J3 of the RS232 communication unit 1, and transmits them to the general synchronous / asynchronous transceiver interface USART2_RX of the single-chip microcomputer U1 after level conversion by the level conversion chip U4 (dual-channel RS-232 transceiver, chip model: MAX3232).
[0055] The single-chip microcomputer U1 outputs high level to the chip selection interface CS2, the gates of MOS tubes Q3 and Q4 of the second channel level conversion unit are high level, the second channel level conversion RS422 communication unit 3 is enabled to work, and at the same time, the timer of the single-chip microcomputer U1 is turned on for setting the time for the RFID reader to identify the RFID tag; the single-chip microcomputer U1 outputs low level to the chip selection interface CS1 and the IO end, and the first channel level conversion RS422 communication unit 2 is in a disabled state, so as to ensure that the signals of the first channel level conversion RS422 communication unit 2 will not interfere with the transmission and reception of the signals of the second channel level conversion RS422 communication unit 3.
[0056] The single-chip microcomputer U1 processes and converts the received command, and then reads the card through the general synchronous / asynchronous transceiver interface USART1_TX of the single-chip microcomputer. When the signal is high level, the source electrode of the MOS tube Q4 is high level and cut off, the drain electrode of the MOS tube Q4 is pulled up to the VCC level through the resistor R8, the third pin DI of the full-duplex transceiver U3 (SIT3490 chip) of the second RS422 full-duplex communication unit 3.2 inputs high level, the fifth pin and the sixth pin of the full-duplex transceiver U2 are the same phase and reverse output ends of the driver respectively, Y end outputs high level signal, Z end outputs low level signal, thereby forming output differential signal, improving the transmission distance of the signal and the anti-interference ability of the signal in the complex electromagnetic environment equipment; the resistor R12 is a matching resistor for differential signal, and when the signal waveform quality is affected by the stray capacitance between the communication lines, distance, etc., the influence can be eliminated by adjusting the resistance value to obtain better signal quality. By default, the resistance value of the resistor R12 is usually 120 ohms, and another end of the interface J2 connected to the RFID reader circuit is also designed with a differential signal matching resistor. When the general synchronous / asynchronous transceiver interface USART1_TX signal is low level, the source electrode of the MOS tube Q4 is low level and turned on, the drain electrode of the MOS tube Q4 is low level, the third pin DI of the full-duplex transceiver U3 is low level, the fifth pin of the full-duplex transceiver U3 outputs low level, and the sixth pin outputs high level.
[0057] When the RFID reader scans the RFID tag of reagent bottle B, the RFID reader connects the 7th pin of the full-duplex transceiver U3 through the interface J2, and the 8th pin of the full-duplex transceiver U3, and the resistance R11 is a differential signal matching resistance, which has the same function as R12; when the level of the 8th pin of the full-duplex transceiver U3 minus the level of the 7th pin is greater than or equal to 200mV, that is, A-B is greater than or equal to 200mV, the Ro end of the full-duplex transceiver U3 outputs a high level, the drain of the MOS tube Q3 of the second level conversion circuit is a high level, the source of the MOS tube Q3 is pulled up to VCC through the resistance R1, and the source of the MOS tube Q3 is also a high level and is cut off, and the general synchronous / asynchronous transceiver interface USART1_RX inputs a high level signal; when A-B is less than or equal to -200mV, the Ro end of the full-duplex transceiver U3 outputs a low level, and the drain of the MOS tube Q3 is cut off; due to the body diode in the MOS tube Q3, the source of the MOS tube Q3 is turned on through the body diode in the MOS tube, and the source of the MOS tube Q3 is clamped to a low level (0.7V), and the general synchronous / asynchronous transceiver interface UASRT1_RX inputs a low level signal.
[0058] When the single-chip microcomputer U1 receives the tag information returned by the RFID reader, the IO port of the single-chip microcomputer U1 outputs a high level with a fixed time push-pull, the base of the triode Q5 of the alarm unit is turned on with a high level, the buzzer B1 emits a "drop" sound, prompting the operator to load the scanning success, and then the IO port of the single-chip microcomputer U1 outputs a low level with a push-pull, the triode Q5 is cut off, and the buzzer is turned off.
[0059] The single-chip microcomputer U1 sends the RFID tag reading success information, reagent content information and reagent amount information in the bottle of reagent bottle B to the RS232 communication unit 1 through the general synchronous / asynchronous transceiver interface USART2_TX, and realizes communication with the industrial computer through the interface J3. When the RFID reading is successful, the industrial computer feeds back the information to the display screen through the network cable, displays the reagent information in the RFID tag and the remaining amount of the reagent in the reagent bottle, and realizes visual and auditory double interaction with the alarm unit.
[0060] If the single-chip microcomputer U1 does not receive the tag information returned by the RFID reader within the limit time set by the timer, the IO port of the single-chip microcomputer U1 outputs a high level and a low level signal alternately with a short fixed time periodically for 3 times, the triode Q5 is turned on and cut off periodically for 3 times, and the buzzer B1 is turned on and cut off periodically for 3 times, so as to prompt the operator that the RFID electronic tag is not correctly identified. The single-chip microcomputer U1 sends the RFID tag identification failure information to the RS232 unit through the general synchronous / asynchronous transceiver interface USART2_TX, and realizes communication with the industrial computer (control computer) through the interface J3. The industrial computer feeds back the information to the man-machine interaction unit display screen, the display screen prompts that the reagent bottle B position tag card search fails, and realizes visual and auditory double interaction with the alarm unit.
[0061] When the operator clicks the reagent bottle unloading scan through the display screen, the display screen sends the current reagent bottle remaining amount data information to the industrial computer through the network cable, the industrial computer sends the information to the RS232 communication unit 1, and transmits the information to the general synchronous / asynchronous transceiver interface USART2_RX of the single-chip microcomputer U1 through the interface J3, the single-chip microcomputer U1 outputs high level to the chip selection interface CS2 end, the MOS tubes Q3 and Q4 gates of the second channel level conversion unit are high level, the second channel level conversion RS422 communication unit 3 enables the work, and at the same time, the timer of the single-chip microcomputer U1 is opened, which is used for setting the time of the RFID reader identifying the RFID tag, the single-chip microcomputer U1 outputs low level to the chip selection interface CS1 end and the IO end, the first channel level conversion RS422 communication unit 2 is in the disabled state, and the first channel level conversion RS422 communication unit 2 signal does not interfere with the receiving and sending of the second channel level conversion RS422 communication unit 3 signal.
[0062] Note: the reagent bottle RFID tag content includes reagent content, reagent bottle liquid packaging amount (newly started reagent) ; after the first loading is completed, the reagent bottle packaging amount is displayed on the display screen, and the value is automatically updated according to the device running amount, and the current remaining amount needs to be written into the RFID tag when unloading, which has two advantages: first, it is convenient to replace the unused reagent to other similar instruments and equipment for use, so that the remaining information in the reagent bottle can be known in time; second, the reagent bottle needs to be unloaded in time when it is used up, and the remaining amount is 0, which is written into the tag, so as to avoid the inaccurate detection result caused by the reagent bottle injecting non-standard reagent in violation of regulations.
[0063] Finally, it should be emphasized that the above is only the preferred embodiment of the present application, and is not used to limit the present application, although the present application has been described in detail with reference to the foregoing embodiments, and for those skilled in the art, the technical solutions recorded in the foregoing embodiments can be modified without creative labor, or some technical features can be replaced. Thus, any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A multi-channel RFID reader communication control module, characterized in that: The RS232 communication unit comprises a single-chip microcomputer U1, an alarm unit and a plurality of level conversion RS422 communication units. The RS232 communication unit communication interface is respectively connected with the industrial computer and the single-chip microcomputer U1, and is used for converting the RS232 signal from the industrial computer into a TTL signal and sending the TTL signal to the single-chip microcomputer U1, and converting the TTL signal from the single-chip microcomputer U1 into an RS232 signal and sending the RS232 signal to the industrial computer. The general synchronous / asynchronous transceiver interface and the chip selection signal interface of the single-chip microcomputer U1 are respectively connected with a plurality of the level conversion RS422 communication units, and are used for enabling the corresponding chip selection signal interface and disabling other chip selection signal interfaces according to the instruction sent by the industrial computer; the data interaction is realized through the general synchronous / asynchronous transceiver interface and the corresponding level conversion RS422 communication unit; and the internal timer is enabled to judge whether the enabled chip selection signal interface completes the corresponding instruction within the specified time, and the command execution result is sent to the industrial computer. The level conversion RS422 communication unit comprises a level conversion unit and an RS422 full-duplex communication unit; the level conversion unit receives the chip selection signal of the single-chip microcomputer U1 and opens the corresponding enabled channel, synchronously sends and receives the TTL signal sent by the single-chip microcomputer U1, and realizes the interaction communication between the general synchronous / asynchronous transceiver signal of the single-chip microcomputer U1 and the RS422 full-duplex communication unit. The RS422 full-duplex communication unit comprises an RS422 full-duplex transceiver; the RS422 full-duplex transceiver converts the logic level signal converted by the level conversion unit into a differential signal and sends the differential signal to the RFID reader, and converts the differential signal from the RFID reader into a logic level signal and sends the logic level signal to the single-chip microcomputer U1. The alarm unit control input end is connected with the single-chip microcomputer U1 control end, and is used for receiving the control signal output by the single-chip microcomputer U1 and driving the indicator to issue the RFID reader working state prompt.
2. The multi-channel RFID reader communication control module of claim 1, wherein: The RS232 communication unit comprises a level conversion chip U4, an interface J3 and an interface J4; the interfaces J3 and J4 can be connected with the industrial computer; the interface J3 is used for the industrial computer to supply power and communicate with the multi-channel RFID reader communication control module, and the interface J4 is used for communicating with the industrial computer.
3. The multi-channel RFID reader communication control module of claim 1 or 2, wherein: The level conversion RS422 communication unit comprises a first channel level conversion RS422 communication unit and a second channel level conversion RS422 communication unit. The first channel level conversion RS422 communication unit comprises a first level conversion unit and a first RS422 full-duplex communication unit; and the second channel level conversion RS422 communication unit comprises a second level conversion unit and a second RS422 full-duplex communication unit. The first level conversion unit is composed of MOS tubes Q1 and Q2 and resistors R1, R2, R3, R4 and R5; and the second channel level conversion RS422 communication unit is composed of MOS tubes Q3 and Q4 and resistors R1, R2, R6, R7 and R8. The high potential end of the R1, R2, R3, R4, R5 is connected with the power supply VCC, and the low potential end of the R4 is connected with the drain of the MOS tube Q1; the gate of the MOS tube Q1, Q2, and the low potential end of the R3 are connected with the chip select signal interface CS1 of the single-chip microcomputer U1; the source of the MOS tube Q1, the low potential end of the R1, and the source of the MOS tube Q3 are connected with the receiving end of the universal synchronous / asynchronous transceiver interface of the single-chip microcomputer U1; the drain of the MOS tube Q2 is connected with the low potential end of the R5; the source of the MOS tube Q2 is connected with the low potential end of the R2, the source of the MOS tube Q4, and the transmitting end of the universal synchronous / asynchronous transceiver interface of the single-chip microcomputer U1; The high potential end of the R6, R7, R8 is connected with the power supply VCC, and the drain of the MOS tube Q3 is connected with the low potential end of the R7; the gate of the MOS tube Q3, Q4, and the low potential end of the R6 are connected with the select signal interface CS2 of the single-chip microcomputer U1; the drain of the MOS tube Q4 is connected with the low potential end of the R8; The first RS422 full-duplex communication unit is composed of a full-duplex transceiver U2, resistors R9, R10, and an RFID reader / writer interface J1; the resistor R10 is connected between the DI_Z and the DI_Y of the full-duplex transceiver U2 and is connected with the RFID reader / writer interface J1; the resistor R9 is connected between the RO_A and the RO_B of the full-duplex transceiver U2 and is connected with the RFID reader / writer interface J1; The second RS422 full-duplex communication unit is composed of a full-duplex transceiver U3, resistors R11, R12, and an RFID reader / writer interface J2; the resistor R12 is connected between the DI_Z and the DI_Y of the full-duplex transceiver U3 and is connected with the RFID reader / writer interface J2; the resistor R11 is connected between the RO_A and the RO_B of the full-duplex transceiver U3 and is connected with the RFID reader / writer interface J2.
4. The multi-channel RFID reader communication control module of claim 1 or 2, wherein: The alarm unit is composed of a triode Q5, a resistor R13, a resistor R16, and an indicator; the base of the triode Q5 is connected with the output control end of the single-chip microcomputer U1 through the resistor R13; the anode of the indicator is connected with the power supply VCC, the cathode of the indicator is connected with the collector of the triode Q5 through the resistor R16; and the emitter of the triode Q5 is grounded.