A Darlington driver chip with a two-wire communication protocol

Through the Darlington driver chip with a two-wire communication protocol, the clock signal and data signal bus of the microcontroller are used to realize the control and communication of multiple Darlington tubes, which solves the problems of increased control lines and insufficient security in the existing technology and realizes the effects of flexible control and real-time monitoring.

CN118964268BActive Publication Date: 2025-09-26SHENZHEN LICHUANG MICROELECTRONICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411042368.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2025-09-26
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the existing technology, the way a single-chip microcomputer controls Darlington tubes requires adding control lines according to the number of Darlington tubes, which makes it inconvenient to use and high cost. It also lacks flexible control functions and real-time monitoring, and is prone to safety problems such as fixed overcurrent protection and chip damage caused by excessive temperature.

Method used

The Darlington driver chip adopts a two-wire communication protocol and is connected to the Darlington driver chip through the clock signal and data signal bus of the microcontroller to realize the control of the signal input port and multiple Darlington tubes. It includes signal input, data reception, logic control module and Darlington output port, and has an abnormality detection and protection mechanism.

Benefits of technology

The control method is simplified, the cost is reduced, the flexible control and real-time monitoring of multi-channel Darlington tubes are realized, the safety and ease of use are improved, and abnormal information can be fed back in time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964268B_ABST
    Figure CN118964268B_ABST
Patent Text Reader

Abstract

The present invention discloses a Darlington driver chip with a two-wire communication protocol, relating to the field of household appliances. The chip comprises: a signal input port for receiving a serial data signal from a data signal output port based on a clock signal outputted by a clock signal output port, and transmitting the received serial data signal to a data receiving module; a data receiving module for extracting address data from the address field of the serial data signal, comparing the address data with the address bits of the current Darlington driver chip; and, when the address bits match the address data, extracting function data and control data from the function field and control field of the serial data signal, transmitting the function data and control data to a logic control module. The logic control module also receives feedback from the logic control module regarding abnormal data related to the Darlington driver chip and Darlington transistors; and a logic control module for sending control signals based on the function data and control data. This solution implements the control and communication functions of multiple Darlington transistors using two signal lines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit design, and in particular to a Darlington driver chip of a two-wire communication protocol. Background Art

[0002] A Darlington tube, also known as a composite tube, is a transistor that connects two triodes in series to form an equivalent new triode. Darlington tubes are characterized by their very high amplification factor, making them commonly used in power amplifiers and regulated power supplies.

[0003] The traditional control method is to directly control the Darlington tube through the single chip microcomputer. The control line corresponds to the number of Darlington tubes. Figure 1 It can be seen that an 8-way Darlington tube requires an 8-way single-chip microcomputer port for control. As the number of Darlington tube combinations continues to increase, the control line of the single-chip microcomputer must also change accordingly, which not only causes inconvenience in use but also increases the cost. For single-chip microcomputers with fewer pins, they may even need to be replaced. In addition, the traditional single-chip microcomputer control method generally only has a one-way control function and cannot synchronize safety issues that arise during the working process, such as: the overcurrent protection point is fixed and cannot flexibly adapt to different loads; excessive temperature will cause the chip to burn out; the load working status cannot be monitored in real time and cannot be adjusted in real time; there is no overcurrent and short-circuit protection, which can easily cause chip damage.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a Darlington driver chip with a two-wire communication protocol in response to the above-mentioned defects of the prior art, aiming to solve the problem that the existing single-chip microcomputer control method only has a one-way control function and needs to be changed according to the number of Darlington tubes, which is inconvenient to use.

[0006] This application provides a Darlington driver chip with a two-wire communication protocol, which adopts the following technical solutions:

[0007] A Darlington driver chip with a two-wire communication protocol includes: a signal input port, a data receiving module, a logic control module, a Darlington output port, and multiple Darlington transistors;

