Data acquisition circuit and device

By using a dual-output data acquisition circuit, the state data of the doubly-fed induction generator (DFIG) is collected in real time, solving the problem that traditional pumped storage power stations cannot quickly and dynamically adjust the data, and realizing the synchronous real-time acquisition of key data of the DFIG.

CN223987095UActive Publication Date: 2026-03-10HNAC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Traditional pumped storage power stations cannot achieve rapid dynamic adjustment of the power grid during peak and valley conditions. How to collect the state data of the doubly-fed induction generator in real time has become an urgent technical problem to be solved.

Method used

The system employs a data acquisition circuit, including a processing module, a digital-to-analog conversion module, and a digital signal transmission module. It processes and transmits preset data and other data separately through dual outputs, ensuring rapid acquisition and real-time performance.

Benefits of technology

It enables synchronous and real-time acquisition of key data of doubly-fed motors, reduces data acquisition cycle time, and improves the synchronization and real-time performance of data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223987095U_ABST
    Figure CN223987095U_ABST
Patent Text Reader

Abstract

The utility model discloses a data acquisition circuit and device, and relates to the field of circuits, the input end of a processing module is connected with the output end of an encoder for detecting equipment to be detected, and the encoder is used for determining the operating parameters of the equipment to be detected in real time; the processing module outputs preset data in the operation parameters to the digital-to-analog conversion module, and the preset data is output after being processed by the digital-to-analog conversion module; other data in the operation parameters can be output by the processing module through the digital signal transmission module. Two independent output modules are adopted, rapid acquisition of related data of the to-be-tested equipment is ensured in a dual-output mode, and the data acquisition period is shortened; the digital-to-analog conversion module converts the preset data into an analog quantity form, and when the preset data of the to-be-tested equipment needs to be collected, the real-time preset data can be directly extracted from the analog quantity output by the digital-to-analog conversion module, so that the collection as needed is realized, and the synchronism and the real-time performance of the collection of the preset data of the to-be-tested equipment are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of circuits, and in particular to a data acquisition circuit and device. Background Technology

[0002] With the large-scale integration of new energy sources (such as wind, solar, and biomass energy) and other new energy forms into the power grid, the power system faces unprecedented challenges and potential hazards. The integration of these new energy sources has altered the traditional operating mode of the power system, introducing numerous uncertainties to the stability, reliability, and security of the power grid. Pumped storage power stations, possessing functions such as peak shaving, valley filling, frequency regulation, phase regulation, and emergency backup, are currently recognized as the energy storage method with the largest capacity, best economic efficiency, and most mature technology, making them one of the most effective means to ensure the safe and stable operation of the power grid. Traditional pumped storage power stations use constant-speed pumping, which cannot achieve rapid dynamic adjustment during peak and valley periods. Therefore, variable-speed pumped storage systems using doubly-fed induction generators (DFIGs) have emerged. Variable-speed pumped storage systems require real-time acquisition of the DFIG's state to quickly respond to power fluctuations in the grid, thereby effectively achieving rapid dynamic adjustment during peak and valley periods. Therefore, how to achieve real-time acquisition of the DFIG's state data has become an urgent technical problem to be solved. Utility Model Content

[0003] The purpose of this invention is to provide a data acquisition circuit and device that ensures rapid acquisition of relevant data from the device under test in a dual-output manner, reduces the data acquisition cycle time, and can directly extract real-time preset data from the analog quantity output by the digital-to-analog conversion module, realizing on-demand acquisition, thereby effectively improving the synchronization and real-time performance of preset data acquisition from the device under test.

[0004] To solve the above-mentioned technical problems, this utility model provides a data acquisition circuit, comprising:

[0005] The processing module, with its input end connected to the output end of the encoder, is used to convert the motion parameters of the device under test acquired by the encoder into the operating parameters of the device under test.

[0006] The analog-to-digital conversion module, with its input end connected to the first output end of the processing module, is used to convert preset data in the operating parameters into analog quantities and output them in the form of analog quantities; wherein, the preset data are data in the operating parameters whose rate of change is greater than a preset value;

[0007] The digital signal transmission module has its input end connected to the second output end of the processing module, and is used to output other data in the operating parameters directly in digital form; wherein, the other data are data in the operating parameters other than the preset data.

[0008] Optional, also includes:

[0009] The level conversion module has its input terminal connected to the output terminal of the encoder and its output terminal connected to the input terminal of the processing module. It is used to convert the logic level of the digital quantity output by the encoder into a logic level supported by the processing module.

[0010] Optionally, the level conversion module includes:

[0011] A controllable switch, with its control terminal connected to the output terminal of the encoder and its first terminal grounded, is used to turn on when the encoder outputs a low-level signal and turn off when the encoder outputs a high-level signal.

