A switch-type three-state signal acquisition circuit, method and system

By designing a switch-type three-state signal acquisition circuit for automobile signal acquisition, using the cooperation of the control unit and the acquisition unit, the control switch is turned on only when necessary to collect signals, the problem of light-emitting diodes causing light-emitting diodes to be slightly bright in the prior art is solved, and the driving environment of the driver is improved.

CN114967543BActive Publication Date: 2025-04-18DONGFENG AUTOMOBILE ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210515785.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-11
Publication Date
2025-04-18
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

When the existing automotive signal acquisition circuit detects the switch signal, the external function switch light emitting diode will light up slightly, interfering with the driver's driving.

Method used

A switch-type three-state signal acquisition circuit is designed, including a first control switch, a control unit, an acquisition unit and a three-state switching unit. Only when the three-state switching unit inputs a high level, a low level or a suspended state, the control unit controls the first control switch to conduct to collect signals, and disconnects after the acquisition process is completed. The entire process is in milliseconds and the light emitting state of the light emitting diode is difficult to identify.

Benefits of technology

It effectively avoids the light-emitting diodes of external function switches slightly brightened during signal acquisition, reduces interference to the driver, and ensures the driver's accurate judgment of the working status of the entire vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114967543B_ABST
    Figure CN114967543B_ABST
Patent Text Reader

Abstract

The present invention discloses a switch-type three-state signal acquisition circuit, method and system, which relates to the technical field of switch signal acquisition, and includes: a first control switch, a control unit, an acquisition unit and a three-state switch unit; the first end of the first control switch is connected to the positive pole of the power supply, the second end is connected to the output end of the control unit, and the third end is connected to the acquisition unit; the acquisition unit is connected to the three-state switch unit and the control unit; only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and the switch state of the three-state switch unit is acquired through the acquisition unit. In the process of three-state switch signal acquisition, the present invention will not cause the light emitting diode of the external function switch to be slightly bright, which will affect the driver's misjudgment of the working state of the whole vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switch signal acquisition, and in particular to a switch type three-state signal acquisition circuit, method and system. Background Art

[0002] The car switch signal mainly monitors the working state of the car control system and provides a signal to the car electronic control unit when the working state changes. The signal acquisition circuit on the car can detect three working states of the car switch signal: high level state, low level state or floating state.

[0003] However, the existing signal acquisition circuit is generally provided with a pull-up voltage, which causes the light emitting diode of the external function switch in the signal acquisition circuit to be dimly lit, thus interfering with the driver's driving. Summary of the invention

[0004] The embodiments of the present invention provide a switch-type three-state signal acquisition circuit, method and system, which can solve the technical problem that the existing signal acquisition circuit will make the light-emitting diode of the external function switch dim and interfere with the driver's driving.

[0005] In a first aspect, a switch-type three-state signal acquisition circuit is provided, comprising: a first control switch, a control unit, an acquisition unit and a three-state switch unit;

[0006] A first end of the first control switch is connected to the positive electrode of the power supply, a second end is connected to the output end of the control unit, and a third end is connected to the acquisition unit;

[0007] The acquisition unit is connected to the three-state switch unit and the control unit; and

[0008] Only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and to collect the switch state of the three-state switch unit through the collection unit.

[0009] In some embodiments, the three-state switch unit includes a switch SW1 and a switch SW2, and the acquisition unit includes a switch signal input terminal IN1, a resistor R1, a resistor R11, a resistor R20, and a switch signal output terminal AD_IN1;

[0010] The first end of the resistor R1 is connected to the third end of the first control switch Q1, and the second end is connected to the switch signal input end IN1;

[0011] The first end of the switch SW1, the first end of the switch SW2, and the first end of the resistor R11 are connected to the switch signal input terminal IN1, the second end of the switch SW1 is connected to the positive electrode of the power supply, and the second end of the switch SW2 is grounded;

