Digital quantity acquisition circuit and device

By introducing multiple acquisition channels and optocoupler acquisition units into the digital quantity acquisition device, the problem of low acquisition efficiency in the existing technology is solved, efficient digital signal acquisition and data interaction are achieved, and costs and space occupation are reduced.

CN221926974UActive Publication Date: 2024-10-29SAIRUI (NANJING) DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420716600.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2024-10-29
Estimated Expiration
2034-04-09

AI Technical Summary

Technical Problem

Existing digital acquisition devices have low acquisition efficiency, occupy a large space, and are costly, resulting in efficiency bottlenecks in industrial control and test site applications.

Method used

A digital quantity acquisition circuit is designed, including an input module, a control module and a communication module. Digital signals are acquired through multiple acquisition channels, and the acquisition efficiency and signal isolation are improved through an optocoupler acquisition unit and an isolated power supply module to achieve digital signal Efficient collection and data interaction.

Benefits of technology

Through the combination of multiple acquisition channels and optocoupler acquisition units, the acquisition efficiency of digital signals is significantly improved, the space occupation and cost of the acquisition device are reduced, and the isolation of signals and reliable interaction of data are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221926974U_ABST
    Figure CN221926974U_ABST
Patent Text Reader

Abstract

The utility model discloses a digital quantity acquisition circuit and device. The digital quantity acquisition circuit provided by the embodiment of the utility model comprises an input module which comprises at least two acquisition channels and is used for acquiring a first digital signal and outputting a first voltage signal according to the first digital signal; the control module is connected with the input module and is used for determining a second digital signal according to the first voltage signal and storing the second digital signal; the communication module is connected between the control module and an upper computer and used for acquiring a first communication signal of the upper computer and outputting the first communication signal to the control module, and the communication module is further used for outputting the second digital signal to the upper computer; the control module is also used for outputting a second digital signal according to the first communication signal; wherein the first digital signal is the same as the second digital signal. According to the technical scheme of the embodiment, the input module is arranged, so that the digital signals are acquired through multiple acquisition channels, and the acquisition efficiency of the digital signals is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of automation technology, in particular to a digital quantity acquisition circuit and a device. Background Art

[0002] With the development of automatic control systems, digital quantity acquisition devices are widely used in industrial control, test sites and other fields. Large-scale digital quantity detection is usually required in industrial occasions. However, the acquisition efficiency of digital quantity acquisition devices in the prior art is low, and setting up multiple digital quantity acquisition devices takes up a lot of space and is costly. Therefore, how to improve the acquisition efficiency of digital quantity acquisition devices has become an urgent problem to be solved. Utility Model Content

[0003] The utility model provides a digital quantity acquisition circuit and a device to solve the problem of low acquisition efficiency of the existing digital quantity acquisition device.

[0004] According to one aspect of the utility model, a digital quantity acquisition circuit is provided, comprising:

[0005] An input module, the input module includes at least two acquisition channels, the input module is used to obtain a first digital signal, and output a first voltage signal according to the first digital signal;

[0006] A control module, the control module is connected to the input module, and the control module is used to determine a second digital signal according to the first voltage signal, and store the second digital signal;

[0007] A communication module, the communication module is connected between the control module and the host computer, the communication module is used to obtain the first communication signal of the host computer and output it to the control module, and the communication module is also used to output the second digital signal to the host computer;

[0008] The control module is also used to output a second digital signal according to the first communication signal; wherein the first digital signal is the same as the second digital signal.

[0009] Optional, input modules, including:

[0010] At least one optical coupling acquisition unit is connected to the control module, the light emitting end of the optical coupling acquisition unit is used to acquire the first digital signal, and the light receiving end of the optical coupling acquisition unit is used to output a first voltage signal according to the first digital signal.

[0011] Optional, optocoupler acquisition unit, including:

[0012] At least two optocoupler collection channels are connected to the control module, and the light-emitting end of the optocoupler collection channel is used to be turned on according to the first digital signal and emit a light signal; the light-receiving end of the optocoupler collection channel is used to be turned on according to the light signal and output a first voltage signal.

[0013] Optional, control module, including:

[0014] a control unit and a storage unit;

[0015] The control unit is connected between the input module and the communication module, and the storage unit is connected to the control unit. The control unit is used to determine the second digital signal based on the first voltage signal and output it to the storage unit. The control unit is also used to output the second digital signal to the communication module based on the first communication signal, and the storage unit is used to store the second digital signal.

[0016] Optional, communication module, including:

[0017] Isolation unit and communication unit;

[0018] The isolation unit is connected to the control module, the communication unit is connected between the isolation unit and the host computer, the isolation unit is used to isolate the communication unit and the control module, the communication unit is used to obtain the first communication signal of the host computer and output it to the isolation unit, and the communication unit is also used to output the second digital signal to the host computer.

[0019] Optionally, the digital quantity acquisition circuit further includes:

[0020] A power module, the input end of the power module is connected to an external power source, the output end of the power module is connected to the input module, the control module and the communication module, and the power module is used to supply power to the input module, the control module and the communication module.

[0021] Optional, power module, including:

[0022] A power supply unit, a first isolated power supply and a second isolated power supply;

[0023] The input end of the power supply unit is connected to the external power supply, the output end of the power supply unit is connected to the output end of the input module, the control module and the input end of the isolation unit, the power supply unit is also connected to the input end of the first isolated power supply and the input end of the second isolated power supply, and the power supply unit is used to output a first voltage signal;

[0024] The output end of the first isolated power supply is connected to the input end of the input module, and the output end of the second isolated power supply is connected to the output end of the isolation unit. The first isolated power supply is used to output a second voltage signal to the input end of the input module, and the second isolated power supply is used to output a second voltage signal to the output end of the isolation unit.

[0025] Optional, power supply unit, including:

[0026] A first inductor, a power chip and a first diode;

[0027] The first end of the first inductor is connected to the external power supply, the second end of the first inductor is connected to the power chip, the power chip is connected to the first electrode of the first diode, and the second electrode of the first diode is connected to the output end of the input module, the control module and the input end of the isolation unit;

[0028] The first inductor is used for filtering, the power chip is used for outputting a first voltage signal according to the power voltage of the external power supply, and the first diode is used for preventing reverse connection.

[0029] Optionally, the control unit includes a STM32F103C8T6 controller.

[0030] In a second aspect, an embodiment of the utility model provides a digital quantity acquisition device, comprising any one of the digital quantity acquisition circuits described above.

[0031] The digital quantity acquisition circuit of the utility model embodiment includes an input module, a control module and a communication module, and the input module includes at least two acquisition channels. The control module is connected to the input module, and the communication module is connected between the control module and the host computer. The input module obtains a first digital signal, and outputs a first voltage signal according to the first digital signal, and the control module determines a second digital signal according to the first voltage signal, and stores the second digital signal. The communication module obtains a first communication signal of the host computer and outputs it to the control module, and the control module outputs a second digital signal according to the first communication signal, and the communication module outputs the second digital signal to the host computer. The digital quantity acquisition circuit of this embodiment realizes the acquisition of digital signals through multiple acquisition channels by setting the input module, thereby improving the acquisition efficiency of digital signals.

[0032] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 It is a structural schematic diagram of a digital quantity acquisition circuit provided by an embodiment of the utility model;

[0035] Figure 2 It is a structural schematic diagram of another digital quantity acquisition circuit provided by an embodiment of the utility model;

[0036] Figure 3This is a structural schematic diagram of an optical coupling acquisition unit provided by an embodiment of the utility model;

[0037] Figure 4 It is a structural schematic diagram of an isolation module provided by an embodiment of the utility model;

[0038] Figure 5 This is a structural schematic diagram of another digital quantity acquisition circuit provided by an embodiment of the utility model;

[0039] Figure 6 It is a structural schematic diagram of a power supply unit provided by an embodiment of the utility model;

[0040] Figure 7 It is a structural schematic diagram of a digital quantity acquisition device provided by an embodiment of the utility model. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] Figure 1 This is a schematic diagram of the structure of a digital quantity acquisition circuit provided by an embodiment of the utility model. Figure 1The digital quantity acquisition circuit provided by the embodiment of the utility model includes an input module 10, the input module 10 includes at least two acquisition channels, the input module 10 is used to obtain a first digital signal, and output a first voltage signal according to the first digital signal. A control module 20, the control module 20 is connected to the input module 10, the control module 20 is used to determine a second digital signal according to the first voltage signal, and store the second digital signal. A communication module 30, the communication module 30 is connected between the control module 20 and the host computer 40, the communication module 30 is used to obtain the first communication signal of the host computer 40 and output it to the control module 20, and the communication module 30 is also used to output the second digital signal to the host computer 40. The control module 20 is also used to output a second digital signal according to the first communication signal. Among them, the first digital signal is the same as the second digital signal.