[0012] The first current limiting module has a first terminal connected to a first preset power supply, a second terminal connected to the second terminal of the controllable switch, and serves as the output terminal of the level conversion module.

[0013] Optionally, the controllable switch is an optocoupler, the first input terminal of the optocoupler is connected to the output terminal of the encoder, the first output terminal is grounded, and the second output terminal is connected to the second terminal of the first current limiting module and serves as the output terminal of the level conversion module;

[0014] Accordingly, the level conversion module further includes:

[0015] The second current limiting module has its first end connected to a second preset power supply and its second end connected to the second input end of the optocoupler.

[0016] Optionally, the level conversion module further includes:

[0017] The first unidirectional conduction module has its positive terminal connected to the output terminal of the encoder and its negative terminal connected to the first input terminal of the optocoupler.

[0018] And / or,

[0019] The voltage regulator module has its first terminal connected to the second output terminal of the optocoupler and the second terminal of the first current limiting module, respectively. The second terminal is grounded and connected to the first output terminal of the optocoupler.

[0020] Optionally, the level conversion module further includes:

[0021] The positive terminal of the second unidirectional conduction module is connected to the negative terminal of the first unidirectional conduction module and the first input terminal of the optocoupler, respectively, and the negative terminal is connected to the second terminal of the second current limiting module and the second input terminal of the optocoupler, respectively.

[0022] Optional, also includes:

[0023] The power supply module has a first output terminal connected to the first power terminal of the level conversion module, a second output terminal connected to the second power terminal of the level conversion module, a third output terminal connected to the power terminal of the processing module, a fourth output terminal connected to the power terminal of the digital-to-analog conversion module, and a fifth output terminal connected to the power terminal of the digital signal transmission module, for supplying power to the level conversion module, processing module, digital-to-analog conversion module, and digital signal transmission module respectively.

[0024] Optionally, the digital signal transmission module includes a CAN transceiver and a CAN bus;

[0025] The data input terminal of the CAN transceiver is connected to the second output terminal of the processing module, and the output terminal is connected to the control system of the device under test via the CAN bus. The CAN transceiver is used to output other data in the operating parameters sequentially in digital form via the CAN bus when it receives the data acquisition command issued by the control system.

[0026] Optionally, the processing module includes:

[0027] The first processing submodule has its input end connected to the output end of the encoder and its output end connected to the input end of the digital-to-analog converter module. It is used to determine preset data in the operating parameters of the device under test based on the motion parameters of the device under test, and output the preset data to the digital-to-analog converter module.

[0028] The second processing submodule has its input end connected to the output end of the encoder and its output end connected to the input end of the digital signal transmission module. It is used to determine other data in the operating parameters of the device under test based on the motion parameters of the device under test, and output the other data to the digital signal transmission module.

[0029] To solve the above-mentioned technical problems, this utility model also provides a data acquisition device, including an encoder and a data acquisition circuit as described above, wherein the output terminal of the encoder is connected to the input terminal of the data acquisition circuit, and the encoder is used to acquire motion parameters of the device under test.

[0030] This invention provides a data acquisition circuit, including a processing module, a digital-to-analog converter (DAC) module, and a digital signal transmission module. The input of the processing module is connected to the output of an encoder that detects the motion parameters of the device under test (DUT). Based on the encoder's detection results, the processing module determines the DUT's operating parameters in real time. For preset data in the operating parameters, the processing module outputs it to the DAC module for processing and output. For other data in the operating parameters, the processing module outputs it through the digital signal transmission module. Two independent output modules are used in a dual-output manner to ensure rapid acquisition of relevant data from the DUT when needed, reducing the data acquisition cycle time. Simultaneously, the DAC module converts the preset data into analog quantities. When preset data from the DUT needs to be acquired, real-time preset data can be directly extracted from the analog quantities output by the DAC module, enabling on-demand acquisition and effectively improving the synchronization and real-time performance of preset data acquisition from the DUT.

[0031] This utility model also provides a data acquisition device, which has the same beneficial effects as the data acquisition circuit described above. Attached Figure Description

[0032] To more clearly illustrate the technical solutions in the embodiments of this utility model, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 A schematic diagram of the structure of a data acquisition circuit provided by this utility model;

[0034] Figure 2 An internal structural block diagram of a data acquisition circuit provided by this utility model;

[0035] Figure 3 A schematic diagram of the data transmission architecture of a data acquisition circuit provided by this utility model;

[0036] Figure 4 A schematic diagram comparing the output signal of a digital-to-analog converter module with the output signal of an encoder, provided by this utility model;

[0037] Figure 5 This is a schematic diagram of the structure of a level conversion module provided by this utility model;

[0038] Figure 6 This is a schematic diagram of the structural layout of a data acquisition device provided by this utility model. Detailed Implementation

