Movatterモバイル変換


[0]ホーム

URL:


CN105022307A - Drive integrated circuit and drive control device - Google Patents

Drive integrated circuit and drive control device
Download PDF

Info

Publication number
CN105022307A
CN105022307ACN201410158235.3ACN201410158235ACN105022307ACN 105022307 ACN105022307 ACN 105022307ACN 201410158235 ACN201410158235 ACN 201410158235ACN 105022307 ACN105022307 ACN 105022307A
Authority
CN
China
Prior art keywords
module
pin
drive integrated
integrated circult
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410158235.3A
Other languages
Chinese (zh)
Other versions
CN105022307B (en
Inventor
林新春
郑凌波
董坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN LISHENGMEI SEMICONDUCTOR DEVECES CO Ltd
Original Assignee
SHENZHEN LISHENGMEI SEMICONDUCTOR DEVECES CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN LISHENGMEI SEMICONDUCTOR DEVECES CO LtdfiledCriticalSHENZHEN LISHENGMEI SEMICONDUCTOR DEVECES CO Ltd
Priority to CN201410158235.3ApriorityCriticalpatent/CN105022307B/en
Publication of CN105022307ApublicationCriticalpatent/CN105022307A/en
Application grantedgrantedCritical
Publication of CN105022307BpublicationCriticalpatent/CN105022307B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

驱动集成电路以及驱动控制装置,其包括串行数据输入脚、电源输入脚、驱动输出脚;稳压模块,其连接该电源输入脚,用以把外部不稳定的输入电源转换为稳定的供电电压给该多个模块供电;串并转换模块,其连接该串行数据输入脚,用以把外部输入串行数据转换为并行数据;逻辑控制模块,其连接该串并转换模块,用以控制该驱动模块的工作状态;以及驱动模块,其输入端与该逻辑控制模块相连、其输出端与该驱动输出脚相连,用以根据该并行数据对连接在驱动输出脚上的开关控制器件进行驱动。本发明能够降低电路的复杂度以及成本,并且减少单片机的输出脚的数量节省了资源,扩展了可以驱动控制的通道。

Drive integrated circuit and drive control device, which include serial data input pins, power input pins, and drive output pins; voltage stabilization module, which is connected to the power input pins to convert external unstable input power into stable power supply voltages supply power to the plurality of modules; a serial-to-parallel conversion module, which is connected to the serial data input pin, to convert externally input serial data into parallel data; a logic control module, which is connected to the serial-to-parallel conversion module, to control the The working state of the driving module; and the driving module, whose input end is connected to the logic control module, and whose output end is connected to the driving output pin, so as to drive the switch control device connected to the driving output pin according to the parallel data. The invention can reduce the complexity and cost of the circuit, reduce the number of output pins of the single-chip microcomputer, save resources, and expand the channels that can be driven and controlled.

Description

Translated fromChinese
驱动集成电路以及驱动控制装置Drive integrated circuit and drive control device

技术领域technical field

本发明涉及驱动电路,尤其涉及驱动集成电路以及驱动控制装置。The invention relates to a driving circuit, in particular to a driving integrated circuit and a driving control device.

背景技术Background technique

在电气设备、电器控制等领域,常常需要对继电器进行控制,再通过继电器控制其它部件或设备,而对继电器实施控制的信号通常都来自于诸如计算机或单片机(下称MCU)、逻辑电路、控制器器等,受限于控制信号的驱动能力较弱,一般还需要在继电器和MCU等之间加入功率驱动器件,例如三极管或集成驱动器等。常见的继电器驱动方式有两种,分别是常用三极管的分立式结构和采用集成驱动器的结构。In the field of electrical equipment, electrical control, etc., it is often necessary to control the relay, and then control other components or equipment through the relay, and the signal to control the relay usually comes from such as computer or single-chip microcomputer (hereinafter referred to as MCU), logic circuit, control Devices, etc., are limited by the weak driving ability of the control signal, and generally need to add power drive devices, such as triodes or integrated drivers, between the relay and the MCU. There are two common relay driving methods, namely the discrete structure of common triode and the structure of integrated driver.

请参阅图1,图1为典型的基于三极管的分立式7通道继电器应用电路的电路图。一个7通道的继电器应用将需要至少21个分立器件,需要7个MCU输出口,对于12V的继电器还将需要一个稳压器为MCU提供电源。这种驱动方式存在电路复杂、成本高昂的缺点。尤其在控制通道数量较多时,将大幅提高应用复杂程度,极大降低了可靠性。Please refer to Figure 1. Figure 1 is a circuit diagram of a typical transistor-based discrete 7-channel relay application circuit. A 7-channel relay application will require at least 21 discrete components, 7 MCU output ports, and a voltage regulator for the 12V relay to provide power to the MCU. This driving method has the disadvantages of complicated circuit and high cost. Especially when the number of control channels is large, the application complexity will be greatly increased, and the reliability will be greatly reduced.

请参阅图2,图2为典型的驱动集成电路的7通道继电器应用电路的电路图。一个7通道的继电器应用将需要至少1个ULN2003或类似驱动器,需要7个MCU输出口,对于12V的继电器还将需要一个稳压器为MCU提供电源。这种驱动方式则需要较多的MCU输出端口数量。Please refer to FIG. 2, which is a circuit diagram of a typical 7-channel relay application circuit of a driver integrated circuit. A 7-channel relay application will require at least 1 ULN2003 or similar driver, 7 MCU outputs, and a voltage regulator for 12V relays to power the MCU. This driving method requires a large number of MCU output ports.

另外,现有技术无法应用在某些特殊的安全性级别要求很高的场合,例如发生故障时MCU程序发生紊乱的就无法使用,单片机受干扰而使程序跑飞时无法进行驱动保护。In addition, the existing technology cannot be applied to some occasions that require a high level of special security. For example, when a fault occurs, the MCU program cannot be used if it is disturbed, and the drive protection cannot be performed when the single-chip microcomputer is disturbed and the program runs away.

发明内容Contents of the invention

本发明要解决的技术问题在于克服上述现有技术中的问题,而提出一种驱动集成电路以及驱动控制装置,能够解决现有技术的驱动集成电路结构比较复杂、需要控制的器件较多,成本较高,并且占用很多MCU输出口资源,无法应用在某些特殊的安全级别要求高场合的问题。The technical problem to be solved by the present invention is to overcome the above-mentioned problems in the prior art, and propose a driving integrated circuit and a driving control device, which can solve the problem that the structure of the driving integrated circuit in the prior art is relatively complex, there are many devices to be controlled, and the cost It is relatively high and occupies a lot of MCU output port resources, so it cannot be applied to some special occasions with high security level requirements.

为解决上述技术问题,本发明提出一种驱动集成电路,其包括串行数据输入脚、电源输入脚、驱动输出脚以及多个模块,这些模块进一步包括:稳压模块,其连接该电源输入脚,用以把外部不稳定的输入电源转换为稳定的供电电压给该多个模块供电;串并转换模块,其连接该串行数据输入脚,用以把外部输入串行数据转换为并行数据;逻辑控制模块,其连接该串并转换模块,用以控制该驱动模块的工作状态;以及驱动模块,其输入端与该逻辑控制模块相连、其输出端与该驱动输出脚相连,用以根据该并行数据对连接在驱动输出脚上的开关控制器件进行驱动。In order to solve the above-mentioned technical problems, the present invention proposes a driver integrated circuit, which includes a serial data input pin, a power input pin, a drive output pin and a plurality of modules, and these modules further include: a voltage stabilizing module, which is connected to the power input pin , which is used to convert the external unstable input power supply into a stable power supply voltage to supply power to the multiple modules; the serial-to-parallel conversion module, which is connected to the serial data input pin, is used to convert the external input serial data into parallel data; a logic control module, which is connected to the serial-to-parallel conversion module, to control the working state of the drive module; Parallel data drives the switch control device connected to the drive output pin.

优选地,该驱动集成电路还包括与该串行数据输入脚相配合的时钟信号输入脚,该时钟信号输入脚连接该串并转换模块。Preferably, the drive integrated circuit further includes a clock signal input pin matched with the serial data input pin, and the clock signal input pin is connected to the serial-to-parallel conversion module.

优选地,该驱动集成电路还包括接收使能控制信号的使能控制输入脚,该使能控制输入脚与该逻辑控制模块连接,用以根据该使能控制信号控制该驱动模块的工作状态。Preferably, the drive integrated circuit further includes an enable control input pin receiving an enable control signal, and the enable control input pin is connected to the logic control module to control the working state of the drive module according to the enable control signal.

优选地,该驱动集成电路还包括检测保护模块,其串设在该使能控制输入脚以及逻辑控制模块之间,其用于检测该使能信号是否正常,如果不正常,则对该驱动集成电路实施保护动作,并完全禁止该驱动模块的输出。Preferably, the drive integrated circuit also includes a detection and protection module, which is serially arranged between the enable control input pin and the logic control module, and is used to detect whether the enable signal is normal, and if not, integrate the drive The circuit implements a protective action and completely prohibits the output of the drive module.

优选地,该使能信号为频率介于50Hz~100kHz的脉冲信号。Preferably, the enabling signal is a pulse signal with a frequency ranging from 50 Hz to 100 kHz.

优选地,该驱动集成电路还包括脉冲信号输出脚,该脉冲信号输出脚连接该驱动模块,该脉冲信号输出脚输出工作于频率介于50Hz~100kHz的脉冲信号。Preferably, the drive integrated circuit further includes a pulse signal output pin, the pulse signal output pin is connected to the drive module, and the pulse signal output pin outputs a pulse signal operating at a frequency between 50 Hz and 100 kHz.

优选地,该驱动集成电路还包括蜂鸣器驱动模块,其连接该逻辑控制模块。Preferably, the driver integrated circuit also includes a buzzer driver module connected to the logic control module.

优选地,该蜂鸣器驱动模块输出500Hz-4KHz的频率至该逻辑控制模块。Preferably, the buzzer driving module outputs a frequency of 500Hz-4KHz to the logic control module.

优选地,该驱动集成电路还包括电源输出脚,其连接该稳压模块,该稳压模块通过该电源输出脚给该驱动集成电路的外部电路提供稳定电压的电源。Preferably, the driving integrated circuit further includes a power output pin connected to the voltage stabilizing module, and the voltage stabilizing module provides a stable voltage power supply to the external circuit of the driving integrated circuit through the power output pin.

本发明还提出一种驱动控制装置,其包括一单片机,该单片机具有至少一输出端口;以及至少一个如上所述的驱动集成电路,该驱动集成电路与该单片机的输出端口相连。The present invention also proposes a driving control device, which includes a single-chip microcomputer, the single-chip microcomputer has at least one output port; and at least one driving integrated circuit as described above, and the driving integrated circuit is connected to the output port of the single-chip microcomputer.

与现有技术相比,本发明的有益效果包括:本发明通过集成串转并模块,能够把单片机输出的串行控制指令转换为并行控制指令,降低了电路的复杂程度以及器件的数量,从而降低了系统成本,同时也减少了单片机的输出口的数量,也使得该驱动集成电路的驱动输出脚的数量增多,也就使得可以驱动控制的继电器的数量增多,另外,其通过控制驱动模块的工作状态,能够禁止相应的继电器的使用以符合某些特殊场合的需求。Compared with the prior art, the beneficial effects of the present invention include: the present invention can convert the serial control instructions output by the single-chip microcomputer into parallel control instructions by integrating the serial-to-parallel module, reducing the complexity of the circuit and the number of devices, thereby The system cost is reduced, and the number of output ports of the single-chip microcomputer is also reduced, and the number of drive output pins of the drive integrated circuit is increased, which also increases the number of relays that can be driven and controlled. In addition, it controls the drive module. In the working state, the use of the corresponding relay can be prohibited to meet the needs of some special occasions.

附图说明Description of drawings

图1为现有技术的基于三极管的分立式7通道继电器应用电路的电路图。FIG. 1 is a circuit diagram of a transistor-based discrete 7-channel relay application circuit in the prior art.

图2为现有技术的驱动集成电路的7通道继电器应用电路的电路图。FIG. 2 is a circuit diagram of a 7-channel relay application circuit of a driving integrated circuit in the prior art.

图3为本发明的驱动集成电路的原理图。FIG. 3 is a schematic diagram of the driving integrated circuit of the present invention.

图4为本发明的驱动控制装置的示意图。FIG. 4 is a schematic diagram of the drive control device of the present invention.

其中,附图标记说明如下:驱动集成电路U1  电源输入脚VDD  串行数据输入脚DAT  时钟信号输入脚CLK  使能控制输入脚EN  驱动输出脚(RY1、RY2..RYn) 电源输出脚VDD2  稳压模块1  串并转换模块2  逻辑控制模块3  驱动模块4  蜂鸣器驱动模块5  检测保护基本模块6单片机MCU。Wherein, reference signs are explained as follows: driver integrated circuit U1 power input pin VDD serial data input pin DAT clock signal input pin CLK enable control input pin EN drive output pin (RY1, RY2..RYn) power output pin VDD2 voltage regulator Module 1 Serial-to-parallel conversion module 2 Logic control module 3 Driver module 4 Buzzer driver module 5 Detection and protection basic module 6 Single-chip MCU.

具体实施方式Detailed ways

为了进一步说明本发明的原理和结构,现结合附图对本发明的优选实施例进行详细说明。In order to further illustrate the principle and structure of the present invention, preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

驱动集成电路的实施例Embodiment of driver integrated circuit

请参阅图3,一种驱动集成电路U1,包括稳压模块1、串并转换模块2、逻辑控制模块3、驱动模块4、蜂鸣器驱动模块5以及检测保护模块6。Referring to FIG. 3 , a driver integrated circuit U1 includes a voltage stabilizing module 1 , a serial-to-parallel conversion module 2 , a logic control module 3 , a driver module 4 , a buzzer driver module 5 and a detection and protection module 6 .

该驱动集成电路U1包括串行数据输入脚DAT、电源输入脚VDD和驱动输出脚(RY1、RY2..RYn)。电源输入脚VDD连接外部电源,数据输入脚DAT连接外部控制器的数据输出端并接收外部控制器提供的串行数据的,驱动输出脚连接开关控制器件。本实施例中,该开关控制器件可以为继电器或者蜂鸣器。在其他实施例中,可以为功率开关管、LED灯、电磁阀或者电机。The drive integrated circuit U1 includes a serial data input pin DAT, a power input pin VDD and a drive output pin (RY1, RY2..RYn). The power input pin VDD is connected to the external power supply, the data input pin DAT is connected to the data output end of the external controller and receives the serial data provided by the external controller, and the drive output pin is connected to the switch control device. In this embodiment, the switch control device may be a relay or a buzzer. In other embodiments, it may be a power switch tube, an LED lamp, a solenoid valve or a motor.

在其他实施例中,该驱动集成电路U1还可以包括与该串行数据输入脚DAT相配合的时钟信号输入脚CLK,该时钟信号输入脚CLK连接该串并转换模块2。如果仅有串行数据输入脚DAT没有时钟信号输入脚CLK,则仅为单线通信,如果同时具有串行数据输入脚DAT以及时钟信号输入脚CLK,则为双线通信。In other embodiments, the driver integrated circuit U1 may further include a clock signal input pin CLK matched with the serial data input pin DAT, and the clock signal input pin CLK is connected to the serial-to-parallel conversion module 2 . If there is only serial data input pin DAT and no clock signal input pin CLK, then it is only single-wire communication, if there are both serial data input pin DAT and clock signal input pin CLK, then it is two-wire communication.

在其他实施例中,该驱动集成电路U1还包括使能控制输入脚EN,该使能控制输入脚EN与该逻辑控制模块3连接,用以控制该驱动模块4的工作状态。In other embodiments, the driving integrated circuit U1 further includes an enable control input pin EN connected to the logic control module 3 for controlling the working state of the driving module 4 .

在其他实施例中,该驱动集成电路U1还包括脉冲信号输出脚,该脉冲信号输出脚连接该驱动模块,该脉冲信号输出脚输出工作于频率介于50Hz~100kHz的脉冲信号。通过该脉冲信号输出脚输出脉冲信号控制继电器,能够起到节省能源的作用。这是因为,在继电器控制开关时,即使断电,继电器因为其自身特性仍有保持有电流,仍能够控制开关吸合,根据这一特性,我们不必要使得继电器时刻都保持通电状态,输入脉冲信号就可以保持开关的一直吸合,这样就起到了节省电源的作用。In other embodiments, the driving integrated circuit U1 further includes a pulse signal output pin, the pulse signal output pin is connected to the driving module, and the pulse signal output pin outputs a pulse signal operating at a frequency between 50 Hz and 100 kHz. The relay is controlled by outputting a pulse signal through the pulse signal output pin, which can save energy. This is because, when the relay controls the switch, even if the power is cut off, the relay still maintains current due to its own characteristics, and can still control the switch to pull in. The signal can keep the switch on and off all the time, which saves power.

在其他实施例中,该驱动集成电路还包括电源输出脚VDD2,其连接该稳压模块1,该稳压模块1通过该电源输出脚VDD2给该驱动集成电路的外部电路供电。In other embodiments, the driver integrated circuit further includes a power output pin VDD2 connected to the voltage stabilizing module 1, and the voltage stabilizing module 1 supplies power to the external circuits of the driver integrated circuit through the power output pin VDD2.

综上所述,该驱动集成电路U1的输入脚包括串行数据输入脚DAT,或者仅有串行数据输入脚DAT和时钟信号输入脚CLK,或者仅有串行数据输入脚DAT和使能控制输入脚EN,或者三者皆有之,这样,驱动集成电路U1的输入脚的数量则可能为1个、2个或者3个。In summary, the input pins of the driver integrated circuit U1 include the serial data input pin DAT, or only the serial data input pin DAT and the clock signal input pin CLK, or only the serial data input pin DAT and the enable control The input pin EN, or all three, so that the number of input pins of the driving integrated circuit U1 may be 1, 2 or 3.

因为驱动集成电路U1的输入脚的数量至少有3个(1个电源脚、1个接地脚以及1个串行数据输入脚DAT),所以,若该驱动集成电路U1的引脚数量为8,则该驱动集成电路U1的驱动输出脚不大于5,若该驱动集成电路U1的引脚数量为14,则该驱动集成电路U1的驱动输出脚不大于11,若该驱动集成电路U1的引脚数量为16,则该驱动集成电路U1的驱动输出脚不大于13。Because the number of input pins of the driving integrated circuit U1 is at least 3 (1 power supply pin, 1 ground pin and 1 serial data input pin DAT), so if the number of pins of the driving integrated circuit U1 is 8, Then the driving output pins of the driving integrated circuit U1 are not greater than 5, if the number of pins of the driving integrated circuit U1 is 14, then the driving output pins of the driving integrated circuit U1 are not greater than 11, if the pins of the driving integrated circuit U1 If the quantity is 16, then the driving output pins of the driving integrated circuit U1 are not more than 13.

因为该驱动集成电路U1的输入脚的数量减少,则对应的外部控制器的输出脚的数量就减少了。同时,该驱动集成电路U1的输出脚增多,可以连接控制的继电器的数量也相应增多,这样就大大简化了外部控制器与驱动集成电路U1的连接结构,减少了外部控制器所要用到的资源,并且可以控制更多的继电器。Because the number of input pins of the driving integrated circuit U1 is reduced, the corresponding number of output pins of the external controller is reduced. At the same time, the output pins of the driver integrated circuit U1 increase, and the number of relays that can be connected to control also increases accordingly, which greatly simplifies the connection structure between the external controller and the driver integrated circuit U1, and reduces the resources needed by the external controller. , and can control more relays.

稳压模块1,其连接该驱动集成电路U1的电源输入脚VDD,用以把外部输入电源转换为稳定的供电电压。The voltage stabilizing module 1 is connected to the power input pin VDD of the driving integrated circuit U1 to convert the external input power into a stable power supply voltage.

串并转换模块2,其连接该驱动集成电路U1的串行数据输入脚DAT,用以把外部输入串行数据转换为并行数据。本实施例中,该串并转换模块2为移位寄存器。该串并转换模块2工作于频率介于50Hz~100kHz的脉冲信号,该脉冲信号是透过该时钟信号输入脚CLK从外部输入的。The serial-to-parallel conversion module 2 is connected to the serial data input pin DAT of the driver integrated circuit U1 to convert externally input serial data into parallel data. In this embodiment, the serial-to-parallel conversion module 2 is a shift register. The serial-to-parallel conversion module 2 works on a pulse signal with a frequency between 50 Hz and 100 kHz, and the pulse signal is input from the outside through the clock signal input pin CLK.

逻辑控制模块3,其连接该串并转换模块2与驱动模块4之间,用以控制该驱动模块4的工作状态。在禁止状态时,逻辑控制模块3能够禁止转换后的部分并行数据的输出,使得只有部分的并行数据传输到驱动模块4,也就使得只有部分继电器能够被驱动,在工作状态时,则使并行数据完全传输到该驱动模块4。具体为,在接收输入的串行数据中,包含校验位,命令位,和数据位,校验位用于验证输入的数据有效性,命令位可以指导控制模块对数据的处理方式,包括是否输出脉冲信号,是否需要加强使能控制,是否要输出蜂鸣器频率信号等,数据位包含对应输出脚的控制信息。在加强使能控制对应的输出位,根据输入引脚EN的情况逻辑控制模块3能够禁止数据的输出。这样就能够在某些具有特殊安全需要的继电器应用场合,例如发生故障时、MCU程序发生紊乱时,通过该逻辑控制模块3就能够对部分继电器做单独的禁止控制,以实现更安全保护的功能。The logic control module 3 is connected between the serial-to-parallel conversion module 2 and the driving module 4 to control the working state of the driving module 4 . In the prohibition state, the logic control module 3 can prohibit the output of the converted part of the parallel data, so that only part of the parallel data is transmitted to the drive module 4, so that only part of the relays can be driven, and in the working state, the parallel The data is completely transferred to the drive module 4 . Specifically, the serial data received and input includes parity bits, command bits, and data bits. The parity bits are used to verify the validity of the input data. The command bits can guide the control module to process the data, including whether Output pulse signal, whether it is necessary to strengthen the enable control, whether to output the buzzer frequency signal, etc., the data bit contains the control information of the corresponding output pin. In the output bit corresponding to the enhanced enable control, the logic control module 3 can prohibit the output of data according to the situation of the input pin EN. In this way, in some relay applications with special safety requirements, such as when a fault occurs or the MCU program is in disorder, the logic control module 3 can perform separate prohibition control on some relays to achieve a more secure protection function. .

本实施例中,该逻辑控制模块3工作于频率介于50Hz~100kHz的脉冲信号,该脉冲信号是透过该使能控制输入脚EN从外部输入的。In this embodiment, the logic control module 3 works on a pulse signal with a frequency between 50 Hz and 100 kHz, and the pulse signal is input from the outside through the enable control input pin EN.

驱动模块4,其输入端与该逻辑控制模块3相连、其输出端连接该驱动集成电路U1的驱动输出脚,用以根据该并行数据控制对连接在驱动输出脚上的外部继电器和蜂鸣器进行驱动。The drive module 4, its input end is connected with the logic control module 3, its output end is connected with the drive output pin of the drive integrated circuit U1, in order to control the external relay and buzzer connected on the drive output pin according to the parallel data to drive.

蜂鸣器驱动模块5,其连接该逻辑控制模块3。该蜂鸣器驱动模块输出500Hz-4KHz的频率至该逻辑控制模块3。本发明的驱动集成电路U1集成该蜂鸣器驱动模块5,提供了符合蜂鸣器工作要求的控制脉冲,使得其使用范围更广。The buzzer drive module 5 is connected to the logic control module 3 . The buzzer driving module outputs a frequency of 500Hz-4KHz to the logic control module 3 . The drive integrated circuit U1 of the present invention integrates the buzzer drive module 5 to provide control pulses that meet the working requirements of the buzzer, making it more widely used.

检测保护模块6,其串设在该使能控制输入脚EN以及逻辑控制模块3之间,其用于检测该使能信号是否正常,如果不正常,则对该驱动集成电路U1实施保护动作,并完全禁止该驱动模块的输出。A detection and protection module 6, which is arranged in series between the enable control input pin EN and the logic control module 3, is used to detect whether the enable signal is normal, if not, implement a protection action to the drive integrated circuit U1, And completely prohibit the output of the driver module.

具体为,该逻辑控制模块3对该使能信号的频率、脉宽或者占空比等参数进行动态检测,如果这些参数不符合设定的规则,则可以认为单片机的运行有问题而切断驱动模块4的输出以实现保护。在此功能的基础上,我们可以在该驱动集成电路增加上电复位单元、欠压保护单元、过压保护单元以及过温保护单元等安全保护单元,如果检测到外部芯片输入的使能信号出现异常,则实施相应的保护。这样就使得本产品可用于对安全级别高的控制场合,如对化工原料的控制,对程序跑飞会引起危险的各种控制应用,列车控制、电梯、工程机械或者电机控制的场合,使得产品的安全性增加。Specifically, the logic control module 3 dynamically detects parameters such as the frequency, pulse width, or duty ratio of the enabling signal. If these parameters do not meet the set rules, it can be considered that there is a problem with the operation of the single-chip microcomputer and the drive module is cut off. 4 outputs for protection. On the basis of this function, we can add safety protection units such as power-on reset unit, undervoltage protection unit, overvoltage protection unit, and overtemperature protection unit to the drive integrated circuit. If the enable signal input by the external chip is detected If abnormal, implement corresponding protection. In this way, this product can be used in control occasions with high safety level, such as the control of chemical raw materials, various control applications that cause danger due to program runaway, train control, elevators, construction machinery or motor control occasions, making the product increased security.

下面结合图3来详细说明本发明的工作原理。The working principle of the present invention will be described in detail below in conjunction with FIG. 3 .

该串并转换模块2把串行数据转换为并行数据后,该逻辑控制模块3根据并行数据中的命令位和数据位,生成带使能的驱动器寄存器、不带使能的驱动器寄存器以及蜂鸣器驱动寄存器位,同时驱动集成电路U1的内部生成两个频率,加上外部输入的使能控制输入脚EN输入的频率,共生成三个频率信号。逻辑控制模块3根据命令位来决定这三个频率中选择一个作为工作频率,而这个工作频率和蜂鸣器寄存器位通过与运算生成蜂鸣器的输出驱动电平信号,输出驱动电平信号、带使能的驱动器寄存器和不带使能的驱动器寄存器三个信号逻辑或运算生成最终的驱动逻辑。After the serial-to-parallel conversion module 2 converts serial data into parallel data, the logic control module 3 generates driver registers with enable, driver registers without enable and buzzer according to the command bits and data bits in the parallel data. The device drives the register bit, and simultaneously drives the inside of the integrated circuit U1 to generate two frequencies, plus the frequency input by the external enable control input pin EN, and generates three frequency signals in total. The logic control module 3 determines one of these three frequencies as the operating frequency according to the command bit, and the operating frequency and the buzzer register bit generate the output drive level signal of the buzzer through an AND operation, and output the drive level signal, The logic OR operation of the three signals of the driver register with enable and the driver register without enable generates the final drive logic.

驱动控制装置的实施例Embodiment of the drive control device

请参阅图4,一种驱动控制装置,其包括一单片机MCU,该单片机MCU具有至少一输出端口;以及至少一个如上所述的驱动集成电路U1,该驱动集成电路U1的输入脚与该单片机MCU的输出端口相连。这样一个单片机MCU就可以控制多个驱动集成电路U1,扩展出更多的驱动输出脚。Please refer to Fig. 4, a kind of drive control device, it comprises a single-chip microcomputer MCU, and this single-chip microcomputer MCU has at least one output port; connected to the output port. Such a single-chip MCU can control multiple driver integrated circuits U1 and expand more driver output pins.

值得注意的是,本发明不限于驱动继电器,还可以用于功率开关驱动、LED驱动、电机驱动或者电磁阀驱动等。It should be noted that the present invention is not limited to driving relays, and can also be used for power switch driving, LED driving, motor driving or solenoid valve driving, etc.

与现有技术相比,本发明的有益效果包括:1)、本发明通过集成串转并模块,能够把单片机输出的串行数据转换为并行控制数据,在通过内部的控制模块的解析可任意扩展输出驱动模块的引脚数量,降低了电路的复杂程度以及器件的数量,从而降低了系统成本,同时也减少了单片机的输出口的数量,也使得该驱动集成电路的驱动输出脚的数量增多,也就使得可以驱动控制的开关控制元件的数量增多;2)、通过逻辑控制模块,能够禁止相应的继电器动作以符合特殊场合的使用需求;3)、通过该使能控制输入脚,能够检测到该单片机的程序是否跑飞,提高了控制的安全性,使得产品适用于安全级别高的控制场合,如对化工原料的控制,也适合在程序跑飞会引起危险的各种控制应用,如列车控制,电梯。工程机械,电机控制的场合。Compared with the prior art, the beneficial effects of the present invention include: 1), the present invention can convert the serial data output by the single-chip microcomputer into parallel control data by integrating the serial-to-parallel module, and the analysis through the internal control module can be arbitrarily Expanding the number of pins of the output driver module reduces the complexity of the circuit and the number of devices, thereby reducing the system cost, and also reduces the number of output ports of the single-chip microcomputer, and also increases the number of drive output pins of the driver integrated circuit , which increases the number of switch control elements that can be driven and controlled; 2) Through the logic control module, the corresponding relay action can be prohibited to meet the needs of special occasions; 3) Through the enable control input pin, it can detect Whether the program of the single-chip microcomputer runs away improves the safety of the control, making the product suitable for control occasions with high safety levels, such as the control of chemical raw materials, and is also suitable for various control applications that cause danger if the program runs away, such as Train control, elevators. Construction machinery, motor control occasions.

