Controllable constant current source circuit suitable for optical axis rocker
By introducing a voltage stabilizing circuit, a temperature compensation circuit and a current control circuit into the constant current source circuit, the problem that the constant current source circuit is susceptible to temperature drift and the triode Early effect is solved, and the high stability and efficient operation of the constant current source are achieved. , improving the response speed and user experience of the optical axis joystick.
Patent Information
- Application Number
- CN202420282917.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-02-05
AI Technical Summary
The existing constant current source circuit is easily affected by temperature drift and the triode Early effect, resulting in poor stability and low work efficiency, making it difficult to control the current size and affecting the stability and response speed of the optical axis rocker signal.
A controllable constant current source circuit including a power input circuit, a voltage stabilizing circuit, a temperature compensation circuit, a current control circuit and an Early effect elimination circuit is designed. The voltage stabilizing circuit and temperature compensation circuit reduce the temperature drift and eliminate the triode Early effect. Effect, the current control circuit is used to flexibly adjust the current size to ensure the stability and efficient operation of the constant current source.
It effectively reduces the impact of the constant current source circuit on temperature drift, eliminates the triode Early effect, improves the stability and working efficiency of the constant current source, ensures the stability and response speed of the optical axis rocker signal, and improves the user experience. .
Smart Images

Figure CN221884192U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of constant current source circuits, in particular to a controllable constant current source circuit suitable for an optical axis rocker. Background Art
[0002] In a game controller, the joystick is the core input component, and its performance directly affects the user experience. The joysticks of a game controller mainly include carbon film joysticks and Hall joysticks, but carbon film joysticks have wear problems and Hall joysticks have magnetic interference problems. In order to solve these problems, optical axis joysticks came into being. They transmit signals through infrared light and can improve the response speed of the joystick.
[0003] The working principle of the optical axis joystick is to change the light flux between the infrared transmitting tube and the receiving tube by shaking the joystick, thereby changing the electrical signal of the infrared receiving tube, and judging the position of the joystick according to this electrical signal. In order to avoid the drift of the optical axis joystick signal, the infrared transmitting tube needs to be driven by a constant current source of about 5-10mA. The requirements for this constant current source are that the temperature drift should be small, the volume should be small, and the current size should be controllable. The existing constant current source circuits on the market are mainly used to drive LEDs, and the constant current value is from tens of mA to hundreds of mA. On the one hand, the constant current source circuits on the market are greatly affected by temperature drift and the Early effect of the transistor. For example, the components on the constant current source circuit will change with the change of temperature, which will cause the current to change, thereby affecting the stability of the constant current source; the current amplification factor of the transistor in the constant current source circuit will change with the change of current, and this phenomenon may cause the stability of the constant current source to deteriorate; on the other hand, it is difficult for the constant current source circuit to control the current size, which affects the working efficiency of the constant current source circuit. Utility Model Content
[0004] In order to solve the problems that the current constant current source circuit is easily affected by temperature drift and the Early effect of the transistor, and the constant current source stability and circuit working efficiency are poor, the utility model proposes a controllable constant current source circuit suitable for the optical axis joystick, which reduces the influence of temperature drift on the constant current source circuit, eliminates the Early effect of the transistor, ensures the stability of the constant current source, flexibly controls the current size through the circuit, and improves the circuit working efficiency.
[0005] In order to achieve the above technical effects, the technical solution of the utility model is as follows:
[0006] A controllable constant current source circuit suitable for an optical axis joystick comprises: a power input circuit, a voltage stabilizing circuit, a temperature compensation circuit, a current control circuit, an Early effect elimination circuit and an infrared emitting tube, wherein the power input circuit is respectively connected to the voltage stabilizing circuit, the temperature compensation circuit and the current control circuit, the temperature compensation circuit is respectively connected to the voltage stabilizing circuit, the current control circuit and the Early effect elimination circuit, the Early effect elimination circuit is connected to the infrared emitting tube, and the voltage stabilizing circuit, the temperature compensation circuit and the infrared emitting tube are grounded together.
[0007] Preferably, the voltage stabilizing circuit 2 includes a first voltage stabilizing element and a second voltage stabilizing element, the power input circuit is connected to one end of the first voltage stabilizing element, the other end of the first voltage stabilizing element is respectively connected to the temperature compensation circuit and one end of the second voltage stabilizing element, and the other end of the second voltage stabilizing element is grounded.
[0008] Preferably, the first voltage stabilizing element is a first resistor R1 or a voltage stabilizing tube Z1, and the second voltage stabilizing element is a second resistor R2.
[0009] Preferably, the voltage stabilization value of the voltage regulator tube Z1 is 4-7V.
[0010] Preferably, the temperature compensation circuit includes a first transistor Q1 and a second transistor Q2, the base of the first transistor Q1 is respectively connected to one end of the first voltage stabilizing element and one end of the second voltage stabilizing element, the collector of the first transistor Q1 is connected to the power input circuit, the emitter of the first transistor Q1 is respectively connected to the Early effect elimination circuit and the base of the second transistor Q2, the emitter of the second transistor Q2 is connected to the current control circuit, and the collector of the second transistor Q2 is connected to the Early effect elimination circuit.
[0011] Preferably, the first transistor Q1 and the second transistor Q2 are integrated and packaged in the same package.
[0012] Preferably, the current control circuit comprises a first field effect transistor Q4, a second field effect transistor Q5, a third field effect transistor Q6, a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a microcontroller MCU, the source of the first field effect transistor Q4 is connected to the power input circuit, the gate of the first field effect transistor Q4 is connected to the IO port of the microcontroller MCU, the drain of the first field effect transistor Q4 is connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the emitter of the second triode Q2; the source of the second field effect transistor Q5 is connected to the gate of the first field effect transistor Q4, and the gate of the first field effect transistor Q4 is connected to the IO port of the microcontroller MCU. The source input circuit is connected, the gate of the second field effect transistor Q5 is connected to the IO port of the microcontroller MCU, the drain of the second field effect transistor Q5 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the emitter of the second triode Q2; the source of the third field effect transistor Q6 is connected to the power input circuit, the gate of the third field effect transistor Q6 is connected to the IO port of the microcontroller MCU, the drain of the third field effect transistor Q6 is connected to one end of the fifth resistor R5, and the other end of the fifth resistor R5 is connected to the emitter of the second triode Q2.
[0013] Preferably, the Early effect elimination circuit includes a sixth resistor R6, a seventh resistor R7 and a third triode Q3, one end of the sixth resistor R6 is respectively connected to the emitter of the first triode Q1 and the collector of the second triode Q2, the other end of the sixth resistor R6 is respectively connected to the base of the third triode Q3 and one end of the seventh resistor R7, the other end of the seventh resistor R7 is grounded, the emitter of the third triode Q3 is connected to the collector of the second triode Q2, the collector of the third triode Q3 is connected to the input end of the infrared emitting tube, and the output end of the infrared emitting tube is grounded.
[0014] Preferably, the first transistor Q1, the second transistor Q2 and the third transistor Q3 are NPN transistors or PNP transistors, and the first field effect transistor Q4, the second field effect transistor Q5 or the third field effect transistor Q6 are PMOS transistors or NMOS transistors.
[0015] Preferably, the power input circuit is provided with a power supply, and the power supply is powered by a voltage regulator LDO output.
[0016] Compared with the prior art, the beneficial effects of the technical solution of the utility model are:
[0017] The utility model proposes a controllable constant current source circuit suitable for an optical axis joystick, comprising a power input circuit, a voltage stabilizing circuit, a temperature compensation circuit, a current control circuit, an Early effect elimination circuit and an infrared transmitting tube; the voltage stabilizing circuit is used to stabilize the temperature compensation circuit, the temperature compensation of each circuit is performed through the temperature compensation circuit, and an Early effect elimination circuit is provided to avoid the constant current source circuit being affected by the Early effect of the triode, thereby improving the stability of the constant current source, and further using the current control circuit to control the size of the constant current source, thereby improving the working efficiency of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A structural block diagram showing a controllable constant current source circuit suitable for an optical axis rocker provided in an embodiment of the utility model;
[0019] Figure 2 A working principle diagram showing a controllable constant current source circuit suitable for an optical axis rocker provided in an embodiment of the utility model;
[0020] Figure 3 Another working principle diagram of a controllable constant current source circuit suitable for an optical axis rocker provided in an embodiment of the utility model.
[0021] 1. Power input circuit; 2. Voltage stabilization circuit; 3. Temperature compensation circuit; 4. Current control circuit; 5. Early effect elimination circuit; 6. Infrared transmitting tube. DETAILED DESCRIPTION
[0022] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0023] In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent actual sizes. The description of the directions of parts such as "upper" and "lower" does not limit the present patent;
[0024] It is understandable to those skilled in the art that some well-known contents may be omitted in the drawings;
[0025] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;
[0026] The technical solution of the utility model is further described below in conjunction with the accompanying drawings and embodiments.
[0027] Example 1
[0028] like Figure 1As shown, this embodiment proposes a controllable constant current source circuit suitable for an optical axis joystick, comprising: a power input circuit 1, a voltage stabilizing circuit 2, a temperature compensation circuit 3, a current control circuit 4, an Early effect elimination circuit 5 and an infrared emitting tube 6, wherein the power input circuit 1 is respectively connected to the voltage stabilizing circuit 2, the temperature compensation circuit 3 and the current control circuit 4, the temperature compensation circuit 3 is respectively connected to the voltage stabilizing circuit 2, the current control circuit 4 and the Early effect elimination circuit 5, the Early effect elimination circuit 5 is connected to the infrared emitting tube 6, and the voltage stabilizing circuit 2, the temperature compensation circuit 3 and the infrared emitting tube 6 are grounded together.
[0029] The voltage stabilizing circuit 2 includes a first voltage stabilizing element and a second voltage stabilizing element, the power supply is connected to one end of the first voltage stabilizing element, the other end of the first voltage stabilizing element is respectively connected to one end of the temperature compensation circuit 3 and the second voltage stabilizing element, and the other end of the second voltage stabilizing element is grounded; the voltage stabilizing circuit 2 utilizes the first voltage stabilizing element and the second voltage stabilizing element, the purpose of which is to ensure the voltage stability in the circuit to protect the voltage stability of the temperature compensation circuit 3 and maintain the normal operation of the temperature compensation circuit 3; when the input voltage of the power input circuit 1 or the current of the controllable constant current source circuit changes, the voltage drop through the first voltage stabilizing element and the second voltage stabilizing element will change, and this change can be used to adjust the working current of the temperature compensation circuit 3, thereby playing a voltage stabilizing role.
[0030] The power input circuit 1 is provided with a power supply, and the power supply is powered by the output of a voltage regulator LDO, which meets the stability and low noise requirements of a constant current source.
[0031] In this embodiment, it includes a power input circuit, a voltage stabilizing circuit, a temperature compensation circuit, a current control circuit, an Early effect elimination circuit and an infrared emitting tube; the temperature compensation circuit is stabilized by the voltage stabilizing circuit, the temperature compensation of each circuit is performed by the temperature compensation circuit, and an Early effect elimination circuit is provided to prevent the constant current source circuit from being affected by the Early effect of the transistor, thereby improving the stability of the constant current source, and further using the current control circuit to control the size of the constant current source to improve the circuit working efficiency; this embodiment proposes a controllable constant current source circuit suitable for an optical axis joystick, the constant current source of the circuit has a small temperature drift, high precision, small size, low cost, and can control the current size through a control circuit. After the constant current source of the circuit is used for an optical axis joystick, the signal drift of the optical axis joystick can be reduced, thereby enhancing the user's gaming experience.
[0032] Example 2
[0033] The first voltage stabilizing element is a first resistor R1 or a voltage stabilizing tube Z1. Figure 2 , when the first voltage stabilizing element is selected to be the first resistor R1, the second voltage stabilizing element is selected to be the second resistor R2;
[0034] The temperature compensation circuit 3 includes a first transistor Q1 and a second transistor Q2, the base of the first transistor Q1 is respectively connected to one end of the first voltage stabilizing element and one end of the second voltage stabilizing element, the collector of the first transistor Q1 is connected to the power input circuit 1, the emitter of the first transistor Q1 is respectively connected to the Early effect elimination circuit 5 and the base of the second transistor Q2, the emitter of the second transistor Q2 is connected to the current control circuit 4, and the collector of the second transistor Q2 is connected to the Early effect elimination circuit 5.
[0035] The first transistor Q1 and the second transistor Q2 are integrated and packaged in the same package; the current control circuit 4 includes a first field effect transistor Q4, a second field effect transistor Q5, a third field effect transistor Q6, a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a microcontroller MCU, the source of the first field effect transistor Q4 is connected to the power supply, the gate of the first field effect transistor Q4 is connected to the IO port of the microcontroller MCU, the drain of the first field effect transistor Q4 is connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the emitter of the second transistor Q2; The source of the second field effect transistor Q5 is connected to the power supply, the gate of the second field effect transistor Q5 is connected to the IO port of the microcontroller MCU, the drain of the second field effect transistor Q5 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the emitter of the second triode Q2; the source of the third field effect transistor Q6 is connected to the power supply, the gate of the third field effect transistor Q6 is connected to the IO port of the microcontroller MCU, the drain of the third field effect transistor Q6 is connected to one end of the fifth resistor R5, and the other end of the fifth resistor R5 is connected to the emitter of the second triode Q2.
[0036] In this embodiment, first, the voltage stabilizing circuit 2 utilizes the first resistor R1 and the second resistor R2 to divide the voltage to achieve the stabilization of the base voltage of the first transistor Q1 in the temperature compensation circuit 3. This voltage division process must ensure that the current flowing through the second resistor R2 is much larger than the current flowing through the base of the first transistor Q1, and its purpose is to achieve the stabilization of the base voltage of the first transistor Q1; then, the first transistor Q1 and the second transistor Q2 are sealed devices, and the component characteristics of the first transistor Q1 and the second transistor Q2 are symmetrical. When the ambient temperature changes, the first transistor Q 1 and the voltage change trend between the base and the emitter of the second triode Q2 is the same, so that the temperature compensation can be played, thereby improving the stability of the constant current source; further, the gates of the first field effect transistor Q4, the second field effect transistor Q5 and the third field effect transistor Q6 are all connected to the IO port of the microcontroller MCU, and the IO port of the microcontroller MCU controls the first field effect transistor Q4, the second field effect transistor Q5 and the third field effect transistor Q6 through a program, thereby controlling the on and off of the third resistor R3, the fourth resistor R4 and the fifth resistor R5, thereby adjusting the size of the constant current source.
[0037] See also Figure 3 When the power supply voltage input by the power input circuit fluctuates greatly, the constant current source current of the controllable constant current source circuit will fluctuate greatly. At this time, the first voltage stabilizing element is selected as the voltage stabilizing tube Z1. In this way, when the power supply voltage input by the power input circuit fluctuates, since the breakdown voltage of the voltage stabilizing tube is approximately unchanged, the constant current source current of the controllable constant current source circuit is also approximately unchanged; the voltage stabilizing value of the voltage stabilizing tube Z1 is 4-7V. Since the breakdown voltage of the voltage stabilizing tube is affected by temperature, the voltage stabilizing tube with a voltage stabilizing value less than 4V belongs to Zener breakdown and has a negative temperature coefficient, that is, the breakdown voltage will decrease as the temperature rises; the voltage stabilizing tube with a voltage stabilizing value greater than 7V belongs to avalanche breakdown and has a positive temperature coefficient; the voltage stabilizing tube with a voltage stabilizing value between 4 and 7V has both Zener breakdown and avalanche breakdown, which belongs to mixed breakdown, and the temperature coefficient is very small, approximately zero, so the voltage stabilizing value of the voltage stabilizing tube Z1 is selected to be 4-7V.
[0038] Example 3
[0039] The Early effect elimination circuit 5 includes a sixth resistor R6, a seventh resistor R7 and a third triode Q3, one end of the sixth resistor R6 is respectively connected to the emitter of the first triode Q1 and the collector of the second triode Q2, the other end of the sixth resistor R6 is respectively connected to the base of the third triode Q3 and one end of the seventh resistor R7, the other end of the seventh resistor R7 is grounded, the emitter of the third triode Q3 is connected to the collector of the second triode Q2, the collector of the third triode Q3 is connected to the input end of the infrared emitting tube 6, and the output end of the infrared emitting tube 6 is grounded; through the sixth resistor R6, the seventh resistor R7 and the third triode Q3, the collector voltage of the second triode Q2 is set to a specific value, so that when the load changes, the voltage between the collector and the emitter of the second triode Q2 changes less, thereby eliminating the influence of the Early effect of the second triode Q2, and further improving the stability of the constant current source.
[0040] The first transistor Q1, the second transistor Q2 and the third transistor Q3 are NPN transistors or PNP transistors, and the first field effect transistor Q4, the second field effect transistor Q5 or the third field effect transistor Q6 are PMOS transistors or NMOS transistors.
[0041] Obviously, the above embodiments of the utility model are only examples for clearly explaining the utility model, and are not intended to limit the implementation methods of the utility model. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the utility model should be included in the protection scope of the claims of the utility model.
Claims
1. A controllable constant current source circuit suitable for an optical axis rocker, characterized in that: include: A power input circuit (1), a voltage stabilizing circuit (2), a temperature compensation circuit (3), a current control circuit (4), an Early effect elimination circuit (5) and an infrared emitting tube (6); the power input circuit (1) is connected to the voltage stabilizing circuit (2), the temperature compensation circuit (3) and the current control circuit (4) respectively; the temperature compensation circuit (3) is connected to the voltage stabilizing circuit (2), the current control circuit (4) and the Early effect elimination circuit (5) respectively; the Early effect elimination circuit (5) is connected to the infrared emitting tube (6); and the voltage stabilizing circuit (2), the temperature compensation circuit (3) and the infrared emitting tube (6) are grounded in common.
2. The controllable constant current source circuit suitable for an optical axis rocker according to claim 1, characterized in that: The voltage stabilizing circuit (2) comprises a first voltage stabilizing element and a second voltage stabilizing element, the power supply is connected to one end of the first voltage stabilizing element, the other end of the first voltage stabilizing element is respectively connected to the temperature compensation circuit (3) and one end of the second voltage stabilizing element, and the other end of the second voltage stabilizing element is grounded.
3. The controllable constant current source circuit suitable for an optical axis rocker according to claim 2, characterized in that: The first voltage stabilizing element is a first resistor R1 or a voltage stabilizing tube Z1, and the second voltage stabilizing element is a second resistor R2.
4. The controllable constant current source circuit suitable for an optical axis rocker according to claim 3, characterized in that: The voltage stabilization value of the voltage stabilizing tube Z1 is 4-7V.
5. The controllable constant current source circuit suitable for an optical axis rocker according to claim 3, characterized in that: The temperature compensation circuit (3) comprises a first transistor Q1 and a second transistor Q2, the base of the first transistor Q1 being connected to one end of the first voltage stabilizing element and one end of the second voltage stabilizing element respectively, the collector of the first transistor Q1 being connected to the power input circuit (1), the emitter of the first transistor Q1 being connected to the Early effect elimination circuit (5) and the base of the second transistor Q2 respectively, the emitter of the second transistor Q2 being connected to the current control circuit (4), and the collector of the second transistor Q2 being connected to the Early effect elimination circuit (5).
6. The controllable constant current source circuit suitable for an optical axis rocker according to claim 5, characterized in that: The first transistor Q1 and the second transistor Q2 are integrated and packaged in the same package.
7. The controllable constant current source circuit suitable for an optical axis rocker according to claim 5, characterized in that: The current control circuit (4) comprises a first field effect transistor Q4, a second field effect transistor Q5, a third field effect transistor Q6, a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a microcontroller MCU, wherein the source of the first field effect transistor Q4 is connected to the power supply, the gate of the first field effect transistor Q4 is connected to the IO port of the microcontroller MCU, the drain of the first field effect transistor Q4 is connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the emitter of the second triode Q2; the source of the second field effect transistor Q5 is connected to the power supply, the gate of the second field effect transistor Q5 is connected to the IO port of the microcontroller MCU, the drain of the second field effect transistor Q5 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the emitter of the second triode Q2; The source of the third field effect transistor Q6 is connected to the power supply, the gate of the third field effect transistor Q6 is connected to the IO port of the microcontroller MCU, the drain of the third field effect transistor Q6 is connected to one end of the fifth resistor R5, and the other end of the fifth resistor R5 is connected to the emitter of the second transistor Q2.
8. The controllable constant current source circuit suitable for an optical axis rocker according to claim 7, characterized in that: The Early effect elimination circuit (5) comprises a sixth resistor R6, a seventh resistor R7 and a third triode Q3, one end of the sixth resistor R6 is respectively connected to the emitter of the first triode Q1 and the collector of the second triode Q2, the other end of the sixth resistor R6 is respectively connected to the base of the third triode Q3 and one end of the seventh resistor R7, the other end of the seventh resistor R7 is grounded, the emitter of the third triode Q3 is connected to the collector of the second triode Q2, the collector of the third triode Q3 is connected to the input end of the infrared emitting tube (6), and the output end of the infrared emitting tube (6) is grounded.
9. The controllable constant current source circuit suitable for an optical axis rocker according to claim 8, characterized in that: The first transistor Q1, the second transistor Q2 and the third transistor Q3 are NPN transistors or PNP transistors, and the first field effect transistor Q4, the second field effect transistor Q5 or the third field effect transistor Q6 are PMOS transistors or NMOS transistors.
10. The controllable constant current source circuit suitable for an optical axis rocker according to any one of claims 1 to 9, characterized in that: The power input circuit (1) is provided with a power supply, and the power supply is powered by a voltage regulator LDO output.