[0012] The second end of the resistor R11 is connected to the first end of the resistor R20 , the second end of the resistor R20 is grounded, and the second end of the resistor R11 is connected to the switch signal output terminal AD_IN1 .

[0013] In some embodiments, the three-state switch unit further includes: a resistor R21 and a capacitor C1;

[0014] The first end of the resistor R21 is connected to the second end of the resistor R11 , the second end of the resistor R21 is connected to the first end of the capacitor C1 , and the second end of the capacitor C1 is grounded.

[0015] In some embodiments, the control unit includes: a control main chip U1, a second control switch Q2, a resistor R36, a resistor R19, a resistor R10 and a resistor R9;

[0016] The first end of the resistor R36 is connected to an I / O interface of the control main chip U1, and the second end is connected to the first end of the second control switch Q2;

[0017] The first end of the resistor R19 is connected to the second end of the resistor R36, and the second end is connected to the second end of the second control switch Q2 and then grounded;

[0018] The first end of the resistor R10 is connected to the third end of the second control switch Q2, and the second end of the resistor R10 is connected to the second end of the first control switch Q1;

[0019] The first end of the resistor R9 is connected to the second end of the resistor R10 , and the second end of the resistor R9 is connected to the first end of the first control switch Q1 .

[0020] In some embodiments, the second control switch Q2 is a transistor.

[0021] In some embodiments, the first control switch Q1 is a MOS transistor.

[0022] In a second aspect, a three-state switch signal acquisition method is provided, comprising the following steps:

[0023] When the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit controls the first end and the third end of the first control switch to be turned on, and collects the switch state of the three-state switch unit through the collection unit.

[0024] In a third aspect, a three-state switch signal acquisition system is provided, comprising: a first control switch, a control unit, a plurality of three-state switch units, and a plurality of acquisition units;

[0025] A first end of the first control switch is connected to the positive electrode of the power supply, a second end is connected to the output end of the control unit, and a third end is connected to the acquisition unit;

[0026] Each of the acquisition units is connected to the control unit and a corresponding one of the three-state switch units; and

[0027] Only when one of the three-state switch units inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and to collect the switch state of the three-state switch unit through the corresponding collection unit.

[0028] In some embodiments, the three-state switch signal acquisition system further includes: a multi-channel electronic switch chip U2;

[0029] The multiple signal input terminals of the multi-channel electronic switch chip U2 are connected to the multiple acquisition units in a one-to-one correspondence, and the signal output terminal and multiple control input terminals of the multi-channel electronic switch chip are connected to the control unit.

[0030] In some embodiments, the multi-channel electronic switch chip U2 is a CD4051 chip.

[0031] The beneficial effects brought about by the technical solution provided by the present invention include:

[0032] The embodiment of the present invention provides a switch-type three-state signal acquisition circuit, method and system, which is provided with a first control switch and a control unit. Only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit controls the first end of the first control switch to be connected with the third end, and collects the switch state of the three-state switch unit through the acquisition unit. Although the high level of the power supply can make the light-emitting diode emit light, after the acquisition process is completed, the control unit controls the first end of the first control switch to be disconnected from the third end. The entire acquisition process is in milliseconds, and the light-emitting state of the light-emitting diode is difficult for the naked eye to identify. Therefore, in the process of three-state switch signal acquisition, the present invention will not cause the light-emitting diode of the external function switch to be slightly bright, which will affect the driver's misjudgment of the working state of the whole vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 A structural block diagram of a switch-type three-state signal acquisition circuit provided by an embodiment of the present invention;

[0035] Figure 2 A circuit diagram of a switch-type three-state signal acquisition circuit provided by an embodiment of the present invention;

[0036] Figure 3 A structural block diagram of a three-state switch signal acquisition system provided by an embodiment of the present invention;

[0037] Figure 4 A circuit diagram of a three-state switch signal acquisition system provided by an embodiment of the present invention;

[0038] Figure 5 Another circuit diagram of a three-state switch signal acquisition system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0040] The embodiment of the present invention provides a switch-type three-state signal acquisition circuit, which can solve the technical problem that the existing signal acquisition circuit will make the light-emitting diode of the external function switch dim and interfere with the driver's driving.

[0041] See also Figure 1 As shown, an embodiment of the present invention provides a switch-type three-state signal acquisition circuit, including: a first control switch, a control unit, a collection unit and a three-state switch unit.

[0042] The first end of the first control switch is connected to the positive pole of the power supply, the second end is connected to the output end of the control unit, and the third end is connected to the acquisition unit. The acquisition unit is connected to the three-state switch unit and the control unit. In addition, a light emitting diode is provided in the three-state switch unit.

[0043] Only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and to collect the switch state of the three-state switch unit through the collection unit.

[0044] The switch-type three-state signal acquisition circuit in the embodiment of the present invention is provided with a first control switch and a control unit. Only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit controls the first end of the first control switch to be connected with the third end, and collects the switch state of the three-state switch unit through the acquisition unit. Although the high level of the power supply can make the light-emitting diode emit light, after the acquisition process is completed, the control unit controls the first end of the first control switch to be disconnected from the third end. The entire acquisition process is in milliseconds, and the light-emitting state of the light-emitting diode is difficult for the naked eye to identify. Therefore, in the process of three-state switch signal acquisition, the present invention will not cause the light-emitting diode of the external function switch to be slightly bright, which will affect the driver's misjudgment of the working state of the whole vehicle.

[0045] As an optional implementation, in an embodiment of the invention, see Figure 2 As shown, the three-state switch unit includes a switch SW1 and a switch SW2, and the acquisition unit includes a switch signal input terminal IN1, a resistor R1, a resistor R11, a resistor R20 and a switch signal output terminal AD_IN1.

[0046] The first end of the resistor R1 is connected to the third end of the switch SW1 , and the second end of the resistor R1 is connected to the switch signal input end IN1 .

[0047] The first end of the switch SW1 , the first end of the switch SW2 , and the first end of the resistor R11 are connected to the switch signal input terminal IN1 , the second end of the switch SW1 is connected to the positive pole of the power supply, and the second end of the switch SW2 is grounded. Figure 2 The positive electrode of the light emitting diode D1 is connected to the first end of the switch SW1, and the negative electrode is grounded.

[0048] The second end of the resistor R11 is connected to the first end of the resistor R20 , the second end of the resistor R20 is grounded, and the second end of the resistor R11 is connected to the switch signal output terminal AD_IN1 .

[0049] Specifically, when the switch SW1 is closed alone, the switch signal input terminal IN1 inputs a high level state, when the switch SW2 is closed alone, the switch signal input terminal IN1 inputs a low level state, and when both the switch SW1 and the switch SW2 are opened, the switch signal input terminal IN1 inputs a floating state. The output voltages of the switch signal output terminal AD_IN1 are respectively:

[0050] SW1 is closed alone,

[0051] SW2 is closed alone, V AD_IN1 =0;

[0052] SW1 and SW2 are both disconnected.

[0053] The switch signal output terminal AD_IN1 outputs different voltage values ​​to realize the three-state switch signal acquisition. During the acquisition period, the control unit controls the first end of the first control switch to be turned on with the third end. Although the high level of the power supply can make the light-emitting diode D1 emit light, after the acquisition process is completed, the control unit controls the first end of the first control switch to be disconnected with the third end. The entire acquisition process is in milliseconds, and the light-emitting state of the light-emitting diode D1 is difficult for the naked eye to identify.

[0054] As an optional implementation, in an embodiment of the invention, see Figure 2 As shown, the three-state switch unit further includes: a resistor R21 and a capacitor C1.

[0055] The first end of the resistor R21 is connected to the second end of the resistor R11 , the second end is connected to the first end of the capacitor C1 , and the second end of the capacitor C1 is grounded, so as to improve the signal anti-interference capability.

[0056] As an optional implementation, in an embodiment of the invention, the control unit includes: a control main chip U1, a second control switch Q2, a resistor R36, a resistor R19, a resistor R10 and a resistor R9.

[0057] A first end of the resistor R36 is connected to an I / O interface of the control main chip U1 , and a second end of the resistor R36 is connected to a first end of the second control switch Q2 .

[0058] The first end of the resistor R19 is connected to the second end of the resistor R36 , and the second end of the resistor R19 is connected to the second end of the second control switch Q2 and then grounded.

[0059] The first end of the resistor R10 is connected to the third end of the second control switch Q2 , and the second end of the resistor R10 is connected to the second end of the first control switch Q1 .

[0060] The first end of the resistor R9 is connected to the second end of the resistor R10 , and the second end of the resistor R9 is connected to the first end of the first control switch Q1 .

[0061] Specifically, when the control signal CTL1 of the control main chip U1 is at a low level, the second end and the third end of the second control switch Q2 are not conducting, thereby controlling the first end and the third end of the first control switch Q1 to be disconnected. When the control signal CTL1 of the control main chip U1 is at a high level, the second end and the third end of the second control switch Q2 are conducting, thereby controlling the first end and the third end of the first control switch Q1 to be conducting. Optionally, the second control switch Q2 is a transistor, and the first control switch is a MOS tube.

[0062] The embodiment of the present invention further provides a three-state switch signal acquisition method, comprising the following steps:

[0063] When the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit controls the first end and the third end of the first control switch to be turned on, and collects the switch state of the three-state switch unit through the collection unit.

[0064] See also Figure 3 and Figure 4 As shown, an embodiment of the present invention further provides a three-state switch signal acquisition system, including: a first control switch, a control unit, a plurality of three-state switch units and a plurality of acquisition units.

[0065] The first end of the first control switch is connected to the positive pole of the power supply, the second end is connected to the output end of the control unit, and the third end is connected to the acquisition unit. Each acquisition unit is connected to the control unit and a corresponding one of the three-state switch units.

[0066] Only when one of the three-state switch units inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and collect the switch state of the three-state switch unit through the corresponding collection unit.

[0067] As an optional implementation, in one embodiment of the invention, the three-state switch signal acquisition system further includes: a multi-channel electronic switch chip U2. The multiple signal input terminals of the multi-channel electronic switch chip U2 are connected to the multiple acquisition units in a one-to-one correspondence, and the signal output terminal and multiple control input terminals of the multi-channel electronic switch chip U2 are connected to the control unit.

[0068] Specifically, see Figure 5 As shown, the multi-channel electronic switch chip can be a CD4051 chip, which is provided with 8 signal input terminals connected to 8 switch signal output terminals of 8 acquisition units. The signal output terminal of the multi-channel electronic switch chip U2 is connected to an I / O interface (#20 pin) of the control main chip U1 of the control unit, and the 3 control input terminals of the multi-channel electronic switch chip U2 are connected to the 3 I / O interfaces of the control main chip U1 of the control unit. The multi-channel electronic switch chip U2 connects any pin from #1 to #8 to the IN / OUT pin to select the acquisition channel according to the demand, which can effectively solve the problem of tight acquisition channel resources caused by the limited number of I / O of the control main chip U1.

[0069] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0070] It should be noted that, in the present invention, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0071] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features of the present invention.

Claims

1. A switch-type three-state signal acquisition circuit, characterized in that: include: A first control switch, a control unit, a collection unit and a three-state switch unit; A first end of the first control switch is connected to the positive electrode of the power supply, a second end is connected to the output end of the control unit, and a third end is connected to the acquisition unit; The acquisition unit is connected to the three-state switch unit and the control unit, and the three-state switch unit is provided with a light emitting diode; and Only when the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and collect the switch state of the three-state switch unit through the collection unit; after the collection process is completed, the control unit controls the first end and the third end of the first control switch to be disconnected, and the entire collection process is in milliseconds.

2. The switch-type three-state signal acquisition circuit according to claim 1, characterized in that: The three-state switch unit includes a switch SW1 and a switch SW2, and the acquisition unit includes a switch signal input terminal IN1, a resistor R1, a resistor R11, a resistor R20 and a switch signal output terminal AD_IN1; The first end of the resistor R1 is connected to the third end of the first control switch Q1, and the second end is connected to the switch signal input end IN1; The first end of the switch SW1, the first end of the switch SW2, and the first end of the resistor R11 are connected to the switch signal input terminal IN1, the second end of the switch SW1 is connected to the positive electrode of the power supply, and the second end of the switch SW2 is grounded; The second end of the resistor R11 is connected to the first end of the resistor R20 , the second end of the resistor R20 is grounded, and the second end of the resistor R11 is connected to the switch signal output terminal AD_IN1 .

3. The switch-type three-state signal acquisition circuit according to claim 2, characterized in that: The three-state switch unit also includes: a resistor R21 and a capacitor C1; The first end of the resistor R21 is connected to the second end of the resistor R11 , the second end of the resistor R21 is connected to the first end of the capacitor C1 , and the second end of the capacitor C1 is grounded.

4. The switch-type three-state signal acquisition circuit according to claim 1, characterized in that: The control unit includes: a control main chip U1, a second control switch Q2, a resistor R36, a resistor R19, a resistor R10 and a resistor R9; The first end of the resistor R36 is connected to an I / O interface of the control main chip U1, and the second end is connected to the first end of the second control switch Q2; The first end of the resistor R19 is connected to the second end of the resistor R36, and the second end is connected to the second end of the second control switch Q2 and then grounded; The first end of the resistor R10 is connected to the third end of the second control switch Q2, and the second end of the resistor R10 is connected to the second end of the first control switch Q1; The first end of the resistor R9 is connected to the second end of the resistor R10 , and the second end of the resistor R9 is connected to the first end of the first control switch Q1 .

5. The switch-type three-state signal acquisition circuit according to claim 4, characterized in that: The second control switch Q2 is a transistor.

6. The switch-type three-state signal acquisition circuit according to claim 1, characterized in that: The first control switch Q1 is a MOS tube.

7. A method for collecting a three-state switch signal using the switch-type three-state signal collection circuit as claimed in claim 1, characterized in that: The following steps are involved: When the three-state switch unit inputs a high level state, a low level state or a suspended state, the control unit controls the first end and the third end of the first control switch to be turned on, and collects the switch state of the three-state switch unit through the collection unit.

8. A three-state switch signal acquisition system, characterized in that: include: A first control switch, a control unit, a plurality of three-state switch units and a plurality of acquisition units; A first end of the first control switch is connected to the positive electrode of the power supply, a second end is connected to the output end of the control unit, and a third end is connected to the acquisition unit; Each of the acquisition units is connected to the control unit and a corresponding one of the three-state switch units, and each of the three-state switch units is provided with a light emitting diode; and Only when one of the three-state switch units inputs a high level state, a low level state or a suspended state, the control unit is used to control the first end and the third end of the first control switch to be turned on, and collect the switch state of the three-state switch unit through the corresponding collection unit; after the collection process is completed, the control unit controls the first end and the third end of the first control switch to be disconnected, and the entire collection process is in milliseconds.

9. The three-state switch signal acquisition system according to claim 8, characterized in that: Also included: a multi-channel electronic switch chip U2; The multiple signal input terminals of the multi-channel electronic switch chip U2 are connected to the multiple acquisition units in a one-to-one correspondence, and the signal output terminal and multiple control input terminals of the multi-channel electronic switch chip are connected to the control unit.

10. The three-state switch signal acquisition system according to claim 9, characterized in that: The multi-channel electronic switch chip U2 is a CD4051 chip.

Citation Information

Patent Citations

  • Detection method of vehicle switch quantity signal

    CN103605017A

  • Multi-state switch state collection device and method

    CN104808561A