LED display detection method and LED display driving system

By detecting the voltage value of the LED display module and automatically identifying and selecting the appropriate driving circuit unit, the problem of not being able to drive different LED lights with the same driving circuit system in the prior art is solved, automatic identification and wide application are realized, and user has been improved Experience.

CN111343753BActive Publication Date: 2024-12-27SHENZHEN SIYUAN SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010256759.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-02
Publication Date
2024-12-27
Estimated Expiration
2040-04-02

AI Technical Summary

Technical Problem

In the existing LED display scheme, if the chip pins are two, it is impossible to drive the display of different LED lights with the same driving circuit system, which leads to multiple confirmation of whether the chip provides the corresponding driving circuit, which increases the user's Workload and time.

Method used

Provides an LED display detection method and a driving system, by detecting the voltage values ​​of the first port and the second port of the LED power display module, judging the circuit type according to preset rules, and selecting the corresponding driving circuit unit to automatically identify and drive different Display of the number of LED lights.

Benefits of technology

It realizes automatic identification of different external LED light connection methods, and automatically selects driving circuits, expands product usage, improves user experience, and reduces user workload and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111343753B_ABST
    Figure CN111343753B_ABST
Patent Text Reader

Abstract

The present invention provides an LED display detection method, which includes the following steps: Step S1, when the system is powered on and started, the drive circuit module is disconnected from the LED power display module through the drive control module; Step S2, the detection module detects a first voltage value and a second voltage value, and determines the circuit type of the LED power display module to generate a detection result corresponding to it; Step S3, the drive control module is used to select a corresponding drive circuit unit according to the detection result, and then the selected drive circuit unit is electrically connected to the first port and the second port respectively; Step S4, the selected drive circuit unit is used to generate a drive signal and output it to the LED power display module. The present invention also provides an LED display drive system. Compared with the related art, the LED display detection method and LED display drive system of the present invention can automatically identify different external LED lamp connection methods to select a drive circuit, and the product has a wide range of uses and good user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of integrated circuits, and in particular to an LED display detection method and an LED display driving system. [Background technology]

[0002] With the development of power supply technology, LED displays are generally used to indicate the battery power level in products such as mobile power supplies and charging boxes for smart devices, so that users can more easily understand the battery power level. Among them, the driving circuit used to drive the LED display is an important circuit.

[0003] At present, there are many LED display solutions. Different user needs lead to different indication requirements. For example, in the four-LED light mode circuit, four LED lights are used to divide the displayed power into four sections, which can accurately indicate the battery power; while in the one-LED light mode circuit, only one LED light is needed to indicate "whether the battery has power". The chip of the LED display solution is limited by the packaging and volume, and the chip generally has two pins.

[0004] However, in the current LED display solution, there are two pins in the chip. The number of LED lights in the LED display solution ranges from one to four. Each solution has a separate driving circuit corresponding to the number of LED lights. When different LED display solutions appear, the same driving circuit system cannot be used to drive the display. After the user selects the LED display solution (i.e. the number of LED lights required), he needs to confirm again whether the chip provides the corresponding driving circuit; if the corresponding solution is not provided (i.e. the driving circuit solution related to the number of LED lights is provided), the corresponding chip needs to be replaced, which increases the user's working time and workload.

[0005] Therefore, it is necessary to provide a new method and device to solve the above technical problems. [Summary of the invention]

[0006] The purpose of the present invention is to overcome the above technical problems and provide an LED display detection method and LED display drive system which can automatically identify different external LED lamp connection methods to select a drive circuit and has a wide range of product applications.

[0007] In order to achieve the above object, the present invention provides an LED display detection method, which is applied to an LED display drive system. The LED display drive system includes an LED power display module, a detection module, a drive control module and a drive circuit module. The LED display detection method includes the following steps:

[0008] Step S1, when the system is powered on and started, the drive control module disconnects the drive circuit module from the LED power display module;

[0009] Step S2, electrically connecting the detection module to the first port and the second port of the LED power display module respectively, detecting the first port and the second port at the same time to measure a first voltage value corresponding to the first port and a second voltage value corresponding to the second port, and judging the circuit type of the LED power display module according to the first voltage value and the second voltage value according to a preset rule, and then generating a detection result corresponding to the circuit type according to the circuit type;

[0010] Step S3, using the drive control module to receive the detection result, and selecting a corresponding drive circuit unit according to the detection result, and electrically connecting the selected drive circuit unit to the first port and the second port respectively, wherein the drive circuit module pre-stores a plurality of drive circuit units corresponding to different detection results;

[0011] Step S4: using the selected driving circuit unit to generate a driving signal, and outputting the driving signal to the LED power display module, wherein the driving signal is used to control the LED power display module to display the LED power.

[0012] More preferably, in step S2, the detection module compares the first voltage value with a first reference voltage to generate a first digital signal, compares the first voltage value with a second reference voltage to generate a second digital signal, compares the second voltage value with the first reference voltage to generate a third digital signal, compares the second voltage value with the second reference voltage to generate a fourth digital signal, compares the first voltage value with VLED2-VOS to generate a fifth digital signal, and simultaneously compares the generated first digital signal, second digital signal, third digital signal, fourth digital signal and fifth digital signal with a preset comparison table to determine the circuit type;

