WO2015055009A9 - Digital tube driving circuit and control method thereof - Google Patents

Digital tube driving circuit and control method thereof Download PDF

Info

Publication number
WO2015055009A9
WO2015055009A9 PCT/CN2014/078368 CN2014078368W WO2015055009A9 WO 2015055009 A9 WO2015055009 A9 WO 2015055009A9 CN 2014078368 W CN2014078368 W CN 2014078368W WO 2015055009 A9 WO2015055009 A9 WO 2015055009A9
Authority
WO
WIPO (PCT)
Prior art keywords
signal
unit
tube
control
switch
Prior art date
Application number
PCT/CN2014/078368
Other languages
French (fr)
Chinese (zh)
Other versions
WO2015055009A1 (en
Inventor
程龙飞
丁福波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015055009A1 publication Critical patent/WO2015055009A1/en
Publication of WO2015055009A9 publication Critical patent/WO2015055009A9/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/04Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions
    • G09G3/06Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions using controlled light sources
    • G09G3/10Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions using controlled light sources using gas tubes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/04Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions

Definitions

  • the present invention relates to the field of digital tube control, and in particular to a digital tube driving circuit and a control method thereof. Background technique
  • the digital tube is mainly used in the diagnostic panel in the server field, and the diagnostic panel and the server main board are connected by cables.
  • the driving and control method of the digital tube is mainly controlled by the 10-pin of the MCU (Micro Control Unit).
  • the commonly used MCU for controlling the digital tube has a single-chip microcomputer, CPLD (Complex Programmable Logic Device, complex programmable logic). Devices), FPGA (Field Programmable Gate Array) and ARM (Asynchronous Response Mode) processors.
  • the MCU controls the pin of the digital tube through the 10-pin to control the digital tube. If the MCU and the digital tube are on one board, there is not enough space on the board to place the MCU when the layout space is limited, which is not conducive to the layout of the board.
  • the MCU and the digital tube are not connected to one board but connected by cables, the number of connecting lines is large.
  • the MCU needs to have a separate program burning interface, which is troublesome for programming, which is not conducive to low-cost design and maintenance. Summary of the invention
  • the embodiment of the invention provides a digital tube driving circuit and a control method thereof, which can avoid the problem that the use of the MCU to control the digital tube is unfavorable for layout and programming troubles, and facilitates cost design and maintenance.
  • the first aspect provides a digital tube driving circuit, the circuit comprising: a serial to parallel conversion unit, obtaining a serial signal through a serial bus I2C, and converting the serial signal into a parallel signal; a control unit, For acquiring a refresh signal and a power signal, and converting the refresh signal into a control signal; switching the switching unit, respectively connected to the serial-to-parallel conversion unit and the control unit, for acquiring parallel signals from the serial-to-parallel conversion unit, and acquiring control signals from the control unit And controlling the output parallel signal according to the control signal; the digital tube unit is respectively connected with the control unit and the switch unit, and is used for acquiring the power signal from the control unit, acquiring the parallel signal from the switch unit, and lighting according to the parallel signal and the power signal Digital tube unit.
  • the circuit is configured to connect to an external device, and the external device includes an I2C control unit, and the serial to parallel conversion unit is connected to the I2C control unit through the serial bus I2C to obtain a serial signal.
  • the digital tube unit includes a first digital tube and a second digital tube, and the first digital tube and the second digital tube are a common digital tube, the first digital tube and the second The anode of the digital tube is connected to the control unit, and the cathodes of the first digital tube and the second digital tube are connected to the switch unit.
  • the digital tube unit includes a first digital tube and a second digital tube, and the first digital tube and the second digital tube are a common digital tube, the first digital tube and the second The anode of the digital tube is connected to the switch unit, and the cathodes of the first digital tube and the second digital tube are connected to the control unit.
  • control signal includes the first control signal and the second control signal
  • control unit further acquires the refresh signal from the refresh signal generating unit of the external device, and converts the refresh signal into a first control signal and a second control signal.
  • the switching switch unit includes a control end that acquires a control signal, and the control end is coupled to the control unit to acquire the first control signal and the second control signal from the control unit.
  • the control unit includes a first resistor, a first switch tube, a second switch tube, and a third switch tube, wherein the first end of the first switch tube passes the first resistor Connecting the power supply unit, the second end of the first switch tube is connected to the refresh signal generating unit, the third end of the first switch tube is grounded, the first end of the second switch tube and the first end of the third switch tube are connected to the power supply unit, The second end of the second switch tube and the second end of the third switch tube are connected to the control end of the switch unit, and the second end of the third switch tube is further connected to the first end of the first switch tube, and the refresh signal is further connected to the switch unit a control end and a second end of the second switch tube, the second switch tube The three ends are connected to the anode of the second digital tube, and the third end of the third switching tube is connected to the anode of the first digital tube.
  • the first switch tube is configured to convert the refresh signal into the first control signal and the second control signal;
  • the first switch tube is an N-type MOS tube, and the first switch tube is One end is a drain, the second end is a gate, the third end is a source, the second switch tube and the third switch tube are P-type MOS tubes, and the first end of the second switch tube is a drain, the second end
  • the gate is the source, the third end is the source, the first end of the third switch is the drain, the second end is the gate, and the third end is the source.
  • the first control signal and the second control signal are 180 degrees out of phase.
  • the first control signal controls the switch unit to illuminate the first digital tube, and simultaneously controls the third switch to be turned on to enable the first digital
  • the anode of the tube is connected to the power signal
  • the second control signal controls the switch unit to illuminate the second digital tube, and at the same time controls the second switch to conduct the signal to connect the anode of the second digital tube to the power signal.
  • the refresh signal is a low frequency pulse signal having a duty cycle of 50%.
  • the refresh signal generating unit comprises a CPLD, an ARM chip, an FPGA, or a low frequency crystal oscillator.
  • the external device is a server
  • the I2C control unit is a BMC of the server
  • the circuit is configured to perform fault detection on the server.
  • the second aspect provides a digital tube driving control method, comprising: acquiring a serial signal, and converting the serial signal into a parallel signal; acquiring a refresh signal and a power signal, and converting the refresh signal into a control signal; controlling according to the control signal Outputting a parallel signal; acquiring a power signal, and illuminating the digital tube unit according to the control signal, the parallel signal, and the power signal.
  • the control signal includes a first control signal and a second control signal
  • illuminating the digital tube unit according to the control signal, the parallel signal, and the power signal includes: acquiring the first control signal and the first a second control signal; illuminating the first digital tube according to the first control signal, the parallel signal and the power signal; lighting the second digital tube according to the second control signal, the parallel signal and the power signal.
  • the first control signal and the second control signal are 180 degrees out of phase.
  • the refresh signal is a low frequency pulse signal having a 50% duty cycle.
  • the digital tube driving circuit and the control method thereof provided by the embodiment of the present invention acquire a serial signal through a serial bus I2C through a serial-to-parallel conversion unit and convert it into a parallel signal, and the control unit is configured to acquire a refresh signal and a power signal, and refresh the signal Converted into a control signal
  • the switch unit is respectively connected with the serial-to-parallel conversion unit and the control unit, configured to acquire a parallel signal from the serial-to-parallel conversion unit, obtain a control signal from the control unit, and output a parallel signal according to the control signal;
  • the digital tube unit respectively It is connected with the control unit and the switch unit for obtaining a power signal from the control unit, acquiring a parallel signal from the switch unit, and illuminating the digital tube unit according to the parallel signal and the power signal, thereby avoiding the use of the MCU to control the digital tube Conducive to the layout and programming problems, easy to carry out low-cost design and maintenance.
  • FIG. 1 is a schematic structural view of a digital tube driving circuit according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural view of a digital tube driving circuit according to a second embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing waveforms of signals of a digital tube driving circuit according to a second embodiment of the present invention
  • FIG. 4 is a schematic structural view of a digital tube driving circuit according to a third embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a control method of the digital tube driving according to the first embodiment of the present invention.
  • Fig. 6 is a view showing a control method of the digital tube driving according to the second embodiment of the present invention. detailed description
  • FIG. 1 is a schematic structural diagram of a digital tube driving circuit according to a first embodiment of the present invention.
  • the digital tube driving circuit 10 includes a serial to parallel conversion unit 11, a digital tube unit 12, a changeover switch unit 13, and a control unit 14.
  • the serial to parallel conversion unit 11 acquires a serial signal through the serial bus I2C and converts the serial signal into a parallel signal.
  • Control unit 14 is used to acquire refresh Signal and power signals, and convert the refresh signal into a control signal.
  • the changeover switch unit 13 is connected to the serial to parallel conversion unit 11 and the control unit 14, respectively, for acquiring parallel signals from the serial to parallel conversion unit 11, acquiring control signals from the control unit 14, and outputting parallel signals in accordance with the control signals.
  • the digital tube unit 12 is connected to the control unit 14 and the changeover switch unit 13, respectively, for acquiring a power supply signal from the control unit 14, acquiring a parallel signal from the changeover switch unit 13, and illuminating the digital tube unit 12 in accordance with the parallel signal and the power supply signal.
  • the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is further.
  • there is no need to add an MCU and it is possible to avoid the problem of using the MCU to control the digital tube, which is disadvantageous to layout and programming troubles, and is convenient for low-cost design and maintenance.
  • the digital tube driving circuit 20 includes a serial to parallel conversion unit 21, a digital tube unit 22, a changeover switch unit 23, and a control unit 24.
  • the digital tube drive circuit 20 is connected to the external device 27.
  • the switching switch unit 23 is connected between the serial-to-parallel conversion unit 21 and the digital tube unit 22, and the control unit 24 is connected to the changeover switch unit 23 and the digital tube unit 22.
  • the serial to parallel conversion unit 21 is connected to the I2C control unit 271 of the external device 27 via the serial bus I2C to acquire a serial signal and convert it into a parallel signal.
  • the changeover switch unit 23 further includes a control terminal 231 that acquires a control signal to receive the control signal.
  • the switching unit 23 outputs a parallel signal in accordance with the control signal to illuminate the digital tube unit 22.
  • the control signal includes a first control signal OE1 and a second control signal OE2, and the phases are 180 degrees out of phase.
  • the control unit 24 connects the power supply unit 272 of the external device 27 to obtain the power supply signal VCC, and supplies power to the digital tube unit 22 in accordance with the power supply signal VCC. At the same time, the control unit 24 is also connected to the refresh signal generating unit 273 of the external device 27 to acquire the refresh signal REF_CLK.
  • the control unit 24 converts the refresh signal REF_CLK into the first control signal OE1 and the second control signal OE2 and sends it to the control terminal 231 of the changeover switch unit 23.
  • the refresh signal REF_CLK is a low frequency pulse signal with a duty ratio of 50%
  • the refresh signal generating unit 273 includes a CPLD, an ARM chip, an FPGA, or a low frequency crystal oscillator;
  • the I2C control unit 271 can be any chip, as long as the I2C control unit 271 is included. Just fine.
  • the digital tube unit 22 includes a first digital tube 25 and a second digital tube 26, and the first digital tube 25 and the second digital tube 26 are both common digital tubes.
  • the anodes of the first digital tube 25 and the second digital tube 26 are connected to the control unit 24 to receive the power supply signal VCC, and the cathodes of the first digital tube 25 and the second digital tube 26 are connected to the changeover switch unit 23 to receive parallel signals.
  • the digital tube unit 22 may include three, four, or even more digital tubes; the first digital tube 25 and the second digital tube 26 may also be common cathode digital tubes, and the anode is connected to the switch unit 23 To receive the parallel signal, the cathodes of the first digital tube 25 and the second digital tube 26 are connected to the control unit 24.
  • the first digital tube 25 and the second digital tube 26 are both described in detail as a common digital tube.
  • the control unit 24 includes a first resistor R1, a first switching transistor Q1, a second switching transistor Q2, and a third switching transistor Q3.
  • the first end of the first switch Q1 is connected to the power supply unit 272 through the first resistor R1 to receive the power signal VCC, and the second end of the first switch Q1 is connected to the refresh signal generating unit 273 to receive the refresh signal REF_CLK, the first switch
  • the third end of the tube Q1 is grounded, the first end of the second switch tube Q2 and the first end of the third switch tube Q3 are connected to the power supply unit 272 to receive the power signal VCC, and the second end of the second switch tube Q2 and the third switch
  • the second end of the third switch tube Q3 is connected to the first end of the first switch tube Q1, and the refresh signal REF_CLK is also connected to the switch unit 23.
  • control terminal 231 and the second end of the second switch tube Q2, the third end of the second switch tube Q2 is connected to the anode of the second digital tube 26, and the third end of the third switch tube Q3 is connected to the anode of the first digital tube 25.
  • the first switching transistor Q1 is an N-type MOS transistor, the first terminal of the first switching transistor Q1 is a drain, the second terminal is a gate, and the third terminal is a source; the second switching transistor Q2 and the third switching transistor Q3 are P-type MOS transistors, the first terminal of the second switching transistor Q2 is a drain, the second terminal is a gate, the third terminal is a source, and the first end of the third switching transistor Q3 is The drain, the second end is the gate, and the third end is the source.
  • the first switch transistor Q1, the second switch transistor Q2, and the third switch transistor Q3 may also be BJT (Bipolar Junction Transistor), FET (Field Effect Transistor), field effect. Transistor) or IGBT (Insulated Gate Bipolar Transistor).
  • the first switching transistor Q1 is for converting the refresh signal REF_CLK into a first control signal 0E1 and a second control signal 0E2.
  • the first control signal OE1 controls the switch unit 23 to illuminate the first digital tube 25, and at the same time, the third switch tube Q3 is controlled to be turned on to connect the anode of the first digital tube 25 to the power signal. VCC.
  • the second control signal OE2 controls the switch unit 23 to illuminate the second digital tube 26, and at the same time, the second switch tube Q2 is controlled to be turned on to connect the anode of the second digital tube 26 to the power supply signal VCC. .
  • the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is Farther away.
  • the transmission distance is Farther away.
  • FIG. 3 is a waveform diagram showing signals of a digital tube driving circuit according to a second embodiment of the present invention.
  • the changeover switch unit 23 outputs a 16-bit parallel signal in which DATA[0:7] is a parallel signal of the lower 8 bits.
  • DATA[8: 15] is a parallel signal of 8 bits high
  • VCC_OE1 is the anode potential of the first digital tube 25
  • VCC_OE2 is the anode potential of the second digital tube 26.
  • the refresh signal REF CLK is the reference clock
  • tl to t3 is one clock cycle
  • the power supply signal VCC is always high.
  • the refresh signal REF_CLK is at a high level
  • the first switching transistor Q1 is turned on
  • the power signal VCC passes through the first resistor R1 and the first switching transistor Q1.
  • the first control signal OE1 is at a low level
  • the second control signal OE2 is at a high level.
  • the first control signal OE1 controls the parallel signal DATA[0:7] of the lower 8 bits to be transmitted to the cathode of the first digital tube 25; meanwhile, the third switching transistor Q3 is turned on, and the power signal VCC is transmitted to the third through the third switching transistor Q3.
  • the anode of a digital tube 25, the anode potential VCC_OE1 of the first digital tube 25 is at a high level, and the first digital tube 25 is illuminated.
  • the second switching transistor Q2 is turned off, the power signal VCC cannot be transmitted to the anode of the second digital tube 26, the anode potential VCC_OE2 of the second digital tube 26 is at a low level, and the second control signal OE2 is controlled to be high 8
  • the bit parallel signal DATA[8:15] cannot be transmitted to the cathode of the second digital tube 26, and the second digital tube 26 is not illuminated.
  • the refresh signal REF_CLK is at a low level
  • the first switching transistor Q1 is turned off, and the power signal VCC is transmitted to the first control signal OE1 through the first resistor R1, so the first control signal OE1 is high and the second control signal is low.
  • the second control signal OE1 controls to transmit the high 8-bit parallel signal DATA[7:15] to the cathode of the second digital tube 26; meanwhile, the second switch Q2 is turned on, and the power signal VCC is transmitted to the second switch Q2 to The anode of the second digital tube 26, the anode potential VCC_OE2 of the second digital tube 26 is at a high level, and the second digital tube 26 is illuminated.
  • the third switch tube Q3 is turned off, the anode potential VCC_OE2 of the first digital tube 25 is at a low level, and the first control signal OE1 is controlled low so that the 8-bit parallel signal DATA[0:7] cannot be transmitted to the first The cathode of the digital tube 25, the first digital tube 25 is not illuminated.
  • FIG. 4 is a block diagram showing the structure of a digital tube driving circuit of a third embodiment of the present invention.
  • the digital tube driving circuit 20 can be applied to the server field, the external device 27 is the server 29, and the digital tube driving circuit 20 is disposed on the detecting panel 28, and the digital tube is driven.
  • the circuit 20 is for performing fault detection on the server 29.
  • the I2C control unit 271 is a BMC (Baseboard Management Controller) 291 of the server
  • the power supply unit 272 is the power interface 292 of the server 29
  • the refresh signal generation unit 273 is the CPLD module 293 of the server 29.
  • the serial to parallel conversion unit 21 acquires a serial signal from the BMC 291 of the server 29 via the serial bus I2C
  • the control unit 24 acquires the power supply signal VCC from the power supply interface 292 of the server 29, and acquires the refresh signal REF_CLK from the CPLD module 293 of the server 29.
  • FIG. 5 is a schematic diagram of a control method of the digital tube driving according to the first embodiment of the present invention.
  • the control method of the digital tube driver includes:
  • the digital tube driving circuit 10 acquires a serial signal and converts the serial signal into a parallel signal.
  • the digital tube driving circuit 10 acquires a refresh signal and a power signal, and converts the refresh signal into a control signal.
  • the digital tube unit 12 is lit according to a control signal, a parallel signal, and a power signal.
  • the digital tube unit 12 can be a stand-alone digital tube, or a two-digit digital tube, or three, four or even more.
  • Fig. 6 is a view showing a control method of the digital tube driving according to the second embodiment of the present invention.
  • the digital tube unit 22 includes a first digital tube 25 and a second digital tube 26, and S33 includes:
  • the digital tube driving circuit acquires the first control signal and the second control signal.
  • the digital tube driving circuit acquires a refresh signal, and converts the refresh signal into a first control signal and a second control signal.
  • the refresh signal is a low frequency pulse signal with a duty ratio of 50%, which can pass
  • the CPLD, the ARM chip, the FPGA, or the low frequency crystal oscillator generate a refresh signal; the first control signal and the second control signal are 180 degrees out of phase.
  • S331 The digital tube driving circuit lights the first digital tube 25 according to the first control signal, the parallel signal, and the power signal.
  • the first control signal controls the parallel signal to illuminate the first digital tube
  • the first control signal controls the anode of the first digital tube 25 to connect to the power signal.
  • S332 The digital tube driving circuit illuminates the second digital tube according to the second control signal and the parallel signal
  • the second control signal controls the parallel signal to illuminate the second digital tube 26, and at the same time, the second control signal controls the anode connection power signal of the second digital tube 26.
  • the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is further, and the MCU does not need to be added, and the use of the MCU to control the digital tube can be avoided, which is disadvantageous for layout and programming. Problem, convenient for low cost design and maintenance.
  • the present invention acquires a serial signal through a serial bus I2C through a serial-to-parallel conversion unit and converts it into a parallel signal
  • the control unit is configured to acquire a refresh signal and a power signal, and convert the refresh signal into a control signal, and switch the switch unit.
  • the digital tube unit is respectively connected with the control unit and the switch unit , for obtaining a power signal from the control unit, acquiring a parallel signal from the switch unit, and illuminating the digital tube unit according to the parallel signal and the power signal, thereby avoiding the trouble of layout and programming trouble caused by using the MCU to control the digital tube. Problem, convenient for low cost design and maintenance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Electronic Switches (AREA)

