Digital-to-analog conversion circuit, controller and electronic equipment

By introducing a voltage-to-current conversion module and a control module, flexible switching between voltage and current signals is achieved, solving the problem that the MCU's internal DAC cannot output current signals, simplifying the circuit structure and reducing costs.

CN224178160UActive Publication Date: 2026-04-28SHENZHEN CITY SAMKOON TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN CITY SAMKOON TECH
Filing Date
2025-04-30
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing technology, the digital-to-analog converter (DAC) integrated inside the microcontroller unit (MCU) only supports voltage analog signal output, which cannot meet the requirements of current analog signal, resulting in complex circuit structure and high cost.

Method used

A voltage-to-current conversion module is introduced, and the output paths of voltage and current signals are flexibly switched through a control module to realize the conversion of digital signals to analog voltage and current signals. The voltage-to-current conversion module is used to achieve the synchronous availability of voltage and current signals.

Benefits of technology

It reduces the complexity and cost of digital-to-analog conversion circuits, simplifies the circuit structure, avoids the space occupation and cost burden caused by multi-chip integration, and improves the ability to adapt to various external device control scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224178160U_ABST
    Figure CN224178160U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a digital-to-analog conversion circuit, a controller and electronic equipment, and belongs to the technical field of programmable logic controllers. The circuit comprises a control module for generating a device control signal for controlling an external device. And the digital-to-analog conversion module is connected with the control module and is used for converting the equipment control signal from a digital signal to an analog voltage signal. And the voltage signal output module is used for outputting an analog voltage signal to external equipment. The voltage and current conversion module is connected with the control module, the control module is used for controlling the voltage and current conversion module to be in a module starting state, the voltage and current conversion module is connected with the digital-to-analog conversion module, and the voltage and current conversion module is used for converting an analog voltage signal into an analog current signal according to the module starting state. And the current signal output module is used for outputting an analog current signal to external equipment. According to the embodiment of the invention, the complexity of the digital-to-analog conversion circuit can be reduced, and selectable voltage or current analog signal output can be realized through a simple circuit structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of programmable logic controller technology, and in particular to a digital-to-analog converter circuit, controller, and electronic device. Background Technology

[0002] In industrial automation, digital-to-analog (DAC) circuits are used to convert voltage or current signals from digital to analog output. Currently, the built-in digital-to-analog converter (DAC) of a microcontroller unit (MCU) is typically used for this conversion. However, the DAC integrated within the MCU usually only supports the output of analog voltage signals, failing to meet the requirements for outputting analog current signals. Related technologies combine high-performance MCUs with external DAC chips to achieve simultaneous output of multiple analog voltage and current signals. However, simultaneously outputting both types of analog signals leads to complex circuit structures. Therefore, reducing the complexity of DAC circuits has become a pressing technical problem. Utility Model Content

[0003] The main objective of this application is to provide a digital-to-analog converter circuit, controller, and electronic device, which aims to reduce the complexity of the digital-to-analog converter circuit and achieve selectable voltage or current analog signal output with a simple circuit structure.

[0004] To achieve the above objectives, a first aspect of this application provides a digital-to-analog converter circuit, comprising:

[0005] The control module generates device control signals for controlling external devices;

[0006] A digital-to-analog converter module, which is connected to the control module, is used to convert the device control signals from digital signals to analog voltage signals;

[0007] A voltage signal output module, which is connected to the digital-to-analog converter module, is used to output the analog voltage signal to the external device;

[0008] A voltage-to-current conversion module is provided, which is connected to the control module. The control module is used to control the voltage-to-current conversion module to be in a module start-up state. The voltage-to-current conversion module is also connected to the digital-to-analog conversion module, which is used to convert the analog voltage signal into an analog current signal according to the module start-up state.

[0009] A current signal output module, which is connected to the voltage-to-current conversion module, is used to output the analog current signal to the external device.

[0010] In some embodiments, the voltage-to-current conversion module includes:

[0011] Adjustment unit, the adjustment unit being used to determine the conversion ratio parameter;

[0012] A current conversion unit is connected to both the adjustment unit and the digital-to-analog conversion module. The current conversion unit is used to convert the analog voltage signal according to the conversion ratio parameter to obtain the analog current signal.