[0008] The signal input port is connected to the clock signal output terminal and the data signal output terminal of the microcontroller, and the Darlington output port has multiple output channels, and the multiple output channels are respectively connected to the multiple Darlington transistors;

[0009] The signal input port is used to receive a serial data signal from the data signal output terminal based on the clock signal output by the clock signal output terminal, and transmit the received serial data signal to the data receiving module;

[0010] The data receiving module extracts address data from the address field of the serial data signal and compares the address data with the address bit of the current Darlington driver chip. When the address bit is the same as the address data, the data receiving module extracts function data and control data from the function field and control field of the serial data signal, and transmits the function data and control data to the logic control module.

[0011] The data receiving module is further configured to, when the address bit is the same as the address data, receive abnormal data of the Darlington driver chip and the Darlington transistor fed back by the logic control module, and feed the abnormal data back to the microcontroller;

[0012] The logic control module sends a control signal to the multiple Darlington transistors through the Darlington output port based on the functional data and the control data, so as to control the operation of the multiple Darlington transistors.

[0013] Furthermore, the data receiving module is further configured to:

[0014] When the address bit is the same as the address data, the frame format of the serial data signal is checked, the frame format of the serial data signal includes: an address field, a function field, a control field, and a check field, and the check items include at least one of the following: checking whether the number of bits and the number of valid bits included in each field of the serial data signal are a preset number; checking whether the value corresponding to the valid bit of each field in the serial data signal is a preset value; and whether the parity bit in the check field is correct.

[0015] Furthermore, the data receiving module is further configured to:

[0016] When the address bit is identical to the address data and the serial data signal is verified to be correct, the Darlington driver chip updates the content of the data receiving module, reads abnormal data from the logic control module, and feeds the abnormal data back to the microcontroller.

[0017] Furthermore, the data receiving module is further configured to:

[0018] When the address bit is different from the address data, or the serial data signal is incorrectly checked, the Darlington driver chip discards the serial data signal, and the microcontroller resends the serial data signal.

[0019] Furthermore, the function data is used to indicate the function of each of the output channels. The logic control module generates a function signal based on the function data, and sends the function signal to each Darlington transistor through the Darlington output port to drive each Darlington transistor to turn on or off.

[0020] Furthermore, the control data is used to indicate the parameters of each output channel, and the logic control module generates a control signal based on the control data, and sends the control signal to each Darlington transistor through the Darlington output port to control the current parameters of each Darlington transistor.

[0021] Furthermore, the Darlington driver chip further includes: an exception handling module;

[0022] The abnormality processing module is used to: monitor whether the output current of each output channel is abnormal and generate an abnormality signal;

[0023] The exception handling module is further configured to transmit the exception signal to the logic control module and close the output channel in the abnormal state.

[0024] Furthermore, the Darlington driver chip further includes: a reference module and a temperature protection module;

[0025] The temperature protection module is connected to the reference module and the logic control module respectively, and the reference module is used to provide a corresponding reference point for the Darlington driver chip;

[0026] The temperature protection module is used to monitor whether the temperature of the Darlington driver chip exceeds a preset temperature threshold according to the reference point;

[0027] When the temperature of the Darlington driver chip exceeds a preset temperature threshold;

[0028] The temperature protection module generates an over-temperature signal and transmits the generated over-temperature signal to the logic control module;

[0029] The logic control module turns off the Darlington output port according to the over-temperature signal.

[0030] Furthermore, it also includes: an overcurrent detection module;

[0031] The overcurrent detection module is connected to the reference module and the logic control module respectively;

[0032] The overcurrent detection module is used to detect whether the operating current of the Darlington driver chip exceeds the overcurrent value according to the reference point;

[0033] When the operating current of the Darlington driver chip exceeds the overcurrent value;

[0034] The overcurrent detection module generates an overcurrent signal and transmits the generated overcurrent signal to the logic control module;

[0035] The logic control module turns off the Darlington output port according to the overcurrent signal.

[0036] Furthermore, it also includes: a clock module;