Abstract

A digital tube driving circuit and a control method thereof comprise a serial-to-parallel conversion unit (11) for obtaining serial signals through a serial bus I2C and converting the serial signals into parallel signals, a control unit (14) for obtaining refreshing signals and power supply signals, and converting the refreshing signals into control signals; a switching switch unit (13) respectively connected with the serial-to-parallel conversion unit (11) and the control unit (14), for obtaining the parallel signals from the serial-to-parallel conversion unit (11) and the control signals from the control unit (14), and outputting the parallel signals according to the control signals; and a digital tube unit (12) respectively connected with the control unit (14) and the switching switch unit (13), for obtaining power supply signals from the control unit (14) and the parallel signal from the switching switch unit (13), and illuminating the digital tube unit (12) according to the parallel signals and the power supply signals. Through the above method, problems of unfavourable layout and troublesome program programming due to the adoption of a micro control unit (MCU) to control the digital tube can be avoided, and the low-cost design and maintenance can be conveniently carried out.

Description

一种数码管驱动电路及其控制方法  Digital tube driving circuit and control method thereof
本申请要求于 2013 年 10 月 16 日提交中国专利局、 申请号为 201310486254.4、 发明名称为 "一种数码管驱动电路及其控制方法" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 This application claims priority to Chinese Patent Application No. 201310486254.4, entitled "A Digital Tube Drive Circuit and Its Control Method", filed on October 16, 2013, the entire contents of In this application.
技术领域 Technical field
本发明涉及数码管控制领域, 特别是涉及一种数码管驱动电路及其控 制方法。 背景技术  The present invention relates to the field of digital tube control, and in particular to a digital tube driving circuit and a control method thereof. Background technique
数码管在服务器领域中主要应用于诊断面板中, 诊断面板和服务器主 板是通过线缆连接。 目前数码管的驱动及其控制方法主要是通过 MCU ( Micro Control Unit, 微控制单元)的 10管脚来控制, 常用的控制数码管的 MCU有单片机、 CPLD ( Complex Programmable Logic Device, 复杂可编程 逻辑器件)、 FPGA ( Field Programmable Gate Array, 现场可编程门阵列) 和 ARM ( Asynchronous Response Mode,异步响应方式 )处理器等。 MCU通 过 10管脚来控制数码管的管脚, 从而实现对数码管的控制。 如果 MCU和 数码管在一个单板上, 则在布局空间有限的情况下, 单板上没有足够的空 间来放置 MCU, 不利于单板的布局。如果 MCU和数码管不在一个单板上, 而是通过线缆进行连接, 则连接线的数量较多。 另外, MCU需要有单独的 程序烧录接口, 程序烧写麻烦, 不利于低成本设计和维护。 发明内容  The digital tube is mainly used in the diagnostic panel in the server field, and the diagnostic panel and the server main board are connected by cables. At present, the driving and control method of the digital tube is mainly controlled by the 10-pin of the MCU (Micro Control Unit). The commonly used MCU for controlling the digital tube has a single-chip microcomputer, CPLD (Complex Programmable Logic Device, complex programmable logic). Devices), FPGA (Field Programmable Gate Array) and ARM (Asynchronous Response Mode) processors. The MCU controls the pin of the digital tube through the 10-pin to control the digital tube. If the MCU and the digital tube are on one board, there is not enough space on the board to place the MCU when the layout space is limited, which is not conducive to the layout of the board. If the MCU and the digital tube are not connected to one board but connected by cables, the number of connecting lines is large. In addition, the MCU needs to have a separate program burning interface, which is troublesome for programming, which is not conducive to low-cost design and maintenance. Summary of the invention
本发明实施方式提供一种数码管驱动电路及其控制方法, 能够避免使 用 MCU控制数码管而造成的不利于布局以及烧写程序麻烦的问题,方便进 行氐成本设计和维护。  The embodiment of the invention provides a digital tube driving circuit and a control method thereof, which can avoid the problem that the use of the MCU to control the digital tube is unfavorable for layout and programming troubles, and facilitates cost design and maintenance.
第一方面提供一种数码管驱动电路, 该电路包括: 串并转换单元, 通 过串行总线 I2C获取串行信号, 并将串行信号转换为并行信号; 控制单元, 用于获取刷新信号和电源信号, 并将刷新信号转换成控制信号; 切换开关 单元, 分别与串并转换单元以及控制单元连接, 用于从串并转换单元获取 并行信号, 从控制单元获取控制信号, 并根据控制信号控制输出并行信号; 数码管单元, 分别与控制单元以及切换开关单元连接, 用于从控制单元获 取电源信号, 从切换开关单元获取并行信号, 并根据并行信号和电源信号 点亮数码管单元。 The first aspect provides a digital tube driving circuit, the circuit comprising: a serial to parallel conversion unit, obtaining a serial signal through a serial bus I2C, and converting the serial signal into a parallel signal; a control unit, For acquiring a refresh signal and a power signal, and converting the refresh signal into a control signal; switching the switching unit, respectively connected to the serial-to-parallel conversion unit and the control unit, for acquiring parallel signals from the serial-to-parallel conversion unit, and acquiring control signals from the control unit And controlling the output parallel signal according to the control signal; the digital tube unit is respectively connected with the control unit and the switch unit, and is used for acquiring the power signal from the control unit, acquiring the parallel signal from the switch unit, and lighting according to the parallel signal and the power signal Digital tube unit.
在第一方面的第一种可能的实现方式中, 该电路用于连接外接设备, 外接设备包括 I2C控制单元, 串并转换单元通过串行总线 I2C与 I2C控制 单元连接, 以获取串行信号。  In a first possible implementation manner of the first aspect, the circuit is configured to connect to an external device, and the external device includes an I2C control unit, and the serial to parallel conversion unit is connected to the I2C control unit through the serial bus I2C to obtain a serial signal.
在第一方面的第二种可能的实现方式中, 数码管单元包括第一数码管 和第二数码管, 第一数码管和第二数码管为共阳数码管, 第一数码管和第 二数码管的阳极连接控制单元, 第一数码管和第二数码管的阴极与切换开 关单元连接。  In a second possible implementation manner of the first aspect, the digital tube unit includes a first digital tube and a second digital tube, and the first digital tube and the second digital tube are a common digital tube, the first digital tube and the second The anode of the digital tube is connected to the control unit, and the cathodes of the first digital tube and the second digital tube are connected to the switch unit.
在第一方面的第三种可能的实现方式中, 数码管单元包括第一数码管 和第二数码管, 第一数码管和第二数码管为共阴数码管, 第一数码管和第 二数码管的阳极与切换开关单元连接, 第一数码管和第二数码管的阴极连 接控制单元。  In a third possible implementation manner of the first aspect, the digital tube unit includes a first digital tube and a second digital tube, and the first digital tube and the second digital tube are a common digital tube, the first digital tube and the second The anode of the digital tube is connected to the switch unit, and the cathodes of the first digital tube and the second digital tube are connected to the control unit.
在第一方面的第四种可能的实现方式中, 控制信号包括第一控制信号 和所述第二控制信号, 控制单元还从外接设备的刷新信号产生单元获取刷 新信号, 并将刷新信号转换成第一控制信号和第二控制信号。  In a fourth possible implementation manner of the first aspect, the control signal includes the first control signal and the second control signal, and the control unit further acquires the refresh signal from the refresh signal generating unit of the external device, and converts the refresh signal into a first control signal and a second control signal.
在第一方面的第五种可能的实现方式中, 切换开关单元包括获取控制 信号的控制端, 控制端与控制单元连接, 以从控制单元获取第一控制信号 和第二控制信号。  In a fifth possible implementation manner of the first aspect, the switching switch unit includes a control end that acquires a control signal, and the control end is coupled to the control unit to acquire the first control signal and the second control signal from the control unit.
在第一方面的第六种可能的实现方式中, 控制单元包括第一电阻、 第 一开关管、 第二开关管以及第三开关管, 其中, 第一开关管的第一端通过 第一电阻连接电源单元, 第一开关管的第二端连接刷新信号产生单元, 第 一开关管的第三端接地, 第二开关管的第一端以及第三开关管的第一端连 接电源单元, 第二开关管的第二端和第三开关管的第二端连接切换开关单 元的控制端, 第三开关管的第二端还连接第一开关管的第一端, 刷新信号 还连接切换开关单元的控制端以及第二开关管的第二端, 第二开关管的第 三端连接第二数码管的阳极, 第三开关管的第三端连接第一数码管的阳极。 在第一方面的第七种可能的实现方式中, 第一开关管用于将刷新信号 转换成第一控制信号和第二控制信号; 第一开关管为 N型 MOS管,第一开 关管的第一端为漏极, 第二端为栅极, 第三端为源极, 第二开关管和第三 开关管为 P型 MOS管, 第二开关管的第一端为漏极, 第二端为栅极, 第三 端为源极, 第三开关管的第一端为漏极, 第二端为栅极, 第三端为源极。 In a sixth possible implementation manner of the first aspect, the control unit includes a first resistor, a first switch tube, a second switch tube, and a third switch tube, wherein the first end of the first switch tube passes the first resistor Connecting the power supply unit, the second end of the first switch tube is connected to the refresh signal generating unit, the third end of the first switch tube is grounded, the first end of the second switch tube and the first end of the third switch tube are connected to the power supply unit, The second end of the second switch tube and the second end of the third switch tube are connected to the control end of the switch unit, and the second end of the third switch tube is further connected to the first end of the first switch tube, and the refresh signal is further connected to the switch unit a control end and a second end of the second switch tube, the second switch tube The three ends are connected to the anode of the second digital tube, and the third end of the third switching tube is connected to the anode of the first digital tube. In a seventh possible implementation manner of the first aspect, the first switch tube is configured to convert the refresh signal into the first control signal and the second control signal; the first switch tube is an N-type MOS tube, and the first switch tube is One end is a drain, the second end is a gate, the third end is a source, the second switch tube and the third switch tube are P-type MOS tubes, and the first end of the second switch tube is a drain, the second end The gate is the source, the third end is the source, the first end of the third switch is the drain, the second end is the gate, and the third end is the source.
在第一方面的第八种可能的实现方式中, 第一控制信号和第二控制信 号相位相差 180度。  In an eighth possible implementation manner of the first aspect, the first control signal and the second control signal are 180 degrees out of phase.
在第一方面的第九种可能的实现方式中, 刷新信号为高电平时, 第一 控制信号控制切换开关单元点亮第一数码管, 同时通过控制第三开关管导 通以使第一数码管的阳极接电源信号; 刷新信号为低电平时, 第二控制信 号控制切换开关单元点亮第二数码管, 同时通过控制第二开关管导通以使 第二数码管的阳极接电源信号。  In a ninth possible implementation manner of the first aspect, when the refresh signal is at a high level, the first control signal controls the switch unit to illuminate the first digital tube, and simultaneously controls the third switch to be turned on to enable the first digital The anode of the tube is connected to the power signal; when the refresh signal is low, the second control signal controls the switch unit to illuminate the second digital tube, and at the same time controls the second switch to conduct the signal to connect the anode of the second digital tube to the power signal.
在第一方面的第十种可能的实现方式中, 刷新信号是占空比为 50%的 低频脉冲信号。  In a tenth possible implementation of the first aspect, the refresh signal is a low frequency pulse signal having a duty cycle of 50%.
在第一方面的第十一种可能的实现方式中, 刷新信号产生单元包括 CPLD、 ARM芯片、 FPGA或低频晶振。  In an eleventh possible implementation manner of the first aspect, the refresh signal generating unit comprises a CPLD, an ARM chip, an FPGA, or a low frequency crystal oscillator.
在第一方面的第十二种可能的实现方式中, 外接设备为服务器, I2C控 制单元为服务器的 BMC, 电路用于对服务器进行故障检测。  In a twelfth possible implementation manner of the first aspect, the external device is a server, the I2C control unit is a BMC of the server, and the circuit is configured to perform fault detection on the server.
第二方面提供一种数码管驱动的控制方法, 包括: 获取串行信号, 并 将串行信号转换为并行信号; 获取刷新信号和电源信号, 并将刷新信号转 换成控制信号; 根据控制信号控制输出并行信号; 获取电源信号, 并根据 控制信号、 并行信号以及电源信号点亮数码管单元。  The second aspect provides a digital tube driving control method, comprising: acquiring a serial signal, and converting the serial signal into a parallel signal; acquiring a refresh signal and a power signal, and converting the refresh signal into a control signal; controlling according to the control signal Outputting a parallel signal; acquiring a power signal, and illuminating the digital tube unit according to the control signal, the parallel signal, and the power signal.
在第二方面的第一种可能的实现方式中, 控制信号包括第一控制信号 和第二控制信号, 根据控制信号、 并行信号以及电源信号点亮数码管单元 包括: 获取第一控制信号和第二控制信号; 根据第一控制信号、 并行信号 以及电源信号点亮第一数码管; 根据第二控制信号、 并行信号以及电源信 号点亮第二数码管。  In a first possible implementation manner of the second aspect, the control signal includes a first control signal and a second control signal, and illuminating the digital tube unit according to the control signal, the parallel signal, and the power signal includes: acquiring the first control signal and the first a second control signal; illuminating the first digital tube according to the first control signal, the parallel signal and the power signal; lighting the second digital tube according to the second control signal, the parallel signal and the power signal.
在第二方面的第三种可能的实现方式中, 第一控制信号和第二控制信 号相位相差 180度。 在第二方面的第四种可能的实现方式中, 刷新信号是占空比为 50%的 低频脉冲信号。 In a third possible implementation manner of the second aspect, the first control signal and the second control signal are 180 degrees out of phase. In a fourth possible implementation of the second aspect, the refresh signal is a low frequency pulse signal having a 50% duty cycle.
本发明实施方式提供的数码管驱动电路及其控制方法, 通过串并转换 单元经串行总线 I2C获取串行信号并转换为并行信号, 控制单元用于获取 刷新信号和电源信号, 并将刷新信号转换成控制信号, 切换开关单元分别 与串并转换单元以及控制单元连接, 用于从串并转换单元获取并行信号, 从控制单元获取控制信号, 并根据控制信号输出并行信号; 数码管单元, 分别与控制单元以及切换开关单元连接, 用于从控制单元获取电源信号, 从切换开关单元获取并行信号, 并根据并行信号和电源信号点亮数码管单 元,能够避免使用 MCU控制数码管而造成的不利于布局以及烧写程序麻烦 的问题, 方便进行低成本设计和维护。 附图说明  The digital tube driving circuit and the control method thereof provided by the embodiment of the present invention acquire a serial signal through a serial bus I2C through a serial-to-parallel conversion unit and convert it into a parallel signal, and the control unit is configured to acquire a refresh signal and a power signal, and refresh the signal Converted into a control signal, the switch unit is respectively connected with the serial-to-parallel conversion unit and the control unit, configured to acquire a parallel signal from the serial-to-parallel conversion unit, obtain a control signal from the control unit, and output a parallel signal according to the control signal; the digital tube unit, respectively It is connected with the control unit and the switch unit for obtaining a power signal from the control unit, acquiring a parallel signal from the switch unit, and illuminating the digital tube unit according to the parallel signal and the power signal, thereby avoiding the use of the MCU to control the digital tube Conducive to the layout and programming problems, easy to carry out low-cost design and maintenance. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述 中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动的前提下, 还可以根据这些附图获得其他的附图。 其中:  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings. among them:
图 1是本发明第一实施例的数码管驱动电路的结构示意图;  1 is a schematic structural view of a digital tube driving circuit according to a first embodiment of the present invention;
图 2是本发明第二实施例的数码管驱动电路的结构示意图;  2 is a schematic structural view of a digital tube driving circuit according to a second embodiment of the present invention;
图 3是本发明第二实施例的数码管驱动电路的各信号的波形示意图; 图 4是本发明第三实施例的数码管驱动电路的结构示意图;  3 is a schematic diagram showing waveforms of signals of a digital tube driving circuit according to a second embodiment of the present invention; FIG. 4 is a schematic structural view of a digital tube driving circuit according to a third embodiment of the present invention;
图 5是本发明第一实施例的数码管驱动的控制方法示意图;  FIG. 5 is a schematic diagram of a control method of the digital tube driving according to the first embodiment of the present invention; FIG.
图 6是本发明第二实施例的数码管驱动的控制方法示意图。 具体实施方式  Fig. 6 is a view showing a control method of the digital tube driving according to the second embodiment of the present invention. detailed description
下面结合附图和实施方式对本发明进行详细说明。  The invention will now be described in detail in conjunction with the drawings and embodiments.
首先请参见图 1 ,图 1是本发明第一实施例的数码管驱动电路的结构示 意图。 如图 1所示, 数码管驱动电路 10包括串并转换单元 11、 数码管单元 12、切换开关单元 13以及控制单元 14。 串并转换单元 11通过串行总线 I2C 获取串行信号, 并将串行信号转换为并行信号。 控制单元 14用于获取刷新 信号和电源信号, 并将刷新信号转换成控制信号。 切换开关单元 13分别与 串并转换单元 11以及控制单元 14连接, 用于从串并转换单元 11获取并行 信号, 从控制单元 14获取控制信号, 并根据控制信号输出并行信号。 数码 管单元 12分别与控制单元 14以及切换开关单元 13连接, 用于从控制单元 14获取电源信号,从切换开关单元 13获取并行信号, 并根据并行信号和电 源信号点亮数码管单元 12。 在本实施例中, 釆用串行信号转换为并行信号 来控制数码管, 传输距离更远。 同时, 不需要增加 MCU, 能够避免使用 MCU来控制数码管而造成不利于布局以及烧写程序麻烦的问题, 方便进行 低成本设计和维护。 First, please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a digital tube driving circuit according to a first embodiment of the present invention. As shown in FIG. 1, the digital tube driving circuit 10 includes a serial to parallel conversion unit 11, a digital tube unit 12, a changeover switch unit 13, and a control unit 14. The serial to parallel conversion unit 11 acquires a serial signal through the serial bus I2C and converts the serial signal into a parallel signal. Control unit 14 is used to acquire refresh Signal and power signals, and convert the refresh signal into a control signal. The changeover switch unit 13 is connected to the serial to parallel conversion unit 11 and the control unit 14, respectively, for acquiring parallel signals from the serial to parallel conversion unit 11, acquiring control signals from the control unit 14, and outputting parallel signals in accordance with the control signals. The digital tube unit 12 is connected to the control unit 14 and the changeover switch unit 13, respectively, for acquiring a power supply signal from the control unit 14, acquiring a parallel signal from the changeover switch unit 13, and illuminating the digital tube unit 12 in accordance with the parallel signal and the power supply signal. In this embodiment, the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is further. At the same time, there is no need to add an MCU, and it is possible to avoid the problem of using the MCU to control the digital tube, which is disadvantageous to layout and programming troubles, and is convenient for low-cost design and maintenance.
图 2是本发明第二实施例的数码管驱动电路的结构示意图。 如图 2所 示, 数码管驱动电路 20包括串并转换单元 21、 数码管单元 22、 切换开关 单元 23以及控制单元 24。数码管驱动电路 20与外接设备 27连接。切换开 关单元 23连接至串并转换单元 21和数码管单元 22之间, 控制单元 24连 接切换开关单元 23和数码管单元 22。 串并转换单元 21通过串行总线 I2C 连接外接设备 27的 I2C控制单元 271以获取串行信号,并转换为并行信号。 切换开关单元 23还包括获取控制信号的控制端 231 , 以接收控制信号。 切 换开关单元 23根据控制信号输出并行信号以点亮数码管单元 22。 其中,控 制信号包括第一控制信号 OE1和第二控制信号 OE2 ,两者相位相差 180度。 控制单元 24连接外接设备 27的电源单元 272以获取电源信号 VCC, 并根 据电源信号 VCC为数码管单元 22提供电源。 同时控制单元 24还连接外接 设备 27的刷新信号产生单元 273以获取刷新信号 REF— CLK。 控制单元 24 将刷新信号 REF— CLK转换成第一控制信号 OE1和第二控制信号 OE2发送 至切换开关单元 23的控制端 231。 其中, 刷新信号 REF— CLK是占空比为 50%的低频脉冲信号,刷新信号产生单元 273包括 CPLD、 ARM芯片、FPGA 或低频晶振; I2C控制单元 271 可以是任意芯片, 只要包括 I2C控制单元 271即可。  2 is a schematic structural view of a digital tube driving circuit of a second embodiment of the present invention. As shown in Fig. 2, the digital tube driving circuit 20 includes a serial to parallel conversion unit 21, a digital tube unit 22, a changeover switch unit 23, and a control unit 24. The digital tube drive circuit 20 is connected to the external device 27. The switching switch unit 23 is connected between the serial-to-parallel conversion unit 21 and the digital tube unit 22, and the control unit 24 is connected to the changeover switch unit 23 and the digital tube unit 22. The serial to parallel conversion unit 21 is connected to the I2C control unit 271 of the external device 27 via the serial bus I2C to acquire a serial signal and convert it into a parallel signal. The changeover switch unit 23 further includes a control terminal 231 that acquires a control signal to receive the control signal. The switching unit 23 outputs a parallel signal in accordance with the control signal to illuminate the digital tube unit 22. The control signal includes a first control signal OE1 and a second control signal OE2, and the phases are 180 degrees out of phase. The control unit 24 connects the power supply unit 272 of the external device 27 to obtain the power supply signal VCC, and supplies power to the digital tube unit 22 in accordance with the power supply signal VCC. At the same time, the control unit 24 is also connected to the refresh signal generating unit 273 of the external device 27 to acquire the refresh signal REF_CLK. The control unit 24 converts the refresh signal REF_CLK into the first control signal OE1 and the second control signal OE2 and sends it to the control terminal 231 of the changeover switch unit 23. The refresh signal REF_CLK is a low frequency pulse signal with a duty ratio of 50%, the refresh signal generating unit 273 includes a CPLD, an ARM chip, an FPGA, or a low frequency crystal oscillator; the I2C control unit 271 can be any chip, as long as the I2C control unit 271 is included. Just fine.
在本实施例中, 数码管单元 22包括第一数码管 25和第二数码管 26, 第一数码管 25和第二数码管 26均为共阳数码管。 第一数码管 25和第二数 码管 26的阳极连接控制单元 24以接收电源信号 VCC,第一数码管 25和第 二数码管 26的阴极与切换开关单元 23连接以接收并行信号。 在本发明的 其它实施例中, 数码管单元 22可以包括三个、 四个、 甚至更多个数码管; 第一数码管 25和第二数码管 26也可以均为共阴数码管, 阳极接切换开关 单元 23以接收并行信号, 第一数码管 25和第二数码管 26的阴极连接控制 单元 24。 以下以第一数码管 25和第二数码管 26均为共阳数码管进行详细 描述。 In this embodiment, the digital tube unit 22 includes a first digital tube 25 and a second digital tube 26, and the first digital tube 25 and the second digital tube 26 are both common digital tubes. The anodes of the first digital tube 25 and the second digital tube 26 are connected to the control unit 24 to receive the power supply signal VCC, and the cathodes of the first digital tube 25 and the second digital tube 26 are connected to the changeover switch unit 23 to receive parallel signals. In the invention In other embodiments, the digital tube unit 22 may include three, four, or even more digital tubes; the first digital tube 25 and the second digital tube 26 may also be common cathode digital tubes, and the anode is connected to the switch unit 23 To receive the parallel signal, the cathodes of the first digital tube 25 and the second digital tube 26 are connected to the control unit 24. Hereinafter, the first digital tube 25 and the second digital tube 26 are both described in detail as a common digital tube.
控制单元 24包括第一电阻 Rl、 第一开关管 Ql、 第二开关管 Q2以及 第三开关管 Q3。 第一开关管 Q1 的第一端通过第一电阻 R1连接电源单元 272以接收电源信号 VCC,第一开关管 Q1的第二端连接刷新信号产生单元 273 以接收刷新信号 REF— CLK, 第一开关管 Q1的第三端接地, 第二开关 管 Q2的第一端以及第三开关管 Q3的第一端连接电源单元 272以接收电源 信号 VCC,第二开关管 Q2的第二端和第三开关管 Q3的第二端连接切换开 关单元 23的控制端 231 ,第三开关管 Q3的第二端还连接第一开关管 Q1的 第一端, 刷新信号 REF— CLK还连接至切换开关单元 23的控制端 231 以及 第二开关管 Q2的第二端, 第二开关管 Q2的第三端连接第二数码管 26的 阳极, 第三开关管 Q3的第三端连接第一数码管 25的阳极。 在本发明的实 施例中,第一开关管 Q1为 N型 MOS管, 第一开关管 Q1的第一端为漏极, 第二端为栅极, 第三端为源极; 第二开关管 Q2和第三开关管 Q3为 P型 MOS管, 第二开关管 Q2的第一端为漏极, 第二端为栅极, 第三端为源极, 第三开关管 Q3的第一端为漏极, 第二端为栅极, 第三端为源极。 在本发明 的其它实施例中, 第一开关管 Ql、 第二开关管 Q2 以及第三开关管 Q3也 可以是 BJT( Bipolar Junction Transistor,双极结型晶体管)、 FET( Field Effect Transistor, 场效应晶体管)或 IGBT(Insulated Gate Bipolar Transistor, 绝缘栅 双极型晶体管)。第一开关管 Q1用于将刷新信号 REF— CLK转换成第一控制 信号 0E1和第二控制信号 0E2。 刷新信号 REF— CLK为高电平时, 第一控 制信号 0E1控制切换开关单元 23点亮第一数码管 25, 同时通过控制第三 开关管 Q3 导通以使第一数码管 25 的阳极接电源信号 VCC。 刷新信号 REF CLK为低电平时, 第二控制信号 0E2控制切换开关单元 23点亮第二 数码管 26, 同时通过控制第二开关管 Q2导通以使第二数码管 26的阳极接 电源信号 VCC。  The control unit 24 includes a first resistor R1, a first switching transistor Q1, a second switching transistor Q2, and a third switching transistor Q3. The first end of the first switch Q1 is connected to the power supply unit 272 through the first resistor R1 to receive the power signal VCC, and the second end of the first switch Q1 is connected to the refresh signal generating unit 273 to receive the refresh signal REF_CLK, the first switch The third end of the tube Q1 is grounded, the first end of the second switch tube Q2 and the first end of the third switch tube Q3 are connected to the power supply unit 272 to receive the power signal VCC, and the second end of the second switch tube Q2 and the third switch The second end of the third switch tube Q3 is connected to the first end of the first switch tube Q1, and the refresh signal REF_CLK is also connected to the switch unit 23. The control terminal 231 and the second end of the second switch tube Q2, the third end of the second switch tube Q2 is connected to the anode of the second digital tube 26, and the third end of the third switch tube Q3 is connected to the anode of the first digital tube 25. In the embodiment of the present invention, the first switching transistor Q1 is an N-type MOS transistor, the first terminal of the first switching transistor Q1 is a drain, the second terminal is a gate, and the third terminal is a source; the second switching transistor Q2 and the third switching transistor Q3 are P-type MOS transistors, the first terminal of the second switching transistor Q2 is a drain, the second terminal is a gate, the third terminal is a source, and the first end of the third switching transistor Q3 is The drain, the second end is the gate, and the third end is the source. In other embodiments of the present invention, the first switch transistor Q1, the second switch transistor Q2, and the third switch transistor Q3 may also be BJT (Bipolar Junction Transistor), FET (Field Effect Transistor), field effect. Transistor) or IGBT (Insulated Gate Bipolar Transistor). The first switching transistor Q1 is for converting the refresh signal REF_CLK into a first control signal 0E1 and a second control signal 0E2. When the refresh signal REF_CLK is at a high level, the first control signal OE1 controls the switch unit 23 to illuminate the first digital tube 25, and at the same time, the third switch tube Q3 is controlled to be turned on to connect the anode of the first digital tube 25 to the power signal. VCC. When the refresh signal REF CLK is low, the second control signal OE2 controls the switch unit 23 to illuminate the second digital tube 26, and at the same time, the second switch tube Q2 is controlled to be turned on to connect the anode of the second digital tube 26 to the power supply signal VCC. .
在本实施例中, 釆用串行信号转换为并行信号来控制数码管, 传输距 离更远。 同时, 不需要增加 MCU, 能够避免使用 MCU来控制数码管而造 成不利于布局以及烧写程序麻烦的问题, 方便进行低成本设计和维护。 In this embodiment, the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is Farther away. At the same time, there is no need to add an MCU, and it is possible to avoid the problem of using the MCU to control the digital tube, which is disadvantageous to layout and programming troubles, and is convenient for low-cost design and maintenance.
图 3 为本发明第二实施例的数码管驱动电路的各信号的波形示意图。 如图 3所示, 切换开关单元 23输出 16位的并行信号, 其中, DATA[0:7]为 低 8位的并行信号。 DATA[8: 15]为高 8位的并行信号, VCC— OE1为第一数 码管 25 的阳极电位, VCC— OE2为第二数码管 26的阳极电位。 刷新信号 REF CLK为基准时钟, tl至 t3为一个时钟周期, 电源信号 VCC始终为高 电平。  3 is a waveform diagram showing signals of a digital tube driving circuit according to a second embodiment of the present invention. As shown in Fig. 3, the changeover switch unit 23 outputs a 16-bit parallel signal in which DATA[0:7] is a parallel signal of the lower 8 bits. DATA[8: 15] is a parallel signal of 8 bits high, VCC_OE1 is the anode potential of the first digital tube 25, and VCC_OE2 is the anode potential of the second digital tube 26. The refresh signal REF CLK is the reference clock, tl to t3 is one clock cycle, and the power supply signal VCC is always high.
结合图 2和图 3 ,在 tl至 t2的前半个时钟周期内,刷新信号 REF— CLK 为高电平, 第一开关管 Q1导通, 电源信号 VCC通过第一电阻 R1和第一 开关管 Q1接地, 第一控制信号 OE1为低电平, 第二控制信号 OE2为高电 平。 第一控制信号 OE1控制低 8位的并行信号 DATA[0:7]传输至第一数码 管 25的阴极; 同时, 第三开关管 Q3导通, 电源信号 VCC通过第三开关管 Q3传输至第一数码管 25的阳极, 第一数码管 25的阳极电位 VCC— OE1为 高电平,第一数码管 25被点亮。此时,第二开关管 Q2截止, 电源信号 VCC 不能传输至第二数码管 26的阳极, 第二数码管 26的阳极电位 VCC— OE2 为低电平, 并且第二控制信号 OE2控制使高 8位的并行信号 DATA[8: 15] 不能传输至第二数码管 26的阴极, 第二数码管 26不被点亮。  2 and FIG. 3, in the first half of the clock period from t1 to t2, the refresh signal REF_CLK is at a high level, the first switching transistor Q1 is turned on, and the power signal VCC passes through the first resistor R1 and the first switching transistor Q1. Grounding, the first control signal OE1 is at a low level, and the second control signal OE2 is at a high level. The first control signal OE1 controls the parallel signal DATA[0:7] of the lower 8 bits to be transmitted to the cathode of the first digital tube 25; meanwhile, the third switching transistor Q3 is turned on, and the power signal VCC is transmitted to the third through the third switching transistor Q3. The anode of a digital tube 25, the anode potential VCC_OE1 of the first digital tube 25 is at a high level, and the first digital tube 25 is illuminated. At this time, the second switching transistor Q2 is turned off, the power signal VCC cannot be transmitted to the anode of the second digital tube 26, the anode potential VCC_OE2 of the second digital tube 26 is at a low level, and the second control signal OE2 is controlled to be high 8 The bit parallel signal DATA[8:15] cannot be transmitted to the cathode of the second digital tube 26, and the second digital tube 26 is not illuminated.
在 t2至 t3的后半个时钟周期内, 刷新信号 REF— CLK为低电平, 第一 开关管 Q1截止,电源信号 VCC通过第一电阻 R1传输至第一控制信号 OE1, 所以第一控制信号 OE1为高电平, 第二控制信号为低电平。 第二控制信号 OE1控制使高 8位的并行信号 DATA[7: 15]传输至第二数码管 26的阴极;同 时, 第二开关管 Q2导通, 电源信号 VCC通过第二开关管 Q2传输至第二 数码管 26的阳极,第二数码管 26的阳极电位 VCC— OE2为高电平,第二数 码管 26被点亮。 此时, 第三开关管 Q3截止, 第一数码管 25的阳极电位 VCC— OE2为低电平,第一控制信号 OE1控制低使 8位的并行信号 DATA[0:7] 不能传输至第一数码管 25的阴极, 第一数码管 25不被点亮。  During the second half of the clock period from t2 to t3, the refresh signal REF_CLK is at a low level, the first switching transistor Q1 is turned off, and the power signal VCC is transmitted to the first control signal OE1 through the first resistor R1, so the first control signal OE1 is high and the second control signal is low. The second control signal OE1 controls to transmit the high 8-bit parallel signal DATA[7:15] to the cathode of the second digital tube 26; meanwhile, the second switch Q2 is turned on, and the power signal VCC is transmitted to the second switch Q2 to The anode of the second digital tube 26, the anode potential VCC_OE2 of the second digital tube 26 is at a high level, and the second digital tube 26 is illuminated. At this time, the third switch tube Q3 is turned off, the anode potential VCC_OE2 of the first digital tube 25 is at a low level, and the first control signal OE1 is controlled low so that the 8-bit parallel signal DATA[0:7] cannot be transmitted to the first The cathode of the digital tube 25, the first digital tube 25 is not illuminated.
以 tl至 t3的时间为一个时钟周期, 第一数码管 25和第二数码管 26交 替被点亮, 当交替的频率超过人眼能够识别的频率后, 人眼看到的两个数 码管是同时被点亮的。 根据此方法可以点亮多个数码管。 图 4是本发明第三实施例的数码管驱动电路的结构示意图。 如图 4所 示, 在第三实施例的基础上进行描述, 数码管驱动电路 20可以应用于服务 器领域, 外接设备 27为服务器 29, 数码管驱动电路 20设置在检测面板 28 上, 数码管驱动电路 20用于对服务器 29进行故障检测。 I2C控制单元 271 为服务器的 BMC ( Baseboard Management Controller, 基板管理控制器) 291 , 电源单元 272为服务器 29的电源接口 292,刷新信号产生单元 273为 服务器 29的 CPLD模块 293。串并转换单元 21通过串行总线 I2C从服务器 29的 BMC 291获取串行信号,控制单元 24从服务器 29的电源接口 292获 取电源信号 VCC,从服务器 29的 CPLD模块 293获取刷新信号 REF— CLK。 如此, 数码管驱动电路 20所有的输入信号, 串行信号、 电源信号 VCC以 及刷新信号 TEF— CLK都是从服务器 29上来, 使其外围电路简单, 能够避 免使用 MCU控制数码管而造成的不利于布局以及烧写程序麻烦的问题,方 便进行低成本设计和维护。 因为如果在检测面板 28上增加 MCU或者其它 控制电路, 会使 PCB布局无法实现, 并且在生产该检测面板时, 需增加程 序烧录接口, 非常不方便且成本较高。 When the time from t1 to t3 is one clock cycle, the first digital tube 25 and the second digital tube 26 are alternately illuminated. When the alternating frequency exceeds the frequency recognizable by the human eye, the two digital tubes seen by the human eye are simultaneously Is lit. According to this method, a plurality of digital tubes can be illuminated. Fig. 4 is a block diagram showing the structure of a digital tube driving circuit of a third embodiment of the present invention. As shown in FIG. 4, on the basis of the third embodiment, the digital tube driving circuit 20 can be applied to the server field, the external device 27 is the server 29, and the digital tube driving circuit 20 is disposed on the detecting panel 28, and the digital tube is driven. The circuit 20 is for performing fault detection on the server 29. The I2C control unit 271 is a BMC (Baseboard Management Controller) 291 of the server, the power supply unit 272 is the power interface 292 of the server 29, and the refresh signal generation unit 273 is the CPLD module 293 of the server 29. The serial to parallel conversion unit 21 acquires a serial signal from the BMC 291 of the server 29 via the serial bus I2C, the control unit 24 acquires the power supply signal VCC from the power supply interface 292 of the server 29, and acquires the refresh signal REF_CLK from the CPLD module 293 of the server 29. Thus, all the input signals of the digital tube driving circuit 20, the serial signal, the power signal VCC, and the refresh signal TEF_CLK are all coming from the server 29, so that the peripheral circuit is simple, and the use of the MCU to control the digital tube can be avoided. The layout and the trouble of programming the program are convenient for low-cost design and maintenance. Because if an MCU or other control circuit is added to the detection panel 28, the PCB layout cannot be realized, and when the detection panel is produced, the program programming interface needs to be added, which is very inconvenient and costly.
请参阅图 5,图 5是本发明第一实施例的数码管驱动的控制方法示意图。 如图 5所示, 数码管驱动的控制方法包括:  Please refer to FIG. 5. FIG. 5 is a schematic diagram of a control method of the digital tube driving according to the first embodiment of the present invention. As shown in Figure 5, the control method of the digital tube driver includes:
S31: 数码管驱动电路 10获取串行信号, 并将串行信号转换为并行信 号。  S31: The digital tube driving circuit 10 acquires a serial signal and converts the serial signal into a parallel signal.
S32: 数码管驱动电路 10获取刷新信号和电源信号, 并将刷新信号转 换成控制信号。  S32: The digital tube driving circuit 10 acquires a refresh signal and a power signal, and converts the refresh signal into a control signal.
S33: 根据控制信号、 并行信号以及电源信号点亮所述数码管单元 12。 在 S33中,数码管单元 12可以是独立的一位数码管,或者两位数码管, 也可以是三位、 四位甚至更多。  S33: The digital tube unit 12 is lit according to a control signal, a parallel signal, and a power signal. In S33, the digital tube unit 12 can be a stand-alone digital tube, or a two-digit digital tube, or three, four or even more.
图 6是本发明第二实施例的数码管驱动的控制方法示意图。 参照图 2 和图 5进行描述, 如图 6所示, 在本实施例中, 数码管单元 22包括第一数 码管 25和第二数码管 26, S33包括:  Fig. 6 is a view showing a control method of the digital tube driving according to the second embodiment of the present invention. Referring to FIG. 2 and FIG. 5, as shown in FIG. 6, in the embodiment, the digital tube unit 22 includes a first digital tube 25 and a second digital tube 26, and S33 includes:
S330:数码管驱动电路获取第一控制信号和第二控制信号。在 S330中, 数码管驱动电路获取刷新信号, 并将刷新信号转换成第一控制信号和第二 控制信号。 其中, 刷新信号是占空比为 50%的低频脉冲信号, 可以通过 CPLD、 ARM芯片、 FPGA或低频晶振产生刷新信号; 第一控制信号和第二 控制信号相位相差 180度。 S330: The digital tube driving circuit acquires the first control signal and the second control signal. In S330, the digital tube driving circuit acquires a refresh signal, and converts the refresh signal into a first control signal and a second control signal. Wherein, the refresh signal is a low frequency pulse signal with a duty ratio of 50%, which can pass The CPLD, the ARM chip, the FPGA, or the low frequency crystal oscillator generate a refresh signal; the first control signal and the second control signal are 180 degrees out of phase.
S331 : 数码管驱动电路根据第一控制信号、 并行信号以及电源信号点 亮第一数码管 25。在 S331中, 第一控制信号控制并行信号点亮第一数码管 S331: The digital tube driving circuit lights the first digital tube 25 according to the first control signal, the parallel signal, and the power signal. In S331, the first control signal controls the parallel signal to illuminate the first digital tube
25, 同时, 第一控制信号控制第一数码管 25的阳极接电源信号。 25, meanwhile, the first control signal controls the anode of the first digital tube 25 to connect to the power signal.
S332: 数码管驱动电路根据第二控制信号和并行信号点亮第二数码管 S332: The digital tube driving circuit illuminates the second digital tube according to the second control signal and the parallel signal
26。 在 S332中, 第二控制信号控制并行信号点亮第二数码管 26, 同时, 第 二控制信号控制第二数码管 26的阳极接电源信号。 26. In S332, the second control signal controls the parallel signal to illuminate the second digital tube 26, and at the same time, the second control signal controls the anode connection power signal of the second digital tube 26.
在本实施例中, 釆用串行信号转换为并行信号来控制数码管, 传输距 离更远, 同时不需要增加 MCU, 能够避免使用 MCU来控制数码管而造成 不利于布局以及烧写程序麻烦的问题, 方便进行低成本设计和维护。  In this embodiment, the serial signal is converted into a parallel signal to control the digital tube, and the transmission distance is further, and the MCU does not need to be added, and the use of the MCU to control the digital tube can be avoided, which is disadvantageous for layout and programming. Problem, convenient for low cost design and maintenance.
综上所述, 本发明通过串并转换单元经串行总线 I2C获取串行信号并 转换为并行信号, 控制单元用于获取刷新信号和电源信号, 并将刷新信号 转换成控制信号, 切换开关单元分别与串并转换单元以及控制单元连接, 用于从串并转换单元获取并行信号, 从控制单元获取控制信号, 并根据控 制信号输出并行信号; 数码管单元, 分别与控制单元以及切换开关单元连 接, 用于从控制单元获取电源信号, 从切换开关单元获取并行信号, 并根 据并行信号和电源信号点亮数码管单元,能够避免使用 MCU控制数码管而 造成的不利于布局以及烧写程序麻烦的问题, 方便进行低成本设计和维护。  In summary, the present invention acquires a serial signal through a serial bus I2C through a serial-to-parallel conversion unit and converts it into a parallel signal, and the control unit is configured to acquire a refresh signal and a power signal, and convert the refresh signal into a control signal, and switch the switch unit. Connected to the serial-to-parallel conversion unit and the control unit respectively, for acquiring parallel signals from the serial-to-parallel conversion unit, obtaining control signals from the control unit, and outputting parallel signals according to the control signals; the digital tube unit is respectively connected with the control unit and the switch unit , for obtaining a power signal from the control unit, acquiring a parallel signal from the switch unit, and illuminating the digital tube unit according to the parallel signal and the power signal, thereby avoiding the trouble of layout and programming trouble caused by using the MCU to control the digital tube. Problem, convenient for low cost design and maintenance.
以上所述仅为本发明的实施例, 并非因此限制本发明的专利范围, 凡 是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接 或间接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范围 内。  The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present invention may be directly or indirectly applied to other related technologies. The scope of the invention is included in the scope of patent protection of the present invention.