[0013] In some embodiments, the current conversion unit includes a regulated input terminal and a regulated output terminal;

[0014] The voltage-to-current conversion module further includes a first resistor and a second resistor. The regulated input terminal is grounded through the first resistor, and the regulated output terminal is grounded through a series connection of the first resistor and the second resistor. The current conversion unit is used to determine the regulated voltage based on the resistance values ​​of the first resistor and the second resistor, and input the regulated voltage into the digital-to-analog conversion module.

[0015] In some embodiments, the adjustment unit includes a reference resistor, the current conversion unit includes a conversion input terminal, a transconductance setting terminal, and a current signal output terminal, and the digital-to-analog conversion module includes a voltage signal output terminal;

[0016] The first end of the reference resistor is connected to the transconductance setting end, the second end of the reference resistor is grounded, the conversion input end is connected to the voltage signal output end, the current conversion unit is used to determine the conversion ratio parameter according to the resistance value of the reference resistor and the voltage value of the analog voltage signal; the current signal output end is used to output the analog current signal obtained by converting the analog voltage signal according to the conversion ratio parameter.

[0017] In some embodiments, the voltage-to-current conversion module further includes a switching unit, wherein a first terminal of the switching unit is connected to the control module and the voltage signal output terminal, and a second terminal of the switching unit is connected to the conversion input terminal;

[0018] The control module is also used to control the switching unit to be in a conducting state. The switching unit is used to form a connection path between the conversion input terminal and the voltage signal output terminal according to the conducting state, so that the voltage-current conversion module is in the module start-up state.

[0019] In some embodiments, the current conversion unit further includes an enable terminal connected to the control module, used to control the voltage-current conversion module to be in the module start-up state according to the control signal level sent by the control module.

[0020] In some embodiments, the voltage-to-current conversion module further includes a current driving unit, which is connected to the current signal output module.

[0021] In some embodiments, the current signal output terminal includes a current source output pin and a drive output pin, and the current drive unit includes a third resistor, a fourth resistor, and a drive switch transistor;

[0022] The first end of the third resistor is connected to the current source output pin, the second end of the third resistor is connected to the collector of the driving switch transistor, the emitter of the driving switch transistor is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the current signal output module, and the base of the driving switch transistor is connected to the driving output pin.

[0023] The analog-to-digital converter circuit proposed in this application has at least the following advantages: By introducing a voltage-to-current conversion module and flexibly switching between the output paths of voltage and current signals under the control of the control module, a conversion architecture for digital signals to analog voltage and current signals is realized. This circuit features high integration and controllability in its structural design, supporting not only the output of analog voltage signals but also the further conversion of analog voltage signals into analog current signals according to actual needs, thus enhancing its adaptability to various external device control scenarios. Compared to existing technologies that employ high-performance MCUs and external multi-chip solutions, this application utilizes a voltage-to-current conversion module to achieve synchronous availability of voltage and current signals, significantly reducing the complexity of the overall circuit structure and avoiding the space occupation and cost burden caused by multi-chip integration. Therefore, this analog-to-digital converter circuit is low-cost and simple in structure, effectively reducing the complexity of analog-to-digital converter circuits and overcoming the disadvantages of complex circuits and high space occupation in existing solutions.

[0024] To achieve the above objectives, a second aspect of the present application provides a controller, which includes a digital-to-analog converter circuit as described in the first aspect of the technical solution.

[0025] The controller according to the embodiments of this application has at least the following beneficial effects: by employing the digital-to-analog conversion circuit described in the first aspect, the controller can selectively output analog voltage signals and analog current signals to external devices as needed.

[0026] To achieve the above objectives, a third aspect of the present application provides an electronic device including the controller described in the second aspect of the technical solution.

[0027] The electronic device according to the embodiments of this application has at least the following beneficial effects: by employing the controller described in the second aspect, the electronic device can optionally output analog voltage signals and analog current signals to external devices as needed. Attached Figure Description

[0028] Figure 1 This is an optional module diagram of the digital-to-analog converter circuit provided in the embodiments of this application;

[0029] Figure 2 This is another optional module diagram of the digital-to-analog converter circuit provided in the embodiments of this application;

[0030] Figure 3 This is another optional circuit diagram of the digital-to-analog conversion circuit provided in the embodiments of this application;

[0031] Figure 4 This is another optional circuit diagram of the digital-to-analog conversion circuit provided in the embodiments of this application.

[0032] Reference numerals: Control module 100; Digital-to-analog conversion module 200; Voltage signal output module 300; Voltage-to-current conversion module 400; Adjustment unit 401; Current conversion unit 402; Current drive unit 403; Switching unit 404; Current signal output module 500; External device 600. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0034] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0036] First, let's analyze some of the terms used in this application:

[0037] A Programmable Logic Controller (PLC) is a digital electronic system specifically designed for industrial applications. It uses a programmable memory to store instructions for performing logical operations, sequential control, timing, counting, and arithmetic operations, controlling various types of machinery or production processes through digital or analog inputs and outputs.

[0038] A current mirror is used to generate bias current or as an active load, and is also a basic unit circuit of current-mode circuits. The output current of an ideal current mirror does not change with its output voltage; its equivalent model is a current-controlled current source. The main performance parameters of a current mirror include current amplification, output AC small-signal resistance, and output voltage swing. The current amplification is the ratio between the output current and the input current, and is generally an integer.

[0039] In industrial automation, digital-to-analog converters (DACs) are used to convert voltage or current signals from digital to analog output. Currently, the built-in digital-to-analog converter (DAC) of a microcontroller unit (MCU) is typically used for this conversion. However, the DAC integrated within an MCU usually only supports analog voltage signal output and cannot meet the requirements for analog current signal output. Furthermore, the DAC integrated within an MCU can only achieve voltage output within a relatively small range, and it is also unsuitable for some industrial control scenarios that require positive and negative voltage outputs.

[0040] In related technologies, a combination of a high-performance MCU and an external digital-to-analog converter chip is used to achieve synchronous output of multiple analog voltage and analog current signals. However, simultaneously outputting these two analog signals leads to complex circuit structures and excessive costs. For example, the DAC8760 integrates a DAC, internal operational amplifiers, a current reference unit, and expansion ports, and has one voltage output pin and one current output pin. When only one voltage output is needed, the other voltage or current output circuit of the chip is essentially idle. Therefore, in scenarios requiring only one output, excess hardware resources are wasted, and higher costs are incurred. To achieve simultaneous output of two voltage and current signals, two DAC8760s must be connected in series via a bus, which significantly reduces the design space budget for other parts of the circuit board, given limited design space.

[0041] Therefore, how to reduce the complexity of digital-to-analog conversion circuits has become an urgent technical problem to be solved.

[0042] Based on this, embodiments of this application provide a digital-to-analog converter circuit, a controller, and an electronic device, which aim to reduce the complexity of the digital-to-analog converter circuit and achieve selectable voltage or current analog signal output with a simple circuit structure.

[0043] The digital-to-analog conversion circuit, controller, and electronic device provided in this application are specifically described through the following embodiments. First, the digital-to-analog conversion circuit in the embodiments of this application is described.

[0044] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0045] Figure 1 This is an optional module diagram of the digital-to-analog converter circuit provided in an embodiment of this application. One embodiment of the digital-to-analog converter circuit includes: a control module 100, which generates device control signals for controlling external devices.

[0046] The digital-to-analog converter module 200 is connected to the control module 100 and is used to convert the device control signals from digital signals to analog voltage signals.

[0047] The voltage signal output module 300 is connected to the digital-to-analog converter module 200 and is used to output analog voltage signals to the external device 600.

[0048] A voltage-to-current conversion module 400 is connected to a control module 100. The control module 100 is used to control the voltage-to-current conversion module 400 to be in the module start-up state. The voltage-to-current conversion module 400 is connected to a digital-to-analog conversion module 200. The voltage-to-current conversion module 400 is used to convert analog voltage signals into analog current signals according to the module start-up state.

[0049] The current signal output module 500 is connected to the voltage-current conversion module 400 and is used to output an analog current signal to the external device 600.

[0050] The digital-to-analog converter circuit provided in this application has at least the following beneficial technical effects: By introducing a voltage-to-current conversion module and flexibly switching between the output paths of voltage and current signals under the control of the control module, a conversion architecture for digital signals to analog voltage and current signals is realized. This circuit has high integration and controllability in its structural design, supporting not only the output of analog voltage signals but also the further conversion of analog voltage signals into analog current signals according to actual needs, thus enhancing its adaptability to various external device control scenarios. Compared to existing technologies that employ high-performance MCUs and external multi-chip solutions, this application utilizes a voltage-to-current conversion module to achieve synchronous availability of voltage and current signals, significantly reducing the complexity of the overall circuit structure and avoiding the space occupation and cost burden caused by multi-chip integration. Therefore, this digital-to-analog converter circuit is low-cost and simple in structure, effectively reducing the complexity of digital-to-analog converter circuits and overcoming the disadvantages of complex circuits and high space occupation in existing solutions.

[0051] In this embodiment, the voltage signal output module 300 and the current signal output module can be connection terminals, but are not limited thereto. In the industrial control scenario of this embodiment, the external device 600 refers to various industrial field devices that are connected to, controlled by, or provide signals to the PLC. These can be actuators (such as solenoid valves, relays, contactors, servo motors, stepper motors, and frequency converters), sensor devices, detection instruments and acquisition devices, load devices (such as heaters, pumps, fans, industrial robots, conveyor belt systems, etc.), and analog input / output devices (such as frequency converters, regulating valves, proportional amplifiers, etc., that need to receive analog voltage or current signals output by the PLC), but are not limited thereto.

[0052] Please refer to Figure 2 , Figure 2 This is another optional module diagram of the digital-to-analog converter circuit provided in this application embodiment. In some embodiments, the voltage-to-current conversion module 400 includes: an adjustment unit 401 and a current conversion unit 402. The adjustment unit 401 is used to determine the conversion ratio parameter. It should be noted that the conversion ratio parameter is the ratio between the voltage value of the analog voltage signal output by the analog-to-analog converter module 200 and the current value of the analog current signal.

[0053] The current conversion unit 402 is connected to both the adjustment unit 401 and the digital-to-analog conversion module 200. The current conversion unit 402 is used to convert the analog voltage signal into an analog current signal according to the conversion ratio parameter. Furthermore, the current conversion unit 402 is also connected to the control module.

[0054] Please refer to Figure 3 , Figure 3 This is another optional circuit diagram of the digital-to-analog converter circuit provided in this application embodiment. In this embodiment, the current conversion unit 402 can be an XTR111 chip, but is not limited thereto. The adjustment unit 401 includes a reference resistor Rset, the current conversion unit 402 includes a conversion input terminal VIN, a transconductance setting terminal SET, and a current signal output terminal, and the digital-to-analog converter module 200 includes a voltage signal output terminal VOUT. Specifically, the first terminal of the reference resistor Rset is connected to the transconductance setting terminal SET, and the second terminal of the reference resistor Rset is grounded. The conversion input terminal VIN is connected to the voltage signal output terminal VOUT, and the current conversion unit 402 is used to determine the conversion ratio parameter based on the resistance value of the reference resistor Rset and the voltage value of the analog voltage signal.

[0055] It should be noted that the XTR111 consists of an operational amplifier, a transistor, and a current mirror. The operational amplifier amplifies the input voltage, the transistor converts the voltage into current, and the current mirror amplifies the current by a fixed factor in this product. The relationship between the current value Iout of the analog current signal, the voltage value Vin of the analog voltage signal, and the resistance value Rset of the reference resistor is shown in the analytical formula: Iout = 10(Vin / Rset).

[0056] In industrial automation, the typical requirements for analog output are a voltage range of 0 to 5V and a current range of 0 to 20mA. After receiving a command from the control module 100, the analog-to-digital converter 200 begins outputting an analog voltage signal of 0 to 5V. By setting the reference resistor Rset to 250 ohms, the current conversion unit 402 can be configured to output an analog current signal of 0 to 20mA. Therefore, to change the current output range, only the value of the reference resistor Rset needs to be adjusted. This embodiment enhances the flexibility of the circuit's output current range to meet diverse requirements.

[0057] The current signal output terminal is used to output the analog current signal obtained by converting the analog voltage signal according to the conversion ratio parameter.