[0039] The core of this utility model is to provide a data acquisition circuit and device that ensures rapid acquisition of relevant data from the device under test in a dual-output manner, reduces the data acquisition cycle time, and can directly extract real-time preset data from the analog quantity output by the digital-to-analog conversion module, realizing on-demand acquisition, thereby effectively improving the synchronization and real-time performance of preset data acquisition from the device under test.

[0040] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0041] Please refer to Figure 1 , Figure 1 This is a schematic diagram of a data acquisition circuit provided by this utility model; please refer to... Figure 2 , Figure 2 An internal structural block diagram of a data acquisition circuit provided by this utility model; please refer to... Figure 3 , Figure 3 A schematic diagram of a data transmission architecture for a data acquisition circuit provided by this utility model; to solve the above-mentioned technical problems, this utility model provides a data acquisition circuit, including:

[0042] Processing module 1, with its input end connected to the output end of the encoder, is used to convert the motion parameters of the device under test acquired by the encoder into the operating parameters of the device under test;

[0043] The analog-to-digital conversion module 2, with its input end connected to the first output end of the processing module 1, is used to convert the preset data in the operating parameters into analog quantities and output them in the form of analog quantities; wherein, the preset data are the data in the operating parameters whose rate of change is greater than a preset value;

[0044] The digital signal transmission module 3 has its input end connected to the second output end of the processing module 1, and is used to output other data in the operating parameters directly in the form of digital quantities; wherein, the other data are the data in the operating parameters other than the preset data.

[0045] It is easy to understand that for equipment such as motors, the control system needs to obtain the real-time operating parameters of the equipment to achieve real-time control. Therefore, it is necessary to set up corresponding data acquisition circuits for these devices. The data acquisition circuit will collect the operating parameters of the corresponding device under test in real time, and output the corresponding operating parameters to the control system when the control system of the device under test needs these operating parameters, so that it can perform real-time control. Among the operating parameters of these devices under test, some data exhibit strong real-time variability, changing continuously during the device's operation. For example, the rotor position or rotor angle of a motor changes constantly with its rotation. For these real-time changing parameters, i.e., preset data with a rate of change greater than a preset value, the control system needs to acquire them promptly through the data acquisition circuit to achieve synchronous, real-time, and rapid acquisition of the preset data. For other data besides these preset data, such as motor speed and direction, the real-time requirements of the control system are lower. Therefore, this application sets up an independent output channel for the acquired preset data in the data acquisition circuit, i.e., output through the digital-to-analog converter module 2. At the same time, another output channel is set up for other data besides the preset data in the operating parameters, i.e., output through the digital signal transmission module 3. The dual output channel configuration enables the control system to acquire the preset data more promptly, reducing the data acquisition cycle time.

[0046] Furthermore, currently, the control system of the device under test (DUT) typically acquires the corresponding motion parameters from the encoder only when the control requires relevant operating parameters. In this case, the control system needs a certain amount of time to process the motion parameters to obtain the operating parameters before subsequent control can be performed, which greatly reduces the real-time performance of the control. Therefore, in this application, a processing module 1 is directly set in the data acquisition circuit. After the encoder detects the motion parameters of the DUT in real time, the processing module 1 directly processes them to obtain the corresponding operating parameters. The motion parameters of the DUT are pre-processed before the control system requests them, saving the time required for the control system to process the motion parameters. When the control system requests a certain operating parameter, it directly sends a data acquisition command to the processing module 1 to inform the processing module 1. The processing module 1 directly outputs the already processed operating parameters to the control system, reducing the system's response time.

[0047] Understandably, for other data, processing module 1, upon receiving the corresponding data acquisition command from the control system, will directly output the processed digital operating parameters to the control system in digital form via digital signal transmission module 3. To further reduce the latency when the control system acquires preset data, this application employs a digital-to-analog converter module 2 to implement the preset data output channel. After processing module 1 acquires the digital operating parameters, it processes them to obtain digital operating parameters. Then, processing module 1 outputs the digital operating parameters to digital-to-analog converter module 2. Digital-to-analog converter module 2 responds in real time, converting the received digital quantity into an analog quantity. Therefore, the preset data acquired in real time by the data acquisition circuit is temporarily stored as a real-time analog quantity at the output of digital-to-analog converter module 2, without waiting for the control system to issue a command before outputting. When the control system requires this preset data, it can directly extract the real-time preset data from this analog quantity, avoiding the latency caused by issuing and responding to commands. In this case, processing module 1 not only preprocesses the data but also ensures that the preset data and other data are output from different output channels, thereby ensuring the control system's real-time acquisition of the preset data.

[0048] It should be noted that this application does not impose any special limitations on the specific types and implementation methods of processing module 1, digital-to-analog conversion module 2, and digital signal transmission module 3. Processing module 1 can be implemented using an FPGA (Field-Programmable Gate Array) or other types of processing chips or control chips. Digital-to-analog conversion module 2 can be implemented using a DAC (Digital-to-Analog Converter) chip, and digital signal transmission module 3 can be implemented using various types of communication interface circuits. This application does not impose any special limitations on the specific type of the device under test and the specific implementation methods of the corresponding operating parameters. The specific content of preset data and other data can be set according to the actual control requirements of the device, selecting key operating parameters with significant real-time changes during device operation as preset data. This application does not impose any special limitations on the specific content and acquisition methods of motion parameters. For motor equipment, encoders are generally used directly for detection, in which case the data acquisition circuit is equivalent to an encoder detection module. For other types of devices under test, other types of detection modules can be used to detect motion parameters, not limited to encoders. This application does not impose any special limitations on the specific type of encoder. This application does not impose any special restrictions on the connection methods and communication methods between the various working modules, such as... Figure 2As shown, data transmission between processing module 1 and digital-to-analog conversion module 2 can be achieved using SPI (Serial Peripheral Interface).

[0049] As a specific embodiment, such as Figure 2 and Figure 3 As shown, taking a doubly-fed induction generator (DFIG) in a variable-speed pumped storage system as an example, the preset data is the rotor position of the DFIG. Other data includes the motor's speed and direction of rotation. An incremental encoder is used to achieve real-time detection of the DFIG. Processing module 1 uses an FPGA, and digital signal transmission module 3 uses a CAN (Controller Area Network) communication circuit. The CAN communication interface circuit transmits other data to the control system through the CAN communication interface. The analog-to-digital conversion module 2 transmits the preset data to the control system through the analog output interface. Please refer to... Figure 4 , Figure 4 This invention provides a schematic diagram comparing the output signal of a digital-to-analog converter module with the output signal of an encoder. The FPGA receives the A and B phase signals (90° out of phase) and the Z signal (zero-position marker signal) output from the incremental encoder. By judging the relative relationship between the A and B signals, the direction of rotation of the motor can be determined. The motor speed is calculated based on the number of pulses output by the encoder per unit time, and other data information such as speed and direction of rotation are transmitted to the controller of the doubly-fed motor via a CAN or RS485 communication interface circuit. Simultaneously, the FPGA accumulates the number of pulses output by the encoder to calculate the rotor position of the motor, converts the rotor position information into a digital value within a linear conversion range of 0-360°, and finally outputs the digital value through a DAC in the form of a corresponding analog voltage. This allows the controller to convert the motor position information into an actual position signal output based on the frequency and amplitude of these analog voltages at the DAC output, according to the linear conversion relationship, thereby realizing the synchronous, real-time, and rapid acquisition of motor rotor position or angle data. Figure 4 As shown, the 0-360° motor rotor position corresponds to 0-1024 pulse signals output by the encoder. After being processed by the FPGA and the digital-to-analog converter module 2, the 0-1024 pulse signals output by the encoder are converted into voltage signals between -4.96V and +4.96V. The voltage signals are used to represent the motor rotor position.

[0050] It should be noted that after receiving the encoder's output signal, the FPGA processes the motor's rotor position, direction of rotation, speed, and other operating parameters obtained from the encoder's output signal in parallel. The FPGA acquires and processes the digital signal output from the encoder, and key preset data, such as the motor rotor position, is output via digital-to-analog conversion (DAC). Other data is output through the CAN communication interface circuit. When the doubly-fed control system requires rotor data from the doubly-fed motor, it can directly extract data points from the analog voltage to obtain the required real-time data, thus avoiding the delay caused by the control system's encoder data acquisition and processing, and ensuring real-time stable control. This technical solution innovatively converts key preset data into analog data. The controller performs ADC analog-to-digital conversion through the analog acquisition port of the AI ​​(Analog Input) board, enabling synchronous real-time acquisition of motor-related state variables, achieving real-time acquisition when relevant data is required.

[0051] Understandably, by adjusting the data acquisition circuit, the current topology of the control system, which outputs six sets of signals from the encoder to the device under test, is changed to a topology where the data acquisition circuit outputs two signals to the control system. The analog outputs corresponding to the preset data and the communication interface outputs corresponding to other data are independent of each other, and the two sets of data are transmitted in parallel, simplifying the wiring of the control system. By converting the rotor position or angle data of the doubly-fed motor into analog data, real-time acquisition of this data can be achieved, reducing the response time of rotor position data measurement. Synchronous acquisition of key data such as the rotor position of the doubly-fed motor and analog data such as grid voltage and current is realized, enabling on-demand acquisition and synchronous acquisition with grid analog data without phase difference, improving the synchronization of preset data acquisition in the control system.