[0037] The clock module is connected to the logic control module and the exception handling module, and is used to provide a clock reference.

[0038] Beneficial effects of the present invention: The present invention sets a clock signal output port and a data signal output port on the microcontroller, and adopts a clock signal bus and a data signal bus to connect the clock signal output port with the clock signal input port of the Darlington driver chip, and the data signal output port with the data signal input port of the Darlington driver chip. The Darlington output port is connected to multiple Darlington tubes. The signal input port receives a serial data signal from the microcontroller C based on the clock signal sent by the microcontroller C. The signal receiving module extracts address data from the address field of the serial data signal and compares the address data with the current Darlington driver chip. The built-in address bits of the chip are compared. When the address data is consistent with the built-in address bits of the current Darlington driver chip and the check bit extracted from the check field of the serial data signal is also correct, the serial data signal is valid. The logic control module extracts the function data and control data based on the function field and control field in the serial data signal, and then controls the operation of the multiple Darlington tubes through the Darlington output port. At the same time, the data receiving module reads the abnormal information of the Darlington driver chip and the multiple Darlington tubes stored in the logic control module and provides it to the microcontroller, so that the abnormal information can be fed back in time, thereby realizing the control and communication functions based on the two signal buses. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the prior art.

[0040] Figure 2 The figure is a schematic diagram of an application scenario of a Darlington driver chip with a two-wire communication protocol provided by an embodiment of the present invention.

[0041] Figure 3 Schematic diagram of further application scenarios of the Darlington driver chip with a two-wire communication protocol provided by an embodiment of the present invention.

[0042] Figure 4 The figure is a schematic diagram of a chip architecture of a Darlington driver chip with a two-wire communication protocol provided by an embodiment of the present invention.

[0043] Figure 5This is another chip architecture diagram of the Darlington driver chip with a two-wire communication protocol provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The present invention discloses a Darlington driver chip for a two-wire communication protocol. To make the objectives, technical solutions, and effects of the present invention more clear and explicit, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention.

[0045] like Figure 1 and Figure 2 As shown, an embodiment of the present application discloses a Darlington driver chip with a two-wire communication protocol. The Darlington driver chip is connected between a microcontroller (MCU) C and a Darlington transistor. The microcontroller can also be called a single-chip microcomputer. The Darlington transistor is configured to have at least two channels. The microcontroller controls the operation of multiple Darlington transistors through two data transmission lines. Compared with the existing N-channel Darlington control method that requires N data lines, the control method is greatly simplified and the cost is reduced. In addition, the Darlington driver chip not only realizes control and communication functions simultaneously, but also enables timely feedback of abnormal problems in the driver chip and Darlington transistor during the control process. The microcontroller controls the Darlington driver chip or Darlington transistor to stop working, ensuring safety in use.

[0046] In an embodiment of the present application, the microcontroller C may include a clock signal output terminal and a data signal output terminal. The Darlington driver chip includes a signal input port and a Darlington output port, wherein the signal input port includes a clock signal input port and a data signal input port. The clock signal input port of the Darlington driver chip is connected to the clock signal output terminal of the microcontroller C through a clock signal bus, and the data signal input port of the Darlington driver chip is connected to the data signal output terminal of the microcontroller C through a data signal bus. The Darlington output port of the Darlington driver chip includes multiple output channels, and the multiple output channels are respectively connected to the Darlington tubes in a one-to-one correspondence. The microcontroller C may include but is not limited to various control devices such as PLC (Programmable Logic Controller), FPGA (Field-Programmable Gate Array), and single-chip microcomputer.

[0047] In an embodiment of the present application, a Darlington driver chip receives a serial data signal through a data signal input port based on a clock signal received at a clock signal input port. The Darlington driver chip compares a pre-set address bit in the Darlington driver chip with the address data in the address field of the serial data signal. When the address bit in the Darlington driver chip matches the address data in the address field of the serial data signal, the Darlington driver chip sends a control signal to each Darlington transistor through a Darlington output port based on the function data and control data in the function field of the serial data signal. Furthermore, the Darlington driver chip feeds back abnormal signals within the Darlington driver chip and abnormal signals of each Darlington transistor to a microcontroller C, thereby achieving control and communication functions.