[0044] Specifically, the digital quantity acquisition circuit acquires external digital quantity information through the input module 10. The input module 10 includes a plurality of acquisition channels for acquiring a first digital signal, and the input module 10 outputs a corresponding first voltage signal according to the first digital signal acquired by the acquisition channel. The control module 20 acquires the first voltage signal, and determines the second digital signal according to the first voltage signal, and the first digital signal is the same as the second digital signal, so that the input module 10 isolates and outputs the first digital signal to the control module 20. Exemplarily, the control module 20 can determine the second digital signal according to the level of the first voltage signal.

[0045] The control module 20 stores the second digital signal. When the communication module 30 obtains the first communication signal of the host computer 40 and outputs it to the control module 20, the control module 20 outputs the second digital signal to the communication module 30 according to the first communication signal, and then the communication module 30 outputs the second digital signal to the host computer 40 to realize data interaction.

[0046] Exemplarily, when collecting digital quantity information through the digital quantity acquisition circuit, the multi-channel acquisition channel collects the first digital signal, and outputs the corresponding first voltage signal according to the first digital signal. The control module 20 determines and stores the second digital signal identical to the first digital signal according to the level of the first voltage signal. When the communication module 30 outputs the first communication signal of the host computer 40 to the control module 20, the control module 20 outputs the second digital signal to the communication module 30 according to the first communication signal, and then the communication module 30 outputs the second digital signal to the host computer 40 to realize data interaction.

[0047] The digital quantity acquisition circuit provided by the embodiment of the utility model collects multiple first digital signals by setting an input module, and outputs a first voltage signal according to the first digital signal. The control module determines and stores the second digital signal according to the first voltage signal, and then exchanges data with the host computer through the communication module. The technical solution of this embodiment realizes the simultaneous acquisition of multiple digital signals, thereby improving the acquisition efficiency of digital signals.

[0048] Optional, Figure 2 FIG. 1 is a schematic diagram of another digital quantity acquisition circuit provided by an embodiment of the utility model. Figure 2 The input module 10 includes at least one optical coupling acquisition unit 11, which is connected to the control module 20. The light-emitting end of the optical coupling acquisition unit 11 is used to obtain the first digital signal, and the light-receiving end of the optical coupling acquisition unit 11 is used to output a first voltage signal according to the first digital signal.

[0049] Specifically, the input module 10 can realize the collection of the first digital signal by setting a plurality of optical coupling collection units 11. The light-emitting end of the optical coupling collection unit 11 emits light when acquiring the first digital signal, and then the light-receiving end of the optical coupling collection unit 11 outputs a first voltage signal according to the light-emitting condition of the light-emitting end. By setting a plurality of optical coupling collection units 11, the collection of multiple first digital signals can be realized, thereby improving the collection efficiency of digital signals.

[0050] Optional, Figure 3 This is a schematic diagram of the structure of an optical coupling acquisition unit provided by an embodiment of the utility model. Figure 2 and Figure 3 The optical coupling acquisition unit 11 includes at least two optical coupling acquisition channels 12, and the optical coupling acquisition channels 12 are connected to the control module 20. The light-emitting end of the optical coupling acquisition channel 12 is used to conduct according to the first digital signal and emit a light signal. The light-receiving end of the optical coupling acquisition channel 12 is used to conduct according to the light signal and output a first voltage signal.

[0051] Specifically, the optical coupling acquisition unit 11 can be provided with a plurality of optical coupling acquisition channels 12 to further improve the acquisition efficiency of digital signals. When the light-emitting end of the optical coupling acquisition channel 12 acquires the first digital signal, the first switch K1 is turned on, thereby emitting an optical signal. The optical signal at the light-emitting end of the optical coupling acquisition channel 12 causes the light-receiving end of the optical coupling acquisition channel 12 to be turned on according to the optical signal, thereby outputting a first voltage signal.

[0052] Figure 3The example shows that one optocoupler acquisition unit 11 includes four optocoupler acquisition channels 12. According to the acquisition requirements, the input module 10 can set multiple optocoupler acquisition units 11 in parallel, and each optocoupler acquisition unit 11 includes multiple optocoupler acquisition channels 12 to achieve large-scale digital quantity acquisition.

[0053] Optionally, based on the above embodiment, continue to refer to Figure 2 The control module 20 includes a control unit 21 and a storage unit 22. The control unit 21 is connected between the input module 10 and the communication module 30, and the storage unit 22 is connected to the control unit 21. The control unit 21 is used to determine the second digital signal according to the first voltage signal and output it to the storage unit 22. The control unit 21 is also used to output the second digital signal to the communication module 30 according to the first communication signal, and the storage unit 22 is used to store the second digital signal.