[0052] This invention provides a data acquisition circuit, including a processing module 1, a digital-to-analog converter module 2, and a digital signal transmission module 3. The input terminal of the processing module 1 is connected to the output terminal of an encoder that detects the motion parameters of the device under test (DUT). Based on the encoder's detection results, the operating parameters of the DUT are determined in real time. For preset data in the operating parameters, the processing module 1 outputs it to the digital-to-analog converter module 2, where it is processed and then output. For other data in the operating parameters, the processing module 1 outputs it through the digital signal transmission module 3. By employing two independent output modules, a dual-output approach is used to ensure rapid acquisition of relevant data from the DUT when needed, reducing the data acquisition cycle time. Simultaneously, the digital-to-analog converter module 2 converts the preset data into analog quantities. When it is necessary to acquire preset data from the DUT, real-time preset data can be directly extracted from the analog quantities output by the digital-to-analog converter module 2, enabling on-demand acquisition and effectively improving the synchronization and real-time performance of preset data acquisition from the DUT.

[0053] Based on the above embodiments: Please refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of a level conversion module provided by this utility model; please refer to... Figure 6 , Figure 6 This is a schematic diagram of the structural layout of a data acquisition device provided by this utility model.

[0054] As an optional embodiment, it also includes:

[0055] The level conversion module 4 has its input terminal connected to the output terminal of the encoder and its output terminal connected to the input terminal of the processing module 1. It is used to convert the logic level of the digital quantity output by the encoder into the logic level supported by the processing module 1.

[0056] It is easy to understand that, in order to achieve effective signal transmission and compatibility between processing module 1 and encoder, a level conversion module 4 can be added between processing module 1 and encoder to match different logic levels between processing module 1 and encoder. This converts the logic level of the encoder output signal to a logic level supported by processing module 1, enabling processing module 1 to effectively process the received encoder signal. The level conversion module 4 can also be further equipped with shaping, amplification, and other modules to improve the quality and reliability of signal transmission. This application does not specifically limit the specific type and implementation method of the level conversion module 4.

[0057] Specifically, by setting up a level conversion module 4, the processing module 1 can effectively receive and process the encoder's output signal, avoiding problems such as signal processing failure or even device damage caused by the encoder's output signal exceeding the processing module 1's processing capacity or even exceeding the processing module 1's tolerance range, thus ensuring the safety and reliability of the data acquisition circuit.

[0058] As an optional embodiment, the level conversion module 4 includes:

[0059] A controllable switch, with its control terminal connected to the encoder's output terminal and its first terminal grounded, is used to turn on when the encoder outputs a low-level signal and turn off when the encoder outputs a high-level signal;

[0060] The first current limiting module RX1 has its first end connected to the first preset power supply, its second end connected to the second end of the controllable switch, and serves as the output end of the level conversion module 4.

[0061] It is understood that the level conversion module 4 specifically includes a controllable switch and a first current limiting module RX1. The control terminal of the controllable switch is connected to the output terminal of the encoder, and simultaneously connected in series with the first current limiting module RX1 in the power supply circuit of the first preset power supply through the first terminal and the second terminal. By controlling the conduction or cutoff of the controllable switch, the output signal of the encoder is converted into a logic level signal with the first preset power supply as the high level. The conversion of the signal logic level is achieved by converting the power supply voltage, thereby ensuring that the processing module 1 can effectively receive and process the output signal of the encoder. This application does not specifically limit the specific types and implementation methods of the controllable switch, the first current limiting module RX1, and the first preset power supply. The controllable switch can be implemented using switching devices such as MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors), and its withstand voltage and other parameters can be selected and set according to the actual situation of the encoder's output signal and the specific size of the first preset power supply. The first current limiting module RX1 is mainly used to limit the current in the power supply circuit, and can be implemented using devices such as resistors. The first preset power supply can be selected and set according to the operating voltage of the processing module 1, such as... Figure 5 As shown, this can be achieved using 3.3V DC (Direct Current).

[0062] Specifically, the level conversion module 4 can use the on and off characteristics of the controllable switch to convert the encoder output signal into another logic level. At the same time, the first current limiting module RX1 is set to protect the circuit, ensuring the safety and reliability of the level conversion module 4 and the back-end processing module 1. The circuit structure is simple and effective, easy to implement, and conducive to the simple implementation of the entire data acquisition circuit.

[0063] As an optional embodiment, the controllable switch is an optocoupler U0. The first input terminal of the optocoupler U0 is connected to the output terminal of the encoder, the first output terminal is grounded, and the second output terminal is connected to the second terminal of the first current limiting module RX1, and serves as the output terminal of the level conversion module 4.

[0064] Accordingly, the level conversion module 4 also includes:

[0065] The second current limiting module RX2 has its first end connected to the second preset power supply and its second end connected to the second input end of the optocoupler U0.