[0048] from Figure 3As can be seen in the figure, the microcontroller C controls the Darlington driver chip via two signal lines, thereby controlling the multi-channel Darlington transistors. The multi-channel Darlington transistors are connected to multiple loads, which may include but are not limited to relays and other devices. The multi-channel Darlington transistors are integrated on the Darlington driver chip, so the microcontroller C controls the multi-channel Darlington transistors via two signal lines. In the existing case, the microcontroller C directly controls the multi-channel Darlington driver chip, which requires N IO ports to correspond to the N-channel Darlington transistors. Therefore, the present application implements two-wire control and communication functions by designing a Darlington driver chip integrated with multiple Darlington transistors. Therefore, by providing the Darlington driver chip, the microcontroller C only needs to provide two output ports, namely the clock signal output port and the data signal output port, and only needs to connect the two signal buses, namely the clock signal bus and the data signal bus, to achieve control and communication of the multi-channel Darlington transistors. However, in the prior art, when it is necessary to control the operation of multiple Darlington tubes, the microcontroller C needs to be provided with multiple output ports and connected to multiple signal lines. The number of the output ports of the microcontroller C and the number of the signal lines correspond to the number of Darlington tubes to be controlled. For example, when it is necessary to control the operation of 8 Darlington tubes, the microcontroller C in the prior art needs to be provided with 8 output ports (except the power supply terminal and the ground terminal), and the microcontroller C needs to be connected to the 8 Darlington tubes through 8 signal lines, thereby greatly increasing the number of ports of the microcontroller and the number of connected signal lines. In addition, in the prior art, the microcontroller C only has a one-way control function on the multiple Darlington tubes, that is, the microcontroller C can only control the Darlington tubes to work or not work, and cannot obtain real-time feedback information. For example, when a Darlington tube has an abnormality, the microcontroller cannot know which Darlington tube has the abnormality and then provide a control signal to shut it down. In the embodiment of the present application, when controlling the operation of the multi-channel Darlington transistor, the microcontroller C only needs to set two output ports, and connect the two buses to the Darlington driver chip through a clock signal bus and a data signal bus, so as to realize the control and communication functions at the same time. Therefore, compared with the prior art, the present application controls the operation of the multi-channel Darlington transistor through the Darlington driver chip, which can reduce the number of output ports of the microcontroller and the number of signal lines required to be connected, thereby reducing the complexity of the microcontroller C, and further reducing the production cost of the microcontroller and the cost of the signal lines. Moreover, compared with the prior art, the Darlington driver chip of the present application also has the function of feedback abnormal information, thereby forming signal reverse communication between the microcontroller and the Darlington driver chip and the multi-channel Darlington transistor, improving the safety of use.

[0049] Below Figure 4 Take the Darlington driver chip shown in as an example, combined with Figure 4 and Figure 5 , for a more detailed description of the structure and working principle of the Darlington driver chip. Please continue to refer to Figure 4 , Figure 4This is a schematic diagram of the chip architecture of the Darlington driver chip provided in the embodiment of the present application. Figure 4 As shown, the Darlington driver chip includes a signal input port, a data receiving module, a logic control module, and a Darlington output port. The signal input port includes a clock signal input port and a data signal input port, which are connected to the clock signal output port and the data signal output port of the microcontroller C. The data receiving module is located between the signal input port and the logic control module, and the logic control module is located between the data receiving module and the Darlington output port. The signal input port receives a serial data signal from the microcontroller C based on the clock signal generated by the microcontroller C. The serial data signal received by the signal output port is stored in a register in the data receiving module to store the received serial data signal.

