Logic control circuit

By designing a logic control circuit including a dial switch module, an IC control chip and a logic control module, the problem of insufficient voltage increase of the existing circuit detection port is solved, and a wider voltage change range and output gear are achieved, satisfying the Constant current driver and wider output applications are required.

CN222506787UActive Publication Date: 2025-02-18SICHUAN HONGRUI ELECTRIC CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202520066839.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-02-18
Estimated Expiration
2035-01-13

AI Technical Summary

Technical Problem

The voltage increase of the existing circuit detection port of the dial control voltage is less than the sum of the increase of the two dials respectively, and the voltage range is narrow, so it cannot meet the constant current driving dial plus fixed value current and wider output gear. bit application.

Method used

A logic control circuit is designed, including a dial switch module, an IC control chip and a logic control module. The dial switch module is connected to the logic control module, and the logic control module is connected to the IC control chip. By setting up two-bit single-pole single-throw independent switches, connecting them in parallel at both ends after different resistors are connected in series, and connecting the fifth resistor to the GND and detection port of the IC control chip, the voltage change range of the detection port is expanded.

Benefits of technology

It effectively expands the voltage variation range of the detection port, meeting applications with wider output gears, including applications with constant current drive dial plus fixed value current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222506787U_ABST
    Figure CN222506787U_ABST
Patent Text Reader

Abstract

The utility model belongs to the technical field of dial logic circuits, and particularly relates to a logic control circuit, which comprises a dial switch module, an integrated circuit (IC) control chip and a logic control module, the dial switch module is connected with the logic control module, and the logic control module is connected with the IC control chip. The dial switch module is a two-position single-pole single-throw independent switch. A first bit of the dial switch module is connected in parallel to two ends of the third resistor and the fourth resistor which are connected in series, and a second bit of the dial switch module is connected in parallel to two ends of the second resistor and the third resistor which are connected in series; one end of the fifth resistor is connected with a GND port of the IC control chip and is in common ground with the GND port of the IC control chip, and the other end of the fifth resistor is connected with a detection port (DIM) of the IC control chip. Compared with an existing logic control circuit, the circuit has the advantages that the voltage change range of the detection port (DIM) is expanded, so that the application of a wider output gear is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of dial logic circuits, and in particular relates to a logic control circuit. Background Art

[0002] A dip switch is a circuit that uses a dip switch to achieve logic control. A dip switch, also known as a DIP switch, is a multi-bit switch with two states: on and off. The state of each bit of the dip switch can be achieved through mechanical contacts or transistor switches, usually encoded in binary form. For example, a 4-bit dip switch can be encoded as any binary number between 0000 (all four bits are off) and 1111 (all four bits are on).

[0003] Conventional DIP switches control voltage by connecting the DIP switch to the base resistor, thereby changing the voltage of the detection port (DIM) of the IC control chip to achieve the purpose of controlling the output. In the existing circuits that control voltage through DIP switches, the voltage at the detection port rises less than the sum of the rises when the two DIP switches are turned on separately, and the voltage range of the detection port is relatively narrow. This characteristic cannot meet the application of constant current drive DIP switches plus fixed current, as well as the application of wider output gears.

[0004] Therefore, how to improve the existing circuit for controlling the voltage with a dial switch and expand the voltage variation range of the detection port (DIM) so as to meet the application of a wider output gear while meeting the application of a constant current drive dial switch plus a fixed current value is a technical problem that needs to be solved urgently. Utility Model Content

[0005] The purpose of the utility model is to provide a logic control circuit to improve the existing circuit for realizing voltage control by using a dial switch, expand the voltage variation range of the detection port (DIM), and thus meet the application of a wider output gear. The application of a constant current driving dial switch plus a fixed value current is one of the application scenarios of the logic control circuit.

[0006] In order to solve the above technical problems, the technical solutions adopted by the utility model are as follows:

[0007] A logic control circuit comprises a dip switch module, an IC control chip and a logic control module, wherein the dip switch module is connected to the logic control module, and the logic control module is connected to the IC control chip.

[0008] Preferably, the DIP switch module is a two-position single-pole single-throw independent switch.

[0009] Preferably, the IC control chip includes a detection port (DIM) and a GND port.

[0010] Preferably, the logic control module comprises a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor, the first resistor, the second resistor, the third resistor, the fourth resistor and the fifth resistor are connected in series in sequence, and the other end of the first resistor is connected to the reference voltage input end;