[0013] in,

[0014] VLED2 is the second voltage value, and VOS is the voltage deviation value of the same type of LED lamp;

[0015] V1 is the voltage value of the first reference voltage and satisfies GND <V1<VDIO;

[0016] V2 is the voltage value of the second reference voltage and satisfies VDIO <V2<VCC。

[0017] Preferably, the circuit types include a one-LED mode circuit, a two-LED mode circuit, a three-LED mode circuit, a four-LED mode circuit, and an X mode circuit;

[0018] The preset rules are as follows:

[0019] When VLED1 = GND and VLED2 = VDIO, the circuit type is determined as the one-LED mode circuit;

[0020] When VLED1 = VCC and VLED2 = VDIO, the circuit type is determined as the two-LED mode circuit;

[0021] When VLED1 = VDIO and VLED2 = VCC, the circuit type is determined as the three-LED mode circuit;

[0022] When VLED1 = VDIO, VLED2 = 2 * VDIO, and at the same time VLED1 < VLED2 - VOS, the circuit type is determined as the three-LED mode circuit;

[0023] When VLED1 = VDIO, VLED2 = VDIO, and at the same time VLED1 ≥ VLED2 - VOS, the circuit type is determined as the four-LED mode circuit;

[0024] When VLED2 = GND, the circuit type is determined as the X mode circuit;

[0025] Wherein, both the first port and the second port are respectively pulled up by an internal current source to pull up the first voltage value and the second voltage value to the power supply voltage when the pins are floating;

[0026] VLED1 is the first voltage value, GND is the ground voltage of the first port and the second port, VDIO is the voltage value of the LED when the first port or the second port is grounded through the LED, and VCC is the power supply voltage.

[0027] The present invention also provides an LED display driving system, and the LED display driving system includes:

[0028] An LED power display module, the LED power display module includes a first port and a second port, and the LED power display module is used to display the LED power;

[0029] a detection module, the detection module being electrically connected to the first port and the second port of the LED power display module respectively, detecting the first port and the second port simultaneously to detect a first voltage value corresponding to the first port and a second voltage value corresponding to the second port, and judging a circuit type of the LED power display module according to a preset rule based on the first voltage value and the second voltage value, and then generating a detection result corresponding to the circuit type according to the circuit type;

[0030] A driving circuit module, wherein the driving circuit module pre-stores a plurality of driving circuit units corresponding to different detection results, the driving circuit unit generates a driving signal, and outputs the driving signal to the LED power display module, and the driving signal is used to control the LED power display module to display the LED power;

[0031] A drive control module, wherein the drive control module is connected to the drive circuit module and the detection module respectively, and the drive control module is used to disconnect the drive circuit module from the LED power display module when the LED display drive system is powered on and started. The drive control module is also used to receive the detection result, and select the corresponding drive circuit unit according to the detection result, and then electrically connect the selected drive circuit unit to the first port and the second port respectively.

[0032] More preferably, the detection module compares the first voltage value with a first reference voltage to generate a first digital signal, compares the first voltage value with a second reference voltage to generate a second digital signal, compares the second voltage value with the first reference voltage to generate a third digital signal, compares the second voltage value with the second reference voltage to generate a fourth digital signal, compares the first voltage value with VLED2-VOS to generate a fifth digital signal, and simultaneously compares the generated first digital signal, second digital signal, third digital signal, fourth digital signal and fifth digital signal with a preset comparison table to determine the circuit type;

[0033] in,

[0034] VLED2 is the second voltage value, and VOS is the voltage deviation value of the same type of LED lamp;

[0035] V1 is the voltage value of the first reference voltage and satisfies GND <V1<VDIO;

[0036] V2 is the voltage value of the second reference voltage and satisfies VDIO <V2<VCC。

[0037] More preferably, the circuit types include one LED lamp mode circuit, two LED lamp mode circuit, three LED lamp mode circuit, four LED lamp mode circuit and X mode circuit;

[0038] The preset rules are as follows:

[0039] When VLED1 = GND and VLED2 = VDIO, the circuit type is determined as the single LED lamp mode circuit;

[0040] When VLED1 = VCC and VLED2 = VDIO, the circuit type is determined as the two LED lamp mode circuit;

[0041] When VLED1 = VDIO and VLED2 = VCC, the circuit type is determined as the three LED lamp mode circuit;

[0042] When VLED1 = VDIO, VLED2 = 2 * VDIO, and at the same time VLED1 < VLED2 - VOS is satisfied, the circuit type is determined as the three LED lamp mode circuit;

[0043] When VLED1 = VDIO, VLED2 = VDIO, and at the same time VLED1 ≥ VLED2 - VOS is satisfied, the circuit type is determined as the four LED lamp mode circuit;

[0044] When VLED2 = GND, the circuit type is determined as the X mode circuit;

[0045] Wherein, both the first port and the second port are respectively pulled up by an internal current source to pull up the first voltage value and the second voltage value to the power supply voltage when the pins are floating;