[0050] The data receiving module moves the serial data signal in the register to the logic control module according to the pre-set frame format. Figure 5 As shown, the frame format of a serial data signal can include a start field, an address field, a function field, a control field, a check field, and an end field. The start field is located at the beginning of the serial data signal and is used to ensure the recognition of the serial data signal. For example, if "11110" is used as the start field, then when "11110" is recognized, it is a new serial data signal, and the "1111" field will not appear in subsequent fields to ensure accurate signal recognition. After the start field is recognized, the data signal is counted. To ensure that the data received by the data receiving end is valid, the Darlington driver chip has a built-in address bit. The data receiving module extracts address data from the address field of the serial data signal. The serial data signal is only valid when the address data is consistent with the built-in address bit of the current Darlington driver chip. If the address data is inconsistent with the built-in address bit of the current Darlington driver chip, the current Darlington driver chip will not perform any data update. In this case, its built-in address bit can be changed through wiring or adjustment. In order to improve the anti-interference capability of the driver chip, the data receiving module can verify the frame format of the serial data signal, and execute subsequent actions after the verification is successful. If the verification is unsuccessful, the serial data signal is discarded.

[0051] Specifically, the verification items for the frame format of the serial data signal may include at least one of the following: verifying whether the number of bits included in each field in the serial data signal and the number of valid bits (also referred to as check bits) are a preset number; verifying whether the value corresponding to the valid bit of each field in the serial data signal is a preset value; and verifying whether the parity bit in the field is correct. For example, assuming that the pre-agreed frame format of the serial data signal is 22 bits, such as "11110ABC0LMN0RST0XYZ0D", the last bit of each field is agreed to be the check bit of each field, and the value of the last bit of each field is agreed to be "0". When checking the address field, it can be checked whether the bits included in the address field (ABC0) are four bits and whether the fourth bit in the address field is "0". If, after the check, the address field does not include four bits, or the value of the last bit in the address field is not "0", the serial data signal is invalid and the Darlington driver chip does not update the data. If, after the check, the address field includes four bits and the value of the last bit in the address field is both "0", the check field is continued to be checked, that is, whether the parity bit "Z" in the check field (XYZ0) is correct. If the value of the parity bit "Z" in the check field is also correct, the serial data signal is updated to the register of the Darlington driver chip. It should be noted that the data receiving module needs to verify each field, and the last bit of each field is always "0". In other words, when performing verification, in addition to verifying the number of bits in each field, it is also necessary to verify whether the value of the last bit in each field is "0". Only when the number of bits in each field is consistent and the value of the last bit in each field is "0" is the field considered correct. Only when all fields are correct and the parity bit in the check field is also correct, the serial data signal is considered a valid signal, and the Darlington driver chip will update the serial data signal to the register inside the driver chip. The end field indicates that the data transmission is complete and the communication ends.

[0052] If the address data does not match the internal address bits of the current Darlington driver chip, or if the checksum is incorrect, the serial data signal can be discarded. If the address data in the address field matches the internal address bits of the current Darlington driver chip, and the checksum is correct, the function data and control data corresponding to the function field and control field are extracted and transmitted to the logic control module. Specifically, the function data indicates the function of each output channel, thereby controlling the opening or closing of each Darlington transistor, while the control data indicates the parameters of each output channel. For example, if only one output channel is set, the function field is 10000000; if the current output level of each channel is set to the second level, the control field is 0010. In other words, the logic control module generates a function signal based on the function data and sends it to each Darlington transistor through the Darlington output port to control the opening or closing of each Darlington transistor. In other words, the function data indicates the operating status of the Darlington transistor connected to the Darlington driver chip. The control data is used to indicate the parameters of each output channel. The logic control module generates a control signal based on the control data and sends it to each Darlington tube through the Darlington output port to control the output current of each Darlington tube. That is, the control data is used to indicate the current gear of each Darlington tube connected to the Darlington driver chip.