[0011] The first position of the DIP switch module is connected in parallel to the two ends of the third resistor and the fourth resistor in series, and the second position of the DIP switch module is connected in parallel to the two ends of the second resistor and the third resistor in series;

[0012] One end of the fifth resistor is connected to the GND port of the IC control chip and shares a common ground, and the other end is connected to the detection port (DIM) of the IC control chip.

[0013] The beneficial effects of the utility model include:

[0014] By setting a dip switch module, an IC control chip and a logic control module, the dip switch module is connected to the logic control module, and the logic control module is connected to the IC control chip. The dip switch module is a two-position single-pole single-throw independent switch. The first position of the dip switch module is connected in parallel to the two ends of the third resistor and the fourth resistor in series, and the second position of the dip switch module is connected in parallel to the two ends of the second resistor and the third resistor in series; one end of the fifth resistor is connected to the GND port of the IC control chip and is grounded, and the other end is connected to the detection port (DIM) of the IC control chip, which expands the voltage variation range of the detection port (DIM), thereby meeting the application of a wider output gear. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural schematic diagram of the logic control circuit of the utility model.

[0016] Figure symbols: R1 is the first resistor, R2 is the second resistor, R3 is the third resistor, R4 is the fourth resistor, R5 is the fifth resistor, K1 is the DIP switch module, and U is the IC control chip. DETAILED DESCRIPTION

[0017] The following is combined with Figure 1 The utility model is further described in detail:

[0018] Example 1

[0019] See attached Figure 1As shown, a logic control circuit comprises a dip switch module (K1), an IC control chip (U) and a logic control module, wherein the dip switch module (K1) is connected to the logic control module, and the logic control module is connected to the IC control chip (U). The dip switch module (K1) is a two-position single-pole single-throw independent switch. The IC control chip (U) comprises a detection port (DIM) and a GND port.

[0020] Example 2

[0021] On the basis of Example 1, the logic control module includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a fifth resistor R5, wherein the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4 and the fifth resistor R5 are connected in series in sequence, and the other end of the first resistor R1 is connected to the reference voltage input end. The first position of the code switch module (K1) is connected in parallel to the two ends of the third resistor R3 and the fourth resistor R4 connected in series, and the second position of the code switch module (K1) is connected in parallel to the two ends of the second resistor R2 and the third resistor R3 connected in series. One end of the fifth resistor R5 is connected to the GND port of the IC control chip (U) and is grounded, and the other end is connected to the detection port (DIM) of the IC control chip (U).

[0022] In this embodiment, the working principle of the logic control circuit is as follows:

[0023] The two bits of the DIP switch module (K1) of the two-bit single-pole single-throw independent switch are turned off, and the voltage is divided by the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4 and the fifth resistor R5, so that the voltage obtained at the detection port (DIM) of the IC control chip (U) is:

[0024] ;

[0025] in, VERF Enter a value for the reference voltage.

[0026] The first bit of the DIP switch module (K1) of the two-bit single-pole single-throw independent switch is turned on, and the second bit is turned off, and the voltage is divided by the first resistor R1, the second resistor R2 and the fifth resistor R5, so that the voltage obtained at the detection port (DIM) of the IC control chip (U) is:

[0027] ;

[0028] The second bit of the DIP switch module (K1) of the two-bit single-pole single-throw independent switch is turned on, and the first bit is turned off, and the voltage is divided by the first resistor R1, the fourth resistor R4 and the fifth resistor R5, so that the voltage obtained at the detection port (DIM) of the IC control chip (U) is:

[0029] ;

[0030] The first bit of the DIP switch module (K1) of the two-bit single-pole single-throw independent switch is turned on, and the second bit is turned on, and the voltage is divided by the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4 and the fifth resistor R5, so that the voltage obtained at the detection port (DIM) of the IC control chip (U) is:

[0031] .