[0054] Specifically, the control unit 21 is connected to the optical coupling acquisition channel 12 and the communication module 30, and the storage unit 22 is connected to the control unit 21. The control unit 21 determines the second digital signal according to the level of the first voltage signal. When the light receiving end of the optical coupling acquisition unit 11 is not turned on, the level information collected by the control unit 21 is a high level. When the light receiving end of the optical coupling acquisition unit 11 is turned on, the level information of the first voltage signal collected by the control unit 21 is a low level. According to the change of the level information, the control unit 21 converts the first voltage signal into a second digital signal, thereby realizing the isolated input of the first digital signal. The control unit 21 also stores the second digital signal in the storage unit 22. When the control unit 21 interacts with the host computer 40 for data, the control unit 21 reads the second digital signal of the storage unit 22 and outputs it to the host computer 40 through the communication module 30. Exemplarily, the storage unit 22 can be a register.

[0055] Optional, Figure 4 Schematic diagram of the structure of an isolation module provided by the embodiment of the utility model. Figure 2 and Figure 4 The communication module 30 includes an isolation unit 31 and a communication unit 32. The isolation unit 31 is connected to the control module 20, and the communication unit 32 is connected between the isolation unit 31 and the host computer 40. The isolation unit 31 is used to isolate the communication unit 32 from the control module 20, and the communication unit 32 is used to obtain the first communication signal of the host computer 40 and output it to the isolation unit 31. The communication unit 32 is also used to output the second digital signal to the host computer 40.

[0056] Specifically, the isolation unit 31 is disposed between the communication unit 32 and the control unit 21, and is used to isolate the voltage signal, prevent the transient high voltage from impacting the control unit 21 and the communication unit 32, and avoid introducing other interconnected devices to cause damage. The communication unit 32 is used to realize data interaction between the control unit 21 and the host computer 40. When the host computer 40 polls and sends a first communication signal, the communication unit 32 outputs the first communication signal to the control unit 21 through the isolation unit 31, and outputs the second digital signal of the control unit 21 as a reply to the host computer 40 to realize data interaction.

[0057] Exemplarily, the isolation unit 31 may be an IS3722HS chip, which can achieve a maximum 3.75KVrms isolation protection, and the communication unit 32 may be a 485 communication circuit. Figure 4 The structure of the communication module 30 is shown as an example. The input end of the isolation unit 31 is connected to the control unit 21, the output end of the isolation unit 31 is connected to the input end of the communication unit 32, and the output end of the communication unit 32 is connected to the host computer 40. The communication module 30 also includes resistors, capacitors and other devices connected to the control communication unit 32, which are connected to form Figure 4 The structure shown.

[0058] Optional, Figure 5 This is a structural diagram of another digital quantity acquisition circuit provided by the embodiment of the utility model. Figure 5 The digital quantity acquisition circuit also includes a power supply module 50, an input end of the power supply module 50 is connected to an external power supply, an output end of the power supply module 50 is connected to the input module 10, the control module 20 and the communication module 30, and the power supply module 50 is used to supply power to the input module 10, the control module 20 and the communication module 30.

[0059] Specifically, the input end of the power module 50 is connected to the external power supply, and the power module 50 is used to convert the power supply voltage of the external power supply into a corresponding voltage signal and supply power to the input module 10, the control module 20 and the communication module 30. For example, the external power supply input of 12V, 24V, 36V or 48V is commonly used in the industrial field, and the power module 50 supplies power to each module according to the 3.3V voltage signal output by the external power supply.

[0060] Optionally, based on the above embodiment, continue to refer to Figure 5The power module 50 includes a power supply unit 51, a first isolated power supply 52 and a second isolated power supply 53. The input end of the power supply unit 51 is connected to an external power supply, and the output end of the power supply unit 51 is connected to the output end of the input module 10, the control module 20 and the input end of the isolation unit 31. The power supply unit 51 is also connected to the input end of the first isolated power supply 52 and the input end of the second isolated power supply 53. The power supply unit 51 is used to output a first voltage signal. The output end of the first isolated power supply 52 is connected to the input end of the input module 10, and the output end of the second isolated power supply 53 is connected to the output end of the isolation unit 31. The first isolated power supply 52 is used to output a second voltage signal to the input end of the input module 10, and the second isolated power supply 53 is used to output a second voltage signal to the output end of the isolation unit 31.