[0058] Furthermore, the voltage-to-current conversion module 400 also includes a current driving unit 403, through which the current conversion unit 402 is connected to the current signal output module 500. Specifically, the current signal output terminal includes a current source output pin IS and a drive output pin VG. The current driving unit includes a third resistor R3, a fourth resistor R4, and a drive switch Q1. The first end of the third resistor R3 is connected to the current source output pin IS, the second end of the third resistor R3 is connected to the collector of the drive switch Q1, the emitter of the drive switch Q1 is connected to the first end of the fourth resistor R4, the second end of the fourth resistor R4 is connected to the current signal output module 500, and the base of the drive switch Q1 is connected to the drive output pin VG. The current driving unit 403 can increase the load-carrying capacity when the circuit driving capability is insufficient.

[0059] In this embodiment, there are two methods for controlling the activation of the current conversion unit 402. In some embodiments, the current conversion unit 402 further includes an enable terminal OD, which is connected to the control module 100 and used to control the voltage-to-current conversion module 400 to be in the module start-up state according to the control signal level sent by the control module 100. When the control signal level received by the enable terminal OD is high, the current conversion unit 402 is disabled from outputting, so the voltage-to-current conversion module 400 is in the module off state. When the control signal level received by the enable terminal OD is low, the current conversion unit 402 outputs normally, so the voltage-to-current conversion module 400 is in the module start-up state.

[0060] Please refer to Figure 4 , Figure 4 This is another optional circuit diagram of the digital-to-analog converter circuit provided in the embodiments of this application. In some other embodiments, the voltage-to-current conversion module 400 further includes a switching unit 404. The first terminal of the switching unit 404 is connected to the control module 100 and the voltage signal output terminal VOUT, respectively, and the second terminal of the switching unit 404 is connected to the conversion input terminal VIN. The control module 100 is also used to control the switching unit 404 to be in a conducting state. The switching unit 404 is used to form a connection path between the conversion input terminal VIN and the voltage signal output terminal VOUT according to the conducting state, so that the voltage-to-current conversion module 400 is in a module start-up state. The switching unit 404 may be a switching chip, transistor, or switching transistor controlled by a signal level, etc., and is not limited thereto.

[0061] In some embodiments, the current conversion unit 402 includes a regulated input terminal REGS and a regulated output terminal REGF. The voltage-to-current conversion module 400 also includes a first resistor R1 and a second resistor R2. The regulated input terminal REGS is grounded through the first resistor R1, and the regulated output terminal REGF is grounded through a series connection of the first resistor R1 and the second resistor R2. The current conversion unit 402 is used to determine the regulated voltage V based on the resistance values ​​of the first resistor R1 and the second resistor R2. REGF and the regulated voltage V REGF Input to the digital-to-analog converter module 200. It can be understood that the first resistor R1 and the second resistor R2 together form a voltage divider, dividing the voltage at the regulated output terminal REGF and inputting it to the regulated input terminal REGS. Setting the voltage at the regulated input terminal REGS to 3V will enable the regulator to output a regulated voltage V. REGF The voltage value V at the regulated output terminal REGF. REGF The relationship between the voltage value at the regulated input terminal REGS, the resistance value of the first resistor R1, and the resistance value of the second resistor R2 is shown in the analytical formula: The V REGF The voltage can be used as the power supply voltage for external signal sources, ensuring stable output and preventing fluctuations in the main power supply.

[0062] The current conversion unit 402 also includes a GND pin, an EF# pin, and a VSP pin, wherein the GND pin is grounded, the EF# pin is floating, and the VSP pin is connected to a 24V power supply. In this embodiment, the digital-to-analog converter module 200 can be a single-channel DAC chip DAC7571. The digital-to-analog converter module 200 also includes an SCL pin, an SDA pin, a VDD pin, and an A0 pin. The SCL pin and the SDA pin are connected to the control module 100, the A0 pin is floating, and the VDD pin is connected to a 5V power supply.

[0063] This application also provides a controller, including the aforementioned digital-to-analog converter circuit. In this embodiment, the controller may be a PLC controller.

[0064] This application also provides an electronic device, which includes the controller described above. This electronic device can be an industrial automation device (such as an automatic control cabinet, an industrial robot system), a signal processing terminal (such as an analog signal conditioning module, a remote I / O module), or an embedded device with analog output functionality, etc.