[0053] After the data receiving module transmits the functional data and control data to the logic control module, it simultaneously reads the abnormal signals in the logic control module and feeds the abnormal signals back to the microcontroller. Specifically, the abnormal signals may include the overcurrent signal and overtemperature signal of the Darlington driver chip, as well as the abnormal signals of each Darlington transistor in each output channel. During use, the device will inevitably generate heat and unexpected situations, causing the Darlington driver chip to be in an overcurrent or overtemperature state. At the same time, each output channel may also have a short circuit, overcurrent, or even device damage. By feeding these abnormal signals back to the microcontroller, it is possible to clearly know which specific component has an abnormality. Then, an alarm can be issued using a buzzer or voice prompt to remind the user, so that the user can understand the usage of the device. After the logic control module feeds back the abnormal signal to the data receiving module, it can also process the abnormal signal. For example, when the driver chip overcurrent or overtemperature occurs, the logic control module can close all output channels to ensure the safety and reliability of the chip. It should be noted that when the data receiving module reads the abnormal signal in the logic control module, the clock signal remains unchanged, and the data signal bit changes from input to output. For example, it is agreed that the data read under abnormal conditions is 1. If 8 channels are abnormal, the data read from the logic control module is: 00000001.

[0054] By adopting the format of the serial data signal, not only the control function of the microcontroller C over the multiple Darlington tubes is realized, but also the reverse communication function of the multiple Darlington tubes (Darlington driver chip) to the microcontroller C is realized, thereby realizing a two-wire communication mode integrating control and communication. The control of the multiple Darlington tubes by the microcontroller C is realized through two signal buses, which not only simplifies the control, but also can monitor the working status of the Darlington driver chip in real time and obtain timely feedback, making it safer and more convenient to use.

[0055] Please continue to refer to Figure 5 , Figure 5 Schematic diagram of another chip architecture of the Darlington driver chip provided in the embodiment of the present application. Figure 4 The difference between the Darlington driver chip shown is that Figure 3 The Darlington driver chip shown includes Figure 4 In addition to the structure of the Darlington driver chip shown, it also includes an exception handling module, a reference module, a clock module, an overcurrent detection module, and a temperature protection module. The exception handling module is connected to the logic control module and the Darlington output port to detect whether the Darlington transistors connected to each output channel are operating abnormally, such as short circuits or overcurrent. The exception handling module can also process abnormal signals. When an overcurrent occurs in a Darlington transistor, the exception handling module can close the corresponding overcurrent output port and transmit the abnormal signal to the logic control module, which then feeds back to the microcontroller for signal prompts. The Darlington driver chip can simultaneously output multiple control signals to control the operation of multiple Darlington transistors. The multiple control signals are independent of each other and can also be interrelated to ensure the safety and reliability of the system. The following example explains this. For example, if an abnormal condition such as a short circuit or overcurrent occurs in the fourth output channel, the exception handling module first controls the fourth channel to shut down, simultaneously generating a fourth-channel abnormality signal and sending it to the logic control module. The signal receiving module then reads the fourth-channel abnormality signal from the logic control module and provides it to the microcontroller, thus enabling reverse communication of information and timely monitoring of abnormalities in the Darlington driver chip or Darlington transistor. If both the fourth and fifth output channels experience abnormal conditions such as a short circuit or overcurrent, the exception handling module can simultaneously output two control signals to shut down the fourth and fifth channels, generating a fourth-channel abnormality signal and a fifth-channel abnormality signal. These signals are then fed back to the microcontroller through the logic control module and the signal receiving module, implementing signal communication. The clock module is connected to the logic control module and the exception handling module, respectively. It provides a reference clock signal and calibrates it based on the clock signal sent by microcontroller C, thereby synchronizing the clock signals of the Darlington driver chip and microcontroller C, ensuring accurate reception of serial data signals or transmission of abnormal signals based on clock cycles.