Claims

权利要求 Rights request
1. 一种数码管驱动电路, 其特征在于, 所述电路包括:  A digital tube driving circuit, characterized in that the circuit comprises:
串并转换单元, 通过串行总线 I2C获取串行信号, 并将所述串行信号 转换为并行信号;  a serial to parallel conversion unit that acquires a serial signal through the serial bus I2C and converts the serial signal into a parallel signal;
控制单元, 用于获取刷新信号和电源信号, 并将所述刷新信号转换成 控制信号;  a control unit, configured to acquire a refresh signal and a power signal, and convert the refresh signal into a control signal;
切换开关单元, 分别与所述串并转换单元以及所述控制单元连接, 用 于从所述串并转换单元获取所述并行信号, 从所述控制单元获取所述控制 信号, 并根据所述控制信号输出所述并行信号;  a switching switch unit respectively connected to the serial to parallel conversion unit and the control unit, configured to acquire the parallel signal from the serial to parallel conversion unit, acquire the control signal from the control unit, and according to the control Signaling the parallel signal;
数码管单元, 分别与所述控制单元以及所述切换开关单元连接, 用于 从所述控制单元获取所述电源信号, 从所述切换开关单元获取所述并行信 号, 并根据所述并行信号和所述电源信号点亮所述数码管单元。  a digital tube unit, respectively connected to the control unit and the switch unit, for acquiring the power signal from the control unit, acquiring the parallel signal from the switch unit, and according to the parallel signal and The power signal illuminates the digital tube unit.
2. 根据权利要求 1所述的电路, 其特征在于, 所述电路用于连接外接 设备, 所述外接设备包括 I2C控制单元, 所述串并转换单元通过所述串行 总线 I2C与所述 I2C控制单元连接, 以获取所述串行信号。  2. The circuit according to claim 1, wherein the circuit is for connecting an external device, the external device comprises an I2C control unit, and the serial-to-parallel conversion unit passes the serial bus I2C and the I2C The control unit is connected to obtain the serial signal.
3. 根据权利要求 2所述的电路, 其特征在于, 所述数码管单元包括第 一数码管和第二数码管, 所述第一数码管和所述第二数码管为共阳数码管 , 所述第一数码管和所述第二数码管的阳极连接所述控制单元, 所述第一数 码管和所述第二数码管的阴极与所述切换开关单元连接。  3. The circuit according to claim 2, wherein the digital tube unit comprises a first digital tube and a second digital tube, and the first digital tube and the second digital tube are a common digital tube. The anodes of the first digital tube and the second digital tube are connected to the control unit, and the cathodes of the first digital tube and the second digital tube are connected to the switch unit.
4. 根据权利要求 2所述的电路, 其特征在于, 所述数码管单元包括第 一数码管和第二数码管, 所述第一数码管和所述第二数码管为共阴数码管, 所述第一数码管和所述第二数码管的阳极与所述切换开关单元连接, 所述 第一数码管和所述第二数码管的阴极连接所述控制单元。  The circuit according to claim 2, wherein the digital tube unit comprises a first digital tube and a second digital tube, and the first digital tube and the second digital tube are common cathode digital tubes. The anodes of the first digital tube and the second digital tube are connected to the switch unit, and the cathodes of the first digital tube and the second digital tube are connected to the control unit.
5. 根据权利要求 2所述的电路, 其特征在于, 所述控制信号包括第一 控制信号和第二控制信号, 所述控制单元还从所述外接设备的刷新信号产 生单元获取所述刷新信号, 并将所述刷新信号转换成所述第一控制信号和 所述第二控制信号。  The circuit according to claim 2, wherein the control signal comprises a first control signal and a second control signal, and the control unit further acquires the refresh signal from a refresh signal generating unit of the external device And converting the refresh signal into the first control signal and the second control signal.
6. 根据权利要求 5所述的电路, 其特征在于, 所述切换开关单元包括 获取所述控制信号的控制端, 所述控制端与所述控制单元连接, 以从所述 控制单元获取所述第一控制信号和所述第二控制信号。 The circuit according to claim 5, wherein the switching switch unit includes a control end that acquires the control signal, and the control end is connected to the control unit to acquire the a first control signal and the second control signal.
7. 根据权利要求 6所述的电路, 其特征在于, 所述控制单元包括第一 电阻、 第一开关管、 第二开关管以及第三开关管, 其中, 所述第一开关管 的第一端通过所述第一电阻连接所述电源单元, 所述第一开关管的第二端 连接所述刷新信号产生单元, 所述第一开关管的第三端接地, 所述第二开 关管的第一端以及所述第三开关管的第一端连接所述电源单元, 所述第二 开关管的第二端和所述第三开关管的第二端连接所述切换开关单元的所述 控制端, 所述第三开关管的第二端还连接所述第一开关管的第一端, 所述 刷新信号还连接所述切换开关单元的所述控制端以及所述第二开关管的第 二端, 所述第二开关管的第三端连接所述第二数码管的阳极, 所述第三开 关管的第三端连接所述第一数码管的阳极。 The circuit according to claim 6, wherein the control unit comprises a first resistor, a first switch tube, a second switch tube, and a third switch tube, wherein the first switch tube is first The second end of the first switch tube is connected to the refresh signal generating unit, the third end of the first switch tube is grounded, and the second switch tube is connected to the power supply unit. The first end and the first end of the third switch tube are connected to the power supply unit, and the second end of the second switch tube and the second end of the third switch tube are connected to the switch switch unit a second end of the third switch tube is further connected to the first end of the first switch tube, and the refresh signal is further connected to the control end of the switch switch unit and the second switch tube The second end of the second switch tube is connected to the anode of the second digital tube, and the third end of the third switch tube is connected to the anode of the first digital tube.
8. 根据权利要求 7所述的电路, 其特征在于, 所述第一开关管用于将 所述刷新信号转换成所述第一控制信号和所述第二控制信号; 所述第一开 关管为 N型 MOS管, 所述第一开关管的第一端为漏极, 第二端为栅极, 第 三端为源极, 所述第二开关管和所述第三开关管为 P型 MOS管, 所述第二 开关管的第一端为漏极, 第二端为栅极, 第三端为源极, 所述第三开关管 的第一端为漏极, 第二端为栅极, 第三端为源极。  The circuit according to claim 7, wherein the first switch tube is configured to convert the refresh signal into the first control signal and the second control signal; An N-type MOS transistor, the first end of the first switch is a drain, the second end is a gate, the third end is a source, and the second switch and the third switch are P-type MOS The first switch of the second switch is a drain, the second end is a gate, the third end is a source, the first end of the third switch is a drain, and the second end is a gate The third end is the source.
9. 根据权利要求 6所述的电路, 其特征在于, 所述第一控制信号和所 述第二控制信号相位相差 180度。  9. The circuit of claim 6, wherein the first control signal and the second control signal are 180 degrees out of phase.
10. 根据权利要求 9所述的电路, 其特征在于, 所述刷新信号为高电平 时, 所述第一控制信号控制所述切换开关单元点亮所述第一数码管, 同时 通过控制所述第三开关管导通以使所述第一数码管的阳极接所述电源信 号; 所述刷新信号为低电平时, 所述第二控制信号控制所述切换开关单元 点亮所述第二数码管, 同时通过控制所述第二开关管导通以使所述第二数 码管的阳极接所述电源信号。  10. The circuit according to claim 9, wherein, when the refresh signal is at a high level, the first control signal controls the switch unit to illuminate the first digital tube while controlling the The third switch tube is turned on to connect the anode of the first digital tube to the power signal; when the refresh signal is low, the second control signal controls the switch unit to illuminate the second digital And controlling the second switch tube to conduct the anode of the second digital tube to connect the power signal.
11. 根据权利要求 6所述的电路, 其特征在于, 所述刷新信号是占空比 为 50%的低频脉冲信号。  The circuit according to claim 6, wherein the refresh signal is a low frequency pulse signal having a duty ratio of 50%.
12. 根据权利要求 6所述的电路, 其特征在于, 所述刷新信号产生单元 包括 CPLD、 ARM芯片、 FPGA或低频晶振。  12. The circuit according to claim 6, wherein the refresh signal generating unit comprises a CPLD, an ARM chip, an FPGA or a low frequency crystal oscillator.
13. 根据权利要求 2所述的电路,其特征在于,所述外接设备为服务器, 所述 I2C控制单元为所述服务器的 BMC, 所述电路用于对所述服务器进行 故障检测。 The circuit according to claim 2, wherein the external device is a server, the I2C control unit is a BMC of the server, and the circuit is configured to perform the server Fault detection.
14. 一种数码管驱动的控制方法, 其特征在于, 所述方法包括: 获取串行信号, 并将所述串行信号转换为并行信号;  A digital tube driving control method, the method comprising: acquiring a serial signal, and converting the serial signal into a parallel signal;
获取刷新信号和电源信号, 并将所述刷新信号转换成控制信号; 根据所述控制信号、 所述并行信号以及所述电源信号点亮所述数码管 单元。  Acquiring a refresh signal and a power signal, and converting the refresh signal into a control signal; lighting the digital tube unit according to the control signal, the parallel signal, and the power signal.
15. 根据权利要求 14所述的方法, 其特征在于, 所述控制信号包括第 一控制信号和第二控制信号, 所述根据所述控制信号、 所述并行信号以及 所述电源信号点亮所述数码管单元包括:  The method according to claim 14, wherein the control signal comprises a first control signal and a second control signal, wherein the control signal, the parallel signal, and the power signal are illuminated according to the control signal The digital tube unit includes:
获取第一控制信号和第二控制信号;  Obtaining a first control signal and a second control signal;
根据所述第一控制信号、 所述并行信号以及所述电源信号点亮所述第 一数码管;  Illuminating the first digital tube according to the first control signal, the parallel signal, and the power signal;
根据所述第二控制信号、 所述并行信号以及所述电源信号点亮所述第 二数码管。  The second digital tube is illuminated according to the second control signal, the parallel signal, and the power signal.
16. 根据权利要求 15所述的方法, 其特征在于, 所述第一控制信号和 所述第二控制信号相位相差 180度。  16. The method according to claim 15, wherein the first control signal and the second control signal are 180 degrees out of phase.
17. 根据权利要求 14所述的方法, 其特征在于, 所述刷新信号是占空比 为 50%的低频脉冲信号。  17. The method according to claim 14, wherein the refresh signal is a low frequency pulse signal having a duty ratio of 50%.
PCT/CN2014/078368 2013-10-16 2014-05-26 Digital tube driving circuit and control method thereof WO2015055009A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310486254.4A CN103531141B (en) 2013-10-16 2013-10-16 A kind of Nixie tube drive circuit and its control method
CN201310486254.4 2013-10-16

