A matrix array cell voltage control circuit based on a scanning digital-to-analog conversion
By using a matrix array unit voltage control circuit based on scanning digital-to-analog conversion, precise voltage control of large-area electrochromic devices is achieved using digital-to-analog converter chips and relays. This solves the problems of redundancy and high cost in control circuits, and realizes flexible voltage adjustment and real-time color-changing effects.
Patent Information
- Application Number
- CN202310578751.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-05-22
AI Technical Summary
Existing technologies for large-area electrochromic devices suffer from hardware redundancy and high costs in their control circuit design, and it is difficult to achieve real-time and uniform color-changing patterns.
A matrix array unit voltage control circuit based on scanning digital-to-analog conversion is adopted. Through row voltage transformation output drive module and column voltage scanning output drive module, the digital-to-analog conversion chip and relay are used to achieve precise voltage control of each color-changing unit in the matrix array, reducing the use of microcontroller interface.
It enables precise and flexible voltage adjustment of each unit in the matrix array, reduces voltage control points, meets the requirements of uniformity and timeliness of map switching, and reduces hardware costs.
Smart Images

Figure CN116524872B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of matrix array cell voltage control technology, and more specifically to a matrix array cell voltage control circuit based on scanning digital-to-analog conversion. Background Technology
[0002] Currently, for individual electrochromic thin-film devices, electrochemical workstations are often used to precisely apply voltage to change the device's color. These workstations primarily offer two driving methods: constant current and constant voltage. To apply electrochromic devices to large-scale equipment and achieve adjustable and controllable device colors, multiple electrochromic devices are often arranged in rows and columns and encapsulated as a device coating. This is further aided by color-changing control circuitry to achieve visible light camouflage between the equipment and its surrounding environment.
[0003] Currently, there is little discussion regarding color control technology for large-area electrochromic devices in matrix configurations. Due to the row-and-column arrangement of electrochromic devices, each device requires a flexibly adjustable voltage drive. However, using one-to-one device color control for large-area electrochromic devices would lead to redundancy and increased cost in the control hardware circuit design. Furthermore, the real-time nature of the color-changing requirements of the covered device must be met. Even with the reduction of voltage control points, the design of the control circuit for this large electrochromic device still needs to ensure uniformity and timeliness during color pattern switching.
[0004] Therefore, how to provide a power supply voltage control method or hardware control circuit that ensures simultaneous image switching for large-area color-changing devices is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] In view of this, the present invention provides a matrix array unit voltage control circuit based on scanning digital-to-analog conversion, the purpose of which is to freely and accurately control the voltage value of each color-changing unit in the matrix array.
[0006] To achieve the above objectives, the present invention adopts the following technical solution:
[0007] A matrix array cell voltage control circuit based on scanning digital-to-analog conversion includes: a microcontroller, and a row voltage conversion output driver module and a column voltage scanning output driver module connected thereto;
[0008] The row voltage conversion output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert the digital voltage value of the microcontroller into an analog voltage and output it to each row of the matrix.
[0009] The column voltage scanning output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert the digital voltage value of the microcontroller into an analog voltage and control the output to each column of the matrix through a gating switch. Each time the column voltage is switched, the row voltage is changed through the row voltage conversion output driving module.
[0010] Preferably, the microcontroller controls multiple digital-to-analog converter chips (either one or two) to receive the digital voltage value sequentially via a decoder chip, thereby reducing the number of microcontroller interfaces.
[0011] Preferably, the plurality of digital-to-analog converter chips one or digital-to-analog converter chip two receive digital voltage values sequentially according to the clock signal of the microcontroller.
[0012] Preferably, the selector switch is configured as a relay, and the on / off state of multiple relays is controlled by a high-current Darlington transistor. The input terminal of the high-current Darlington transistor is connected to the I / O interface of the single chip to amplify the current and drive the relay.
[0013] Preferably, the plurality of said relays are closed only once.
[0014] As can be seen from the above technical solution, the present invention discloses a voltage control circuit for a matrix array unit based on scanning digital-to-analog conversion. Compared with the prior art, the present invention can realize precise and flexible voltage adjustment at each unit in the matrix array, and the units do not affect each other; while meeting the requirements of map switching, the number of voltage control points is reduced.
[0015] Meanwhile, this application utilizes a decoder chip to select and control the operating state of the digital-to-analog converter chip, expanding the microcontroller interface and greatly reducing the use of the microcontroller interface; the invention has versatility and scalability, and the design concept is applicable to larger-scale matrix array voltage output. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of the overall structure of the matrix array unit voltage control circuit based on scanning digital-to-analog conversion of the present invention;
[0018] Figure 2 This is a schematic diagram of the structure of the line voltage conversion output drive module of the present invention;
[0019] Figure 3 This is a schematic diagram of the column voltage scanning output drive module structure of the present invention;
[0020] Figure 4 This is a flowchart of the static voltage output of the row / column module of the present invention;
[0021] Figure 5 This is a flowchart for the row-to-column scanning dynamic voltage output. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] This invention discloses a matrix array unit voltage control circuit based on scanning digital-to-analog conversion, such as... Figure 1 It includes: a microcontroller, and a row voltage conversion output driver module and a column voltage scanning output driver module connected to it;
[0024] The row voltage conversion output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert the digital voltage value of the microcontroller into an analog voltage and output it to each row of the matrix.
[0025] The column voltage scanning output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert the digital voltage value of the microcontroller into an analog voltage and control the output to each column of the matrix through a gating switch. Each time the column voltage is switched, the row voltage is changed through the row voltage conversion output driving module.
[0026] Example 1
[0027] The voltage conversion output driver module in this invention is configured to dynamically output voltage, enabling the output port to dynamically change the output voltage value. It includes n digital-to-analog converter chips, which convert the digital voltage value from the microcontroller into an analog voltage and output it to each row of the matrix.
[0028] n digital-to-analog converter chips share a common serial clock input SCLK and a serial data input DIN, where the SCLK and DIN buses are directly connected to the microcontroller's I / O ports.
[0029] In this embodiment, the chip select terminal of the digital-to-analog converter chip is connected to the output terminal of a decoder chip. The decoder chip receives instructions from the microcontroller to control the digital-to-analog converter chip, thereby reducing the use of the microcontroller interface.
[0030] Its structural diagram is as follows Figure 2 As shown, in this embodiment, 10 digital-to-analog converter chips are set, that is, they have 10 voltage output ports and are configured to dynamically output voltage. At each time point, all 10 output ports output voltage, but the voltage output is different at each time point.
[0031] The digital-to-analog converter chip is model TLC5615, which is used to receive digital voltage values transmitted from the data bus interface and convert them into analog voltage values for output; the decoder chip is model 74HC154, which is used to receive instruction signals from the 51 microcontroller and control the working state of the TLC5615 chip.
[0032] Ten TLC5615 chips share a single serial clock input SCLK and serial data input DIN. They receive the binary voltage value input from the serial data input DIN based on the clock signal sent by the serial clock input SCLK.
[0033] The SCLK and DIN buses are directly connected to the I / O ports of the 51 microcontroller. The chip select segment CS of each chip is connected to the 10 outputs of the 74HC154. By inputting different high and low bit instructions to the four inputs of the 74HC154 at different time intervals, 10 TLC5615 chips are selected to operate sequentially. At the same time, the binary digital voltage value specified by the shared DIN input is repeated 10 times to achieve voltage conversion output from the 10 TLC5615 chips.
[0034] Example 2
[0035] In this invention, the column voltage scanning output drive module is configured to output static voltage. The on / off state of the output voltage is controlled by a 5V drive relay, so that only one output port outputs voltage at each time point.
[0036] Its structure includes n digital-to-analog converter chips, which share a serial clock input SCLK and a serial data input DIN. The SCLK and DIN buses are directly connected to the I / O ports of the microcontroller.
[0037] In this embodiment, the chip select terminal of the second digital-to-analog converter chip is connected to the output terminal of a decoder chip. The decoder chip receives instructions from the microcontroller to control the digital-to-analog converter chip, thereby reducing the use of the microcontroller interface.
[0038] Furthermore, the output terminal of the digital-to-analog converter chip two is equipped with a selection switch, which controls the output of each voltage column. In one embodiment, the selection switch is configured as a relay, and the on / off state of multiple relays is controlled by a high-current Darlington transistor. The input terminal of the high-current Darlington transistor is connected to the I / O interface of the single chip to amplify the current to drive the relays.
[0039] It should be noted that each of the aforementioned relays closes only once.
[0040] Specifically, such as Figure 3 As shown, the column voltage scanning output module includes:
[0041] Ten TLC5615 digital-to-analog converter chips are used for analog voltage output; together with Example 1, this enables adjustable voltage in each unit of a 10x10 matrix.
[0042] One 74HC154 decoder chip is used to control the working status of 10 TLC5615 chips; the connection method between the TLC5615 digital-to-analog converter chip and the 74HC154 decoder chip and the microcontroller, as well as their control method, are the same as in Embodiment 1, and will not be repeated here.
[0043] It should be noted that in the column voltage scanning output drive module, the output terminal of the digital-to-analog converter chip two is connected to the input terminal of the 5V drive relay, which is used to control the on and off of the internal coil of the 5V drive relay to realize the on and off of the output voltage.
[0044] The relay's internal coil is energized and de-energized by a ULN2003 high-current Darlington transistor. The input of the ULN2003 high-current Darlington transistor is connected to the I / O port of the 51 microcontroller to amplify the current of the microcontroller's instructions and directly drive the relay. The relay's energization and de-energization are controlled by the high and low levels transmitted by the microcontroller.
[0045] Furthermore, the number of ULN2003 high-current Darlington transistors is set according to the number of digital-to-analog converter chips. In this embodiment, since one ULN2003 high-current Darlington transistor can only connect eight relays, two ULN2003 high-current Darlington transistors are set to achieve control of ten TLC5615s.
[0046] In this embodiment, the row driving module and the column driving module work together under the control of the same microcontroller. The column driving module outputs the voltage of 10 output ports sequentially at different time points through scanning. At the same time, the row driving module changes the voltage value of the 10 voltage output ports. The 20 voltage output ports form a 10-row, 10-column matrix array. The voltage difference formed by the output voltage of the rows and columns controls the voltage of each matrix unit.
[0047] In this invention, the voltage output range of the TLC5615 digital-to-analog converter chip is 0 to +4.096V. The output voltage value is controlled by a 51 microcontroller. The voltage difference formed by the row and column output voltages controls the voltage of each matrix unit, so that the voltage of each matrix can be adjusted within the range of -8.192V to +8.192V. This can meet the voltage range of the color-changing interval of the electrochromic device, and the units do not affect each other. This invention can solve the voltage control problem of each color-changing unit in a large-area packaged electrochromic device.
[0048] Furthermore, the matrix array unit voltage control circuit based on scanning digital-to-analog conversion in this invention, during operation, includes the following control process: static voltage output of the column modules, such as... Figure 4 As shown:
[0049] Step 1: Initialize the circuit by setting all column modules CS1-10 high and SCLK low, thereby setting all ports IO1-IO10 low and making all chips inactive.
[0050] Step 2: Set row module CS1 low and keep other ports high. The first TLC5615 of the column module is working, SCLK is set low, and there is a 2ms delay. The delay time can be changed. The delay time shown in the control circuit code of this invention is 2ms.
[0051] Step 3: Set SCLK high, read the first bit of the binary voltage value into DIN, delay for 2ms, and then set SCLK low.
[0052] Step 4: Repeat steps 2 and 3, sequentially setting ports CS2-CS10 low while keeping other ports high, and sequentially reading the 16-bit data from DIN to make the 10 TLC5615 outputs of the given voltage value in the column module.
[0053] Furthermore, the process of row transformation and column scanning dynamic voltage output is as follows: Figure 5 As shown;
[0054] Step 5: Following the static voltage output method, i.e., steps 1 to 4 above, output the specified voltage for each of the 10 TLC5615s in the row and column modules. At the same time, set all ports IO1-IO10 to low, de-energize all relays, and prevent all voltage output ports of the column module from outputting voltage.
[0055] Step 6: Set IO1 port high and keep other IO ports low. Power on the first relay of the column module, causing the first voltage output port of the column module to output voltage, with a delay of 1 second. The delay time can be changed according to actual needs to meet the display color-changing effect and the responsiveness of the relay.
[0056] Step 7: Set all ports IO1-IO10 to low, and change the voltage of the 10 voltage output ports of the row module according to steps 2 and 3;
[0057] Step 8: Set IO2 port high and keep other IO ports low, power on the second relay of the column module, so that the second voltage output port of the column module outputs voltage, with a delay of 1 second;
[0058] Step 9: Change the row module voltage value according to Steps 2 and 3, and sequentially set IO3-IO10 high while keeping other IO ports low, delay for 1 second; then return to Step 5 to realize the cyclical scanning of row transformation and column scanning.
[0059] The various embodiments in this specification are described 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. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0060] The above description of the disclosed embodiments enables those skilled in the art to make or use the 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 invention. Therefore, the 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 matrix array unit voltage control circuit based on scanning digital-to-analog conversion, characterized in that, include: A microcontroller, and connected to it a row voltage conversion output driver module and a column voltage scanning output driver module; The row voltage conversion output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert the digital voltage value of the microcontroller into an analog voltage and output it to each row of the matrix. Multiple digital-to-analog converter chips share a common serial clock input SCLK and a serial data input DIN. The SCLK and DIN buses are directly connected to the I / O ports of the microcontroller. The chip select pin of one digital-to-analog converter chip is connected to the output pin of a decoder chip. The decoder chip receives instructions from the microcontroller to control the digital-to-analog converter chip. The column voltage scanning output driving module includes multiple digital-to-analog converter chips, which are used to sequentially convert digital voltage values from the microcontroller into analog voltages and control the output to each column of the matrix via gating switches. Multiple digital-to-analog converter chips share a common serial clock input SCLK and a serial data input DIN. The SCLK and DIN buses are directly connected to the I / O ports of the microcontroller. The chip select pin of the digital-to-analog converter chip is connected to the output of a decoder chip. The decoder chip receives instructions from the microcontroller to control the digital-to-analog converter chip. The output terminal of the digital-to-analog converter chip 2 is equipped with a selection switch, which is configured as a relay, and the on / off state of multiple relays is controlled by a high-current Darlington transistor. The input terminal of the high-current Darlington transistor is connected to the I / O interface of the single chip. Specifically, each time the column voltage is switched, the row voltage is changed through the row voltage transformation output drive module.
2. The matrix array unit voltage control circuit based on scanning digital-to-analog conversion according to claim 1, characterized in that, The microcontroller controls multiple digital-to-analog converter chips (either one or two) to receive the digital voltage value sequentially via a decoder chip.
3. The matrix array unit voltage control circuit based on scanning digital-to-analog conversion according to claim 1, characterized in that, The multiple digital-to-analog converter chips one or two receive digital voltage values sequentially according to the clock signal of the microcontroller.
4. The matrix array unit voltage control circuit based on scanning digital-to-analog conversion according to claim 1, characterized in that, The multiple relays are closed only once.
Citation Information
Patent Citations
Film electroluminescence display driver
CN101751851A
Electrochromic aperture, driving circuit and camera
CN111338154A