[0046] VLED1 is the first voltage value, GND is the ground voltage of the first port and the second port, VDIO is the voltage value of the LED lamp when the first port or the second port is grounded through the LED lamp, and VCC is the power supply voltage.

[0047] Preferably, the detection module includes a first current source, a second current source, a first voltage source, a second voltage source, a third voltage source, a fourth voltage source, a fifth voltage source, a first comparator, a second comparator, a third comparator, a fourth comparator, a fifth comparator, and a judgment circuit unit;

[0048] The input end of the first current source is connected to the power supply voltage, and the output end of the first current source is respectively connected to the positive input end of the first comparator, the positive input end of the second comparator, and the first port;

[0049] The negative input end of the first comparator is connected to the positive extreme end of the first voltage source, and the output end of the first comparator is connected to the first input end of the judgment circuit unit;

[0050] The negative input terminal of the second comparator is connected to the positive terminal of the second voltage source, and the output terminal of the second comparator is connected to the second input terminal of the judgment circuit unit;

[0051] The negative terminal of the first voltage source, the negative terminal of the second voltage source, the negative terminal of the third voltage source and the negative terminal of the fourth voltage source are all connected to ground;

[0052] The input end of the second current source is connected to the power supply voltage, and the output end of the second current source is respectively connected to the positive input end of the third comparator, the positive input end of the fourth comparator, the positive end of the fifth voltage source and the second port;

[0053] The negative input terminal of the third comparator is connected to the positive terminal of the third voltage source, and the output terminal of the third comparator is connected to the third input terminal of the judgment circuit unit;

[0054] The negative input terminal of the fourth comparator is connected to the positive terminal of the fourth voltage source, and the output terminal of the fourth comparator is connected to the fourth input terminal of the judgment circuit unit;

[0055] The positive input terminal of the fifth comparator is connected to the negative terminal of the fifth voltage source, the negative input terminal of the fifth comparator is connected to the first port, and the output terminal of the fifth comparator is connected to the fourth input terminal of the judgment circuit unit;

[0056] The first output end of the judgment circuit unit, the second output end of the judgment circuit unit, the third output end of the judgment circuit unit, the fourth output end of the judgment circuit unit and the fifth output end of the judgment circuit unit are all connected to the drive control module;

[0057] Wherein, the judgment circuit unit includes the comparison table.

[0058] More preferably, the judgment circuit unit is a digital circuit.

[0059] More preferably, the output voltage value of the fifth voltage source is VOS.

[0060] More preferably, when the first output terminal outputs a valid signal, the circuit type is determined to be the single LED lamp mode circuit;

[0061] When the second output terminal outputs a valid signal, the circuit type is determined to be the two LED lamp mode circuit;

[0062] When the third output terminal outputs a valid signal, the circuit type is determined to be the three LED lamp mode circuit;

[0063] When the fourth output terminal outputs a valid signal, the circuit type is determined to be the four LED lamp mode circuit;

[0064] When the fifth output terminal outputs a valid signal, the circuit type is determined to be the X-mode circuit.

[0065] Compared with the prior art, an LED display detection method of the present invention adopts the following steps: step S1, when the system is powered on and started, the drive circuit module is disconnected from the LED power display module through the drive control module; step S2, the detection module is electrically connected to the first port and the second port of the LED power display module respectively, and the first port and the second port are detected at the same time to measure the first voltage value corresponding to the first port and the second voltage value corresponding to the second port, and the circuit type of the LED power display module is judged according to the first voltage value and the second voltage value according to a preset rule, and then a detection result corresponding to it is generated according to the circuit type; step S3, the drive control module is used to receive the detection result, and the corresponding drive circuit unit is selected according to the detection result, and the selected drive circuit unit is electrically connected to the first port and the second port respectively; step S4, the selected drive circuit unit is used to generate a drive signal, and the drive signal is output to the LED power display module. The LED display detection method and LED display driving system of the present invention detect the first port and the second port, determine the circuit type of the LED power display module by checking the first voltage value and the second voltage value, and then select the corresponding driving circuit unit according to the detection result, thereby realizing automatic identification of different external LED lamp connection methods, and automatically selecting the driving circuit to make the product have wide applications and good user experience.

Brief Description of the Drawings

[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0067] Figure 1 It is a flowchart of the LED display detection method of the present invention;

[0068] Figure 2 It is a structural block diagram of the LED display driving system of the present invention;

[0069] Figure 3 A circuit block diagram of a detection module of an LED display drive system of the present invention;

[0070] Figure 4 A circuit diagram of an LED lamp mode circuit of the LED display drive system of the present invention;

[0071] Figure 5 A circuit diagram of a two-LED lamp mode circuit of an LED display driving system of the present invention;

[0072] Figure 6 A circuit diagram of a three-LED lamp mode circuit of an LED display drive system of the present invention;

[0073] Figure 7 A circuit diagram of a four-LED lamp mode circuit of an LED display drive system of the present invention;

[0074] Figure 8 FIG. 4 is a circuit diagram of an X-mode circuit of an LED display driving system of the present invention. [Specific implementation method]