[0066] It is easy to understand that the controllable switch can be implemented using an optocoupler U0. The encoder's output signal is connected to the input terminal of the optocoupler U0, and the output signal of the encoder controls the on / off state of the LED inside the optocoupler U0. Through internal photoelectric conversion, a level signal suitable for processing module 1 is output on the output side, thereby transmitting the encoder's output signal to processing module 1. Simultaneously, to ensure the normal operation of the optocoupler U0, a second preset power supply needs to be connected to the input terminal of the optocoupler U0 to provide the required power to the LED. A second current limiting module RX2 is used to limit the supply current to the optocoupler U0, protecting the optocoupler U0. This application does not specifically limit the specific type and implementation method of the optocoupler U0 and the second current limiting module RX2. The second current limiting module RX2 can be implemented using resistors or other devices, and the second preset power supply can be selected and set according to the actual application requirements of the optocoupler U0, such as... Figure 5 As shown, this can be achieved using a 24V DC voltage.

[0067] Specifically, the controllable switch in the level conversion module 4 is implemented by using optocoupler U0. The conduction or cutoff of optocoupler U0 effectively realizes level conversion and matching, while also achieving isolation between the encoder output signal and the processing module 1, avoiding mutual interference between the two, ensuring unidirectional transmission of the encoder output signal, avoiding signal reflection and interference, and improving the reliability of signal transmission.

[0068] As an optional embodiment, the level conversion module 4 further includes:

[0069] The first unidirectional conduction module D1 has its positive terminal connected to the output terminal of the encoder and its negative terminal connected to the first input terminal of the optocoupler U0.

[0070] And / or,

[0071] The voltage regulator module has its first terminal connected to the second output terminal of the optocoupler U0 and the second terminal of the first current limiting module RX1, respectively. The second terminal is grounded and connected to the first output terminal of the optocoupler U0.

[0072] It is understandable that a first unidirectional conduction module D1 can be further added to the level conversion module 4, connected in series between the encoder output and the optocoupler U0 input, to prevent current backflow from damaging the encoder and to protect the circuit. Simultaneously, a voltage regulator module connected in parallel between the two outputs of the optocoupler U0 is added to further stabilize the level signal output from the level conversion module 4, improving the stability and reliability of the signal output to the processing module 1. This application does not specifically limit the specific type and implementation of the first unidirectional conduction module D1 and the voltage regulator module. The first unidirectional conduction module D1 can be implemented using diodes or similar devices, and the voltage regulator module can be implemented using Zener diodes or capacitors, etc. Figure 5As shown, when using capacitor C0 to implement the voltage regulator module, the signal output to processing module 1 can be further filtered to further improve the accuracy of the signal output to processing module 1.

[0073] Specifically, by adding a first unidirectional conduction module D1 and / or a voltage regulator module to the level conversion module 4, the circuit can be further protected, and the accuracy and stability of the signal finally output to the processing module 1 can be improved. This ensures the accuracy and signal precision of the processing module 1 and the data acquisition circuit, and ensures the precise control of the device under test by the control system.

[0074] As an optional embodiment, the level conversion module 4 further includes:

[0075] The positive terminal of the second unidirectional conduction module D2 is connected to the negative terminal of the first unidirectional conduction module D1 and the first input terminal of the optocoupler U0, and the negative terminal is connected to the second terminal of the second current limiting module RX2 and the second input terminal of the optocoupler U0.

[0076] It is easy to understand that a second unidirectional conduction module D2 can also be added in parallel between the two input terminals of the optocoupler U0. This ensures that the second preset power supply outputs a positive voltage to the LED of the optocoupler U0, preventing damage to the LED when a reverse voltage is generated externally. It can also absorb surge current at the moment the circuit is switched on or off, reducing the current surge experienced by the LED inside the optocoupler U0. Simultaneously, it may provide a reverse current path for the LED, allowing the stored charge in the LED to be discharged quickly, thereby accelerating the turn-off process of the optocoupler U0, increasing its switching speed, and reducing turn-off time jitter. This application does not specifically limit the specific type and implementation method of the second unidirectional conduction module D2; it can be implemented using diodes or other methods.

[0077] Specifically, by adding a second unidirectional conduction module D2, the optocoupler U0 is further protected. At the same time, it helps the light-emitting diode to quickly switch from the on state to the off state, improving the stability and consistency of the optocoupler U0's operation and ensuring the normal operation of the optocoupler U0.

[0078] As an optional embodiment, it also includes:

[0079] The power supply module has a first output terminal connected to the first power supply terminal of the level conversion module 4, a second output terminal connected to the second power supply terminal of the level conversion module 4, a third output terminal connected to the power supply terminal of the processing module 1, a fourth output terminal connected to the power supply terminal of the digital-to-analog conversion module 2, and a fifth output terminal connected to the power supply terminal of the digital signal transmission module 3, and is used to supply power to the level conversion module 4, the processing module 1, the digital-to-analog conversion module 2, and the digital signal transmission module 3, respectively.