[0061] Specifically, the power supply module 50 realizes isolated power supply to the input module 10 and the communication module 30 by setting a power supply unit 51, a first isolated power supply 52 and a second isolated power supply 53. The first isolated power supply 52 is used to supply power to the input end of the input module 10, and the power supply unit 51 is used to supply power to the output end of the input module 10, that is, the light-emitting end of the optocoupler collection channel 12 is powered by the first isolated power supply 52, and the light-receiving end of the optocoupler collection channel 12 is powered by the power supply unit 51. The second isolated power supply 53 is used to supply power to the output end of the isolation unit 31 and the communication unit 32, and the power supply unit 51 is used to supply power to the input end of the isolation unit 31. This configuration isolates the input end and the output end of each component from power supply, prevents high voltage from damaging the circuit, and improves safety. Exemplarily, the first voltage signal output by the power supply unit 51 can be 3.3V.

[0062] Optional, Figure 6 Schematic diagram of a power supply unit provided by an embodiment of the utility model. Figure 5 and Figure 6 The power supply unit 51 includes a first inductor L1, a power chip 51 and a first diode D1. The first end of the first inductor L1 is connected to the external power supply, the second end of the first inductor L1 is connected to the power chip 51, the power chip 51 is connected to the first electrode of the first diode D1, and the second electrode of the first diode D1 is connected to the output end of the input module 10, the control module 20 and the input end of the isolation unit 31. The first inductor L1 is used for filtering, the power chip 51 is used to output a first voltage signal according to the power supply voltage of the external power supply, and the first diode D1 is used to prevent reverse connection.

[0063] Specifically, the first inductor L1 is connected to the external power supply. The first inductor L1 can be a common mode inductor, which can realize filtering and other functions to improve the purity of the voltage signal output by the external power supply. The power chip 51 can adjust the voltage signal output by the external power supply and output the first voltage signal. The power chip 51 can adopt the TD1509H chip, which has a wide range of applications for the voltage of the external power supply. The first diode D1 is used to prevent reverse connection and ensure that the subsequent circuit is protected when the power supply is reversed. The first diode D1 can adopt a Schottky diode with an extremely low conduction voltage drop, which can reduce power consumption compared with an ordinary single PN junction diode.

[0064] Figure 6 The power supply unit 51 is shown as an example. The first end of the first inductor L1 is connected to the external power supply, the second end of the first inductor L1 is connected to the input pin of the power chip 51, the output pin of the power chip 51 is connected to the cathode of the first diode D1, and the anode of the first diode D1 is connected to the ground pin of the power chip 51. The power supply unit 51 also includes resistors, capacitors, diodes and other devices connected to the power chip 51, which are connected to form Figure 6 The structure shown.

[0065] Optionally, based on the above embodiment, continue to refer to Figure 5 , the control unit 21 includes a STM32F103C8T6 controller.

[0066] Specifically, the control unit 21 may adopt STM32F103C8T6, which has the advantages of low power consumption and excellent anti-interference performance, and can improve the processing efficiency of the control unit 21 for various signals.

[0067] Exemplarily, when collecting digital quantity information through the digital quantity acquisition circuit, the power supply unit 51, the first isolated power supply 52 and the second isolated power supply 53 supply power to the input module 10, the control module 20 and the communication module 30. When the light-emitting end of the optocoupler acquisition channel 12 obtains the first digital signal, it is turned on and then emits a light signal. The light signal at the light-emitting end of the optocoupler acquisition channel 12 causes the light-receiving end of the optocoupler acquisition channel 12 to be turned on according to the light signal, thereby outputting a first voltage signal.

[0068] When the light receiving end of the optocoupler acquisition unit 11 is not turned on, the level information collected by the control unit 21 is a high level. When the light receiving end of the optocoupler acquisition unit 11 is turned on, the level information of the first voltage signal collected by the control unit 21 is a low level. According to the change of the level information, the control unit 21 converts the first voltage signal into a second digital signal to realize the isolated input of the first digital signal, and stores the second digital signal in the storage unit 22. When the host computer 40 polls and sends a first communication signal, the communication unit 32 outputs the first communication signal to the control unit 21 through the isolation unit 31. The control unit 21 outputs the second digital signal to the communication unit 32 according to the first communication signal, and the communication unit 32 outputs the second digital signal as a reply to the host computer 40 to realize data interaction.

[0069] Optional, Figure 7 This is a schematic diagram of the structure of a digital quantity acquisition device provided by an embodiment of the utility model. Figure 7 The digital quantity acquisition device 200 provided in the embodiment of the utility model includes the digital quantity acquisition circuit 100 of any of the above embodiments, and has the beneficial effects of the digital quantity acquisition circuit 100 of any of the above embodiments, which will not be repeated here.

[0070] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0071] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.

Claims

1. A digital quantity acquisition circuit, characterized in that: include: An input module, the input module comprising at least two acquisition channels, the input module being used to acquire a first digital signal and output a first voltage signal according to the first digital signal; a control module, the control module being connected to the input module, and the control module being used to determine a second digital signal according to the first voltage signal, and to store the second digital signal; A communication module, the communication module is connected between the control module and the host computer, the communication module is used to obtain the first communication signal of the host computer and output it to the control module, and the communication module is also used to output the second digital signal to the host computer; The control module is further configured to output the second digital signal according to the first communication signal; wherein the first digital signal is the same as the second digital signal.

2. The digital quantity acquisition circuit according to claim 1, characterized in that: The input module comprises: At least one optocoupler acquisition unit, the optocoupler acquisition unit is connected to the control module, the light-emitting end of the optocoupler acquisition unit is used to acquire the first digital signal, and the light-receiving end of the optocoupler acquisition unit is used to output the first voltage signal according to the first digital signal.

3. The digital quantity acquisition circuit according to claim 2, characterized in that: The optical coupling acquisition unit comprises: At least two optocoupler acquisition channels, the optocoupler acquisition channels are connected to the control module, the light-emitting end of the optocoupler acquisition channel is used to be turned on according to the first digital signal and emit a light signal; the light-receiving end of the optocoupler acquisition channel is used to be turned on according to the light signal and output the first voltage signal.

4. The digital quantity acquisition circuit according to claim 2, characterized in that: The control module comprises: a control unit and a storage unit; The control unit is connected between the input module and the communication module, and the storage unit is connected to the control unit. The control unit is used to determine the second digital signal based on the first voltage signal and output it to the storage unit. The control unit is also used to output the second digital signal to the communication module based on the first communication signal, and the storage unit is used to store the second digital signal.

5. The digital quantity acquisition circuit according to claim 1, characterized in that: The communication module comprises: Isolation unit and communication unit; The isolation unit is connected to the control module, the communication unit is connected between the isolation unit and the host computer, the isolation unit is used to isolate the communication unit and the control module, the communication unit is used to obtain the first communication signal of the host computer and output it to the isolation unit, and the communication unit is also used to output the second digital signal to the host computer.

6. The digital quantity acquisition circuit according to claim 5, characterized in that: The digital quantity acquisition circuit further includes: A power module, wherein the input end of the power module is connected to an external power source, the output end of the power module is connected to the input module, the control module and the communication module, and the power module is used to supply power to the input module, the control module and the communication module.

7. The digital quantity acquisition circuit according to claim 6, characterized in that: The power module comprises: A power supply unit, a first isolated power supply and a second isolated power supply; The input end of the power supply unit is connected to the external power supply, the output end of the power supply unit is connected to the output end of the input module, the control module and the input end of the isolation unit, the power supply unit is also connected to the input end of the first isolated power supply and the input end of the second isolated power supply, and the power supply unit is used to output the first voltage signal; The output end of the first isolated power supply is connected to the input end of the input module, and the output end of the second isolated power supply is connected to the output end of the isolation unit. The first isolated power supply is used to output a second voltage signal to the input end of the input module, and the second isolated power supply is used to output the second voltage signal to the output end of the isolation unit.

8. The digital quantity acquisition circuit according to claim 7, characterized in that: The power supply unit comprises: A first inductor, a power chip and a first diode; The first end of the first inductor is connected to the external power supply, the second end of the first inductor is connected to the power chip, the power chip is connected to the first electrode of the first diode, and the second electrode of the first diode is connected to the output end of the input module, the control module and the input end of the isolation unit; The first inductor is used for filtering, the power chip is used for outputting the first voltage signal according to the power voltage of the external power supply, and the first diode is used for preventing reverse connection.

9. The digital quantity acquisition circuit according to claim 4, characterized in that: The control unit includes an STM32F103C8T6 controller.

10. A digital quantity acquisition device, characterized in that: The invention comprises the digital quantity acquisition circuit as described in any one of claims 1 to 9.