TWI396468B - Light source circuit and electronic apparatus - Google Patents

Light source circuit and electronic apparatus Download PDF

Info

Publication number
TWI396468B
TWI396468B TW97144759A TW97144759A TWI396468B TW I396468 B TWI396468 B TW I396468B TW 97144759 A TW97144759 A TW 97144759A TW 97144759 A TW97144759 A TW 97144759A TW I396468 B TWI396468 B TW I396468B
Authority
TW
Taiwan
Prior art keywords
voltage
resistor
coupled
light emitting
light source
Prior art date
Application number
TW97144759A
Other languages
Chinese (zh)
Other versions
TW201021616A (en
Inventor
min yu Huang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW97144759A priority Critical patent/TWI396468B/en
Publication of TW201021616A publication Critical patent/TW201021616A/en
Application granted granted Critical
Publication of TWI396468B publication Critical patent/TWI396468B/en

Links

Landscapes

  • Led Devices (AREA)
  • Control Of El Displays (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Description

光源電路與電子裝置Light source circuit and electronic device

本發明是有關於一種光源電路與電子裝置,且特別是有關於一種可以檢測信號狀態並進行電壓轉換的光源電路與電子裝置。The present invention relates to a light source circuit and an electronic device, and more particularly to a light source circuit and an electronic device capable of detecting a signal state and performing voltage conversion.

邏輯閘是在集成電路(Integrated Circuit,IC)上的基本組件。簡單的邏輯閘可以利用電晶體組成,並且可以使得信號通過邏輯閘之後,產生高電平或者低電平的信號。上述高電平與低電平可以分別代表邏輯上的「真」與「假」或二進位當中的「1」與「0」,從而實現邏輯運算。並且,邏輯閘可以組合使用實現更為複雜的邏輯運算。Logic gates are the basic components on an integrated circuit (IC). A simple logic gate can be made up of a transistor and can cause a high or low signal after the signal passes through the logic gate. The above high level and low level can respectively represent logical "true" and "false" or "1" and "0" among the binary, thereby implementing logical operations. Moreover, logic gates can be combined to achieve more complex logic operations.

一般來說,利用反及閘(NAND Gate)所設計出的電路,使用者無法直接判斷輸入信號狀態(輸入信號由反及閘的輸入端輸入)。如此一來,將會增加輸入信號檢測的複雜度。In general, with the circuit designed by the NAND Gate, the user cannot directly judge the state of the input signal (the input signal is input from the input of the reverse gate). As a result, the complexity of input signal detection will increase.

本發明的目的就是在提供一種光源電路與電子裝置,藉此可以檢測信號狀態,還可以進行電壓轉換。SUMMARY OF THE INVENTION It is an object of the present invention to provide a light source circuit and an electronic device whereby signal states can be detected and voltage conversion can be performed.

本發明提出一種光源電路,包括第一發光二極體、第二發光二極體與選擇單元。第一發光二極體的陰極接收第一輸入信號,其陽極接收第一電壓。第二發光二極體的陰極接收第二輸入信號,其陽極接收第一電壓。選擇單元用以接收第二電壓與第三電壓,並依據第一發光二極體與第 二發光二極體的導通狀態而選擇第二電壓或第三電壓作為輸出電壓。The invention provides a light source circuit comprising a first light emitting diode, a second light emitting diode and a selection unit. The cathode of the first light emitting diode receives the first input signal and the anode receives the first voltage. The cathode of the second LED receives a second input signal, the anode of which receives the first voltage. The selecting unit is configured to receive the second voltage and the third voltage, and according to the first light emitting diode and the first The second light source or the third voltage is selected as the output voltage by the conduction state of the two light emitting diodes.

在本發明一實施例中,光源電路更包括第一電阻與與分壓電路。第一電阻耦接於第一電壓與第一發光二極體的陽極之間。分壓電路具有輸入端與輸出端,分壓電路的輸入端耦接至第一發光二極體的陽極,分壓電路的輸出端產生一分壓信號並傳送至選擇單元,其中,選擇單元會依據分壓信號,而選擇第二電壓或第三電壓作為輸出電壓。In an embodiment of the invention, the light source circuit further includes a first resistor and a voltage dividing circuit. The first resistor is coupled between the first voltage and the anode of the first LED. The voltage dividing circuit has an input end and an output end, and the input end of the voltage dividing circuit is coupled to the anode of the first light emitting diode, and the output end of the voltage dividing circuit generates a voltage dividing signal and transmits the signal to the selecting unit, wherein The selection unit selects the second voltage or the third voltage as the output voltage according to the voltage division signal.

在本發明一實施例中,分壓電路包括第二電阻與第三電阻。第二電阻的第一端耦接至第一發光二極體的陽極,其第二端產生分壓信號。第三電阻的第一端耦接至第二電阻的第二端,其第二端耦接至接地端。In an embodiment of the invention, the voltage dividing circuit includes a second resistor and a third resistor. The first end of the second resistor is coupled to the anode of the first light emitting diode, and the second end thereof generates a voltage dividing signal. The first end of the third resistor is coupled to the second end of the second resistor, and the second end of the third resistor is coupled to the ground.

在本發明一實施例中,選擇單元包括第四電阻與電晶體。第四電阻的第一端接收第二電壓,其第二端產生輸出電壓。電晶體的基極端接收分壓信號,其射極端接收第三電壓,其汲極端耦接至第四電阻的第二端。In an embodiment of the invention, the selection unit includes a fourth resistor and a transistor. The first end of the fourth resistor receives the second voltage and the second end produces an output voltage. The base terminal of the transistor receives the divided voltage signal, the emitter terminal receives the third voltage, and the drain terminal is coupled to the second terminal of the fourth resistor.

在本發明一實施例中,第一電壓與第二電壓相同。In an embodiment of the invention, the first voltage is the same as the second voltage.

在本發明一實施例中,第一電壓與第二電壓不同。In an embodiment of the invention, the first voltage is different from the second voltage.

在本發明一實施例中,第三電壓為接地電壓。In an embodiment of the invention, the third voltage is a ground voltage.

本發明提出一種電子裝置,包括網路模組、至少二發光二極體與選擇單元。網路模組用以產生至少二網路信號。上述發光二極體的陰極接收二網路信號,上述發光二極體的陽極接收第一電壓。選擇單元用以接收第二電壓與第三電壓,並依據二發光二極體的導通狀態而選擇第二電 壓或第三電壓作為輸出電壓。The invention provides an electronic device comprising a network module, at least two light emitting diodes and a selection unit. The network module is configured to generate at least two network signals. The cathode of the light-emitting diode receives a two-network signal, and the anode of the light-emitting diode receives the first voltage. The selecting unit is configured to receive the second voltage and the third voltage, and select the second power according to the conductive state of the two light emitting diodes The voltage or the third voltage is used as the output voltage.

在本發明一實施例中,電子裝置更括第一電阻與分壓電路。第一電阻耦接於第一電壓與二發光二極體的陽極之間。分壓電路包括第二電阻與第三電阻。第二電阻的第一端耦接至二發光二極體的陽極,其第二端產生分壓信號。第三電阻的第一端耦接至第二電阻的第二端,其第二端耦接至接地端。In an embodiment of the invention, the electronic device further includes a first resistor and a voltage dividing circuit. The first resistor is coupled between the first voltage and the anode of the two light emitting diodes. The voltage dividing circuit includes a second resistor and a third resistor. The first end of the second resistor is coupled to the anode of the two light emitting diodes, and the second end of the second resistor generates a voltage dividing signal. The first end of the third resistor is coupled to the second end of the second resistor, and the second end of the third resistor is coupled to the ground.

在本發明一實施例中,選擇單元包括第四電阻與電晶體。第四電阻的第一端接收第二電壓,其第二端產生輸出電壓。電晶體的基極端接收分壓信號,其射極端接收第三電壓,其汲極端耦接至第四電阻的第二端。In an embodiment of the invention, the selection unit includes a fourth resistor and a transistor. The first end of the fourth resistor receives the second voltage and the second end produces an output voltage. The base terminal of the transistor receives the divided voltage signal, the emitter terminal receives the third voltage, and the drain terminal is coupled to the second terminal of the fourth resistor.

本發明藉由發光二極體的導通(發光)與否來檢測輸入信號(或網路信號)的狀態。並且,選擇單元也利用發光二極體的導通與否,來進行電壓轉換來產生輸出電壓(亦即選擇第二電壓與第三電壓作為輸出電壓)。藉此,本發明可以檢測信號的狀態外,還可以進行電壓轉換。另外,本發明除了可以藉由發光二極體來檢測輸入信號的狀態,亦可藉由輸出電壓來檢測輸入信號的狀態,故可增加檢測輸入信號的便利性。The present invention detects the state of an input signal (or a network signal) by the conduction (lighting) of the light emitting diode. Further, the selection unit also performs voltage conversion using the conduction or not of the light-emitting diode to generate an output voltage (that is, selects the second voltage and the third voltage as output voltages). Thereby, the present invention can detect the state of the signal and can also perform voltage conversion. In addition, in the present invention, the state of the input signal can be detected by the light emitting diode, and the state of the input signal can be detected by the output voltage, so that the convenience of detecting the input signal can be increased.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <RTIgt;

圖1繪示為本發明一實施例之光源電路的電路圖。請 參照圖1,本實施例所提供的光源電路100可以包括發光二極體L1與L2以及選擇單元110。發光二極體L1的陰極接收輸入信號IN1,發光二極體L1的陽極接收電壓V1。發光二極體L2的陰極接收輸入信號IN2,發光二極體L2的陽極接收電壓V2。選擇單元110用以接收電壓V2與V3,並依據發光二極體L1與L2的導通狀態而選擇電壓V2或V3作為輸出電壓VO。FIG. 1 is a circuit diagram of a light source circuit according to an embodiment of the invention. please Referring to FIG. 1, the light source circuit 100 provided in this embodiment may include LEDs L1 and L2 and a selection unit 110. The cathode of the light-emitting diode L1 receives the input signal IN1, and the anode of the light-emitting diode L1 receives the voltage V1. The cathode of the light-emitting diode L2 receives the input signal IN2, and the anode of the light-emitting diode L2 receives the voltage V2. The selecting unit 110 is configured to receive the voltages V2 and V3, and select the voltage V2 or V3 as the output voltage VO according to the conduction states of the LEDs L1 and L2.

在整體作動上,當輸入信號IN1與IN2其中之一為邏輯低電壓準位(Low),或是輸入信號IN1與IN2同時為邏輯低電壓準位時,使得發光二極體L1與L2其中之一導通(發光),或是發光二極體L1與L2同時導通(發光)。藉此,選擇單元110會選擇電壓V2作為輸出電壓VO。In the overall operation, when one of the input signals IN1 and IN2 is a logic low voltage level (Low), or the input signals IN1 and IN2 are simultaneously at a logic low voltage level, the LEDs L1 and L2 are made therein. One is turned on (lighting), or the light emitting diodes L1 and L2 are simultaneously turned on (lighting). Thereby, the selection unit 110 selects the voltage V2 as the output voltage VO.

另一方面,當輸入信號IN1與IN2同時為邏輯高電壓準位(High)時,使得發光二極體L1與L2都不導通(不發光)。藉此,選擇單元110會選擇電壓V3作為輸出電壓VO。在本實施例中,電壓V1與V2的電壓大小為相同,且例如為工作電壓5V,而電壓V3可以為接地電壓。藉此,光源電路100除了可以檢視並顯示出輸入信號IN1與IN2的狀態外,還可以進行電壓轉換的動作,亦即選擇單元110會依據發光二極體L1與L2的導通狀態,而選擇電壓V2與V3其中之一作為輸出電壓VO。On the other hand, when the input signals IN1 and IN2 are simultaneously at the logic high voltage level (High), the light-emitting diodes L1 and L2 are not turned on (not emitting light). Thereby, the selection unit 110 selects the voltage V3 as the output voltage VO. In the present embodiment, the voltages of the voltages V1 and V2 are the same, and for example, the operating voltage is 5V, and the voltage V3 can be the ground voltage. Therefore, in addition to the state in which the input signals IN1 and IN2 can be viewed and displayed, the light source circuit 100 can perform a voltage conversion operation, that is, the selection unit 110 selects a voltage according to the conduction states of the LEDs L1 and L2. One of V2 and V3 is used as the output voltage VO.

在另一實施例中,使用者可視需求將電壓V2設為與電壓V1不同,亦即電壓V2可以設為3.3V或1.8V,但不限制其範圍。In another embodiment, the user can set the voltage V2 to be different from the voltage V1 as needed, that is, the voltage V2 can be set to 3.3V or 1.8V, but the range is not limited.

圖2繪示為本發明一實施例之光源電路的詳細電路圖。請參照圖2,光源電路100還可以包括電阻R1與分壓電路210。電阻R1耦接於電壓V1與發光二極體L1的陽極之間,用以作為一限流電阻。2 is a detailed circuit diagram of a light source circuit according to an embodiment of the invention. Referring to FIG. 2, the light source circuit 100 may further include a resistor R1 and a voltage dividing circuit 210. The resistor R1 is coupled between the voltage V1 and the anode of the LED L1 to serve as a current limiting resistor.

分壓電路210的輸入端耦接至發光二極體L1的陽極,分壓電路210的輸出端產生分壓信號並傳送至選擇單元110。選擇單元110便會依據分壓信號,而選擇電壓V2或V3作為輸出電壓VO。在本實施例中,分壓電路210可以包括電阻R2與R3。電阻R2的第一端耦接至發光二極體L1的陽極,電阻R2的第二端產生分壓信號。電阻R3的第一端耦接至電阻R2的第二端,電阻R3的第二端耦接至接地端GND。The input end of the voltage dividing circuit 210 is coupled to the anode of the LED L1, and the output of the voltage dividing circuit 210 generates a voltage dividing signal and transmits it to the selecting unit 110. The selection unit 110 selects the voltage V2 or V3 as the output voltage VO according to the voltage division signal. In the present embodiment, the voltage dividing circuit 210 may include resistors R2 and R3. The first end of the resistor R2 is coupled to the anode of the LED L1, and the second end of the resistor R2 generates a voltage dividing signal. The first end of the resistor R3 is coupled to the second end of the resistor R2, and the second end of the resistor R3 is coupled to the ground GND.

另外,選擇單元110可以包括電阻R4與電晶體Tr1。電阻R4的第一端接收電壓V2,電阻R4的第二端產生輸出電壓VO。電晶體Tr1的基極端接收分壓信號,電晶體Tr1的射極端接收電壓V3,電晶體Tr1的汲極端耦接至電阻R4的第二端。In addition, the selection unit 110 may include a resistor R4 and a transistor Tr1. The first end of the resistor R4 receives the voltage V2, and the second end of the resistor R4 produces the output voltage VO. The base terminal of the transistor Tr1 receives the divided voltage signal, the emitter terminal of the transistor Tr1 receives the voltage V3, and the 汲 terminal of the transistor Tr1 is coupled to the second terminal of the resistor R4.

在整體作動上,當輸入信號IN1與IN2其中之一為邏輯低電壓準位,或是輸入信號IN1與IN2同時為邏輯低電壓準位時,使得發光二極體L1與L2其中之一導通(發光),或是發光二極體L1與L2同時導通(發光)。此時,電阻R2的第一端的電壓會降低,而使得電阻R3上的壓降也跟著降低。而分壓電路210所產生的分壓信號與電阻R3上的壓降相同,並且會被傳送至電晶體Tr1的基極端。由 於分壓信號低於電晶體Tr1的導通電壓,故電晶體Tr1不導通。而在電晶體Tr1不導通的狀態下,輸出電壓VO就直接為電壓V2。In the overall operation, when one of the input signals IN1 and IN2 is at a logic low voltage level, or the input signals IN1 and IN2 are simultaneously at a logic low voltage level, one of the LEDs L1 and L2 is turned on ( Light-emitting), or the light-emitting diodes L1 and L2 are simultaneously turned on (light-emitting). At this time, the voltage at the first end of the resistor R2 is lowered, and the voltage drop across the resistor R3 is also lowered. The voltage dividing signal generated by the voltage dividing circuit 210 is the same as the voltage drop across the resistor R3, and is transmitted to the base terminal of the transistor Tr1. by Since the divided voltage is lower than the turn-on voltage of the transistor Tr1, the transistor Tr1 is not turned on. On the other hand, in a state where the transistor Tr1 is not turned on, the output voltage VO is directly the voltage V2.

另一方面,當輸入信號IN1與IN2同時為邏輯高電壓準位時,使得發光二極體L1與L2都不導通(不發光)由於發光二極體L1與L2都不導通,使得電阻R3上的壓降增加,亦即使得分壓電路210所產生的分壓信號的電壓增加,故電晶體Tr1導通。由於電晶體Tr1導通,輸出電壓VO則為電壓V3。在本實施例中,電壓V1與V2的電壓大小為相同,且例如為工作電壓5V,而電壓V3可以為接地電壓。藉此,光源電路100除了可以檢視並顯示出輸入信號IN1與IN2的狀態外,還可以進行電壓轉換的動作,亦即選擇單元110會依據發光二極體L1與L2的導通狀態,而選擇電壓V2與V3其中之一作為輸出電壓VO。在另一實施例中,使用者可視需求將電壓V2設為與電壓V1不同,亦即電壓V2可以設為3.3V或1.8V,但不限制其範圍。On the other hand, when the input signals IN1 and IN2 are at the logic high voltage level at the same time, the light-emitting diodes L1 and L2 are not turned on (not emitting light), since the light-emitting diodes L1 and L2 are not turned on, so that the resistor R3 is on The voltage drop is increased, and even if the voltage of the divided voltage signal generated by the scoring circuit 210 is increased, the transistor Tr1 is turned on. Since the transistor Tr1 is turned on, the output voltage VO is the voltage V3. In the present embodiment, the voltages of the voltages V1 and V2 are the same, and for example, the operating voltage is 5V, and the voltage V3 can be the ground voltage. Therefore, in addition to the state in which the input signals IN1 and IN2 can be viewed and displayed, the light source circuit 100 can perform a voltage conversion operation, that is, the selection unit 110 selects a voltage according to the conduction states of the LEDs L1 and L2. One of V2 and V3 is used as the output voltage VO. In another embodiment, the user can set the voltage V2 to be different from the voltage V1 as needed, that is, the voltage V2 can be set to 3.3V or 1.8V, but the range is not limited.

另外,由上述的說明,可以整理出輸入信號IN1、IN2與輸出電壓VO的對應關係,如表1所示。且由表1所示的電應關係,可以看出光源電路100可以作為一反及閘(NAND Gate)使用。如此一來,本實施例所提供的光源電路100不僅可以檢視輸入信號IN1、IN2的狀態,還可以作為反及閘使用來進行電壓轉換。此外,本實施例之光源電路100除了可以直接利用發光二極體導通與否來檢測 輸入信號IN1、IN2的狀態,亦可藉由輸出電壓VO的狀態,來推測輸入信號IN1、IN2的狀態。因此,本實施例可以增加檢測輸入信號IN1、IN2的便利性。Further, from the above description, the correspondence relationship between the input signals IN1, IN2 and the output voltage VO can be arranged as shown in Table 1. And from the electrical dependence shown in Table 1, it can be seen that the light source circuit 100 can be used as a NAND Gate. In this way, the light source circuit 100 provided in this embodiment can not only view the state of the input signals IN1 and IN2, but also can be used as a reverse gate for voltage conversion. In addition, the light source circuit 100 of the present embodiment can detect whether the light emitting diode is directly turned on or not. The state of the input signals IN1 and IN2 can be estimated by the state of the output voltage VO, and the states of the input signals IN1 and IN2 can be estimated. Therefore, the present embodiment can increase the convenience of detecting the input signals IN1, IN2.

圖3繪示為本發明一實施例之一種電子裝置的電路方塊圖。請參照圖3,本實施例所提供的電子裝置300包括網路模組310、發光二極體LE1~LEn與選擇單元320,其中n為大於1的正整數。網路模組310用以產生網路信號NS1~NSn。發光二極體LE1~LEn的陰極接收網路信號NS1~NSn,發光二極體LE1~LEn的陽極接收電壓V4。選擇單元320用以接收電壓V5與電壓V6,並依據發光二極體LE1~LEn的導通狀態而選擇電壓V5或電壓V6作為輸出電壓VO1。3 is a circuit block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 3 , the electronic device 300 provided in this embodiment includes a network module 310 , LEDs LE1 LE LEN and a selection unit 320 , where n is a positive integer greater than 1. The network module 310 is configured to generate network signals NS1~NSn. The cathodes of the light-emitting diodes LE1 to LEn receive the network signals NS1 to NSn, and the anodes of the light-emitting diodes LE1 to LEn receive the voltage V4. The selecting unit 320 is configured to receive the voltage V5 and the voltage V6, and select the voltage V5 or the voltage V6 as the output voltage VO1 according to the conduction state of the LEDs LE1 LE LEn.

在本實施例中,發光二極體LE1~LEn的數量可以依據網路模組310所產生網路信號NS1~NSn的數量來調整,也就是說,若網路信號為2個,則發光二極體也配置2個,網路信號為8個,則發光二極體則配置8個,以此類推。 藉此,使用者便可以藉由發光二極體的導通(發光)與否,來檢視網路信號NS1~NSn的狀態。In this embodiment, the number of the LEDs LE1~LEn can be adjusted according to the number of network signals NS1~NSn generated by the network module 310, that is, if the network signal is two, the light is two. There are also 2 poles, 8 network signals, 8 LEDs, and so on. Thereby, the user can check the state of the network signals NS1 to NSn by the conduction (lighting) of the light-emitting diodes.

另外,電子裝置300的整體作動可以參照圖1實施例之說明,故在此不再贅述。並且,本實施例之電子裝置300亦可產生與反及閘電路相同的作用。如此一來,電子裝置300除了可以檢視網路信號NS1~NSn的狀態外,還可以進行電壓轉換。In addition, the overall operation of the electronic device 300 can be referred to the description of the embodiment of FIG. 1, and thus will not be described herein. Moreover, the electronic device 300 of the present embodiment can also generate the same function as the anti-gate circuit. In this way, the electronic device 300 can perform voltage conversion in addition to the state of the network signals NS1 to NSn.

圖4繪示為本發明一實施例之電子裝置的詳細電路圖。請參照圖4,本實施例所提供的電子裝置300還可以包括電阻R5與分壓電路410。電阻R5耦接於電壓V4與發光二極體LE1~LEn的陽極之間,用以作為一限流電阻。4 is a detailed circuit diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 4 , the electronic device 300 provided in this embodiment may further include a resistor R5 and a voltage dividing circuit 410 . The resistor R5 is coupled between the voltage V4 and the anode of the LEDs LE1 LE LEn to serve as a current limiting resistor.

分壓電路410的輸入端耦接至發光二極體LE1~LEn的陽極,分壓電路410的輸出端產生分壓信號並傳送至選擇單元320。而選擇單元320便會依據分壓信號,而選擇電壓V5或電壓V6作為輸出電壓VO1。並且,分壓電路410可以包括電阻R6與R7。電阻R6的第一端耦接至發光二極體LE1~LEn的陽極,電阻R6的第二端產生分壓信號。電阻R7的第一端耦接至電阻R6的第二端,電阻R7的第二端耦接至接地端GND。The input end of the voltage dividing circuit 410 is coupled to the anodes of the LEDs LE1 LE LEn, and the output of the voltage dividing circuit 410 generates a voltage dividing signal and transmits it to the selecting unit 320. The selection unit 320 selects the voltage V5 or the voltage V6 as the output voltage VO1 according to the voltage division signal. Also, the voltage dividing circuit 410 may include resistors R6 and R7. The first end of the resistor R6 is coupled to the anode of the LEDs LE1 LE LEn, and the second end of the resistor R6 generates a voltage dividing signal. The first end of the resistor R7 is coupled to the second end of the resistor R6, and the second end of the resistor R7 is coupled to the ground GND.

另外,選擇單元320可以包括電阻R8與電晶體Tr2。電阻R8的第一端接收電壓V5,電阻R8的第二端產生輸出電壓VO1。電晶體Tr2的基極端接收分壓信號,電晶體Tr2的射極端接收電壓V6,電晶體Tr2的汲極端耦接至電阻R8的第二端。In addition, the selection unit 320 may include a resistor R8 and a transistor Tr2. The first end of the resistor R8 receives the voltage V5, and the second end of the resistor R8 produces the output voltage VO1. The base terminal of the transistor Tr2 receives the divided voltage signal, the emitter terminal of the transistor Tr2 receives the voltage V6, and the drain terminal of the transistor Tr2 is coupled to the second terminal of the resistor R8.

本實施例之電子裝置300的整體作動可以參照圖2實施例之說明,故在此不再贅述。並且,電子裝置300亦可產生與反及閘電路相同的作用。如此一來,電子裝置300除了可以檢視網路信號NS1~NSn的狀態外,還可以進行電壓轉換來產生輸出電壓,並且也可以藉由輸出電壓來檢測網路信號NS1~NSn的狀態。For the overall operation of the electronic device 300 of this embodiment, reference may be made to the description of the embodiment of FIG. 2, and thus no further details are provided herein. Moreover, the electronic device 300 can also generate the same function as the anti-gate circuit. In this way, in addition to the state of the network signals NS1 to NSn, the electronic device 300 can perform voltage conversion to generate an output voltage, and can also detect the state of the network signals NS1 to NSn by the output voltage.

綜上所述,本發明藉由發光二極體的導通(發光)與否來檢測輸入信號(或網路信號)的狀態。並且,選擇單元也利用發光二極體的導通與否,來進行電壓轉換來產生輸出電壓(亦即選擇第二電壓與第三電壓作為輸出電壓)。藉此,本發明可以檢測信號的狀態外,還可以進行電壓轉換。另外,本發明除了可以藉由發光二極體來檢測輸入信號的狀態,亦可藉由輸出電壓來檢測輸入信號的狀態,故可增加檢測輸入信號的便利性。In summary, the present invention detects the state of an input signal (or a network signal) by the conduction (lighting) of the light emitting diode. Further, the selection unit also performs voltage conversion using the conduction or not of the light-emitting diode to generate an output voltage (that is, selects the second voltage and the third voltage as output voltages). Thereby, the present invention can detect the state of the signal and can also perform voltage conversion. In addition, in the present invention, the state of the input signal can be detected by the light emitting diode, and the state of the input signal can be detected by the output voltage, so that the convenience of detecting the input signal can be increased.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

100‧‧‧光源電路100‧‧‧Light source circuit

L1、L2、LE1~LEn‧‧‧發光二極體L1, L2, LE1~LEn‧‧‧Light Emitting Diodes

V1、V2、V3、V4、V5、V6‧‧‧電壓V1, V2, V3, V4, V5, V6‧‧‧ voltage

VO、VO1‧‧‧輸出電壓VO, VO1‧‧‧ output voltage

300‧‧‧電子裝置300‧‧‧Electronic devices

110、320‧‧‧選擇單元110, 320‧‧‧Selection unit

R1~R8‧‧‧電阻R1~R8‧‧‧ resistance

Tr1、Tr2‧‧‧電晶體Tr1, Tr2‧‧‧ transistor

IN1、IN2‧‧‧輸入信號IN1, IN2‧‧‧ input signal

210、410‧‧‧分壓電路210, 410‧‧‧voltage circuit

310‧‧‧網路模組310‧‧‧Network Module

NS1~NSn‧‧‧網路信號NS1~NSn‧‧‧ network signal

圖1繪示為本發明一實施例之光源電路的電路方塊圖。1 is a circuit block diagram of a light source circuit according to an embodiment of the invention.

圖2繪示為本發明一實施例之光源電路的詳細電路方塊圖。2 is a detailed circuit block diagram of a light source circuit according to an embodiment of the invention.

圖3繪示為本發明一實施例之電子裝置的電路方塊 圖。3 is a circuit block diagram of an electronic device according to an embodiment of the invention. Figure.

圖4繪示為本發明一實施例之電子裝置的詳細電路方塊圖。4 is a detailed circuit block diagram of an electronic device according to an embodiment of the invention.

100‧‧‧光源電路100‧‧‧Light source circuit

L1、L2‧‧‧發光二極體L1, L2‧‧‧Light Emitting Diodes

IN1、IN2‧‧‧輸入信號IN1, IN2‧‧‧ input signal

V1、V2、V3‧‧‧電壓V1, V2, V3‧‧‧ voltage

110‧‧‧選擇單元110‧‧‧Selection unit

VO‧‧‧輸出電壓VO‧‧‧ output voltage

Claims (10)

一種光源電路,其包括:一第一發光二極體,其陰極接收一第一輸入信號,其陽極接收一第一電壓;一第二發光二極體,其陰極接收一第二輸入信號,其陽極接收該第一電壓;以及一選擇單元,用以接收一第二電壓與一第三電壓,並分別耦接該第一發光二極體及該第二發光二極體的陽極,以依據該第一發光二極體與該第二發光二極體的導通狀態而選擇該第二電壓或該第三電壓作為一輸出電壓。 A light source circuit comprising: a first light emitting diode, a cathode of which receives a first input signal, an anode of which receives a first voltage; a second light emitting diode whose cathode receives a second input signal, The anode receives the first voltage; and a selection unit is configured to receive a second voltage and a third voltage, and respectively coupled to the first LED and the anode of the second LED to The second light source or the third voltage is selected as an output voltage by the first light emitting diode and the second light emitting diode. 如申請專利範圍第1項所述之光源電路,更包括:一第一電阻,耦接於該第一電壓與該第一發光二極體的陽極之間;以及一分壓電路,具有一輸入端與一輸出端,該輸入端耦接至該第一發光二極體的陽極,該輸出端產生一分壓信號並傳送至該選擇單元,其中,該選擇單元會依據該分壓信號,而選擇該第二電壓或該第三電壓作為該輸出電壓。 The light source circuit of claim 1, further comprising: a first resistor coupled between the first voltage and the anode of the first LED; and a voltage dividing circuit having a An input end and an output end coupled to the anode of the first LED, the output end generates a voltage division signal and is transmitted to the selection unit, wherein the selection unit is based on the voltage division signal The second voltage or the third voltage is selected as the output voltage. 如申請專利範圍第2項所述之光源電路,其中該分壓電路包括:一第二電阻,其第一端耦接至該第一發光二極體的陽極,其第二端產生該分壓信號;以及一第三電阻,其第一端耦接至該第二電阻的第二端,其第二端耦接至接地端。 The light source circuit of claim 2, wherein the voltage dividing circuit comprises: a second resistor having a first end coupled to the anode of the first light emitting diode and a second end generating the minute And a third resistor, the first end of which is coupled to the second end of the second resistor, and the second end of which is coupled to the ground. 如申請專利範圍第1項所述之光源電路,其中該選擇單元包括:一第四電阻,其第一端接收該第二電壓,其第二端產生該輸出電壓;以及一電晶體,其基極端接收該分壓信號,其射極端接收該第三電壓,其汲極端耦接至該第四電阻的第二端。 The light source circuit of claim 1, wherein the selecting unit comprises: a fourth resistor, the first end receiving the second voltage, the second end generating the output voltage; and a transistor, the base thereof The voltage receiving signal is extremely received, the emitter terminal receives the third voltage, and the drain terminal is coupled to the second terminal of the fourth resistor. 如申請專利範圍第1項所述之光源電路,其中該第一電壓與該第二電壓相同。 The light source circuit of claim 1, wherein the first voltage is the same as the second voltage. 如申請專利範圍第1項所述之光源電路,其中該第一電壓與該第二電壓不同。 The light source circuit of claim 1, wherein the first voltage is different from the second voltage. 如申請專利範圍第1項所述之光源電路,其中該第三電壓為一接地電壓。 The light source circuit of claim 1, wherein the third voltage is a ground voltage. 一種電子裝置,包括:一網路模組,用以產生至少二網路信號;至少二發光二極體,該些發光二極體的陰極耦接該網路模組以接收該二網路信號,該些發光二極體的陽極接收一第一電壓;以及一選擇單元,用以接收一第二電壓與一第三電壓,並分別耦接該些發光二極體的陽極,以依據該些發光二極體的導通狀態而選擇該第二電壓或該第三電壓作為一輸出電壓。 An electronic device includes: a network module for generating at least two network signals; at least two light emitting diodes, wherein the cathodes of the light emitting diodes are coupled to the network module to receive the two network signals The anodes of the light emitting diodes receive a first voltage; and a selection unit for receiving a second voltage and a third voltage, and respectively coupling the anodes of the light emitting diodes to The second voltage or the third voltage is selected as an output voltage by the conduction state of the light emitting diode. 如申請專利範圍第8項所述之電子裝置,更包括:一第一電阻,耦接於該第一電壓與該些發光二極體的陽極之間;以及 一分壓電路,包括:一第二電阻,其第一端耦接至該些發光二極體的陽極,其第二端產生一分壓信號;以及一第三電阻,其第一端耦接至該第二電阻的第二端,其第二端耦接至接地端;其中,該選擇單元會依據該分壓信號,而選擇該第二電壓或該第三電壓作為該輸出電壓。 The electronic device of claim 8, further comprising: a first resistor coupled between the first voltage and the anodes of the light emitting diodes; a voltage dividing circuit comprising: a second resistor having a first end coupled to the anodes of the light emitting diodes, a second end generating a voltage dividing signal; and a third resistor having a first end coupled The second end of the second resistor is coupled to the ground end; wherein the selecting unit selects the second voltage or the third voltage as the output voltage according to the voltage dividing signal. 如申請專利範圍第8項所述之電子裝置,其中該選擇單元包括:一第四電阻,其第一端接收該第二電壓,其第二端產生該輸出電壓;以及一電晶體,其基極端接收該分壓信號,其射極端接收該第三電壓,其汲極端耦接至該第四電阻的第二端。 The electronic device of claim 8, wherein the selecting unit comprises: a fourth resistor, the first end receiving the second voltage, the second end generating the output voltage; and a transistor, the base thereof The voltage receiving signal is extremely received, the emitter terminal receives the third voltage, and the drain terminal is coupled to the second terminal of the fourth resistor.
TW97144759A 2008-11-19 2008-11-19 Light source circuit and electronic apparatus TWI396468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97144759A TWI396468B (en) 2008-11-19 2008-11-19 Light source circuit and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97144759A TWI396468B (en) 2008-11-19 2008-11-19 Light source circuit and electronic apparatus

Publications (2)

Publication Number Publication Date
TW201021616A TW201021616A (en) 2010-06-01
TWI396468B true TWI396468B (en) 2013-05-11

Family

ID=44832697

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97144759A TWI396468B (en) 2008-11-19 2008-11-19 Light source circuit and electronic apparatus

Country Status (1)

Country Link
TW (1) TWI396468B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559810B (en) * 2014-05-23 2016-11-21 友達光電股份有限公司 Display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003249383A (en) * 2002-02-25 2003-09-05 Patoraito:Kk Failure diagnostic circuit for led indicator
US20080056716A1 (en) * 2006-05-26 2008-03-06 Seiko Epson Corporation Electro-optical device and electronic apparatus
TW200834512A (en) * 2007-02-15 2008-08-16 Novatek Microelectronics Corp Switch apparatus, light source apparatus using the same, and method for controlling light source apparatus
TWM340667U (en) * 2008-04-30 2008-09-11 Inventec Corp Apparatus for displaying network state

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003249383A (en) * 2002-02-25 2003-09-05 Patoraito:Kk Failure diagnostic circuit for led indicator
US20080056716A1 (en) * 2006-05-26 2008-03-06 Seiko Epson Corporation Electro-optical device and electronic apparatus
TW200834512A (en) * 2007-02-15 2008-08-16 Novatek Microelectronics Corp Switch apparatus, light source apparatus using the same, and method for controlling light source apparatus
TWM340667U (en) * 2008-04-30 2008-09-11 Inventec Corp Apparatus for displaying network state

Also Published As

Publication number Publication date
TW201021616A (en) 2010-06-01

Similar Documents

Publication Publication Date Title
US9198242B2 (en) Apparatus for driving LEDs using high voltage
US8098992B2 (en) Multipurpose infrared apparatus and display apparatus thereof
JP5955878B2 (en) Optical isolator multi-voltage detection circuit
US20140178200A1 (en) Indicating circuit for indicating rotation speed of a fan and electronic device using the indicating circuit
WO2014187018A1 (en) Short circuit protection circuit and electronic device having same
US20140184265A1 (en) Test circuit for power supply unit
TWI396468B (en) Light source circuit and electronic apparatus
JP2003174415A (en) Optical transmitting device
EP2503690A3 (en) Backdrive protection circuit
WO2014187017A1 (en) Overvoltage protection circuit and electronic device having same
TWI477194B (en) Light emitting diode drive device
US8614583B2 (en) Voltage detection circuit
US20150022121A1 (en) Light-emitting control circuit and electronic device using the same
US9966834B2 (en) Power supply protecting apparatus
CN216531282U (en) Driving and scanning circuit and electronic equipment
US7982626B2 (en) Proper grounding detection and alarm circuit for electronic device
TW200723560A (en) Light-emitting semiconductor device with open-bypass function
US20140111100A1 (en) Control circuit for light-emitting diodes
CN214845699U (en) Short circuit detection reminding circuit
CN205642666U (en) Temperature test equipment
KR101746916B1 (en) Detection senor and control method for detection sensor
EP3310132A1 (en) Light emitting diode driving circuit for reducing flicker effect
TWI428056B (en) Driving circuit used for current-driven device and light emitting device
CN101737746A (en) Light source circuit and electronic device
KR101174010B1 (en) Apparatus for delivering input voltage of light emitting diode lighting system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees