Switching value judgment threshold selectable acquisition circuit

By adding an operating area and an adjustable resistor design to the switch acquisition circuit, the problem of poor versatility in the existing technology is solved, and flexible adjustment and adaptation of the switch detection threshold is achieved to meet precise detection of different needs.

CN221748366UActive Publication Date: 2024-09-20埃欧梯(上海)水务科技有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420171978.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2024-09-20
Estimated Expiration
2034-01-24

AI Technical Summary

Technical Problem

The existing switching quantity acquisition circuit has poor versatility and cannot flexibly adjust the threshold according to different needs. It is usually necessary to replace components to meet different functional and performance requirements.

Method used

A collection circuit with optional switching value judgment threshold is designed. By adding an operating area to the original circuit and using jumper caps to replace the connected resistors, the threshold is allowed to be adjusted according to resistors of different specifications, including operational amplifiers and voltage divider circuits. , optocoupler and multiple resistors to achieve flexible adjustment of the switch detection threshold.

Benefits of technology

This design improves the flexibility and adaptability of the system, making it easy to adjust and adapt the switch detection threshold according to specific application scenarios and requirements, meeting different functional and performance requirements, and ensuring accurate switch detection in different environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221748366U
    Figure CN221748366U
Patent Text Reader

Abstract

The utility model discloses an acquisition circuit with selectable switching value judgment threshold values. The acquisition circuit comprises a first interface, a second interface, a first resistor, a second interface, a second resistor, a third resistor, a fourth resistor, an operational amplifier, a voltage division circuit and an optocoupler, the first interface is used for accessing an external sensor; the non-inverting input end of the operational amplifier is connected with the first interface, and the inverting input end of the operational amplifier is connected with an external switching value input interface; one end of the first resistor is connected between the in-phase input end of the operational amplifier and the first interface, and the other end of the second resistor is grounded after being connected with the second interface; the second interface is connected with an external 24V voltage through a second resistor, a third resistor and a fourth resistor. The voltage division circuit is connected with the output end of the operational amplifier and the optocoupler; and the optocoupler is connected with an external central chip. According to the utility model, the threshold value of switch detection can be easily adjusted and adapted, so that different function and performance requirements can be better met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of acquisition circuits, in particular to an acquisition circuit with a selectable switch value judgment threshold. Background Art

[0002] The general switch quantity acquisition usually has only one fixed reference threshold for judging the open and closed states. However, when faced with different requirements, the corresponding functions can only be achieved by replacing some components, which leads to poor versatility. Summary of the invention

[0003] According to an embodiment of the utility model, a switch value judgment threshold selectable acquisition circuit is provided, comprising: a first interface, a second interface, a first resistor, a second resistor, a third resistor, a fourth resistor, an operational amplifier, a voltage divider circuit and an optical coupler;

[0004] The first interface is used to access an external sensor;

[0005] The non-inverting input terminal of the operational amplifier is connected to the first interface, and the inverting input terminal of the operational amplifier is connected to the external switch value input interface;

[0006] One end of the first resistor is connected between the in-phase input terminal of the operational amplifier and the first interface, and the other end of the first resistor is connected to the second interface and then grounded;

[0007] The second interface is connected to an external 24V voltage through a second resistor, a third resistor, and a fourth resistor respectively;

[0008] The voltage divider circuit is connected to the output end of the operational amplifier and the optical coupler;

[0009] The optocoupler is connected to the external central chip.

[0010] Furthermore, it also includes: a first capacitor, one end of the first capacitor is connected between the first interface and one end of the first resistor, and the other end of the first capacitor is connected to the other end of the second resistor and the second interface and then grounded.

[0011] Further, the voltage divider circuit comprises: a fifth resistor and a sixth resistor;

[0012] One end of the fifth resistor is connected to the output end of the operational amplifier;

[0013] One end of the sixth resistor is connected to the other end of the fifth resistor, the other end of the sixth resistor is grounded, and both ends of the sixth resistor are connected to the optical coupler.

[0014] Furthermore, it also includes: a seventh resistor, one end of the seventh resistor is connected to the external 24V voltage, and the other end of the seventh resistor is connected between the output end of the operational amplifier and one end of the fifth resistor.

[0015] Furthermore, it also includes: an eighth resistor, one end of the eighth resistor is connected to the inverting input terminal of the operational amplifier, and the other end of the eighth resistor is grounded.

[0016] Furthermore, it also includes: a ninth resistor, one end of the ninth resistor is connected to the external 3.3V voltage, and the other end of the ninth resistor is connected between the optical coupler and the central chip.

[0017] According to the acquisition circuit with optional switch value judgment threshold in the embodiment of the utility model, an operation area is added on the basis of the original switch value acquisition circuit, and the resistor connected to the circuit is replaced by a jumper cap. This design allows the corresponding needs to be met by connecting resistors of different specifications according to the switch detection needs of different thresholds. This flexible design allows us to easily adjust and adapt the switch detection threshold according to specific application scenarios and requirements, so as to better meet different functional and performance requirements.

[0018] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The present invention is a circuit diagram of an acquisition circuit with a selectable switch value determination threshold according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings to further illustrate the present invention.

[0021] First, combine Figure 1 A collection circuit with a selectable switch value judgment threshold according to an embodiment of the utility model is described, which is used to adjust and adapt the switch detection threshold to better meet different functional and performance requirements, and has a wide range of application scenarios.

[0022] like Figure 1 As shown, an acquisition circuit with an optional switch value judgment threshold according to an embodiment of the utility model has a first interface P23, a second interface P12, a first resistor R94, a second resistor R44, a third resistor R48, a fourth resistor R52, an operational amplifier U14A, a voltage divider circuit and an optocoupler U12A.

[0023] Specifically, Figure 1 As shown, the first interface P23 is used to access external sensors, such as PTC, NTC, electrodes and other sensors.

[0024] Specifically, Figure 1As shown, the non-inverting input terminal of the operational amplifier U14A is connected to the first interface P23, and the inverting input terminal of the operational amplifier U14A is connected to the external switch input interface; one end of the first resistor R94 is connected between the non-inverting input terminal of the operational amplifier U14A and the first interface P23, and the other end of the first resistor R94 is connected to the second interface P12 and then grounded.

[0025] Specifically, Figure 1 As shown, the second interface P12 is connected to the external 24V voltage through the second resistor R44, the third resistor R48, and the fourth resistor R52 respectively. The second interface P12 is a newly added manually adjustable operation area, which brings greater flexibility and adaptability to the system. The second interface P12 is a Header-3x2 interface, which can control the size of the resistance specification of the access circuit, thereby adjusting the size of the input amount and realizing different switch judgment thresholds. This design makes it easy to adjust and adapt the threshold of switch detection according to specific application scenarios and requirements to better meet different functional and performance requirements. Through the adjustable design of the second interface P12, the system can flexibly adjust the threshold of switch detection according to actual needs, so as to adapt to different working environments and requirements. This flexibility is very important for realizing accurate switch quantity detection in different application scenarios, especially in occasions where the input signal needs to be finely adjusted to meet specific functional and performance requirements. Therefore, the design of the second interface P12 area provides a larger customization and adjustment space for system integration, so that the system can better adapt to different working environments and requirements.

[0026] Specifically, Figure 1 As shown, the voltage divider circuit is connected to the output of the operational amplifier U14A and the optocoupler U12A; the optocoupler U12A is connected to the external central chip, and the optocoupler U12A is used to isolate the 24V voltage of the switch input and the 3.3V voltage of the central chip to achieve coupling isolation. The existence of this isolator is crucial to ensure the reliability and stability of the entire system. Through the use of the isolator, potential electrical interference and noise can be effectively prevented, thereby protecting the central chip and other components and ensuring that they operate stably within a safe operating voltage range.

[0027] Further, if Figure 1 As shown, a switch quantity judgment threshold optional acquisition circuit of an embodiment of the utility model further includes: a first capacitor C33, one end of the first capacitor C33 is connected between the first interface P23 and one end of the first resistor R94, the other end of the first capacitor C33 is connected to the other end of the second resistor R44 and the second interface P12 and then grounded, and the first capacitor C33 is used for voltage stabilization.

[0028] Furthermore, the voltage divider circuit includes: a fifth resistor R88 and a sixth resistor R96; one end of the fifth resistor R88 is connected to the output end of the operational amplifier U14A; one end of the sixth resistor R96 is connected to the other end of the fifth resistor R88, the other end of the sixth resistor R96 is grounded, both ends of the sixth resistor R96 are connected to the optocoupler U12A, and the fifth resistor R88 and the sixth resistor R96 are used for voltage division at the input end of the optocoupler U12A.

[0029] Further, if Figure 1 As shown, a switch quantity judgment threshold optional acquisition circuit of an embodiment of the utility model further includes: a seventh resistor R87, one end of the seventh resistor R87 is connected to an external 24V voltage, and the other end of the seventh resistor R87 is connected between the output end of the operational amplifier U14A and one end of the fifth resistor R88.