[0065] The specific implementation of the controller and electronic device is basically the same as the specific embodiment of the digital-to-analog conversion circuit described above, and will not be repeated here.

[0066] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0067] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0068] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0069] Those skilled in the art will understand that the functional modules / units in the systems and devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof.

[0070] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0071] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0072] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0073] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0074] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0075] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A digital-to-analog converter circuit, characterized in that, The circuit includes: The control module generates device control signals for controlling external devices; A digital-to-analog converter module, which is connected to the control module, is used to convert the device control signals from digital signals to analog voltage signals; A voltage signal output module, which is connected to the digital-to-analog converter module, is used to output the analog voltage signal to the external device; A voltage-to-current conversion module is provided, which is connected to the control module. The control module is used to control the voltage-to-current conversion module to be in a module start-up state. The voltage-to-current conversion module is also connected to the digital-to-analog conversion module, which is used to convert the analog voltage signal into an analog current signal according to the module start-up state. A current signal output module, which is connected to the voltage-to-current conversion module, is used to output the analog current signal to the external device.

2. The digital-to-analog converter circuit according to claim 1, characterized in that, The voltage-to-current conversion module includes: Adjustment unit, the adjustment unit being used to determine the conversion ratio parameter; A current conversion unit is connected to both the adjustment unit and the digital-to-analog conversion module. The current conversion unit is used to convert the analog voltage signal according to the conversion ratio parameter to obtain the analog current signal.

3. The digital-to-analog converter circuit according to claim 2, characterized in that, The current conversion unit includes a regulated input terminal and a regulated output terminal; The voltage-to-current conversion module further includes a first resistor and a second resistor. The regulated input terminal is grounded through the first resistor, and the regulated output terminal is grounded through a series connection of the first resistor and the second resistor. The current conversion unit is used to determine the regulated voltage based on the resistance values ​​of the first resistor and the second resistor, and input the regulated voltage into the digital-to-analog conversion module.

4. The digital-to-analog converter circuit according to claim 2, characterized in that, The adjustment unit includes a reference resistor, the current conversion unit includes a conversion input terminal, a transconductance setting terminal and a current signal output terminal, and the digital-to-analog conversion module includes a voltage signal output terminal. The first end of the reference resistor is connected to the transconductance setting end, the second end of the reference resistor is grounded, the conversion input end is connected to the voltage signal output end, the current conversion unit is used to determine the conversion ratio parameter according to the resistance value of the reference resistor and the voltage value of the analog voltage signal; the current signal output end is used to output the analog current signal obtained by converting the analog voltage signal according to the conversion ratio parameter.

5. The digital-to-analog converter circuit according to claim 4, characterized in that, The voltage-to-current conversion module further includes a switching unit, the first end of which is connected to the control module and the voltage signal output terminal, and the second end of which is connected to the conversion input terminal. The control module is also used to control the switching unit to be in a conducting state. The switching unit is used to form a connection path between the conversion input terminal and the voltage signal output terminal according to the conducting state, so that the voltage-current conversion module is in the module start-up state.

6. The digital-to-analog converter circuit according to claim 4, characterized in that, The current conversion unit also includes an enable terminal, which is connected to the control module and is used to control the voltage-current conversion module to be in the module start state according to the control signal level sent by the control module.

7. The digital-to-analog converter circuit according to claim 4, characterized in that, The voltage-to-current conversion module further includes a current driving unit, which is connected to the current signal output module.

8. The digital-to-analog converter circuit according to claim 7, characterized in that, The current signal output terminal includes a current source output pin and a drive output pin, and the current drive unit includes a third resistor, a fourth resistor, and a drive switch transistor. The first end of the third resistor is connected to the current source output pin, the second end of the third resistor is connected to the collector of the driving switch transistor, the emitter of the driving switch transistor is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the current signal output module, and the base of the driving switch transistor is connected to the driving output pin.

9. A controller, characterized in that, The controller includes the digital-to-analog conversion circuit as described in any one of claims 1 to 8.

10. An electronic device, characterized in that, The electronic device includes the controller as described in claim 9.