以上所述仅为本发明的较佳可行实施例,并非限制本发明的保护范围。凡运用本发明说明书及附图内容所作出的等效结构变化,均包含在本发明的保护范围内。The above descriptions are only preferred feasible embodiments of the present invention, and do not limit the protection scope of the present invention. All equivalent structural changes made by using the contents of the description and drawings of the present invention are included in the protection scope of the present invention.

Claims (10)

CN201410158235.3A2014-04-182014-04-18Drive integrated circult and drive dynamic control deviceExpired - Fee RelatedCN105022307B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410158235.3ACN105022307B (en)2014-04-182014-04-18Drive integrated circult and drive dynamic control device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410158235.3ACN105022307B (en)2014-04-182014-04-18Drive integrated circult and drive dynamic control device

Publications (2)

Publication NumberPublication Date
CN105022307Atrue CN105022307A (en)2015-11-04
CN105022307B CN105022307B (en)2018-10-12

Family

ID=54412355

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410158235.3AExpired - Fee RelatedCN105022307B (en)2014-04-182014-04-18Drive integrated circult and drive dynamic control device

Country Status (1)

CountryLink
CN (1)CN105022307B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105446239A (en)*2016-01-112016-03-30浙江大学Eight-bit serial-parallel conversion driving chip suitable for heavy-current control driving
CN105620060A (en)*2015-12-172016-06-01长安大学Printer control circuit
CN106228684A (en)*2015-07-212016-12-14北京志方信城机电设备有限公司A kind of automatic vending machine
CN111752191A (en)*2020-06-082020-10-09广东百威电子有限公司 A special digital-analog integrated circuit for driving the valve body of a gas water heater
CN113255277A (en)*2021-05-212021-08-13珠海市一微半导体有限公司OTP controller, integrated circuit and control method thereof
CN113270916A (en)*2021-05-132021-08-17阿理新能源科技(昆山)有限公司Lithium battery management control method
CN114337275A (en)*2021-12-312022-04-12广东美的厨房电器制造有限公司Integrated control chip and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101262729A (en)*2008-04-112008-09-10深圳市联德合微电子有限公司A LED constant current driving circuit
US20090251071A1 (en)*2008-04-082009-10-08Micrel, Inc.Driving Multiple Parallel LEDs with Reduced Power Supply Ripple
CN103578397A (en)*2012-08-082014-02-12三星显示有限公司Driving apparatus of display panel and display device including the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090251071A1 (en)*2008-04-082009-10-08Micrel, Inc.Driving Multiple Parallel LEDs with Reduced Power Supply Ripple
CN101262729A (en)*2008-04-112008-09-10深圳市联德合微电子有限公司A LED constant current driving circuit
CN103578397A (en)*2012-08-082014-02-12三星显示有限公司Driving apparatus of display panel and display device including the same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TEXAS INSTRUMENTS: "TPIC9201 Microcontroller Power Supply and Multiple Low-side Driver", 《WWW.TI.COM》*
谢昌华等: "功率移位寄存器TPIC6B595及其在可编程控制器输出端口扩展中的应用", 《重庆工学院学报》*

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106228684A (en)*2015-07-212016-12-14北京志方信城机电设备有限公司A kind of automatic vending machine
CN105620060A (en)*2015-12-172016-06-01长安大学Printer control circuit
CN105446239A (en)*2016-01-112016-03-30浙江大学Eight-bit serial-parallel conversion driving chip suitable for heavy-current control driving
CN111752191A (en)*2020-06-082020-10-09广东百威电子有限公司 A special digital-analog integrated circuit for driving the valve body of a gas water heater
CN113270916A (en)*2021-05-132021-08-17阿理新能源科技(昆山)有限公司Lithium battery management control method
CN113255277A (en)*2021-05-212021-08-13珠海市一微半导体有限公司OTP controller, integrated circuit and control method thereof
CN114337275A (en)*2021-12-312022-04-12广东美的厨房电器制造有限公司Integrated control chip and electronic device