Publications (2)

Publication Number Publication Date
WO2015055009A1 WO2015055009A1 (en) 2015-04-23
WO2015055009A9 true WO2015055009A9 (en) 2015-08-20

Family

ID=49933105

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/078368 WO2015055009A1 (en) 2013-10-16 2014-05-26 Digital tube driving circuit and control method thereof

Country Status (2)

Country Link
CN (1) CN103531141B (en)
WO (1) WO2015055009A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531141B (en) * 2013-10-16 2017-03-15 华为技术有限公司 A kind of Nixie tube drive circuit and its control method
CN110444137A (en) * 2019-08-15 2019-11-12 重庆川仪速达机电有限公司 A kind of multidigit nixie tube display driver circuit and its control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100435243C (en) * 2002-11-01 2008-11-19 深圳迈瑞生物医疗电子股份有限公司 Method of high voltage potential meter numerical control resistance value and product
US7696990B2 (en) * 2006-06-28 2010-04-13 Harvatek Corporation LED driving circuit and a serial LED illumination system using the same
CN201122346Y (en) * 2007-12-08 2008-09-24 海信(山东)空调有限公司 Air conditioner testing apparatus
CN201232908Y (en) * 2008-07-04 2009-05-06 上海大学 Integration traffic light and control system thereof
CN201503684U (en) * 2009-08-13 2010-06-09 深圳市博驰信电子有限责任公司 LED display device and drive circuit thereof
CN102456308A (en) * 2010-11-03 2012-05-16 深圳信息职业技术学院 Driving circuit of optoelectronic equipment and driving method thereof
CN202720638U (en) * 2012-06-29 2013-02-06 深圳市英德斯电子有限公司 Serial conversion circuit
CN103531141B (en) * 2013-10-16 2017-03-15 华为技术有限公司 A kind of Nixie tube drive circuit and its control method