[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0076] Please refer to Figure 1 As shown, the present invention provides an LED display detection method. The LED display detection method is applied to an LED display drive system, which includes an LED power display module, a detection module, a drive control module and a drive circuit module.

[0077] The LED display detection method comprises the following steps:

[0078] Step S1: When the system is powered on and started, the drive control module is used to connect and disconnect the drive circuit module from the LED power display module.

[0079] In the step S1, disconnecting the driving circuit module from the LED power display module is beneficial to the subsequent detection by the detection module.

[0080] Step S2, electrically connecting the detection module to the first port and the second port of the LED power display module respectively, and simultaneously detecting the first port and the second port to detect a first voltage value corresponding to the first port and a second voltage value corresponding to the second port, and judging the circuit type of the LED power display module according to the first voltage value and the second voltage value according to preset rules, and then generating a corresponding detection result according to the circuit type.

[0081] Wherein, the LED power display module includes the first port and the second port. In this embodiment, the first port and the second port are both analog pins.

[0082] The first voltage value is a voltage value of the first port, and the second voltage value is a voltage value of the second port.

[0083] The detection result may be a digital signal or an analog signal.

[0084] Step S3: using the drive control module to receive the detection result, selecting a corresponding drive circuit unit according to the detection result, and electrically connecting the selected drive circuit unit to the first port and the second port respectively.

[0085] The driving circuit module pre-stores a plurality of driving circuit units corresponding to different detection results. In this embodiment, the circuit types include one LED lamp mode circuit, two LED lamp mode circuit, three LED lamp mode circuit, four LED lamp mode circuit and X mode circuit.

[0086] In step S2, the detection module compares the first voltage value with a first reference voltage to generate a first digital signal, compares the first voltage value with a second reference voltage to generate a second digital signal, compares the second voltage value with the first reference voltage to generate a third digital signal, compares the second voltage value with the second reference voltage to generate a fourth digital signal, compares the first voltage value with VLED2-VOS to generate a fifth digital signal, and simultaneously compares the generated first digital signal, second digital signal, third digital signal, fourth digital signal and fifth digital signal with a preset comparison table to determine the circuit type.

[0087] in,

[0088] VLED2 is the second voltage value, and VOS is the voltage deviation value of the same type of LED lamp.

[0089] V1 is the voltage value of the first reference voltage and satisfies GND <V1<VDIO。

[0090] V2 is the voltage value of the second reference voltage and satisfies VDIO <V2<VCC。

[0091] The preset rules are:

[0092] When VLED1 = GND, VLED2 = VDIO, the circuit type is determined to be the single LED lamp mode circuit.

[0093] When VLED1 = VCC and VLED2 = VDIO, the circuit type is determined as the two-LED lamp mode circuit.

[0094] When VLED1 = VDIO and VLED2 = VCC, the circuit type is determined as the three-LED lamp mode circuit.

[0095] When VLED1 = VDIO, VLED2 = 2 * VDIO, and at the same time VLED1 < VLED2 - VOS is satisfied, the circuit type is determined as the three-LED lamp mode circuit.

[0096] When VLED1 = VDIO, VLED2 = VDIO, and at the same time VLED1 ≥ VLED2 - VOS is satisfied, the circuit type is determined as the four-LED lamp mode circuit.

[0097] When VLED2 = GND, the circuit type is determined as the X mode circuit.

[0098] Among them,

[0099] Both the first port and the second port are respectively pulled up by an internal current source to pull up the first voltage value and the second voltage value to the power supply voltage when the pins are floating.

[0100] VLED1 is the first voltage value.

[0101] GND is the ground voltage of the first port and the ground voltage of the second port.

[0102] VDIO is the voltage value of the LED lamp when the first port or the second port is grounded through the LED lamp.

[0103] VCC is the power supply voltage.

[0104] The relationship of the above preset rules is shown in Table 1:

[0105]

[0106]

[0107] Table 1 Relationship Table of Preset Rules

[0108] In this embodiment, when the deviation of VOS is less than VDIO / 3, VOS = VDIO / 2 can be selected.

[0109] Step S4: Generate a driving signal by using the selected driving circuit unit and output the driving signal to the LED power display module, and the driving signal is used to control the LED power display module to display the LED power.

[0110] The implementation of the above steps enables the LED display detection method of the present invention to detect the first port and the second port, determine the circuit type of the LED power display module by checking the first voltage value VLED1 and the second voltage value VLED2, and then select the corresponding driving circuit unit according to the detection result, thereby realizing automatic identification of different external LED lamp connection methods, thereby automatically selecting the driving circuit to make the product have wide uses and good user experience.

[0111] Please also refer to Figure 2-3 As shown, the present invention further provides an LED display driving system 100. The LED display driving system 100 comprises an LED power display module 1, a driving circuit module 2, a detection module 3 and a driving control module 4.

[0112] The LED power display module 1 includes a first port 11 and a second port 12. The LED power display module 1 is used to display the LED power. The LED power display module 1 includes multiple circuit types for displaying the LED power.