[0056] The overcurrent detection module and the temperature protection module are connected to the reference module and the logic control module respectively. The reference module can provide the reference data and reference signal inside the Darlington driver chip. For example, the reference module can provide the reference current source for the clock module. In addition, the reference module can also store the overcurrent point and the preset temperature threshold. The overcurrent detection module detects the current of the Darlington driver chip in real time, and compares the detected current value with the preset overcurrent point stored in the reference module, and transmits the comparison result to the logic control module. When the current value of the Darlington driver chip is greater than or equal to the preset overcurrent point, the logic control module controls each Darlington tube to stop working by closing all Darlington output ports. In addition, since the Darlington driver chip has a communication function, the user can change the overcurrent protection point of the Darlington driver chip according to the feedback information. The overcurrent protection point can be changed in real time through the control end of the overcurrent detection module to increase the flexible application of the Darlington driver chip.

[0057] In some embodiments, the Darlington driver chip may also include an overcurrent timing module, which is connected to the overcurrent detection module. Upon detecting that the control signal output by the overcurrent detection module is valid, the overcurrent timing module can set the overcurrent time via the control signal. When the overcurrent time reaches the set time point, it outputs the overcurrent time signal to the logic control module. The logic control module then shuts down the corresponding overcurrent output port based on the control signal from the overcurrent detection module and the overcurrent time signal from the overcurrent timing module. A temperature protection module monitors the temperature of the Darlington driver chip in real time, compares the detected temperature value with a preset temperature threshold stored in the reference module, and transmits the comparison result to the logic control module. When the temperature of the Darlington driver chip is greater than or equal to the temperature threshold, the logic control module shuts down the Darlington output ports to stop the operation of each Darlington transistor, thereby ensuring the safety and reliability of the Darlington driver chip. In the process of driving household appliances (such as relays, LED lights, display screens, etc.), heat is inevitably generated. When driving more Darlington tubes, the driving current will inevitably increase. Therefore, by setting an overcurrent detection module and a temperature protection module, the current value and temperature of the Darlington driver chip are monitored in real time to avoid damage to the chip due to excessive temperature or current values, thereby protecting the Darlington driver chip from overheating and overcurrent.

[0058] In summary, the present invention has the following advantages over the prior art: the present invention sets a clock signal output port and a data signal output port on the microcontroller, and adopts a clock signal bus and a data signal bus to connect the clock signal output port with the clock signal input port of the Darlington driver chip, and the data signal output port with the data signal input port of the Darlington driver chip. The Darlington output port is connected to multiple Darlington tubes. The signal input port receives a serial data signal from the microcontroller C based on the clock signal sent by the microcontroller C. The signal receiving module extracts address data from the address field of the serial data signal and compares the address data with the current address. The built-in address bits of the Darlington driver chip are compared. When the address data is consistent with the built-in address bits of the current Darlington driver chip and the check bit extracted from the check field of the serial data signal is also correct, the serial data signal is valid. The logic control module extracts the function data and control data based on the function field and control field in the serial data signal, and then controls the operation of the multi-channel Darlington tube through the Darlington output port. At the same time, the data receiving module reads the abnormal information of the Darlington driver chip and the multi-channel Darlington tube stored in the logic control module, and provides it to the microcontroller C, so that the abnormal information can be fed back in time, thereby realizing the dual-function effect of control and communication based on two signal buses.

