Fingerprint identification circuit supporting CAN bus communication
By designing a fingerprint identification circuit that supports CAN bus communication, CAN transceivers and photoelectric coupling circuits are used to realize CAN bus communication, which solves the problem of insufficient anti-interference ability of existing serial ports and USB communications, and realizes long-distance communication and simple and low-profile circuits. Effect.
Patent Information
- Application Number
- CN202323233276.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-11-29
AI Technical Summary
Existing serial communication and USB communication have weak anti-interference capabilities and are suitable for short-distance communication. Moreover, the device nodes are single and occupy more hardware ports, making it difficult to meet the needs of long-distance communication.
Design a fingerprint identification circuit that supports CAN bus communication, including a CAN transceiver, multiple photoelectric coupling circuits and a microcontroller. It provides 3.3V and 5V DC power through a linear regulator. The photoelectric coupling circuit is used for communication level isolation conversion, CAN transceiver The controller is connected to the main control device to realize CAN bus communication.
It realizes CAN bus communication with strong anti-interference ability, long transmission distance, simple circuit, low cost, small size and wide applicability.
Smart Images

Figure CN221633769U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of communication circuits, and more specifically to a fingerprint recognition circuit supporting CAN bus communication. Background Art
[0002] Serial communication and USB communication have relatively weak anti-interference capabilities, so they are usually not suitable for long-distance communication. They are generally used for short-distance communication, such as chip-to-chip communication or board-to-board communication. Moreover, the device nodes are single and occupy more hardware ports. Utility Model Content
[0003] The technical problem to be solved by the utility model is to provide a fingerprint recognition circuit supporting CAN bus communication with simple circuit, low cost, small size and wide applicability in view of the above-mentioned defects of the prior art.
[0004] The technical solution adopted by the utility model to solve its technical problems is:
[0005] Construct a fingerprint recognition circuit supporting CAN bus communication, including a CAN transceiver, a plurality of photoelectric coupling circuits and a single-chip microcomputer; wherein the CAN transceiver is connected to a plurality of the photoelectric coupling circuits, and the plurality of the photoelectric coupling circuits are all connected to the single-chip microcomputer;
[0006] It also includes a linear regulator, which is respectively connected to the single-chip microcomputer and the plurality of photoelectric coupling circuits, and provides 3.3V DC power to the single-chip microcomputer and the plurality of photoelectric coupling circuits. The CAN transceiver and the plurality of photoelectric coupling circuits are also connected to an external 5V DC power, and the plurality of photoelectric coupling circuits are used for communication level isolation conversion;
[0007] The CAN transceiver is also connected to an external main control device.
[0008] The fingerprint identification circuit supporting CAN bus communication of the utility model, wherein the single chip microcomputer is connected to a level conversion chip, and the level conversion chip is connected to a fingerprint sensor.
[0009] The fingerprint recognition circuit supporting CAN bus communication described in the utility model, wherein the IN end of the linear regulator is connected to a first capacitor and the OUT end is connected to a first inductor, the other end of the first capacitor is connected to the positive electrode of an external power supply, and the other end of the first inductor is respectively connected to the VDDIO_CARD0 end, the VCCA end and the plurality of the photoelectric coupling circuits of the single-chip computer.
[0010] The fingerprint recognition circuit supporting CAN bus communication described in the utility model, wherein the CANL end of the CAN transceiver is connected to a second inductor and the CANH end is connected to a third inductor, and the other ends of the second inductor and the third inductor are both connected to the main control device;
[0011] The other ends of the second inductor and the third inductor are connected one-to-one with the first positive electrode and the second positive electrode of the electrostatic protection diode, and the cathode of the electrostatic protection diode is grounded;
[0012] The RXD terminal and the TXD terminal of the CAN transceiver are both connected to the plurality of photoelectric coupling circuits and the VCC terminal is connected to the positive electrode of the 5V direct current.
[0013] The fingerprint recognition circuit supporting CAN bus communication described in the utility model, wherein the photoelectric coupling circuit includes a photoelectric coupler and a first resistor and a second resistor;
[0014] Pin 2 of the photoelectric coupler is a first power supply terminal, and pins 7 and 8 are second power supply terminals, pin 3 of the photoelectric coupler is connected to the first resistor, and pin 7 is connected to the second resistor, and the other end of the second resistor is connected to pin 6 of the photoelectric coupler;
[0015] The other end of the first resistor is the first communication end of the photoelectric coupling circuit, and the 6th pin of the photoelectric coupler is the second communication end of the photoelectric coupling circuit.
[0016] The fingerprint recognition circuit supporting CAN bus communication of the utility model, wherein the plurality of photoelectric coupling circuits at least include a first photoelectric coupling circuit and a second photoelectric coupling circuit;
[0017] The first power supply end of the first photoelectric coupling circuit is connected to the positive electrode of the 5V DC power and the second power supply end is connected to the other end of the first inductor; the first communication end of the first photoelectric coupling circuit is connected to the RXD end of the CAN transceiver and the second communication end is connected to the ACMP2_OUT end of the single chip microcomputer;
[0018] The second power supply end of the second photoelectric coupling circuit is connected to the positive pole of the 5V DC power and the first power supply end is connected to the other end of the first inductor; the second communication end of the second photoelectric coupling circuit is connected to the TXD end of the CAN transceiver and the first communication end is connected to the ACMP1_OUT end of the microcontroller.
[0019] The fingerprint recognition circuit supporting CAN bus communication described in the utility model, wherein the model of the linear regulator is MD533.
[0020] The fingerprint identification circuit supporting CAN bus communication described in the utility model, wherein the model of the single chip microcomputer is CCM4201.
[0021] The beneficial effects of the utility model are as follows: when in use, the linear regulator provides 3.3V DC power for the single-chip microcomputer and multiple photoelectric coupling circuits, and the CAN transceiver and multiple photoelectric coupling circuits are also connected to the external 5V DC power to meet the working requirements of different voltages; wherein the photoelectric coupling circuits are all used for communication level isolation conversion, and the CAN transceiver is also connected to an external main control device to realize CAN bus communication connection between the external main control device and the single-chip microcomputer, with strong anti-interference ability and long transmission distance; and the circuit is simple, low cost, small size and wide applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the utility model will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work:
[0023] Figure 1 It is a circuit schematic diagram of a single chip microcomputer of a fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0024] Figure 2 It is a circuit schematic diagram of a level conversion chip of a fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0025] Figure 3 It is a circuit schematic diagram of a fingerprint sensor of a fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0026] Figure 4 This is a circuit schematic diagram of a linear regulator of a fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0027] Figure 5 This is a circuit schematic diagram of a CAN transceiver of a fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0028] Figure 6 This is a circuit schematic diagram of the first photoelectric coupler of the fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model;
[0029] Figure 7 It is a circuit schematic diagram of the second photoelectric coupler of the fingerprint recognition circuit supporting CAN bus communication in a preferred embodiment of the utility model. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the utility model clearer, the following will be described clearly and completely in combination with the technical solution in the embodiments of the utility model. Obviously, the described embodiments are partial embodiments of the utility model, not all embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the utility model.
[0031] The fingerprint recognition circuit supporting CAN bus communication in the preferred embodiment of the utility model is as follows Figure 1 See also Figures 2 to 7 ; It includes a CAN transceiver U5, a plurality of photoelectric coupling circuits and a single-chip microcomputer U8; wherein the CAN transceiver U5 is connected to a plurality of photoelectric coupling circuits, and the plurality of photoelectric coupling circuits are all connected to the single-chip microcomputer U8;
[0032] It also includes a linear regulator U6, which is respectively connected to the single-chip computer U8 and multiple photoelectric coupling circuits, and the linear regulator U6 provides 3.3V DC power for the single-chip computer U8 and the multiple photoelectric coupling circuits. The CAN transceiver U5 and the multiple photoelectric coupling circuits are also connected to an external 5V DC power, and the multiple photoelectric coupling circuits are used for communication level isolation conversion;
[0033] CAN transceiver U5 is also connected to an external master control device;
[0034] When in use, the linear regulator U6 provides 3.3V DC power for the microcontroller U8 and multiple optocoupler circuits. The CAN transceiver U5 and multiple optocoupler circuits are also connected to the external 5V DC power to meet the working requirements of different voltages. Among them, the optocoupler circuits are used for communication level isolation conversion. The CAN transceiver U5 is also connected to the external master control device to realize the CAN bus communication connection between the external master control device and the microcontroller U8. It has strong anti-interference ability and long transmission distance. The circuit is simple, low cost, small size and wide applicability.
[0035] like Figures 1 to 3 As shown, the single chip microcomputer U8 is connected to the level conversion chip U3, and the level conversion chip U3 is connected to the fingerprint sensor U2;
[0036] The S_MISO terminal, S_CS terminal, S_MOSI terminal, S_CLK terminal and S_RST terminal of the level conversion chip U3 are connected one-to-one with the SPI_MISO terminal, SPI_CS terminal, SPI_MOSI terminal, SPI_CLK terminal and SEN_RST terminal of the fingerprint sensor U2;
[0037] The PWMT2_BRK, ISOCLK1, PWMT3_BRK, PWMT3_ETR and PWMT2_ETR of the single-chip computer U8 are connected one-to-one with the S_MOSI, S_RST, S_CLK, S_CS and S_MISO of the level conversion chip U3; the level conversion chip U3 can also boost the external 3.3V power supply voltage to provide power supply for the fingerprint sensor U2.
[0038] It should be noted that the level conversion chip U3 and the fingerprint sensor U2 are both customized products, wherein the level conversion chip U3 can realize power supply boosting and communication level conversion.
[0039] like Figure 1 and Figure 4 as well as Figure 6 As shown, the IN terminal of the linear regulator U6 is connected to a first capacitor C13 and the OUT terminal is connected to a first inductor L2, the other end of the first capacitor C13 is connected to the positive electrode of the external power supply, and the other end of the first inductor L2 is respectively connected to the VDDIO_CARD0 terminal, the VCCA terminal and a plurality of optocoupler circuits of the microcontroller U8; the first inductor L2 is used for isolating DC, and the first capacitor C13 is used for filtering.
[0040] like Figure 5 and Figure 6 As shown, the CANL terminal of the CAN transceiver U5 is connected to the second inductor L1 and the CANH terminal is connected to the third inductor L3, and the other ends of the second inductor L1 and the third inductor L3 are both connected to the main control device;
[0041] The other ends of the second inductor L1 and the third inductor L3 are connected one-to-one to the first positive electrode and the second positive electrode of the electrostatic protection diode D16, and the cathode of the electrostatic protection diode D16 is grounded;
[0042] The RXD and TXD terminals of the CAN transceiver U5 are both connected to a plurality of photoelectric coupling circuits and the VCC terminal is connected to the positive pole of 5V DC; an electrostatic protection diode D16 is used for electrostatic protection, and the second inductor L1 and the third capacitor are used for anti-interference.
[0043] like Figure 6 As shown, the photoelectric coupling circuit includes a photoelectric coupler U18, a first resistor R111, and a second resistor R116;
[0044] Pin 2 of the photocoupler U18 is a first power supply terminal, and pins 7 and 8 are second power supply terminals. Pin 3 of the photocoupler U18 is connected to a first resistor R111, and pin 7 is connected to a second resistor R116. The other end of the second resistor R116 is connected to pin 6 of the photocoupler U18.
[0045] The other end of the first resistor R111 is the first communication end of the photoelectric coupling circuit, and the 6th pin of the photoelectric coupler U18 is the second communication end of the photoelectric coupling circuit; the circuit is simple, low-cost, and realizes communication level isolation conversion.
[0046] like Figure 1 and Figures 5 to 7 As shown, the plurality of photoelectric coupling circuits at least include a first photoelectric coupling circuit 110 and a second photoelectric coupling circuit 120;
[0047] The first power supply end of the first photoelectric coupling circuit 110 is connected to the positive pole of the 5V DC power supply and the second power supply end is connected to the other end of the first inductor L2; the first communication end of the first photoelectric coupling circuit 110 is connected to the RXD end of the CAN transceiver U5 and the second communication end is connected to the ACMP2_OUT end of the microcontroller U8;
[0048] The second power supply end of the second photoelectric coupling circuit 120 is connected to the positive pole of the 5V DC power and the first power supply end is connected to the other end of the first inductor L2; the second communication end of the second photoelectric coupling circuit 120 is connected to the TXD end of the CAN transceiver U5 and the first communication end is connected to the ACMP1_OUT end of the microcontroller U8; data reception / transmission isolation conversion is realized.
[0049] like Figure 4 As shown, the linear regulator U6 is model MD533; it is small in size and low in cost.
[0050] like Figure 1 As shown, the model of the microcontroller U8 is CCM4201; it has high stability and can also support data encryption.
[0051] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the claims attached to the utility model.
Claims
1. A fingerprint recognition circuit supporting CAN bus communication, comprising a CAN transceiver, a plurality of photoelectric coupling circuits and a single chip microcomputer; characterized in that: The CAN transceiver is connected to a plurality of the photoelectric coupling circuits, and the plurality of the photoelectric coupling circuits are all connected to the single chip microcomputer; It also includes a linear regulator, which is respectively connected to the single-chip microcomputer and the plurality of photoelectric coupling circuits, and provides 3.3V DC power to the single-chip microcomputer and the plurality of photoelectric coupling circuits. The CAN transceiver and the plurality of photoelectric coupling circuits are also connected to an external 5V DC power, and the plurality of photoelectric coupling circuits are used for communication level isolation conversion; The CAN transceiver is also connected to an external main control device.
2. The fingerprint recognition circuit supporting CAN bus communication according to claim 1, characterized in that: The single chip microcomputer is connected to a level conversion chip, and the level conversion chip is connected to a fingerprint sensor.
3. The fingerprint recognition circuit supporting CAN bus communication according to claim 1, characterized in that: The IN terminal of the linear regulator is connected to a first capacitor and the OUT terminal is connected to a first inductor, the other end of the first capacitor is connected to the positive electrode of an external power supply, and the other end of the first inductor is respectively connected to the VDDIO_CARD0 terminal, the VCCA terminal and the plurality of the photoelectric coupling circuits of the microcontroller.
4. The fingerprint recognition circuit supporting CAN bus communication according to claim 3, characterized in that: The CANL terminal of the CAN transceiver is connected to a second inductor and the CANH terminal is connected to a third inductor, and the other ends of the second inductor and the third inductor are both connected to the main control device; The other ends of the second inductor and the third inductor are connected one-to-one with the first positive electrode and the second positive electrode of the electrostatic protection diode, and the cathode of the electrostatic protection diode is grounded; The RXD terminal and the TXD terminal of the CAN transceiver are both connected to the plurality of photoelectric coupling circuits and the VCC terminal is connected to the positive electrode of the 5V direct current.
5. The fingerprint recognition circuit supporting CAN bus communication according to claim 4, characterized in that: The photoelectric coupling circuit comprises a photoelectric coupler, a first resistor and a second resistor; Pin 2 of the photoelectric coupler is a first power supply terminal, and pins 7 and 8 are second power supply terminals, pin 3 of the photoelectric coupler is connected to the first resistor, and pin 7 is connected to the second resistor, and the other end of the second resistor is connected to pin 6 of the photoelectric coupler; The other end of the first resistor is the first communication end of the photoelectric coupling circuit, and the 6th pin of the photoelectric coupler is the second communication end of the photoelectric coupling circuit.
6. The fingerprint recognition circuit supporting CAN bus communication according to claim 5, characterized in that: The plurality of photoelectric coupling circuits at least include a first photoelectric coupling circuit and a second photoelectric coupling circuit; The first power supply end of the first photoelectric coupling circuit is connected to the positive electrode of the 5V DC power and the second power supply end is connected to the other end of the first inductor; the first communication end of the first photoelectric coupling circuit is connected to the RXD end of the CAN transceiver and the second communication end is connected to the ACMP2_OUT end of the single chip microcomputer; The second power supply end of the second photoelectric coupling circuit is connected to the positive pole of the 5V DC power and the first power supply end is connected to the other end of the first inductor; the second communication end of the second photoelectric coupling circuit is connected to the TXD end of the CAN transceiver and the first communication end is connected to the ACMP1_OUT end of the microcontroller.
7. The fingerprint recognition circuit supporting CAN bus communication according to claim 1, characterized in that: The linear regulator is model MD533.
8. The fingerprint recognition circuit supporting CAN bus communication according to claim 1, characterized in that: The model of the single chip microcomputer is CCM4201.