Also Published As

Publication numberPublication date
CN105022307B (en)2018-10-12

Similar Documents

PublicationPublication DateTitle
CN105022307B (en)Drive integrated circult and drive dynamic control device
US20130195288A1 (en)Single-Wire Programmable MEMS Microphone, Programming Method and System Thereof
KR102044898B1 (en)Method for sensing connection of USB device and image forming apparatus performing the same
US10397668B2 (en)Wakeup sequence for two-wire daisy chain communication system
JP2007164765A (en) IIC bus communication system, slave device, and IIC bus communication control method
US9811145B2 (en)Reduction of idle power in a communication port
CN102981994A (en)Redriver circuits with power saving modes
US9588562B2 (en)Method for waking up a distant device from a local device without waking up a physical layer unit in the distant device
KR20130062906A (en)Efficient entry into and recovery from a power save mode for a differential transmitter and receiver
KR20150120444A (en)Device, method and system for operation of a low power phy with a pcie protocol stack
CN100504831C (en)Method and apparatus for recovering I2C bus locked by slave device
TWI630771B (en)Power supply system for electronic device
CN103248663A (en)Terminal equipment control circuit
CN112825236A (en)Display driving system and method for display driving system
CN109859454B (en)Infrared code sending circuit, chip, remote control equipment and air conditioner based on infrared protocol
CN102104273A (en)Power-down time sequence control device and method for multiple power supplies
CN108808811A (en)The startup method of semiconductor device, battery monitoring system and semiconductor device
CN104019049A (en)Fan rotation speed testing device
US10977206B2 (en)Data communication device and method for data communication
CN105183681A (en)Control chip and control device with same
CN201594223U (en)Network main board, computer and computer network system
CN102298416A (en)Server system
CN204928095U (en) Protection circuit of intelligent power module
CN104932378A (en)Control method and circuit for special transformer acquisition terminal to prevent remote control false tripping
US20140082392A1 (en)Semiconductor device and communication method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:518000, Shenzhen, Guangdong, Shenzhen, Nanshan District science and technology road, No. 1, SED science and technology building on the south side of the 10 floor, east block A

Applicant after:LII SEMICONDUCTOR Inc.

Address before:518000, Shenzhen, Guangdong province Nanshan District science and Technology Park, SED science and technology building, 10 floor, south side, room A East

Applicant before:SHENZHEN LII SEMICONDUCTOR DEVICES Co.,Ltd.

CORChange of bibliographic data
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20181012

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp