[go: up one dir, main page]

CN102456308A - A kind of driving circuit of photoelectric equipment and its driving control method - Google Patents

A kind of driving circuit of photoelectric equipment and its driving control method Download PDF

Info

Publication number
CN102456308A
CN102456308A CN2010105306284A CN201010530628A CN102456308A CN 102456308 A CN102456308 A CN 102456308A CN 2010105306284 A CN2010105306284 A CN 2010105306284A CN 201010530628 A CN201010530628 A CN 201010530628A CN 102456308 A CN102456308 A CN 102456308A
Authority
CN
China
Prior art keywords
serial
parallel conversion
conversion chip
data
parallel
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.)
Pending
Application number
CN2010105306284A
Other languages
Chinese (zh)
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 Institute of Information Technology
Original Assignee
Shenzhen Institute of Information Technology
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 Institute of Information Technology filed Critical Shenzhen Institute of Information Technology
Priority to CN2010105306284A priority Critical patent/CN102456308A/en
Publication of CN102456308A publication Critical patent/CN102456308A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention is suitable for the technical field of electronics, and provides a driving circuit of photoelectric equipment and a driving control method thereof, wherein the driving circuit comprises: the first serial-parallel conversion chip is connected with the single chip microcomputer through a three-wire bus, converts serial data output by the single chip microcomputer into parallel data and outputs the parallel data to a section control end of the photoelectric equipment; and the second serial-parallel conversion chip converts the serial data overflowing from the first serial-parallel conversion chip into parallel data and outputs the parallel data to a bit gating end of the photoelectric equipment to control the display section data of the photoelectric equipment. The invention connects a plurality of serial-parallel conversion chips between the singlechip and the nixie tube, completes the conversion of data serial-in and parallel-out through the serial-parallel conversion chips, realizes the control of the driving photoelectric equipment by only using a three-terminal bus, reduces the occupancy rate of the I/O port of the singlechip, ensures that the limited I/O port of the singlechip can complete more control tasks, simplifies the circuit and improves the reliability of the circuit.

Description

一种光电设备的驱动电路及其驱动控制方法A kind of driving circuit of photoelectric equipment and its driving control method

技术领域 technical field

本发明属于电子技术领域,尤其涉及一种光电设备的驱动电路及其驱动控制方法。The invention belongs to the field of electronic technology, and in particular relates to a driving circuit of an optoelectronic device and a driving control method thereof.

背景技术 Background technique

目前,根据LED灯、数码管等光电设备的连接方式的不同,将光电设备驱动方式分为静态驱动和动态驱动两种,所谓静态驱动是指每个光电设备的每一个段码都由一个单片机的I/O端口进行驱动,此种方式占用单片机I/O端口非常多,硬件电路实现复杂,因此目前多用动态驱动方式驱动LED灯、数码管等光电设备,所谓动态驱动方式是指将所有光电设备的段选同名端连在一起,并为每个光电设备的公共极COM增加位选通控制电路,位选通由各自独立的I/O线控制,当单片机输出段信号时,所有光电设备都接收到相同的段信号,但只有单片机控制位选通端COM打开的光电设备会显示。再通过分时轮流控制各个数码管的COM端,就使各个数码管轮流受控显示,每位数码管的点亮时间为1~2ms,由于人的视觉暂留现象及发光二极管的余辉效应,人们看到的依然是一组稳定的显示数据,而且功耗更低。At present, according to the different connection methods of optoelectronic devices such as LED lamps and digital tubes, the drive methods of optoelectronic devices are divided into static drive and dynamic drive. The so-called static drive means that each segment code of each optoelectronic device is controlled by a single chip The I/O port of the single-chip microcomputer is used for driving. This method occupies a lot of I/O ports of the single-chip microcomputer, and the hardware circuit is complicated. The segment selection terminal of the device is connected together, and a bit strobe control circuit is added to the common pole COM of each optoelectronic device. The bit strobe is controlled by an independent I/O line. When the single-chip microcomputer outputs a segment signal, all optoelectronic devices All receive the same segment signal, but only the optoelectronic device that the MCU control bit strobe port COM is turned on will be displayed. Then, by time-sharing and taking turns to control the COM terminals of each digital tube, each digital tube is controlled and displayed in turn. The lighting time of each digital tube is 1-2ms. Due to the phenomenon of human visual persistence and the afterglow effect of light-emitting diodes, What people see is still a set of stable display data, and the power consumption is lower.

图1示出了现有光电设备的动态驱动电路,其中由单片机通过八位数据总线P2.0至P2.7分别连接六个数码管八个显示笔划的同名段控制端A至DP,并且通过六位数据总线P3.0至P3.5分别连接六个数码管的位选通端1至6。当单片机的数据总线输出段信号时,所有数码管都接收到相同的段信号,但只有单片机控制位选通端COM打开的数码管会显示字形。Fig. 1 has shown the dynamic drive circuit of existing optoelectronic equipment, wherein by single-chip microcomputer through eight bit data bus P2. The six-bit data buses P3.0 to P3.5 are respectively connected to the bit selection terminals 1 to 6 of the six digital tubes. When the data bus of the single-chip microcomputer outputs segment signals, all digital tubes receive the same segment signal, but only the digital tubes whose control bit strobe port COM of the single-chip microcomputer is turned on will display fonts.

虽然该动态驱动方式相对静态驱动方式占用较少的单片机I/O端口,但是当驱动较多的光电设备时,依然无法减少对单片机I/O端口的占用,使单片机有限的I/O端口无法完成更多的控制任务。Although this dynamic driving method occupies less single-chip I/O ports than the static driving method, when driving more photoelectric devices, it still cannot reduce the occupation of the single-chip I/O ports, so that the limited I/O ports of the single-chip cannot Complete more control missions.

发明内容 Contents of the invention

本发明的目的在于提供一种光电设备的驱动电路,旨在解决降低对单片机I/O端口的占用率,简化电路,提高电路的可靠性。The object of the present invention is to provide a driving circuit of a photoelectric device, aiming at reducing the occupancy rate of the I/O port of a single-chip microcomputer, simplifying the circuit, and improving the reliability of the circuit.

本发明是这样实现的,一种光电设备的驱动电路,所述驱动电路包括:The present invention is achieved in this way, a driving circuit of an optoelectronic device, the driving circuit comprising:

第一串并转换芯片,所述第一串并转换芯片通过时钟线、数据线和控制线与单片机连接,将所述单片机输出的串行数据DIN,在时钟信号CLK有效时转换为并行数据,并在所述控制线接收到控制信号OE时,并行输出到光电设备的段控制端;以及The first serial-to-parallel conversion chip, the first serial-to-parallel conversion chip is connected to the single-chip microcomputer through clock lines, data lines and control lines, and the serial data DIN output by the single-chip microcomputer is converted into parallel data when the clock signal CLK is valid, And when the control line receives the control signal OE, it is output to the segment control terminal of the optoelectronic device in parallel; and

第二串并转换芯片,所述第二串并转换芯片通过时钟线和控制线与所述单片机连接,并通过数据线与所述第一串并转换芯片的溢出端连接,将所述第一串并转换芯片溢出的串行数据DIN,在时钟信号CLK有效时转换为并行数据,并于所述控制线接收到控制信号OE时,并行输出到光电设备的位选通端,控制光电设备显示段数据。The second serial-to-parallel conversion chip, the second serial-to-parallel conversion chip is connected to the single-chip microcomputer through a clock line and a control line, and is connected to the overflow end of the first serial-to-parallel conversion chip through a data line, and the first The serial data DIN overflowed by the serial-to-parallel conversion chip is converted into parallel data when the clock signal CLK is valid, and when the control line receives the control signal OE, it is output to the bit gate terminal of the optoelectronic device in parallel to control the display of the optoelectronic device segment data.

本发明的另一目的在于提供一种光电设备的驱动控制器,所述光电设备的驱动控制器包括单片机和所述的光电设备的驱动电路。Another object of the present invention is to provide a drive controller for an optoelectronic device, which includes a single chip microcomputer and the drive circuit for the optoelectronic device.

本发明的另一目的在于提供一种光电设备的驱动控制方法,所述光电设备包括多个光电单元,所述方法包括依次驱动控制所述光电设备的多个光电单元的步骤,驱动控制所述光电设备的一个光电单元的步骤具体如下:Another object of the present invention is to provide a method for driving and controlling a photoelectric device, the photoelectric device includes a plurality of photoelectric units, the method includes the step of sequentially driving and controlling a plurality of photoelectric units of the photoelectric device, driving and controlling the photoelectric units The steps of a photoelectric unit of photoelectric equipment are as follows:

单片机发送串行数据给第一串并转换芯片;The MCU sends serial data to the first serial parallel conversion chip;

第一串并转换芯片将溢出的串行数据发送给第二串并转换芯片;The first serial-to-parallel conversion chip sends the overflowed serial data to the second serial-to-parallel conversion chip;

单片机发送时钟信号和控制信号给第一串并转换芯片及第二串并转换芯片;The single-chip microcomputer sends clock signals and control signals to the first series-to-parallel conversion chip and the second series-to-parallel conversion chip;

第一串并转换芯片和第二串并转换芯片在接收到有效时钟信号时,将串行数据转换为并行数据;The first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip convert serial data into parallel data when receiving a valid clock signal;

第一串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的段控制端;When the first serial-to-parallel conversion chip receives an effective control signal, it sends the parallel data to a segment control terminal of an optoelectronic unit of the optoelectronic device;

第二串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的位选通端。The second serial-to-parallel conversion chip sends the parallel data to the bit gate terminal of an optoelectronic unit of the optoelectronic device when receiving the valid control signal.

本发明在单片机与数码管之间增加两个串并转换芯片,其中第一串并转换芯片将单片机发出的串行数据转换为并行数据作为数码管的段数据,第二串并转换芯片用来控制数码管的位选通端,显示其段数据。本发明利用两个串并转换芯片将单片机输出的串行数据转换为并行数据,仅利用三端总线实现了光电设备的驱动,降低了单片机I/O端口的占用率,使单片机有限的I/O端口可以完成更多的控制任务,并且简化了电路,提高了电路的可靠性。The present invention adds two serial-to-parallel conversion chips between the single-chip microcomputer and the digital tube, wherein the first serial-to-parallel conversion chip converts the serial data sent by the single-chip microcomputer into parallel data as the segment data of the digital tube, and the second serial-to-parallel conversion chip is used for Control the bit strobe terminal of the digital tube to display its segment data. The invention utilizes two serial-to-parallel conversion chips to convert the serial data output by the single-chip microcomputer into parallel data, and only uses the three-terminal bus to realize the drive of the photoelectric equipment, reduces the occupancy rate of the single-chip microcomputer I/O port, and makes the limited I/O of the single-chip microcomputer The O port can complete more control tasks, simplify the circuit, and improve the reliability of the circuit.

附图说明 Description of drawings

图1是现有技术提供的数码管的驱动电路图;Fig. 1 is the driving circuit diagram of the nixie tube that prior art provides;

图2是本发明第一实施例提供的六个数码管的驱动电路图;Fig. 2 is the driving circuit diagram of six nixie tubes provided by the first embodiment of the present invention;

图3是本发明第二实施例提供的十二个数码管的驱动电路图;Fig. 3 is the driving circuit diagram of twelve nixie tubes provided by the second embodiment of the present invention;

图4是本发明第三实施例提供的数码管的驱动控制方法流程图。FIG. 4 is a flow chart of a driving control method for a digital tube provided by a third embodiment of the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明于单片机与数码管之间连接多个串并转换芯片,通过串并转换芯片完成对数据串入并出的转换,实现了仅用三端总线控制驱动光电设备。The invention connects a plurality of serial-to-parallel conversion chips between the single-chip microcomputer and the nixie tube, completes the conversion of data serial-in and parallel-out through the serial-to-parallel conversion chips, and realizes only using three-terminal bus to control and drive the photoelectric equipment.

图2为本发明第一实施例提供的六个数码管的驱动电路图,为了便于说明,仅示出了与本发明相关的部分。FIG. 2 is a driving circuit diagram of six digital tubes provided by the first embodiment of the present invention. For convenience of description, only the parts related to the present invention are shown.

在本实施例中,光电设备的驱动电路包括:第一串并转换芯片(即U1),所述U1可以采用带锁存功能的8位移位寄存器74LS595或者74HC595,U1的移位寄存器时钟输入端SH_CP通过时钟线与单片机连接,输入时钟信号CLK,U1的存储寄存器时钟输入端ST_CP通过控制线与单片机连接,输入控制信号OE,U1的串行数据输入端DS通过数据线与单片机连接,将单片机输出的串行数据DIN,在时钟脉冲信号上升沿时转换为并行数据,并在控制信号OE输入时,由U1的八位并行输出端Q0至Q7分别输出至六个数码管的八位段控制端B0至B7;以及In this embodiment, the drive circuit of the optoelectronic device includes: a first serial-to-parallel conversion chip (i.e. U1), the U1 can use an 8-bit shift register 74LS595 or 74HC595 with a latch function, and the shift register clock input of U1 The terminal SH_CP is connected with the single-chip microcomputer through the clock line, the input clock signal CLK, the storage register clock input terminal ST_CP of U1 is connected with the single-chip microcomputer through the control line, and the input control signal OE is input, and the serial data input terminal DS of U1 is connected with the single-chip microcomputer through the data line. The serial data DIN output by the single-chip microcomputer is converted into parallel data at the rising edge of the clock pulse signal, and when the control signal OE is input, the eight-bit parallel output terminals Q0 to Q7 of U1 are respectively output to the eight-bit segments of the six digital tubes control terminals B0 to B7; and

第二串并转换芯片(即U2),所述U2也可以采用带锁存功能的8位移位寄存器74LS595或者74HC595,U2的移位寄存器时钟输入端SH_CP通过时钟线与单片机连接,输入时钟信号CLK,U2的存储寄存器时钟输入端ST_CP通过控制线与单片机连接,输入控制信号OE,U2的串行数据输入端DS通过数据线与U1的溢出端Q7′连接,将U1溢出的串行数据,在时钟脉冲信号CLK上升沿有效时转换为并行数据,并在收到控制信号OE时,由U2的六位并行输出端Q0至Q5输出到六个数码管的位选通端A0至A5,控制数码管显示字形。The second serial-to-parallel conversion chip (i.e. U2), the U2 can also adopt the 8-bit shift register 74LS595 or 74HC595 with latch function, the shift register clock input terminal SH_CP of U2 is connected with the single-chip microcomputer through the clock line, and the input clock signal CLK, the storage register clock input terminal ST_CP of U2 is connected with the single chip microcomputer through the control line, input control signal OE, the serial data input terminal DS of U2 is connected with the overflow terminal Q7' of U1 through the data line, and the serial data overflowed by U1, When the rising edge of the clock pulse signal CLK is valid, it is converted into parallel data, and when the control signal OE is received, the six-bit parallel output terminals Q0 to Q5 of U2 are output to the bit selection terminals A0 to A5 of the six digital tubes to control The digital tube displays the font.

在本发明实施例中,单片机通过三端总线控制第一串并转换芯片和第二串并转换芯片将串行数据转化为并行数据,控制驱动数码管显示,并由第二串并转换芯片通过分时轮流控制各个数码管的COM端,实现对数码管的动态驱动。In the embodiment of the present invention, the single-chip microcomputer controls the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip to convert serial data into parallel data through the three-terminal bus, controls and drives the digital tube to display, and the second serial-to-parallel conversion chip passes through The COM terminal of each digital tube is controlled in turn in time-sharing to realize the dynamic driving of the digital tube.

作为本发明的一个实施例,还可以通过增加第三串并转换芯片(即U3)来扩展驱动数码管等光电设备的数量。As an embodiment of the present invention, the number of photoelectric devices such as digital tubes can be driven by adding a third serial-to-parallel conversion chip (ie, U3).

图3为本发明第二实施例提供的十二个数码管的驱动电路图,以下结合具体实施例对本发明的实现进行详细说明。FIG. 3 is a driving circuit diagram of twelve digital tubes provided by the second embodiment of the present invention. The implementation of the present invention will be described in detail below in conjunction with specific embodiments.

在本发明实施例中,采用三个串并转换芯片驱动十二个数码管,其中U1的连接方式不再赘述,U2的八位并行输出端Q0至Q7输出到八个数码管的位选通端A0至A7,U3的移位寄存器时钟输入端SH_CP通过时钟线与单片机连接,输入时钟信号CLK,U3的存储寄存器时钟输入端ST_CP通过控制线与单片机连接,输入控制信号OE,U3的串行数据输入端DS通过数据线与U2的溢出端Q7′连接,将U2溢出的串行数据,在时钟脉冲信号CLK上升沿有效时转换为并行数据,并在收到控制信号OE时,作为扩展的位选通端,由U3的并行输出端H0至H3输出到数码管的位选通端A8至A11,由U1和U2控制选择数码管显示字形。In the embodiment of the present invention, three serial-to-parallel conversion chips are used to drive twelve digital tubes, and the connection mode of U1 will not be described again, and the eight-bit parallel output terminals Q0 to Q7 of U2 are output to the bit gates of the eight digital tubes. The terminals A0 to A7, the shift register clock input terminal SH_CP of U3 are connected to the single-chip microcomputer through the clock line, and the input clock signal CLK, the storage register clock input terminal ST_CP of U3 is connected to the single-chip microcomputer through the control line, and the input control signal OE, the serial The data input terminal DS is connected to the overflow terminal Q7' of U2 through the data line, and the serial data overflowed by U2 is converted into parallel data when the rising edge of the clock pulse signal CLK is valid, and when the control signal OE is received, it is used as an extended The bit strobe terminal is output from the parallel output terminals H0 to H3 of U3 to the bit strobe terminals A8 to A11 of the digital tube, and is controlled by U1 and U2 to select the display font of the digital tube.

作为本发明一优选实施例,U3也可以采用带锁存功能的8位移位寄存器74LS595或者74HC595,还可以增加若干第三串并转换芯片,进而扩展驱动光电设备的数量,每增加一个第三串并转换芯片,可增加驱动八个数码管。As a preferred embodiment of the present invention, U3 can also use an 8-bit shift register 74LS595 or 74HC595 with a latch function, and can also add a number of third serial-to-parallel conversion chips to expand the number of photoelectric devices driven. The serial-to-parallel conversion chip can increase the drive of eight digital tubes.

图4示出了本发明第三实施例提供的数码管的驱动控制方法的实现流程,该方法包括依次驱动控制所述光电设备的多个光电单元的步骤,驱动控制所述光电设备的一个光电单元的步骤具体如下:Fig. 4 shows the implementation flow of the driving control method of the digital tube provided by the third embodiment of the present invention, the method includes the steps of sequentially driving and controlling a plurality of photoelectric units of the photoelectric device, driving and controlling one photoelectric unit of the photoelectric device The steps of the unit are as follows:

在步骤S401中,单片机发送串行数据给第一串并转换芯片;In step S401, the single-chip microcomputer sends serial data to the first serial-to-parallel conversion chip;

在步骤S402中,第一串并转换芯片将溢出的串行数据发送给第二串并转换芯片;In step S402, the first serial-to-parallel conversion chip sends the overflowed serial data to the second serial-to-parallel conversion chip;

在步骤S403中,单片机发送时钟信号和控制信号给第一串并转换芯片和第二串并转换芯片;In step S403, the single-chip microcomputer sends a clock signal and a control signal to the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip;

在步骤S404中,第一串并转换芯片和第二串并转换芯片在接收到有效时钟信号时,将串行数据转换为并行数据;In step S404, the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip convert serial data into parallel data when receiving an effective clock signal;

在步骤S405中,第一串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的段控制端;In step S405, when the first serial-to-parallel conversion chip receives the valid control signal, it sends the parallel data to the segment control terminal of an optoelectronic unit of the optoelectronic device;

在步骤S406中,第二串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的位选通端。In step S406, when the second serial-to-parallel conversion chip receives the valid control signal, it sends the parallel data to the bit gate terminal of an optoelectronic unit of the optoelectronic device.

作为本发明一优选实施例,该方法在步骤S402后还包括下述步骤:将第二串并转换芯片溢出的串行数据发送给第三串并转换芯片;As a preferred embodiment of the present invention, the method further includes the following steps after step S402: sending the serial data overflowed by the second serial-to-parallel conversion chip to the third serial-to-parallel conversion chip;

在步骤S403后还包括下述步骤:单片机发送时钟信号和控制信号给第三串并转换芯片;第三串并转换芯片在接收到有效时钟信号时,将串行数据转换为并行数据;After the step S403, the following steps are also included: the single-chip microcomputer sends the clock signal and the control signal to the third serial-to-parallel conversion chip; the third serial-to-parallel conversion chip converts the serial data into parallel data when receiving the valid clock signal;

在步骤S406后还包括下述步骤:第三串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的位选通端。After step S406, the following steps are further included: when the third serial-to-parallel conversion chip receives the valid control signal, send the parallel data to the bit gate terminal of the optoelectronic device.

作为本发明的一个优选实施例,第一串并转换芯片、第二串并转换芯片及第三串并转换芯片均可以采用8位移位寄存器74LS595或者74HC595。As a preferred embodiment of the present invention, the first serial-to-parallel conversion chip, the second serial-to-parallel conversion chip and the third serial-to-parallel conversion chip can all use an 8-bit shift register 74LS595 or 74HC595.

本发明利用串并转换芯片将单片机输出的串行数据转换为并行数据,仅利用三端总线实现了光电设备的驱动,降低了单片机I/O端口的占用率,简化了电路,提高了电路的可靠性。The invention uses a serial-to-parallel conversion chip to convert the serial data output by the single-chip microcomputer into parallel data, only uses the three-terminal bus to realize the drive of the photoelectric equipment, reduces the occupancy rate of the single-chip microcomputer I/O port, simplifies the circuit, and improves the circuit efficiency. reliability.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1.一种光电设备的驱动电路,其特征在于,所述驱动电路包括:1. A drive circuit for optoelectronic equipment, characterized in that the drive circuit comprises: 第一串并转换芯片,所述第一串并转换芯片通过时钟线、数据线和控制线与单片机连接,将所述单片机输出的串行数据DIN,在时钟信号CLK有效时转换为并行数据,并在所述控制线接收到控制信号OE时,并行输出到光电设备的段控制端;以及The first serial-to-parallel conversion chip, the first serial-to-parallel conversion chip is connected to the single-chip microcomputer through clock lines, data lines and control lines, and the serial data DIN output by the single-chip microcomputer is converted into parallel data when the clock signal CLK is valid, And when the control line receives the control signal OE, it is output to the segment control terminal of the optoelectronic device in parallel; and 第二串并转换芯片,所述第二串并转换芯片通过时钟线和控制线与所述单片机连接,并通过数据线与所述第一串并转换芯片的溢出端连接,将所述第一串并转换芯片溢出的串行数据DIN,在时钟信号CLK有效时转换为并行数据,并于所述控制线接收到控制信号OE时,并行输出到光电设备的位选通端,控制光电设备显示段数据。The second serial-to-parallel conversion chip, the second serial-to-parallel conversion chip is connected to the single-chip microcomputer through a clock line and a control line, and is connected to the overflow end of the first serial-to-parallel conversion chip through a data line, and the first The serial data DIN overflowed by the serial-to-parallel conversion chip is converted into parallel data when the clock signal CLK is valid, and when the control line receives the control signal OE, it is output to the bit gate terminal of the optoelectronic device in parallel to control the display of the optoelectronic device segment data. 2.如权利要求1所述的驱动电路,其特征在于,所述驱动电路还包括:2. The drive circuit according to claim 1, wherein the drive circuit further comprises: 第三串并转换芯片,所述第三串并转换芯片通过时钟线和控制线与所述单片机连接,所述第三串并转换芯片的数据线与所述第二串并转换芯片的溢出端连接,将所述第二串并转换芯片溢出的串行数据,在时钟信号有效时转换为并行数据,并在所述控制线接收到控制信号时,并行输出到光电设备的位选通端,控制光电设备显示段数据。The third serial-to-parallel conversion chip, the third serial-to-parallel conversion chip is connected to the single-chip microcomputer through a clock line and a control line, and the data line of the third serial-to-parallel conversion chip is connected to the overflow terminal of the second serial-to-parallel conversion chip connected, the serial data overflowed by the second serial-to-parallel conversion chip is converted into parallel data when the clock signal is valid, and when the control line receives the control signal, it is output to the bit gate terminal of the photoelectric device in parallel, Controls optoelectronic devices to display segment data. 3.如权利要求1所述的驱动电路,其特征在于,所述第一串并转换芯片和第二串并转换芯片均为具有锁存功能的8位移位寄存器。3. The driving circuit according to claim 1, wherein the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip are both 8-bit shift registers with a latch function. 4.如权利要求1所述的驱动电路,其特征在于,所述第一串并转换芯片和第二串并转换芯片均为74LS595芯片或者74HC595芯片。4. The drive circuit according to claim 1, wherein the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip are both 74LS595 chips or 74HC595 chips. 5.如权利要求2所述的驱动电路,其特征在于,所述第三串并转换芯片为具有锁存功能的8位移位寄存器。5. The drive circuit according to claim 2, wherein the third serial-to-parallel conversion chip is an 8-bit shift register with a latch function. 6.一种光电设备的驱动控制器,其特征在于,所述光电设备的驱动控制器包括单片机和如权利要求1至5任一项所述的光电设备的驱动电路。6. A drive controller for an optoelectronic device, characterized in that the drive controller for the optoelectronic device comprises a single chip microcomputer and the drive circuit for the optoelectronic device according to any one of claims 1 to 5. 7.一种光电设备的驱动控制方法,所述光电设备包括多个光电单元,其特征在于,所述方法包括依次驱动控制所述光电设备的多个光电单元的步骤,驱动控制所述光电设备的一个光电单元的步骤具体如下:7. A method for driving and controlling an optoelectronic device, the optoelectronic device comprising a plurality of optoelectronic units, wherein the method comprises the step of sequentially driving and controlling a plurality of optoelectronic units of the optoelectronic device, and driving and controlling the optoelectronic device The steps of a photoelectric unit are as follows: 单片机发送串行数据给第一串并转换芯片;The MCU sends serial data to the first serial parallel conversion chip; 第一串并转换芯片将溢出的串行数据发送给第二串并转换芯片;The first serial-to-parallel conversion chip sends the overflowed serial data to the second serial-to-parallel conversion chip; 单片机发送时钟信号和控制信号给第一串并转换芯片和第二串并转换芯片;The microcontroller sends clock signals and control signals to the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip; 第一串并转换芯片和第二串并转换芯片在接收到有效时钟信号时,将串行数据转换为并行数据;The first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip convert serial data into parallel data when receiving a valid clock signal; 第一串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的段控制端;When the first serial-to-parallel conversion chip receives an effective control signal, it sends the parallel data to a segment control terminal of an optoelectronic unit of the optoelectronic device; 第二串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的位选通端。The second serial-to-parallel conversion chip sends the parallel data to the bit gate terminal of an optoelectronic unit of the optoelectronic device when receiving the valid control signal. 8.如权利要求7所述的方法,其特征在于,所述第一串并转换芯片将溢出的串行数据发送给第二串并转换芯片的步骤之后还包括下述步骤:将第二串并转换芯片溢出的串行数据发送给第三串并转换芯片;8. The method according to claim 7, characterized in that, after the first serial-to-parallel conversion chip sends the overflowed serial data to the second serial-to-parallel conversion chip, the step further includes: And convert the serial data overflowed by the chip to the third serial parallel conversion chip; 所述单片机发送时钟信号和控制信号给第一串并转换芯片和第二串并转换芯片的步骤之后还包括下述步骤:单片机发送时钟信号和控制信号给第三串并转换芯片;第三串并转换芯片在接收到有效时钟信号时,将串行数据转换为并行数据;After the step of sending the clock signal and the control signal to the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip, the single-chip microcomputer also includes the following steps: the single-chip microcomputer sends the clock signal and the control signal to the third serial-to-parallel conversion chip; And the conversion chip converts serial data into parallel data when it receives a valid clock signal; 所述第二串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的一个光电单元的位选通端的步骤之后还包括下述步骤:第三串并转换芯片在接收到有效控制信号时,将并行数据发送给光电设备的位选通端。When the second serial-to-parallel conversion chip receives an effective control signal, the step of sending the parallel data to the bit gate of an optoelectronic unit of the optoelectronic device also includes the following steps: the third serial-to-parallel conversion chip receives the effective Send parallel data to the bit strobe terminal of the optoelectronic device when controlling the signal. 9.如权利要求7所述的方法,其特征在于,所述第一串并转换芯片和第二串并转换芯片均为具有锁存功能的8位移位寄存器。9. The method according to claim 7, wherein the first serial-to-parallel conversion chip and the second serial-to-parallel conversion chip are both 8-bit shift registers with a latch function. 10.如权利要求8所述的方法,其特征在于,所述第三串并转换芯片为具有锁存功能的8位移位寄存器。10. The method according to claim 8, wherein the third serial-to-parallel conversion chip is an 8-bit shift register with a latch function.
CN2010105306284A 2010-11-03 2010-11-03 A kind of driving circuit of photoelectric equipment and its driving control method Pending CN102456308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105306284A CN102456308A (en) 2010-11-03 2010-11-03 A kind of driving circuit of photoelectric equipment and its driving control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105306284A CN102456308A (en) 2010-11-03 2010-11-03 A kind of driving circuit of photoelectric equipment and its driving control method

Publications (1)

Publication Number Publication Date
CN102456308A true CN102456308A (en) 2012-05-16

Family

ID=46039449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105306284A Pending CN102456308A (en) 2010-11-03 2010-11-03 A kind of driving circuit of photoelectric equipment and its driving control method

Country Status (1)

Country Link
CN (1) CN102456308A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800271A (en) * 2012-08-15 2012-11-28 无锡华润矽科微电子有限公司 Control method for multi-digit LED nixie tubes
CN103531141A (en) * 2013-10-16 2014-01-22 华为技术有限公司 Digital tube driving circuit and control method of digital tube driving circuit
CN104156337A (en) * 2014-08-20 2014-11-19 中国科学院上海高等研究院 A Selection Circuit of Peripheral Components
CN104461319A (en) * 2014-11-28 2015-03-25 卧龙电气集团股份有限公司 Extendable minimum connection wire scanning type interactive system for dehumidifier
CN105161041A (en) * 2015-08-28 2015-12-16 深圳市汇星数字技术有限公司 Bit-expandable *-shaped nixie tube driving system and digital video parsing system
CN105597124A (en) * 2015-12-29 2016-05-25 杨旭平 Infection prevention purification type breath intelligent nursing device
CN106297618A (en) * 2015-06-08 2017-01-04 无锡晶哲科技有限公司 A kind of algorithm reducing seven segment digital tubes operating power consumption
CN110444137A (en) * 2019-08-15 2019-11-12 重庆川仪速达机电有限公司 A kind of multidigit nixie tube display driver circuit and its control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297473A (en) * 1995-04-26 1996-11-12 Kokusai Electric Co Ltd Luminance data receiving circuit in led display device
CN2583763Y (en) * 2002-12-13 2003-10-29 中国科学院沈阳科学仪器研制中心 Twin wire double colour mixed light tube controller
CN2859722Y (en) * 2005-12-31 2007-01-17 肖炳君 Photoelectron neon lamp
JP2008009050A (en) * 2006-06-28 2008-01-17 Futaba Corp Fluorescent display apparatus and its driving method
CN201868068U (en) * 2010-11-03 2011-06-15 深圳信息职业技术学院 Driving circuit of photoelectric device and driving controller of driving circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297473A (en) * 1995-04-26 1996-11-12 Kokusai Electric Co Ltd Luminance data receiving circuit in led display device
CN2583763Y (en) * 2002-12-13 2003-10-29 中国科学院沈阳科学仪器研制中心 Twin wire double colour mixed light tube controller
CN2859722Y (en) * 2005-12-31 2007-01-17 肖炳君 Photoelectron neon lamp
JP2008009050A (en) * 2006-06-28 2008-01-17 Futaba Corp Fluorescent display apparatus and its driving method
CN201868068U (en) * 2010-11-03 2011-06-15 深圳信息职业技术学院 Driving circuit of photoelectric device and driving controller of driving circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴厚航: "《深入浅出玩转FPGA》", 31 May 2010, 北京航空航天大学出版社 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800271A (en) * 2012-08-15 2012-11-28 无锡华润矽科微电子有限公司 Control method for multi-digit LED nixie tubes
CN102800271B (en) * 2012-08-15 2015-07-01 无锡华润矽科微电子有限公司 Control method for multi-digit LED nixie tubes
CN103531141B (en) * 2013-10-16 2017-03-15 华为技术有限公司 A kind of Nixie tube drive circuit and its control method
CN103531141A (en) * 2013-10-16 2014-01-22 华为技术有限公司 Digital tube driving circuit and control method of digital tube driving circuit
WO2015055009A1 (en) * 2013-10-16 2015-04-23 华为技术有限公司 Digital tube driving circuit and control method thereof
CN104156337A (en) * 2014-08-20 2014-11-19 中国科学院上海高等研究院 A Selection Circuit of Peripheral Components
CN104156337B (en) * 2014-08-20 2017-08-15 中国科学院上海高等研究院 A kind of selection circuit of peripheral cell
CN104461319A (en) * 2014-11-28 2015-03-25 卧龙电气集团股份有限公司 Extendable minimum connection wire scanning type interactive system for dehumidifier
CN104461319B (en) * 2014-11-28 2018-05-22 卧龙电气集团股份有限公司 A kind of expansible minimum line scan-type interactive system of dehumidifier
CN106297618A (en) * 2015-06-08 2017-01-04 无锡晶哲科技有限公司 A kind of algorithm reducing seven segment digital tubes operating power consumption
CN105161041A (en) * 2015-08-28 2015-12-16 深圳市汇星数字技术有限公司 Bit-expandable *-shaped nixie tube driving system and digital video parsing system
CN105597124A (en) * 2015-12-29 2016-05-25 杨旭平 Infection prevention purification type breath intelligent nursing device
CN110444137A (en) * 2019-08-15 2019-11-12 重庆川仪速达机电有限公司 A kind of multidigit nixie tube display driver circuit and its control method

Similar Documents

Publication Publication Date Title
CN102456308A (en) A kind of driving circuit of photoelectric equipment and its driving control method
CN102708803B (en) Method for realizing controllable gray level of LED constant current driver and constant current driver
CN201868068U (en) Driving circuit of photoelectric device and driving controller of driving circuit
CN103295526B (en) A kind of LED display control program and method thereof
CN111526634B (en) Digital control module of flexible transparent screen LED driving chip
CN107659800A (en) A kind of DMD high frame frequency and high resolutions synchronous dynamic display system
CN103218985B (en) Transmission interface, transmission method, driving circuit thereof, display device, and electronic device
TW202008769A (en) Display device
CN103325344A (en) Interactive display device and method of LED (Light Emitting Diode) display driver
CN208126844U (en) A kind of eight segment numeral pipe static status display circuit structures suitable for 51 single-chip microcontrollers
CN209691366U (en) LED display driver IC
CN101916543A (en) Data communication method of LED display system
CN103813579B (en) Light emitting diode driving circuit and driving system of light emitting diode
CN205751468U (en) A kind of charactron dynamic scanning displaying cascaded circuit
CN105741757A (en) High-refresh-rate 1/16 scanning P4 full-color LED display device and scanning method thereof
CN209118742U (en) A kind of data transmission circuit and display device of low-power consumption
TWI581658B (en) Light-emitting diode driving circuit, light-emitting diode driving device and driving method
CN101969721B (en) Dual-wire data transmission method and device thereof
CN203456070U (en) Interactive display device of LED display driver
CN112074044A (en) Parallel LED lamp control system and control method
CN104678968A (en) Firefly luminous simulator
CN202171933U (en) LED (light-emitting diode) split-join display device with super high resolution rate
CN201788499U (en) Led scanning control chip device
CN103442482A (en) Light-emitting diode brightening pulse width modulation drive circuit
CN202285168U (en) Novel nixie tube with driver board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120516