[0080] It is understandable that some or all of the modules in the data acquisition circuit, including the level conversion module 4, processing module 1, digital-to-analog conversion module 2, and digital signal transmission module 3, require a certain power supply to function properly. Therefore, during the design phase, an internal power supply module within the data acquisition circuit can be used to provide the necessary power for these modules to operate normally. The output voltages of the power supply modules can be consistent or inconsistent. This application does not impose any specific limitations on the specific type and implementation method of the power supply modules. The specific magnitude of the output voltage at each output terminal can be selected based on the specific settings and application requirements of each working module. Considering that the level conversion module 4 requires two power supplies to achieve level conversion, the power supply module can be configured with two output terminals connected to the level conversion module 4 to provide the two power supplies required for level conversion. Figure 2 As shown, the working requirements of each working module in the circuit can also be met by connecting an external power supply to the power input and power output terminals.

[0081] Specifically, a power supply module can be further set up in the data acquisition circuit to provide power to the various internal working modules so as to drive each working module to work normally. By setting different output terminals, electrical isolation between different working modules can be achieved to avoid mutual interference between different working modules.

[0082] As an optional embodiment, the digital signal transmission module 3 includes a CAN transceiver and a CAN bus;

[0083] The data input terminal of the CAN transceiver is connected to the second output terminal of the processing module 1. The output terminal is connected to the control system of the device under test via the CAN bus. The CAN transceiver is used to output other data in the operating parameters in digital form via the CAN bus when it receives the data acquisition command issued by the control system.

[0084] It's easy to understand that the digital signal transmission module 3 can be implemented using a CAN communication interface circuit composed of a CAN chip. This CAN communication interface circuit connects to the control system of the device under test via the CAN bus. After receiving the data acquisition command from the control system, the processing module 1 sends the corresponding other data to the TXD or RXD pin of the CAN transceiver. The CAN transceiver converts this data into differential signals on CAN_H and CAN_L, which are then transmitted to the CAN bus via these two lines, allowing other data to be output to the control system. At this point, the CAN communication interface circuit in the data acquisition circuit is connected to the control system via CAN_H and CAN_L, and the analog-to-digital converter module 2 is connected to the control system via the analog signal output line and ground line. The entire data acquisition circuit only needs to connect to the control system through four signals, which further simplifies the wiring of the control system compared to the six signals (A, A-, B, B-, Z, Z-) required for a direct connection between the encoder and the control system.

[0085] Specifically, the digital signal transmission module 3 can be implemented through a CAN communication interface circuit. The CAN communication interface circuit can use CAN_H and CAN_L to achieve differential signal transmission, improve the stability and reliability of other data transmissions, and ensure the stability and reliability of the data acquisition circuit and the control system.

[0086] As an optional embodiment, processing module 1 includes:

[0087] The first processing submodule has its input end connected to the output end of the encoder and its output end connected to the input end of the digital-to-analog converter module 2. It is used to determine the preset data in the operating parameters of the device under test based on the motion parameters of the device under test and output the preset data to the digital-to-analog converter module 2.

[0088] The second processing submodule has its input end connected to the output end of the encoder and its output end connected to the input end of the digital signal transmission module 3. It is used to determine other data in the operating parameters of the device under test based on the motion parameters of the device under test and output the other data to the digital signal transmission module 3.

[0089] Understandably, to achieve parallel processing of preset data and other data, and to ensure real-time acquisition of preset data by the control system, processing module 1 can also be configured with a first processing submodule for generating preset data and a second processing submodule for generating other data. By setting up two independent processing submodules, the generation and processing processes of preset data and other data are distinguished, ensuring that processing module 1 can process the preset data quickly and in real time. Simultaneously, the output of the first processing submodule is connected to the input of the digital-to-analog converter module 2, and the output of the second processing submodule is connected to the input of the digital signal transmission module 3, directly distinguishing the preset data from other data during processing. This application does not impose specific limitations on the specific types and implementation methods of the first and second processing submodules; they need to be selected and set according to the specific processing requirements of the preset data or other data in the actual application. Taking a motor as an example, the preset data is the rotor position of the motor. The rotor position of the motor needs to be calculated by counting the number of output pulse signals from the encoder; therefore, the first processing submodule can be a counting module such as a counter.

[0090] Specifically, two independent processing sub-modules are set directly in processing module 1, so that processing module 1 can generate preset data in real time based on the encoder detection results in a timely and effective manner, ensuring the real-time acquisition of preset data, improving the working efficiency of processing module 1, and ensuring the real-time control of the control system.

[0091] To address the aforementioned technical problems, this utility model also provides a data acquisition device, including an encoder and a data acquisition circuit as described above. The output terminal of the encoder is connected to the input terminal of the data acquisition circuit, and the encoder is used to acquire the motion parameters of the device under test. Figure 6 As shown, the control system can be implemented using a controller composed of a CPU (Central Processing Unit) board. The data acquisition device can also be equipped with a power isolation module, a signal isolation and conditioning module, etc., to form a complete encoder measurement module. This application does not make any special limitations on other circuit structures in the data acquisition device.