[0059] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A Darlington driver chip with a two-wire communication protocol, characterized in that: include: Signal input port, data receiving module, logic control module, exception handling module, Darlington output port and multi-channel Darlington transistor; The signal input port is connected to the clock signal output terminal and the data signal output terminal of the microcontroller, and the Darlington output port has multiple output channels, and the multiple output channels are respectively connected to the multiple Darlington transistors; The signal input port is used to receive a serial data signal from the data signal output terminal based on the clock signal output by the clock signal output terminal, and transmit the received serial data signal to the data receiving module; The data receiving module extracts address data from the address field of the serial data signal and compares the address data with the address bit of the current Darlington driver chip. When the address bit is the same as the address data, the data receiving module extracts function data and control data from the function field and control field of the serial data signal, and transmits the function data and control data to the logic control module. The function data is used to indicate the function of each output channel. The logic control module generates a function signal based on the function data, and sends the function signal to each Darlington transistor through the Darlington output port to drive each Darlington transistor to turn on or off; The control data is used to indicate the parameters of each output channel, and the logic control module generates a control signal based on the control data, and sends the control signal to each Darlington transistor through the Darlington output port to control the current parameters of each Darlington transistor; The data receiving module is further configured to, when the address bit is the same as the address data, receive abnormal data based on the Darlington driver chip and the Darlington transistor fed back by the logic control module, and feed back the abnormal data to the microcontroller; The logic control module sends a control signal to the multiple Darlington transistors through the Darlington output port based on the functional data and the control data, so as to control the operation of the multiple Darlington transistors; The logic control module is also used to: feed back the abnormal signal to the data receiving module and process the abnormal signal; The abnormality processing module is used to: monitor whether the output current of each output channel is abnormal and generate an abnormality signal; The abnormality processing module is further configured to: transmit the abnormality signal to the logic control module, and close the output channel in the abnormal state; The Darlington driver chip can simultaneously output multiple control signals to control the operation of multiple Darlington transistors, and the multiple control signals are independent of each other or interrelated.

2. The Darlington driver chip of the two-wire communication protocol according to claim 1, characterized in that: The data receiving module is further used for: When the address bit is the same as the address data, the frame format of the serial data signal is checked, the frame format of the serial data signal includes: an address field, a function field, a control field, and a check field, and the check items include at least one of the following: checking whether the number of bits and the number of valid bits included in each field of the serial data signal are a preset number; checking whether the value corresponding to the valid bit of each field in the serial data signal is a preset value; and whether the parity bit in the check field is correct.

3. The Darlington driver chip of the two-wire communication protocol according to claim 2, characterized in that: The data receiving module is further used for: When the address bit is identical to the address data and the serial data signal is verified to be correct, the Darlington driver chip updates the content of the data receiving module, reads abnormal data from the logic control module, and feeds the abnormal data back to the microcontroller.

4. The Darlington driver chip of the two-wire communication protocol according to claim 2, characterized in that: The data receiving module is further used for: When the address bit is different from the address data, or the serial data signal is incorrectly checked, the Darlington driver chip discards the serial data signal, and the microcontroller resends the serial data signal.

5. The Darlington driver chip of the two-wire communication protocol according to claim 1, characterized in that: The Darlington driver chip also includes: a reference module and a temperature protection module; The temperature protection module is connected to the reference module and the logic control module respectively, and the reference module is used to provide a corresponding reference point for the Darlington driver chip; The temperature protection module is used to monitor whether the temperature of the Darlington driver chip exceeds a preset temperature threshold according to the reference point; When the temperature of the Darlington driver chip exceeds a preset temperature threshold; The temperature protection module generates an over-temperature signal and transmits the generated over-temperature signal to the logic control module; The logic control module turns off the Darlington output port according to the over-temperature signal.

6. The Darlington driver chip of the two-wire communication protocol according to claim 5, characterized in that: Also includes: Overcurrent detection module; The overcurrent detection module is connected to the reference module and the logic control module respectively; The overcurrent detection module is used to detect whether the operating current of the Darlington driver chip exceeds the overcurrent value according to the reference point; When the operating current of the Darlington driver chip exceeds the overcurrent value; The overcurrent detection module generates an overcurrent signal and transmits the generated overcurrent signal to the logic control module; The logic control module turns off the Darlington output port according to the overcurrent signal.

7. The Darlington driver chip of the two-wire communication protocol according to claim 1, characterized in that: Also includes: Clock module; The clock module is connected to the logic control module and the exception handling module, and is used to provide a clock reference.

Citation Information

Patent Citations

  • Motor driving chip and motor driving device

    CN117879398A