[0032] The voltage of the detection port (DIM) of the IC control chip (U) has a linear range. Within this range, the voltage of the detection port (DIM) is proportional to the output voltage or current. The linear range of the detection port (DIM) of the IC control chip (U) is defined as [Vmin, Vmax]. Usually Vmin is greater than 0. By selecting appropriate R1, R2, R3, R4, and R5 resistance values, the voltage range of the detection port (DIM) is [V0, V3]. In order to ensure a good linear working area, V3<=Vmax is selected. The output voltage or current value is defined as having four gears, namely out0, out1, out2, and out3. The output gears out0, out1, out2, and out3 correspond to the voltages of the detection port (DIM) of the control chip (U), respectively. V0, V1, V2, V3 , according to the proportional relationship within the linear range, the following formula can be obtained:

[0033] ;

[0034] ;

[0035] ;

[0036] .

[0037] make , which is a constant, we get:

[0038] ;

[0039] .

[0040] That is, the difference relationship between different output gears is consistent with the voltage difference relationship of the detection port (DIM).

[0041] because,

[0042] ;

[0043] ;

[0044] ;

[0045] ;

[0046] The following three points are examples to prove that the logic control circuit can achieve a maximum output rise of less than, equal to or greater than the sum of the output rises of the two switches that are turned on, rather than a proportional relationship of the set resistance value:

[0047] 1. Order ;

[0048] We can get:

[0049] ,

[0050] ;

[0051] Satisfaction relationship , that is, the maximum gear output rise is less than the sum of the output rises of the two switches that are turned on respectively;

[0052] 2. Order ;

[0053] Available ;

[0054] satisfy , that is, the maximum gear output rise is equal to the sum of the output rises of the two switches that are turned on respectively;

[0055] 3. Order ;

[0056] Available ;

[0057] .

[0058] Satisfaction relationship , that is, the maximum gear output rise is greater than the sum of the output rises of the two switches that are turned on respectively;

[0059] Therefore, by selecting appropriate component parameters in the logic control circuit, the maximum output rise amplitude can be less than, equal to or greater than the sum of the output rise amplitudes of the two switches that are turned on respectively, effectively expanding the voltage variation range of the detection port (DIM), thereby meeting the application of wider output gears. The output gear here is the current gear for constant current drive and the voltage gear for constant voltage drive.

[0060] In summary, the logic control circuit provided by the utility model is provided with a dip switch module (K1), an IC control chip (U) and a logic control module, wherein the dip switch module (K1) is connected to the logic control module, and the logic control module is connected to the IC control chip (U). The dip switch module (K1) is a two-position single-pole single-throw independent switch. The first position of the dip switch module (K1) is connected in parallel to the two ends of the third resistor R3 and the fourth resistor R4 in series, and the second position of the dip switch module (K1) is connected in parallel to the two ends of the second resistor R2 and the third resistor R3 in series; one end of the fifth resistor R5 is connected to the GND port of the IC control chip (U) and is grounded, and the other end is connected to the detection port (DIM) of the IC control chip (U), which expands the voltage variation range of the detection port (DIM), thereby meeting the application of a wider output gear. The application of constant current drive dip plus fixed value current is one of the application scenarios of the logic control circuit.

Claims

1. A logic control circuit, characterized in that: It comprises a dip switch module (K1), an IC control chip (U) and a logic control module, wherein the dip switch module (K1) is connected to the logic control module, and the logic control module is connected to the IC control chip (U).

2. A logic control circuit according to claim 1, characterized in that: The DIP switch module (K1) is a two-position single-pole single-throw independent switch.

3. A logic control circuit according to claim 2, characterized in that: The IC control chip (U) includes a detection port (DIM) and a GND port.

4. A logic control circuit according to claim 3, characterized in that: The logic control module comprises a first resistor (R1), a second resistor (R2), a third resistor (R3), a fourth resistor (R4) and a fifth resistor (R5), wherein the first resistor (R1), the second resistor (R2), the third resistor (R3), the fourth resistor (R4) and the fifth resistor (R5) are sequentially connected in series, and the other end of the first resistor (R1) is connected to a reference voltage input end; The first position of the DIP switch module (K1) is connected in parallel to the two ends of the third resistor (R3) and the fourth resistor (R4) connected in series, and the second position of the DIP switch module (K1) is connected in parallel to the two ends of the second resistor (R2) and the third resistor (R3) connected in series; One end of the fifth resistor (R5) is connected to the GND port of the IC control chip (U) and shares a common ground, and the other end is connected to the detection port (DIM) of the IC control chip (U).

Citation Information

Cited By

  • Logic control circuit and control method thereof

    CN119472472A

  • A logic control circuit and control method thereof

    CN119472472B