[0113] In this embodiment, the circuit types include a one LED lamp mode circuit, a two LED lamp mode circuit, a three LED lamp mode circuit, a four LED lamp mode circuit and an X mode circuit.

[0114] Please refer to Figure 4 As shown, the circuit structure 101 of an LED lamp mode circuit is as follows: the first port 11 is connected to the ground GND, and the second port 12 is connected to the ground via the first LED lamp D1 in series.

[0115] Please refer to Figure 5 As shown, the circuit structure 102 of the two-LED lamp mode circuit is: the first port 11 is connected to the power supply voltage VCC through the third LED lamp D3 in series, and the second port 12 is grounded through the third LED lamp D3 in series.

[0116] Please refer to Figure 6 As shown, the circuit structure 103 of the three LED lamp mode circuit is:

[0117] The first ports 11 are respectively connected to the cathode terminal of the fourth LED lamp D4 , the anode terminal of the fifth LED lamp D4 , and the anode terminal of the sixth LED lamp D4 .

[0118] A cathode terminal of the sixth LED lamp D4 is connected to the ground GND via a first series resistor R1.

[0119] The second port 12 is connected to the positive terminal of the fourth LED lamp D4 and the negative terminal of the fifth LED lamp D4 respectively.

[0120] Please refer to Figure 7 As shown, the circuit structure 104 of the four LED lamp mode circuit is:

[0121] The first ports 11 are respectively connected to the cathode terminal of the seventh LED lamp D4 , the anode terminal of the eighth LED lamp D4 , and the anode terminal of the tenth LED lamp D4 .

[0122] The cathode terminal of the tenth LED lamp D4 is connected to the ground GND via a third resistor R3 in series.

[0123] The second port 12 is respectively connected to the positive terminal of the seventh LED lamp D4 , the negative terminal of the eighth LED lamp D4 , and the positive terminal of the ninth LED lamp D4 .

[0124] The cathode terminal of the ninth LED lamp D4 is connected to the ground GND via a second series resistor R2.

[0125] Please refer to Figure 8 As shown, the circuit structure 105 of the X-mode circuit is:

[0126] The second port 12 is connected to the ground GND.

[0127] The driving circuit module 2 includes a plurality of driving circuit units 21. The driving circuit unit 21 generates a driving signal and outputs the driving signal to the LED power display module 1. The driving signal is used to control the LED power display module 1 to display the LED power.

[0128] Specifically, each driving circuit unit 21 corresponds to one of the circuit types.

[0129] The detection module 3 is electrically connected to the first port 11 and the second port 12 of the LED power display module 1 respectively, and simultaneously detects the first port 11 and the second port 12 to detect a first voltage value VLED1 corresponding to the first port 11 and a second voltage value VLED2 corresponding to the second port 12, and determines the circuit type of the LED power display module 1 according to the first voltage value VLED1 and the second voltage value VLED2 according to a preset rule, and then generates a detection result corresponding to the circuit type.

[0130] in,

[0131] The detection results correspond one-to-one to the driving circuit units 21. That is, the driving circuit module 2 pre-stores a plurality of driving circuit units 21 corresponding to different detection results.

[0132] The first voltage value VLED1 is the voltage value of the first port 11, and the second voltage value VLED2 is the voltage value of the second port 12.

[0133] In this embodiment, the detection module 3 compares VLED1 with the first reference voltage V1 to generate a first digital signal VO1, compares VLED1 with the second reference voltage V2 to generate a second digital signal VO2, compares VLED2 with the first reference voltage V1 to generate a third digital signal VO3, compares VLED2 with the second reference voltage V2 to generate a fourth digital signal VO4, compares VLED1 with VLED2 - VOS to generate a fifth digital signal VO5, and simultaneously processes the generated first digital signal VO1, second digital signal VO2, third digital signal VO3, fourth digital signal VO4, and fifth digital signal VO5 according to a preset look-up table to determine the circuit type.

[0134] Wherein,

[0135] VLED1 is the first voltage value.

[0136] VLED2 is the second voltage value.

[0137] VOS is the voltage deviation value of LED lights of the same type.

[0138] V1 is the voltage value of the first reference voltage and satisfies GND < V1 < VDIO.

[0139] V2 is the voltage value of the second reference voltage and satisfies VDIO < V2 < VCC.

[0140] The preset rules are as follows:

[0141] When VLED1 = GND and VLED2 = VDIO, the circuit type is determined to be the single LED light mode circuit.

[0142] When VLED1 = VCC and VLED2 = VDIO, the circuit type is determined to be the two LED lights mode circuit.

[0143] When VLED1 = VDIO and VLED2 = VCC, the circuit type is determined to be the three LED lights mode circuit.

[0144] When VLED1 = VDIO, VLED2 = 2 * VDIO, and at the same time VLED1 < VLED2 - VOS, the circuit type is determined to be the three LED lights mode circuit.

[0145] When VLED1 = VDIO, VLED2 = VDIO, and VLED1 ≥ VLED2 - VOS, the circuit type is determined to be the four-LED lamp mode circuit.

[0146] When VLED2 = GND, the circuit type is determined to be the X-mode circuit.

[0147] in,

[0148] The first port 11 and the second port 12 are respectively pulled up via internal current sources so that the first voltage value VLED1 and the second voltage value VLED2 are pulled up to the power supply voltage VCC when the pins are floating.

[0149] GND is a ground voltage of the first port 11 and a ground voltage of the second port 12 .

[0150] VDIO is a voltage value of the LED lamp when the first port 11 or the second port 12 is grounded through the LED lamp.

[0151] VCC is the power supply voltage.

[0152] The relationship between the above-mentioned preset rules is shown in Table 1.

[0153] The operation of the detection module 3 is described below through a specific circuit structure of a specific embodiment.

[0154] The detection module 3 includes a first current source IS1, a second current source IS2, a first voltage source VR1, a second voltage source VR2, a third voltage source VR3, a fourth voltage source VR4, a fifth voltage source VR5, a first comparator COM1, a second comparator COM2, a third comparator COM3, a fourth comparator COM4, ​​a fifth comparator COM5 and a judgment circuit unit 31.

[0155] An input terminal of the first current source IS1 is connected to a power supply voltage, and an output terminal of the first current source IS1 is connected to a positive input terminal of the first comparator COM1 , a positive input terminal of the second comparator COM2 , and the first port 11 , respectively.

[0156] A negative input terminal of the first comparator COM1 is connected to a positive terminal of the first voltage source VR1 , and an output terminal of the first comparator COM1 is connected to a first input terminal of the judgment circuit unit 31 .

[0157] A negative input terminal of the second comparator COM2 is connected to a positive terminal of the second voltage source VR2 , and an output terminal of the second comparator COM2 is connected to a second input terminal of the judgment circuit unit 31 .

[0158] A negative terminal of the first voltage source VR1 , a negative terminal of the second voltage source VR2 , a negative terminal of the third voltage source VR3 , and a negative terminal of the fourth voltage source VR4 are all connected to the ground.

[0159] The input end of the second current source IS2 is connected to the power supply voltage, and the output end of the second current source IS2 is respectively connected to the positive input end of the third comparator COM3, the positive input end of the fourth comparator COM4, ​​the positive terminal of the fifth voltage source VR5 and the second port 12.

[0160] A negative input terminal of the third comparator COM3 is connected to a positive terminal of the third voltage source VR3 , and an output terminal of the third comparator COM3 is connected to a third input terminal of the judgment circuit unit 31 .

[0161] A negative input terminal of the fourth comparator COM4 is connected to a positive terminal of the fourth voltage source VR4 , and an output terminal of the fourth comparator COM4 is connected to a fourth input terminal of the judgment circuit unit 31 .

[0162] The positive input terminal of the fifth comparator COM5 is connected to the negative terminal of the fifth voltage source VR5, the negative input terminal of the fifth comparator COM5 is connected to the first port 11, and the output terminal of the fifth comparator COM5 is connected to the fourth input terminal of the judgment circuit unit 31. The output voltage value of the fifth voltage source VR5 is VOS.

[0163] The first output terminal Y1 of the judgment circuit unit 31, the second output terminal Y2 of the judgment circuit unit 31, the third output terminal Y3 of the judgment circuit unit 31, the fourth output terminal Y4 of the judgment circuit unit 31 and the fifth output terminal Y5 of the judgment circuit unit 31 are all connected to the drive control module 4.

[0164] In this embodiment, when the first output terminal Y1 outputs a valid signal, the circuit type is determined to be the one LED lamp mode circuit. When the second output terminal Y2 outputs a valid signal, the circuit type is determined to be the two LED lamp mode circuit. When the third output terminal Y3 outputs a valid signal, the circuit type is determined to be the three LED lamp mode circuit. When the fourth output terminal Y4 outputs a valid signal, the circuit type is determined to be the four LED lamp mode circuit. When the fifth output terminal Y5 outputs a valid signal, the circuit type is determined to be the X mode circuit.

[0165] The judging circuit unit 31 includes the comparison table. The judging circuit unit 31 is a digital circuit.

[0166] The drive control module 4 is connected to the drive circuit module 2 and the detection module 3 respectively. The drive control module 4 is used to disconnect the drive circuit module 2 from the LED power display module 1 when the LED display drive system 100 is powered on. The drive control module 4 is also used to receive the detection result, and select the corresponding drive circuit unit 21 according to the detection result, and then electrically connect the selected drive circuit unit 21 to the first port 11 and the second port 12 respectively. The operation of the drive control module 4 can automatically identify different external LED light connection methods, so as to automatically select the drive circuit, so that the product has a wide range of uses and a good user experience.

[0167] It should be pointed out that the LED power display module 1, the drive circuit module 2, the detection module 3 and the drive control module 4 used in the LED display drive system 100 are all circuits, modules, chips and components commonly used in the field. Designers can choose them according to the actual performance and requirements of the product, and they are not described in detail here.