Also Published As

Publication number Publication date
CN103531141B (en) 2017-03-15
CN103531141A (en) 2014-01-22
WO2015055009A1 (en) 2015-04-23

Similar Documents

Publication Publication Date Title
TWI404310B (en) Power management and control module and liquid crystal display device
WO2019029490A1 (en) Light up control system board, detection method, and light up detection device
US10863608B2 (en) Light-emitting diode driving system for transmitting signal based on power line
WO2015055009A9 (en) Digital tube driving circuit and control method thereof
TWI540565B (en) Multiplex driver and display device
TW201447305A (en) Fan speed detecting device
CN105047153A (en) Driving circuit and display device
CN110880858A (en) Drive circuit of switching power supply, half-bridge topology switching power supply and electronic equipment
WO2014082328A1 (en) Led backlight driver circuit, liquid crystal display device, and driving method
WO2015139544A1 (en) Laser control circuit, control method and laser ink line device having laser control circuit
US8247995B2 (en) Control system for multiple light sources
CN206601919U (en) A kind of LED display for eliminating caterpillar phenomenon
CN112947799B (en) Multi-board communication and multi-way cross scanning device and method for multi-point infrared touch screen
CN102832924B (en) High-power LVDS (low-voltage differential signaling) square signal driving circuit
TWI425879B (en) Driving system of light emitting diode and driving apparatus thereof
KR101971701B1 (en) Switching driving device using fpga
TW201523576A (en) Transmission method for display device
CN210351117U (en) Multifunctional signal switching circuit and display device
CN103209270A (en) Mainframe of medical communication calling device
CN110267388B (en) High-power intrinsic safety device and explosion-proof lamp
CN203241792U (en) Digital panel
CN202998558U (en) Driving device and lighting device comprising same
CN216057577U (en) Circuit for switching white lamp and infrared lamp of gun lamp
TWM644444U (en) Master-slave system conforming to I2C communication protocol
CN215219124U (en) Power-on control testing device based on DS1286

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14853723

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14853723

Country of ref document: EP

Kind code of ref document: A1