[0092] For a description of the data acquisition device provided by this utility model, please refer to the above-described embodiment of the data acquisition circuit; this utility model will not be described again here.

[0093] The various embodiments described in this specification are presented in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. It should also be noted that in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes said element.

[0094] The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily 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 is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data acquisition circuit, characterized by, The application relates to a signal conversion device for an encoder, which comprises the following parts: a processing module, an input end of which is connected with an output end of the encoder, and used for converting the motion parameters of a device under test collected by the encoder into operation parameters of the device under test; a digital-analog conversion module, a first output end of which is connected with the processing module, and used for converting preset data in the operation parameters into analog quantities and outputting the analog quantities; wherein the preset data is data with a change rate greater than a preset value in the operation parameters; a digital signal transmission module, a second output end of which is connected with the processing module, and used for directly outputting other data in the operation parameters in the form of digital quantities; wherein the other data is data other than the preset data in the operation parameters.

2. The data acquisition circuit of claim 1, wherein, The application further comprises: a level conversion module, an input end of which is connected with the output end of the encoder, and an output end of which is connected with the input end of the processing module, and used for converting the logic level of the digital quantity output by the encoder into the logic level supported by the processing module.

3. The data acquisition circuit of claim 2, wherein, The level conversion module comprises: a controllable switch, a control end of which is connected with the output end of the encoder, a first end of which is grounded, and which is used for being turned on when the encoder outputs a low-level signal and turned off when the encoder outputs a high-level signal; a first current limiting module, a first end of which is connected with a first preset power supply, a second end of which is connected with a second end of the controllable switch and used as an output end of the level conversion module.

4. The data acquisition circuit of claim 3, wherein, The controllable switch is an optical coupler, a first input end of the optical coupler is connected with the output end of the encoder, a first output end of the optical coupler is grounded, and a second output end of the optical coupler is connected with the second end of the first current limiting module and used as the output end of the level conversion module. Correspondingly, the level conversion module further comprises: a second current limiting module, a first end of which is connected with a second preset power supply, and a second end of which is connected with a second input end of the optical coupler.

5. The data acquisition circuit of claim 4, wherein, The level conversion module further comprises: a first unidirectional conduction module, a positive electrode of which is connected with the output end of the encoder, and a negative electrode of which is connected with the first input end of the optical coupler; and / or, a voltage stabilizing module, a first end of which is connected with the second output end of the optical coupler and the second end of the first current limiting module respectively, a second end of which is grounded, and a first output end of which is connected with the optical coupler.

6. The data acquisition circuit of claim 5, wherein, The level conversion module further comprises: a second unidirectional conduction module, a positive electrode of which is connected with the negative electrode of the first unidirectional conduction module and the first input end of the optical coupler respectively, and a negative electrode of which is connected with the second end of the second current limiting module and the second input end of the optical coupler respectively.

7. The data acquisition circuit of claim 4, wherein, The application further comprises: a power supply module, a first output end of which is connected with a first power supply end of the level conversion module, a second output end of which is connected with a second power supply end of the level conversion module, a third output end of which is connected with a power supply end of the processing module, a fourth output end of which is connected with a power supply end of the digital-analog conversion module, and a fifth output end of which is connected with a power supply end of the digital signal transmission module, and which is used for supplying power to the level conversion module, the processing module, the digital-analog conversion module and the digital signal transmission module respectively.

8. The data acquisition circuit of claim 1, wherein, The digital signal transmission module comprises a CAN transceiver and a CAN bus. The data input end of the CAN transceiver is connected with the second output end of the processing module, the output end is connected with the control system of the device under test through a CAN bus, and the CAN transceiver is used for sequentially outputting other data in the operation parameters in the form of digital quantity through the CAN bus when receiving a data acquisition instruction issued by the control system.

9. The data acquisition circuit of any one of claims 1 to 8, wherein, The processing module comprises: A first processing submodule, an input end of which is connected with an output end of the encoder, and an output end of which is connected with an input end of the digital-analog conversion module, is used for determining preset data in the operation parameters of the device under test based on the motion parameters of the device under test, and outputting the preset data to the digital-analog conversion module; A second processing submodule, an input end of which is connected with an output end of the encoder, and an output end of which is connected with an input end of the digital signal transmission module, is used for determining other data in the operation parameters of the device under test based on the motion parameters of the device under test, and outputting the other data to the digital signal transmission module.

10. A data acquisition device, characterized by The data acquisition circuit comprises an encoder and a data acquisition circuit according to any one of claims 1 to 9, an output end of the encoder is connected with an input end of the data acquisition circuit, and the encoder is used for acquiring motion parameters of a device under test.