[0168] Compared with the prior art, an LED display detection method of the present invention adopts the following steps: step S1, when the system is powered on and started, the drive circuit module is disconnected from the LED power display module through the drive control module; step S2, the detection module is electrically connected to the first port and the second port of the LED power display module respectively, and the first port and the second port are detected at the same time to measure the first voltage value corresponding to the first port and the second voltage value corresponding to the second port, and the circuit type of the LED power display module is judged according to the first voltage value and the second voltage value according to a preset rule, and then a detection result corresponding to it is generated according to the circuit type; step S3, the drive control module is used to receive the detection result, and the corresponding drive circuit unit is selected according to the detection result, and the selected drive circuit unit is electrically connected to the first port and the second port respectively; step S4, the selected drive circuit unit is used to generate a drive signal, and the drive signal is output to the LED power display module. The LED display detection method and LED display driving system of the present invention detect the first port and the second port, determine the circuit type of the LED power display module by checking the first voltage value and the second voltage value, and then select the corresponding driving circuit unit according to the detection result, thereby realizing automatic identification of different external LED lamp connection methods, and automatically selecting the driving circuit to make the product have wide applications and good user experience.

[0169] The above description is only an implementation mode of the present invention. It should be pointed out that, for ordinary technicians in this field, improvements can be made without departing from the creative concept of the present invention, but these all belong to the protection scope of the present invention.

Claims

1. An LED display detection method, applied to an LED display drive system, the LED display drive system includes an LED power display module, a detection module, a drive control module and a drive circuit module, characterized in that: The LED display detection method comprises the following steps: Step S1, when the system is powered on and started, the drive control module disconnects the drive circuit module from the LED power display module; Step S2, electrically connecting the detection module to the first port and the second port of the LED power display module respectively, detecting the first port and the second port at the same time to measure a first voltage value corresponding to the first port and a second voltage value corresponding to the second port, and judging the circuit type of the LED power display module according to the first voltage value and the second voltage value according to a preset rule, and then generating a detection result corresponding to the circuit type according to the circuit type; Step S3, using the drive control module to receive the detection result, and selecting a corresponding drive circuit unit according to the detection result, and electrically connecting the selected drive circuit unit to the first port and the second port respectively, wherein the drive circuit module pre-stores a plurality of drive circuit units corresponding to different detection results; Step S4, using the selected driving circuit unit to generate a driving signal, and outputting the driving signal to the LED power display module, wherein the driving signal is used to control the LED power display module to display the LED power; In the step S2, the detection module compares the first voltage value with a first reference voltage to generate a first digital signal, compares the first voltage value with a second reference voltage to generate a second digital signal, compares the second voltage value with the first reference voltage to generate a third digital signal, compares the second voltage value with the second reference voltage to generate a fourth digital signal, compares the first voltage value with VLED2-VOS to generate a fifth digital signal, and simultaneously compares the generated first digital signal, second digital signal, third digital signal, fourth digital signal and fifth digital signal with a preset comparison table to determine the circuit type; in, VLED2 is the second voltage value, and VOS is the voltage deviation value of the same type of LED lamp; V1 is the voltage value of the first reference voltage and satisfies GND< V1 <VDIO; V2 is the voltage value of the second reference voltage, and satisfies VDIO < V2 <VCC; The circuit types include one LED lamp mode circuit, two LED lamp mode circuit, three LED lamp mode circuit, four LED lamp mode circuit and X mode circuit; The preset rules are: When VLED1=GND, VLED2=VDIO, the circuit type is determined to be the single LED lamp mode circuit; When VLED1=VCC, VLED2=VDIO, the circuit type is determined to be the two LED lamp mode circuit; When VLED1=VDIO, VLED2=VCC, the circuit type is determined to be the three LED lamp mode circuit; When VLED1=VDIO, VLED2=2*VDIO, and VLED1<VLED2-VOS, the circuit type is determined to be the three LED lamp mode circuit; When VLED1=VDIO, VLED2=VDIO, and VLED1≥VLED2-VOS, the circuit type is determined to be the four LED lamp mode circuit; When VLED2=GND, the circuit type is determined to be the X-mode circuit; Wherein, the first port and the second port are respectively pulled up by an internal current source so that the first voltage value and the second voltage value are pulled up to the power supply voltage when the pins are floating; VLED1 is the first voltage value, GND is the ground voltage of the first port and the ground voltage of the second port, VDIO is the voltage value of the LED lamp when the first port or the second port is grounded through the LED lamp, and VCC is the power supply voltage.