[0030] Further, if Figure 1 As shown, a switch value judgment threshold optional acquisition circuit of an embodiment of the utility model further includes: an eighth resistor R97, one end of the eighth resistor R97 is connected to the inverting input end of the operational amplifier U14A, and the other end of the eighth resistor R97 is grounded.

[0031] Further, if Figure 1 As shown, a switch value judgment threshold optional acquisition circuit of an embodiment of the utility model further includes: a ninth resistor R92, one end of the ninth resistor R92 is connected to an external 3.3V voltage, and the other end of the ninth resistor R92 is connected between the optocoupler U12A and the central chip.

[0032] The signal of the switch quantity collected is input to the pin 2 of the operational amplifier U14A. The operational amplifier U14A will compare the signal received from the pin 2 with the signal received from the pin 3. When there is a small voltage difference on the differential input, the operational amplifier U14A will amplify the difference to the output end. Its gain depends on the specific circuit connection and feedback. The processed signal is sent to the central chip in the form of voltage, which is similar to analog quantity collection.

[0033] The second interface P12 short-circuits and selects one of the comparison resistors among the second resistor R44, the third resistor R48, and the fourth resistor R52. When the resistor connected to the first interface P23 is greater than the resistor connected to the second interface P12, Vi+ of the operational amplifier U14A is less than Vi-, Vo outputs a low level, there will be no voltage difference at the input end of the optocoupler U12A, the output of the optocoupler U12A will also be disconnected, and OUT1 is a high level; conversely, when the resistor connected to the first interface P23 is relatively small, the operational amplifier U14A outputs a high level, the output end of the optocoupler U12A is turned on, and OUT1 is a low level.

[0034] Above, refer to Figure 1The invention describes an acquisition circuit with a selectable switch value judgment threshold according to an embodiment of the utility model. On the basis of the original switch value acquisition circuit, an operation area is added, and the resistor connected to the circuit is replaced by a jumper cap. This design allows the corresponding needs to be met by connecting resistors of different specifications according to the switch detection needs of different thresholds. This flexible design allows us to easily adjust and adapt the switch detection threshold according to specific application scenarios and requirements, so as to better meet different functional and performance requirements.

[0035] It should be noted that, in this specification, the terms "include", "comprises" or any other variations 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 includes 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 "comprises..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0036] Although the content of the utility model has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the utility model. After reading the above content, various modifications and substitutions of the utility model will be obvious to those skilled in the art. Therefore, the protection scope of the utility model should be limited by the attached claims.

Claims

1. A switch value determination threshold selectable acquisition circuit, characterized in that: It includes: a first interface, a second interface, a first resistor, a second resistor, a third resistor, a fourth resistor, an operational amplifier, a voltage divider circuit and an optical coupler; The first interface is used to access an external sensor; The non-inverting input terminal of the operational amplifier is connected to the first interface, and the inverting input terminal of the operational amplifier is connected to an external switch value input interface; One end of the first resistor is connected between the in-phase input terminal of the operational amplifier and the first interface, and the other end of the first resistor is connected to the second interface and then grounded; The second interface is connected to an external 24V voltage through the second resistor, the third resistor, and the fourth resistor respectively; The voltage divider circuit is connected to the output end of the operational amplifier and the optical coupler; The optical coupler is connected to an external central chip.

2. The acquisition circuit with selectable switch value judgment threshold as claimed in claim 1, characterized in that: It also includes: a first capacitor, one end of which is connected between the first interface and one end of the first resistor, and the other end of the first capacitor is connected to the other end of the second resistor and the second interface and then grounded.

3. The acquisition circuit with selectable switch value judgment threshold as claimed in claim 1, characterized in that: The voltage divider circuit comprises: a fifth resistor and a sixth resistor; One end of the fifth resistor is connected to the output end of the operational amplifier; One end of the sixth resistor is connected to the other end of the fifth resistor, the other end of the sixth resistor is grounded, and both ends of the sixth resistor are connected to the optical coupler.

4. The acquisition circuit with selectable switch value judgment threshold as claimed in claim 3, characterized in that: It also includes: a seventh resistor, one end of which is connected to an external 24V voltage, and the other end of which is connected between the output end of the operational amplifier and one end of the fifth resistor.

5. The acquisition circuit with selectable switch value judgment threshold as claimed in claim 1, characterized in that: It also includes: an eighth resistor, one end of the eighth resistor is connected to the inverting input end of the operational amplifier, and the other end of the eighth resistor is grounded.

6. The acquisition circuit with selectable switch value judgment threshold as claimed in claim 1, characterized in that: It also includes: a ninth resistor, one end of which is connected to an external 3.3V voltage, and the other end of which is connected between the optical coupler and the central chip.