2. An LED display driving system, characterized in that: The LED display driving system comprises: An LED power display module, the LED power display module comprises a first port and a second port, and the LED power display module is used to display the LED power; a detection module, the detection module being electrically connected to the first port and the second port of the LED power display module respectively, detecting the first port and the second port simultaneously to detect a first voltage value corresponding to the first port and a second voltage value corresponding to the second port, and judging a circuit type of the LED power display module according to a preset rule based on the first voltage value and the second voltage value, and then generating a detection result corresponding to the circuit type according to the circuit type; A driving circuit module, wherein the driving circuit module pre-stores a plurality of driving circuit units corresponding to different detection results, the driving circuit unit generates a driving signal, and outputs the driving signal to the LED power display module, and the driving signal is used to control the LED power display module to display the LED power; A drive control module, the drive control module is connected to the drive circuit module and the detection module respectively, the drive control module is used to disconnect the drive circuit module from the LED power display module when the LED display drive system is powered on and started, the drive control module is also used to receive the detection result, and select the corresponding drive circuit unit according to the detection result, and then electrically connect the selected drive circuit unit to the first port and the second port respectively; The detection module compares the first voltage value with a first reference voltage to generate a first digital signal, compares the first voltage value with a second reference voltage to generate a second digital signal, compares the second voltage value with the first reference voltage to generate a third digital signal, compares the second voltage value with the second reference voltage to generate a fourth digital signal, compares the first voltage value with VLED2-VOS to generate a fifth digital signal, and simultaneously compares the generated first digital signal, second digital signal, third digital signal, fourth digital signal and fifth digital signal with a preset comparison table to determine the circuit type; in, VLED2 is the second voltage value, and VOS is the voltage deviation value of the same type of LED lamp; V1 is the voltage value of the first reference voltage and satisfies GND< V1 <VDIO; V2 is the voltage value of the second reference voltage, and satisfies VDIO < V2 <VCC; The circuit types include one LED lamp mode circuit, two LED lamp mode circuit, three LED lamp mode circuit, four LED lamp mode circuit and X mode circuit; The preset rules are: When VLED1=GND, VLED2=VDIO, the circuit type is determined to be the single LED lamp mode circuit; When VLED1=VCC, VLED2=VDIO, the circuit type is determined to be the two LED lamp mode circuit; When VLED1=VDIO, VLED2=VCC, the circuit type is determined to be the three LED lamp mode circuit; When VLED1=VDIO, VLED2=2*VDIO, and VLED1<VLED2-VOS, the circuit type is determined to be the three LED lamp mode circuit; When VLED1=VDIO, VLED2=VDIO, and VLED1≥VLED2-VOS, the circuit type is determined to be the four LED lamp mode circuit; When VLED2=GND, the circuit type is determined to be the X-mode circuit; Wherein, the first port and the second port are respectively pulled up by an internal current source so that the first voltage value and the second voltage value are pulled up to the power supply voltage when the pins are floating; VLED1 is the first voltage value, GND is the ground voltage of the first port and the ground voltage of the second port, VDIO is the voltage value of the LED lamp when the first port or the second port is grounded through the LED lamp, and VCC is the power supply voltage.

3. The LED display driving system according to claim 2, characterized in that: The detection module includes a first current source, a second current source, a first voltage source, a second voltage source, a third voltage source, a fourth voltage source, a fifth voltage source, a first comparator, a second comparator, a third comparator, a fourth comparator, a fifth comparator and a judgment circuit unit; An input terminal of the first current source is connected to a power supply voltage, and an output terminal of the first current source is connected to a positive input terminal of the first comparator, a positive input terminal of the second comparator and the first port respectively; The negative input terminal of the first comparator is connected to the positive terminal of the first voltage source, and the output terminal of the first comparator is connected to the first input terminal of the judgment circuit unit; The negative input terminal of the second comparator is connected to the positive terminal of the second voltage source, and the output terminal of the second comparator is connected to the second input terminal of the judgment circuit unit; The negative terminal of the first voltage source, the negative terminal of the second voltage source, the negative terminal of the third voltage source and the negative terminal of the fourth voltage source are all connected to ground; The input end of the second current source is connected to the power supply voltage, and the output end of the second current source is respectively connected to the positive input end of the third comparator, the positive input end of the fourth comparator, the positive end of the fifth voltage source and the second port; The negative input terminal of the third comparator is connected to the positive terminal of the third voltage source, and the output terminal of the third comparator is connected to the third input terminal of the judgment circuit unit; The negative input terminal of the fourth comparator is connected to the positive terminal of the fourth voltage source, and the output terminal of the fourth comparator is connected to the fourth input terminal of the judgment circuit unit; The positive input terminal of the fifth comparator is connected to the negative terminal of the fifth voltage source, the negative input terminal of the fifth comparator is connected to the first port, and the output terminal of the fifth comparator is connected to the fourth input terminal of the judgment circuit unit; The first output end of the judgment circuit unit, the second output end of the judgment circuit unit, the third output end of the judgment circuit unit, the fourth output end of the judgment circuit unit and the fifth output end of the judgment circuit unit are all connected to the drive control module; Wherein, the judgment circuit unit includes the comparison table.

4. The LED display driving system according to claim 3, characterized in that: The judgment circuit unit is a digital circuit.

5. The LED display driving system according to claim 3, characterized in that: The output voltage of the fifth voltage source is VOS.

6. The LED display driving system according to claim 3, characterized in that: When the first output terminal outputs a valid signal, the circuit type is determined to be the single LED lamp mode circuit; When the second output terminal outputs a valid signal, the circuit type is determined to be the two LED lamp mode circuit; When the third output terminal outputs a valid signal, the circuit type is determined to be the three LED lamp mode circuit; When the fourth output terminal outputs a valid signal, the circuit type is determined to be the four LED lamp mode circuit; When the fifth output terminal outputs a valid signal, the circuit type is determined to be the X-mode circuit.