Power output circuit and burning device

By designing an adjustable power output circuit in the chip burning equipment, the problem of voltage inaccuracy caused by unadjustable power output is solved, and the voltage output adjustment of the consumable chip is realized, ensuring the stability of the burning process and the effective use of the consumable box. .

CN221748191UActive Publication Date: 2024-09-20APEX MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The power output of existing chip burning equipment is not adjustable, resulting in inaccurate voltage output, which may cause burning failure or damage to the equipment system, and cannot effectively utilize the remaining ink or toner in the consumable box.

Method used

A power output circuit is designed, including an analog voltage output module, a switch control module and a sampling module. By adjusting the voltage output, the accuracy of the voltage output is ensured, and the analog voltage output module and switch control module are controlled by a microcontroller to realize the control of different consumables. The voltage output of the chip is adjusted.

Benefits of technology

It improves the voltage output accuracy of the burning equipment, ensures the stability and safety of the burning process, extends the service life of the consumable box, and avoids waste caused by the life limit of the consumable chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221748191U
    Figure CN221748191U
Patent Text Reader

Abstract

The utility model provides a power supply output circuit, which is used for burning equipment and is characterized in that the power supply output circuit comprises an analog voltage output module, a switch control module and a sampling module, the output end of the analog voltage output module is electrically connected with the input end of the switch control module, the input end of the sampling module is electrically connected with the output end of the switch control module, and the output end of the sampling module is electrically connected to the input end of the analog voltage output module; through the power supply output circuit, the analog voltage output module of the burning equipment can adjust own voltage output according to different consumable chips, and the accuracy of voltage output is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of consumable chip burning equipment, in particular to a power output circuit and burning equipment. Background Art

[0002] During the printing imaging process, the printing device needs the assistance of the imaging auxiliary information of the consumable box to complete the imaging process. In addition to being recorded in the printing device, the imaging auxiliary information of the printing device is also recorded on the consumable chip. The consumable chip can be installed on the consumable box, which can be an ink cartridge filled with ink or a toner cartridge filled with toner. The ink cartridge and toner are recording materials. The function of the consumable chip is to control the authentication and data matching between the consumable box and the printing device, and to provide imaging auxiliary information in the subsequent imaging process. The consumable chip is provided with a storage module and a terminal that is electrically connected to the contact pin of the printing device. The storage module stores relevant information such as toner quantity information, manufacturer information, serial number, etc.

[0003] As the consumable box is continuously used, the data recorded in the consumable chip will gradually approach its set usage limit. When a certain number of printed pages or toner usage is reached, the consumable chip will send an exhaustion signal to the printing device. In this case, the printing device usually stops working to prevent the deterioration of print quality or even damage to the printing device due to the exhaustion of toner or ink. However, in some cases, the consumable itself may still have remaining toner or ink, but it cannot be used because the consumable chip has reached its life limit. At this time, if the user wants to continue using the consumable box, he needs to reset the consumable chip or re-burn the data to bypass the limitation of the consumable chip.

[0004] In order to achieve the above purpose, it is necessary to use a specific burning device that can re-burn or modify the data on the consumable chip, thereby resetting the number of times the consumable box is used, the amount of toner, and other information, so that the consumable box can be reused.

[0005] In the prior art, the power output of the burning device is not adjustable, and its applicability is relatively narrow. The system of the burning device cannot ensure whether the voltage is accurate, which may cause burning failure or affect the device system. Summary of the invention

[0006] In view of this, the utility model provides a driving module, a control method and a programming device.

[0007] According to the above purpose, the technical solution of the utility model is achieved as follows:

[0008] In a first aspect, the utility model provides a power output circuit for a burning device, wherein the power output circuit comprises an analog voltage output module, a switch control module, and a sampling module; the output end of the analog voltage output module is electrically connected to the input end of the switch control module, the input end of the sampling module is electrically connected to the output end of the switch control module, and the output end of the sampling module is electrically connected to the input end of the analog voltage output module.

[0009] In a second aspect, the utility model provides a burning device, comprising the power output circuit described in the utility model.

[0010] The power output circuit and the burning device of the utility model can enable the analog voltage output module of the burning device to adjust its own voltage output according to different consumable chips, thereby improving the accuracy of the voltage output. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a structural diagram of a burning device according to an embodiment of the present application;

[0012] Figure 2 A power output circuit diagram of an embodiment of the present application;

[0013] Figure 3 A power output circuit diagram of another embodiment of the present application;

[0014] Figure 4 This is a diagram of a contact detection module of a burning device in the prior art;

[0015] Figure 5 A diagram of a contact identification module according to an embodiment of the present application;

[0016] Figure 6 This is a test head identification module diagram of an embodiment of the present application;

[0017] Figure 7 This is a diagram of a drive control module according to an embodiment of the present application;

[0018] Figure 8 This is a circuit diagram of an analog switch selection according to an embodiment of the present application;

[0019] Fig. 9 A digital potentiometer selection circuit diagram of another embodiment of the present application;

[0020] Fig.10 A power protection circuit diagram of an embodiment of the present application;

[0021] Fig.11 A device switch control circuit diagram of an embodiment of the present application;

[0022] Fig.12 This is a flow chart of device switch control in an embodiment of the present application;

[0023] Fig.13 This is an operational amplifier multiple selection circuit diagram of an embodiment of the present application;

[0024] Fig.14 This is a circuit diagram of the operational amplifier working mode 1 of an embodiment of the present application;

[0025] Fig.15 This is a circuit diagram of the operational amplifier working mode 2 of an embodiment of the present application;

[0026] The reference numerals in the specific implementation manner are as follows:

[0027] 010-test head, 011-probe, 020-device host, 021-power switch, 101-analog voltage output module, 102-switch control module, 103-sampling module, 104-output interface module, 105-op amp module, 111-analog voltage output module 1, 112-switch control module 1, 113-sampling module 1, 114-output interface module 1, 115-op amp module 1, 210-existing probe contact module, 211-chip 1, 220-probe contact identification module, 221-chip 2, 222-module, 300-test head identification module, 301-first contact module, 302-second contact module, 400-drive control module, 401-drive Module, 402-chip three, 403-comparison module, 501-analog voltage output module two, 502-analog switch voltage selection module, 503-sampling module two, 504-analog switch control module, 601-analog voltage output module three, 602-digital potentiometer voltage selection module, 603-sampling module three, 604-digital potentiometer control module, 701-power input module, 702-power detection module, 703-switch selection module, 704-power output module, 800-power switch module, 901-resistance switch control module, 902-op amp module two, 903-resistance switch selection module, 911-op amp working mode one circuit, 921-op amp working mode two circuit. DETAILED DESCRIPTION

[0028] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0029] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0030] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0031] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0032] See also Figure 1 , is a structural diagram of a burning device in one embodiment of the present application, the burning device includes a device host 020, the device host is connected to the test head 010 by a card connection or a connecting line, or a wireless module. In one embodiment of the present application, a power switch 021 is provided on the device host 020 for one-key control of the device on and / or off, and a burning probe 011 for electrically connecting to the chip is provided on the test head 010.

[0033] The chip power supply output of general chip burning equipment is not adjustable, only VCC voltage, generally 3.3V, the power output can control the switch: 3.3V on, 0V off, and the 3.3V output does not have a protection circuit. If the chip power supply is short-circuited, the device hardware may be damaged. The circuit does not measure the power output voltage, and cannot ensure whether the output voltage is accurate.

[0034] like Figure 2 As shown, it is a power output circuit of an embodiment of the present application. Generally speaking, the power output circuit of the present application is set in the test head 010, and can also be set in the device host 020 and obtain sampling feedback and transmission control by being electrically connected to the test head 010. Figure 2 The power output circuit in the embodiment includes an analog voltage output module 101, a switch control module 102, and a sampling module 103; the analog voltage output module 101 generates a required analog voltage, the output end of the analog voltage output module 101 is electrically connected to the input end of the switch control module 102, the switch control module 102 is used to control the on-off of the output end of the power output circuit, when the output voltage of the circuit is abnormal, the switch is disconnected in time, the input end of the sampling module 103 is electrically connected to the output end of the switch control module 102, the output end of the sampling module is electrically connected to the input end of the analog voltage output module 101, the sampling module 103 samples the output voltage of the circuit and feeds it back to the analog voltage output module 101 for adjustment, so as to adjust the appropriate output voltage.

[0035] In one embodiment of the present application, Figure 2 As shown, the power output circuit also includes a main control module (not shown). The main control module of the embodiment of the present application can be controlled by a single-chip microcomputer. The main control module is electrically connected to the analog voltage output module 101 to cooperate in generating an analog voltage.

[0036] In one embodiment of the present application, the main control module generates a PWM output signal by a single-chip microcomputer, and the analog voltage output module 101 includes a secondary RC circuit, which generates an adjustable analog voltage by coordinating the duty cycle and period of the PWM with the secondary RC circuit.

[0037] In an embodiment of the present application, an amplifier circuit 105 is further provided between the analog voltage output module 101 and the switch control module 102. The amplifier circuit 105 in an embodiment of the present application includes an electrically connected 105_U1B operational amplifier module and a 105_U1C operational amplifier module. (105_U1B operational amplifier) ​​+ (105_R4) + (105_R5) constitute a voltage amplifier circuit. The voltage amplification factor is (105_R4) / ((105_R5)+1). The single chip microcomputer The maximum output voltage of IO is 3.3V. If the circuit is to output a voltage greater than 3.3V, it needs to be amplified by the 105_U1B op amp. The 105_U1C op amp module is in follower mode, and the output voltage is equal to the input voltage, which enhances the driving capability. The output end of the 105_U1C op amp module is electrically connected to the input end of the switch control module 102. The 105_U1C op amp module plays a voltage follower role and can also provide protection when the output end is short-circuited so as not to burn out the front-end power supply.

[0038] In one embodiment of the present application, an output interface module 104 is also included. The output interface module 104 is used to output the required voltage of the chip to be burned and is electrically connected to the chip to be burned. The output interface module 104 is electrically connected to the output end of the switch control module 102, and the output interface module 104 is electrically connected to the input end of the sampling module 103, so that the sampling module 103 can collect the final output voltage.

[0039] In one embodiment of the present application, the sampling module 103 includes a (103_R1)+(103_R3) voltage divider circuit and a 103_U1A follower amplifier module. In the embodiment of the present application, the (103_R1)+(103_R3) voltage divider circuit can be placed at the input end of the 103_U1A follower amplifier module to convert the output voltage into a sampling voltage in the range of 0 to 3.3V for collecting voltage for the microcontroller ADC_IN (the input end of the main control module). The microcontroller performs matching adjustment based on the collected voltage. 103_R2 is a matching resistor. The function of the 103_U1A follower is to isolate the input and output voltages to avoid the influence of the ADC on the original output current. In the embodiment of the present application, the (103_R1)+(103_R3) voltage divider circuit can also be placed at the output end of the 103_U1A follower amplifier module to reduce the influence of the circuit on the sampled output voltage.

[0040] The switch control module 102 includes a transistor 102_Q2, a MOS tube

[0041] 102_Q1 and voltage-dividing resistor; the base of transistor 102_Q2 is electrically connected to the digital power supply (single-chip computer VDD_EN) of the main control module, the emitter of transistor 102_Q2 is electrically grounded, the collector of transistor 102_Q2 is electrically connected to the gate of MOS tube 102_Q1, the voltage-dividing resistor 102_R8 is connected in parallel to the gate and source of MOS tube 102_Q1, the source of MOS tube 102_Q1 is electrically connected to the output end of the analog voltage output module, and the drain of MOS tube 102_Q1 is electrically connected to the output interface module. Transistor 102_Q2+MOS tube 102_Q1+102_R8 form an electronic switch, and the power switch is controlled by the single-chip computer pin VDD_EN. When VDD_EN=high level, the power is turned on, and when VDD_EN=low level, the power is turned off; 104_CHIP_VCC is the final output power supply, which supplies power to the chip.

[0042] Since PWM is used to generate analog voltage, it is necessary to calculate the relationship between different voltages and PWM data, generate modulation signals through software control PWM, control the power switch through VDD_EN, and collect the output voltage through ADC_IN. The method is:

[0043] 1. Assuming that a specific voltage is to be output, such as 5V, the program controls VDD_EN to turn on 112_Q1, and the program controls VCC_PWM to output the initial PWM signal, and the output voltage (after voltage division) is collected through ADC_IN;

[0044] 2. Change the parameters of VCC_PWM: period and duty cycle, so that the voltage collected by ADC_IN reaches 5V*(113_R3 / (113_R1+113_R3)), and record the parameters of VCC_PWM at this time, which represents the PWM output configuration at 5V;

[0045] 3. According to the method in 2, set the PWM parameters corresponding to multiple voltages and save them inside the MCU as a parameter table;

[0046] After obtaining the voltage configuration parameter table according to the above method, the use process of the circuit is as follows:

[0047] a. According to the voltage value of the output power supply, look up the voltage parameter table and find the corresponding PWM configuration;

[0048] b. The MCU PWM outputs the PWM signal according to the configuration data, which is converted into an analog voltage through the secondary RC circuit;

[0049] c. After the analog voltage passes through the amplifier circuit and the follower, the microcontroller VCC_EN controls the electronic switch to turn on and output the required voltage value;

[0050] d. After the output voltage is divided and followed by the op amp, it is input to the ADC pin of the microcontroller. The microcontroller samples the output voltage and monitors it through a program, including voltage compensation, short circuit monitoring, overcurrent monitoring, etc.

[0051] In one embodiment of the present application, Figure 3 As shown, it includes an analog voltage output module 111, a switch control module 112 and a sampling module 113 which are electrically connected, and may also include an output interface module 114 and an operational amplifier module 115. Figure 2 The difference is that the analog voltage output module 111 is generated by the DAC output end of the main control module, replacing the PWM+secondary RC circuit, and the DAC outputs the required voltage (0~3.3V) controlled by the single-chip program, and the required voltage is obtained after amplification, following and electronic switching.

[0052] like Figures 13-15 As shown, in one embodiment of the present application, the negative feedback input terminal of the operational amplifier module 2 902 (which may also be the operational amplifier module 105 or the operational amplifier module 1 115) is electrically connected to the resistance switch selection module 903, and the positive feedback input terminal of the operational amplifier module 2 is electrically connected to the output terminal of the analog voltage output module 101 or the analog voltage output module 1 111. The resistance switch selection module 903 controls the resistance path of the resistance switch control module 901, and the resistance switch control module 901 can be implemented by the single-chip microcomputer in the embodiment of the present application.

[0053] In the embodiment of the present application, the operational amplifier module 902 is combined with the resistor switch selection module 903 to have the functions of digitally controlling the gain and selecting the operational amplifier mode, and cooperates with the single-chip microcomputer and program control. The basic principle is that the negative feedback input terminal of the operational amplifier is connected to multiple groups of resistor networks and switches, and the single-chip microcomputer controls the switches to select different resistor pairs, so that the operational amplifier has different gain factors, and can also put the operational amplifier in follower mode.

[0054] like Fig.13 As shown, the positive feedback input of the operational amplifier 902_U2D is connected to the voltage signal source Voltage_input (or the analog voltage output module 101 of the present application or the analog voltage output module 111 of the present application), the negative feedback input is connected to the common terminal I / O of the analog switch 903_U4, the output of 902_U2D is connected to the resistor network of 903_U4, and the operational amplifier 902_U3C is in the follower mode, which plays the role of isolation and enhanced driving, that is, Voltage_output is equal to the output voltage of 902_U3C. The 901_U1 single-chip microcomputer is used as the main control, and has 3 GPIO ports to control the chip selection end of the analog switch 903_U4. The resistor switch control module 901 can select which of the 8 outputs of the resistor switch selection module 903. The resistor network is composed of 8 resistors connected in series. The taps between the resistors are connected to the CH output port of the analog switch 903_U4. The resistance value of the resistor needs to follow the relationship that the upper resistor is twice the lower resistor, so that the Voltage_output can be amplified by 1 to 128 times the Voltage_input.

[0055] When the resistor switch control module 901 selects the first channel, that is, the I / O is connected to CH0, then the op amp 911_U2D is in follower mode, and the output voltage is equal to Voltage_input. The circuit is equivalent to Fig.14 In the operational amplifier working mode one circuit 911 model shown, the series connection of the resistor combination is equivalent to R1, and Voltage_output = Voltage_input.

[0056] When the resistor switch control module 901 selects other, that is, the I / O is connected to CH1~CH7, then the op amp 921_U2D is in amplifier mode, and the output voltage is equal to Voltage_input*(1+R1 / R2), and the circuit is equivalent to Fig.15 The operational amplifier working mode 2 circuit 921 model shown in the figure is equivalent to the series connection of 921_R1 and 921_R2. After the 921_U3C operational amplifier follower, Voltage_output = Voltage_Voltage_input*(1+921_R1 / 921_R2). Fig.13The resistance relationship of the resistor network can achieve 2 to 128 times amplification, for example (the resistor R below is the resistor number in 903):

[0057] When CH1 is selected, the amplification factor is 1+R1 / (R2+R3+R4+R5+R6+R7+R8)=2;

[0058] When CH2 is selected, the amplification factor is 1+(R1+R2) / (R3+R4+R5+R6+R7+R8)=4;

[0059] When CH3 is selected, the amplification factor is 1+(R1+R2+R3) / (R4+R5+R6+R7+R8)=8;

[0060] When CH4 is selected, the amplification factor is 1+(R1+R2+R3+R4) / (R5+R6+R7+R8)=16;

[0061] When CH5 is selected, the amplification factor is 1+(R1+R2+R3+R4+R5) / (R6+R7+R8)=32;

[0062] When CH6 is selected, the amplification factor is 1+(R1+R2+R3+R4+R5+R6) / (R7+R8)=64;

[0063] When CH7 is selected, the amplification factor is 1+(R1+R2+R3+R4+R5+R6+R7) / R8=128;

[0064] When the scheme is working, the MCU program first identifies whether the op amp 902_U2D needs to run in voltage amplification mode or voltage follower mode. If it is in amplification mode, it needs to know how many times it is amplified. Then the MCU extracts the mode parameters and voltage amplification parameters, and then sets the corresponding level combination of the three IO ports of the chip select signal, so that the resistor switch control module 901 selects the correct channel number, so that the output of the op amp 902_U2D and the negative feedback input terminal have the correct voltage combination, and the expected mode and amplification factor are achieved.

[0065] like Figure 4 As shown, the existing chip burning equipment does not have an automatic burning function. When the chip is placed in the test clip or the burning head contacts the chip contacts, the operator needs to press the device start button or click the start icon to start the chip burning program.

[0066] In an embodiment of the present application, a probe contact identification module is provided, such as Figure 5As shown, the probe contact identification module 220 is arranged at the test head output port (in one embodiment of the present application, it can be electrically connected to the output interface module 104 or the output interface module 1 114), and the probe contact identification module 220 includes a current detection module 222 arranged at the power supply output end, and the current detection module 222 is used to identify whether the current mutation identification chip 221 at the power supply output end is normally connected.

[0067] like Figure 5 As shown, the device adds a current detection module 222 to the VCC pin that powers the chip. In conjunction with the detection control software, the device always monitors whether the VCC current has a sudden change. If there is an increase, it means that chip 221 is connected. At this time, the chip detection command is sent again. If there is a response, the normal burning function is started.

[0068] During the programming process, the current detection module 222 can also monitor whether the chip 221 has faults such as overcurrent and short circuit, and can also detect whether the chip 221 has poor contact or is out of the test head.

[0069] When a test head is inserted into the burning device of the prior art, the host does not know whether the test head is inserted. The host communicates with the test head and executes the test head function only when chip rework operation needs to be performed, such as determining whether to upgrade the test head and perform rework operation.

[0070] In the embodiment of the present application, a test head identification module 300 is proposed. Figure 6 As shown, in an embodiment of the present application, the test head identification module 300 can be electrically connected to the main control module, and the test head identification module 300 includes a first contact module 301 and a second contact module 302. The first contact module 301 is arranged at the host 020 end, and the second contact module 302 is arranged at the test head 010 end. The first contact module 301 is used to contact with the second contact module 302 to achieve electrical connection, and at least one first contact module contact is provided with a pull-up resistor and at least one second contact module contact corresponding thereto is electrically connected to the ground.

[0071] In one embodiment of the present application, the first contact module 301 is provided with a GPIO input port with a pull-up, and the pin at the same position of the second contact module 302 is connected to GND. When the host 020 is not connected to the test head 010, the program determines that the GPIO port is at a high level and detects that the test head 010 is not plugged in; when the host 020 is plugged into the test head 010, the pin is pulled to GND, triggering the MCU GPIO interrupt system, setting the status bit in the interrupt service function of the program, and executing corresponding test head operations in the main program, including: authenticating with the test head 010, detecting the type of the test head 010, determining the version of the test head 010, upgrading the test head 010 software, etc.

[0072] When the test head 010 is not inserted into the host 020, the Host_Insert pin is at a high level. When the test head 010 is inserted, this pin is pulled to GND by the 3rd pin of the test head 010. The host 020 program uses the level of this pin to know whether the test head 010 is installed.

[0073] In order to prevent electrical fluctuations and interference caused by unstable contact when the test head 010 is just inserted, the communication pins between the host 020 and the test head 010 need to be set to high impedance, and the host 020 will not supply power to the test head 010 temporarily. The test head 010 will be powered only after the detection program completes its task to improve stability.

[0074] The control flow of the host 020 program is as follows:

[0075] Initialize the MCU pins, set HOST_CS, HOST_DATA, and HOST_CLK to high impedance, turn off the power outputs of HOST_5V and HOST_12V, set HOST_INSERT as an input port, and enable the rising and falling edge interrupt function;

[0076] When no interrupt event occurs in HOST_INSERT, host 020 performs other tasks;

[0077] When the test head 010 is inserted into the host 020, HOST_INSERT is pulled to a low level, triggering the interrupt service function. The program sets the flag that the test head 010 is detected in the ISR function and executes the test head 010 processing function in the main function;

[0078] Test head 010 processing function: supply 5V and 12V to test head 010, set communication IO port, UI display prompt interface, authenticate with test head 010, detect test head 010 type, detect test head 010 software version, if the software is not the latest, upgrade test head 010 software;

[0079] When the test header 010 is unplugged, HOST_INSERT is pulled to a high level, triggering the interrupt service function. The program sets the flag of the test header 010 being unplugged in the ISR function and executes the test header 010 processing function in the main function.

[0080] Test head 010 processing function: turn off the 5V and 12V supply of test head 010, and set the communication IO port to high impedance.

[0081] The circuit of the prior art burning device is very complicated, with many discrete components and occupies a large area of ​​the circuit board. In addition, the device parameters are not adjustable. When the chip parameters deviate, its own voltage cannot be adjusted to work stably.

[0082] See also Figure 7The present application provides a driving control module 400 of a burning device, including a driving module 401, a chip three 402, and a comparison module 403, including three operational amplifiers U1A, U1B, and U1C, a comparator U2, a MOS tube Q1, a diode D1, and 10 resistors connected in series or in parallel.

[0083] Burning device is connected with chip three during work, and burning device comprises communication port, control module, comparison module, drive module (in one embodiment of the present application, can be main control module), and communication port is connected with the input-output module of chip three. Communication port is the channel that burning device and chip three carry out data exchange, is responsible for converting the command signal of control module into the signal that can be identified by chip three input-output module, and receives the signal from chip three, and passes to comparison module. Control module is responsible for the operation logic and processing flow of whole burning device, and according to the instruction of burning device, sends corresponding control signal to communication port, and analyzes and processes the data from comparison module. Comparison module can compare and receive the data fed back by chip three from communication port, and compare and analyze with preset parameter or standard data, according to comparison result, can judge whether the state or data of chip three meet the requirements, and feeds the judgment result back to control module.

[0084] Under the instruction of the control module, the driving module is responsible for generating appropriate driving signals to control the specific actions between the burning device and the chip 3, such as adjusting the current, voltage, etc.

[0085] The input and output module of chip 3 is the interface for chip 3 to communicate with the burning device. It is responsible for receiving signals from the communication port of the burning device, performing corresponding internal logic processing or state changes, and sending the processing results or chip 3 state information back to the burning device. The following is the process of the burning device working:

[0086] a. When the burning device starts, the control module sends an initialization command and sends it to the input and output module of chip three through the communication port.

[0087] b. Chip 3 responds to the initialization command and performs related operations, feeding back status information to the communication port of the programming device.

[0088] c. The communication port receives the signal from chip three and passes it to the comparison module.

[0089] d. The comparison module analyzes this information and sends the analysis results to the control module.

[0090] e. The control module determines whether the operation of the burning device needs to be adjusted based on the analysis results of the comparison module, and sends corresponding control commands to the drive module.

[0091] f. The driver module performs corresponding actions according to the control command, such as adjusting the parameters of chip three.

[0092] First, the burning device obtains the initial information of chip 3, including the voltage requirements, current status, model, etc. of the chip. A voltage configuration table is stored in the storage module of the burning device. This table lists the available voltage values ​​and various chip parameters that may match them.

[0093] Next, the comparison module of the burning device will start to compare the voltage required by chip three with the voltage in the voltage configuration table, starting from the lowest voltage in the table and comparing upwards one by one until a voltage that meets the threshold requirements and is suitable for chip three is found. The comparison module will continuously adjust the selected voltage to make it as close as possible to the ideal operating voltage of chip three. This process may be iterative, and the comparison module will repeatedly compare and adjust until an optimal point is found. Once the most suitable voltage is determined, the drive module will adjust the waveform (voltage) output to the analog voltage output module 101 to ensure that chip three receives the correct voltage. Even if a voltage is selected, the control module will usually continue to monitor the working condition and voltage performance of chip three. If a deviation is found or the working condition of chip three changes, the burning device may restart the round-robin process to ensure that chip three is always working under the optimal voltage conditions.

[0094] When the driver module of the burning device sends a signal to chip three, the IO_CLK_OUT pin of the main control module outputs a PWM square wave, and controls the MOS tube 401_Q1 to make R3 grounded or suspended in high impedance. The operational amplifier U1A is in follower mode, and the output voltage is equal to the input voltage. The output voltage of the operational amplifier directly sends a signal to chip three through the 401_R6 load resistor. VDD_TX and VDD_CC are adjustable power outputs controlled by the control module of the burning device, and the voltage value can be controlled. 402_1 and 402_2 of chip three are chip contacts, 1 is connected to the 401_R6 pin, and 2 is connected to the ground terminal.

[0095] When the drive module of the burning device sends a signal to the chip three, the control module 12 of the burning device selects appropriate voltage parameters according to the internal voltage configuration table, controls the adjustable power supply output circuit, and provides a specified voltage to VDD_TX, such as 6 V. The control module 12 of the burning device controls IO_CLK_OUT to output a PWM square wave according to the signal frequency and duty cycle parameters of the chip three 20.

[0096] When IO_CLK_OUT is at a low level, 401_Q1 is not conducting, and there is no current across 401_R3. Then the positive input of operational amplifier 401_U1A is the voltage divided by 401_R4 and 401_R5, and the level output by operational amplifier U1A is equal to the voltage divided by 401_R4 and 401_R5, for example, 3V.

[0097] When IO_CLK_OUT is high, 401_Q1 is turned on, and one end of 401_R3 is grounded, which is equivalent to 401_R3 and 401_R5 being connected in parallel. Then the positive input of the operational amplifier 401_U1A is the voltage divided by 401_R4 and (401_R3 in parallel with 401_R5), and the output level of the operational amplifier 401_U1A is equal to the voltage divided by 401_R4 and (401_R3 in parallel with 401_R5), for example, 5V. The chip is powered after passing through the load resistor 401_R6.

[0098] The control module of the burning device controls the duty cycle of PWM according to the voltage parameters, thereby controlling the waveform given to chip three. After receiving the signal, chip three processes it internally and generates a response.

[0099] When chip three receives the signal sent by the burning device, the signal waveform of chip three enters the operational amplifier 403_U1C after passing through the matching resistor 403_R7 to prevent the sampling module from affecting the signal source. Then, the signal is amplified by 403_R9 / 403_R8+1 times through the operational amplifier 403_U1B. The amplified signal is then compared with the adjustable voltage VDD_CC. The comparator 403_U2 outputs the result to the IO_DATA_IN input port of the driver module of the burning device.

[0100] The embodiment of the present application also provides an adjustable power output circuit, such as Figure 8 As shown, it is an analog switch selection circuit diagram of an embodiment of the present application, including an analog voltage output module 2 501 , an analog switch voltage selection module 502 , a sampling module 2 503 , and an analog switch control module 504 .

[0101] like Figure 8 As shown, the output voltage of the DC-DC power chip or the LDO chip with the FB pin is determined by the voltage-dividing resistor of the FB pin. In the embodiment of the present application, the analog switch control module 504 (single-chip microcomputer) controls the analog switch voltage selection module 502, so that different channels have different resistance values, and adjusts the output voltage of the analog voltage output module 2 501, thereby controlling the output voltage of the DC-DC or LDO, and then feeds back to the analog switch control module 504 (single-chip microcomputer) through the sampling module 2 503 for measurement. The power output is supplied to the outside through a simple self-recovery fuse, which plays an over-current cut-off protection role.

[0102] The output end of the analog voltage output module 2 501 is electrically connected to the input end of the analog switch voltage selection module 502, the output end of the analog switch control module 504 is electrically connected to the other input end (control end) of the analog switch voltage selection module 502, the output end of the analog switch voltage selection module 502 is electrically connected to the input end of the sampling module 2 503, and the output end of the module 2 503 is electrically connected to the input end of the analog switch control module 504, forming a closed-loop feedback.

[0103] According to one embodiment of the present application, 501_U1 is a DC-DC power chip, an external 15V power supply is provided, 501_U1_FB is a feedback pin, and 501_U1_EN pulls up the power supply to enable the power output. 502_U2 is an analog switch chip, 502_U2_IO pin is the input common terminal, 502_U2_A / B / C is a chip select signal, which is used to determine which 502_U2_CH is selected to connect to IO. 504_U3 is a master microcontroller, which is used to control the analog switch selection channel and control the chip select pin of the analog switch through the 504_U3_IO port. The 501_U1 power output provides the external power supply Voltage_output after passing through the F1 fuse, and the fuse plays an overcurrent protection role. Voltage_output is isolated by the 503_U4A op amp follower after voltage division by 503_R11 and 503_R10, and the output voltage is given to the 504_U3_ADC sampling voltage.

[0104] According to an embodiment of the present application, an adjustable power output circuit is also provided, such as Fig. 9 As shown, the digital potentiometer selection circuit diagram of the embodiment of the present application includes an analog voltage output module 3 601, a digital potentiometer voltage selection module 602, a sampling module 3 603, and a digital potentiometer control module 604. Figure 8 The difference between the analog switch selection circuit and the analog switch selection circuit is that the analog switch selection module 502 is replaced by a digital potentiometer voltage selection module 602, and the digital potentiometer control module 604 controls the digital potentiometer voltage selection module 602 to adjust the final output voltage.

[0105] 601_U2 is a DC-DC power chip, which provides an external 15V power supply. 601_U2_FB is the feedback pin, and 601_U2_EN pulls up the power supply to enable the power output. 602_U3 is a digital potentiometer chip. The 602_U3_1 and 602_U3_2 pins are the two ends of the adjustable resistor. The digital potentiometer chip 602_U3 communicates via the IIC interface. 604_U4 is the main control microcontroller, which is used to control the resistance value of the digital potentiometer chip 602_U3, and simulates the IIC and digital potentiometer chip 602_U3 interactive commands through the 604_U4_IO port. The output of the 601_U2 power chip provides the external power supply Voltage_output after passing through the fuse F1. The fuse plays an overcurrent protection role. Voltage_output is divided by 603_R1 and 603_R2 and then isolated by the op amp follower 603_U1A. The output voltage is then sent to the digital potentiometer control module 604_ADC for sampling.

[0106] According to the DC-DC manual, Voltage_output voltage value = 0.925*602_U3_(resistance between A and W + resistance between W and GND) / 0.925*602_U3_resistance between W and GND.

[0107] Before the system works, the digital potentiometer control module 604 needs to know the comparison relationship between the output voltage and the digital potentiometer resistance. The specific operation method is:

[0108] The digital potentiometer control module 604 first controls the digital potentiometer voltage selection module 602 to set the resistance of the 602_U3_1 and 602_U3_2 pins to 90% of the maximum value (not greater than 90% to prevent damage to 601_U2);

[0109] The digital potentiometer control module 604 collects the voltage division value of Voltage_output through the 604_U4_ADC pin and converts it into Voltage_output internally;

[0110] The digital potentiometer control module 604 records the current sampled voltage value Voltage_output;

[0111] The digital potentiometer control module 604 controls the potentiometer voltage selection module 602 to reduce the resistance of the 602_U3_1 and 602_U3_2 pins by 1% compared with the last time, and the above steps are repeated until the resistance is 10% of the maximum value (not less than 10% to prevent damage to 601_U2);

[0112] A comparison table of the relationship between the 10% to 90% resistance value and the output voltage is obtained and stored in the memory of the digital potentiometer control module 604 .

[0113] In one embodiment of the present application, in the prior art, the device's predetermined input voltage supports a maximum of 16V. For devices with voltage resistance requirements, such as U11 power chip, TVS1 diode, EC2 electrolytic capacitor, etc., the voltage cannot exceed 16V. Under normal circumstances, the power adapter delivered with the device is 15V, and there is no problem in using it. However, if the customer has a 24V power adapter, and the plug of the adapter is the same as the original power head, the customer may use the wrong power supply. Once the 24V power supply is connected, the devices just mentioned will be burned out, causing the device to fail to start up.

[0114] like Fig.10 As shown, it is a power protection circuit diagram of an embodiment of the present application; it includes a power input module 701, a power detection module 702, a switch selection module 703, and a power output module 704. The output end of the power input module 701 is electrically connected to the input end of the power detection module 702, and the output end of the power detection module 702 is electrically connected to the power output module 704 via the switch selection module 703.

[0115] The power protection circuit of the embodiment of the present application has the function of alarming and disconnecting the output after exceeding a predetermined voltage. The basic principle is that the voltage detector (power detection module 702) monitors whether the input voltage (power input module 701) exceeds a predetermined value. If the voltage exceeds the predetermined value, the output voltage is disconnected (controlled by the switch selection module 703), and the alarm indicator light is on, and the alarm alarms (power output module 704 outputs state one); if the voltage does not exceed the predetermined value, the switch is turned on, and the output voltage is equal to the input voltage (power output module 704 outputs state two).

[0116] Power protection circuit such as Fig.10 As shown, the role of diode 701_D1 is to prevent the power supply from being reversely connected, the role of fuse 701_F1 is to cut off the protection when overcurrent occurs, 701_LED1 is the external power indicator, the external power supply 15V passes through diode 701_D1 and fuse 701_F1, and then is divided by 702_R1 and 702_R5, and the divided value is given to the input terminal 702_VDD of the voltage detector. According to the manual of the voltage monitor, when 702_VDD exceeds the predetermined value (such as 5V), the 702_OUT pin is high impedance, and when 702_VDD is less than the predetermined value, 702_OUT outputs a low level. 703_Q2 is a P-channel power MOS tube, which is the main switch of the power output, and 703_Q1 is an N-channel power MOS tube, which is used to control the alarm device.

[0117] The circuit control principle is:

[0118] (I) When the input voltage exceeds 15V, the voltage division value of 702_R5 exceeds the preset value of 5V, and 702_OUT is high impedance. Since 702_OUT is pulled up to a high level by 703_R3, 703_Q1 is turned on and 703_Q2 is not turned on. Therefore, Voltage_output has no voltage, 704_LED3 indicator light is off, 704_LED2 alarm light is on, and the alarm works.

[0119] (II) When the input voltage is less than or equal to 15V, the voltage division value of 702_R5 is less than the preset value of 5V, then 703_OUT outputs a low level, so 703_Q1 is not conducting, 703_Q2 is conducting, so Voltage_output is equal to the input voltage 15V, 704_LED3 lights up, 704_LED2 alarm light is off, and the alarm does not work;

[0120] The voltage working status can be known by the status of 701_LED1, 704_LED2 and 704_LED3 lights:

[0121] 701_LED1 off, 704_LED3 off, 704_LED2 off: No external power supply is plugged in;

[0122] 701_LED1 is on, 704_LED3 is on, 704_LED2 is off: the power supply is normal;

[0123] 701_LED1 is on, 704_LED3 is off, and 704_LED2 is on: the power supply is overvoltage, and the wrong power supply is used.

[0124] In a handheld chip burning device, a battery is used for power supply. This device uses a software program to realize power on and off. When the system is turned off, it enters a low power consumption state. When the power button is pressed, the system enters a normal working mode. Since it is powered by a battery, the requirement of low power consumption is particularly important. However, if the existing switch circuit is used, in the off state, various electronic components in the device will still consume power, and the power supply cannot be completely cut off to achieve the lowest power consumption. In addition, the software control switch is relatively complex and prone to failure.

[0125] In one embodiment of the present application, Fig.11 As shown in FIG. 1 , it is a device switch control circuit diagram of the present application, the power switch module 800 is used to control the power on and off of the burning device. Fig.11 SW1 in is electrically connected to the power switch 021.

[0126] In one embodiment of the present application, 800_VDD_POWER is the input power supply, and the type of the input power supply may include an external power supply voltage or a voltage provided by a lithium battery in the burning device. 800_VDD_SYS is the system working power supply, which provides power for the microcontroller and other circuits in the burning device system. 800_SW1 is a power switch, which may be a touch key switch, including a capacitive key switch; or a press switch, etc. The power switch 800_SW is electrically connected to the power switch 021 set on the device host 020. Pin 800_IO_SW is connected to the GPIO input port of the microcontroller for the system to detect key actions. 800_IO_OFF is connected to the output port of the microcontroller GPIO for controlling the system to perform a shutdown action. 800_Q1 is a triode, 800_Q2 is a power MOS tube, and 800_Q1 and 800_Q2 form an electronic switch.

[0127] In this embodiment, the switch circuit further has a single chip microcomputer, the pin 800_IO_SW is electrically connected to the IO input port of the single chip microcomputer, and the pin 800_IO_OFF is electrically connected to the IO output port of the single chip microcomputer. The single chip microcomputer can continuously detect the level state of 800_IO_SW in the working state.

[0128] In addition, the two diodes 800_D1 and 800_D2 are set opposite to each other, which can prevent large current from entering the GPIO port of the microcontroller through the 800_IO_SW port and causing damage to the microcontroller.

[0129] like Fig.12 The figure is a schematic diagram of the working process of the switch circuit of the burning device provided in the embodiment of the present application.

[0130] S1: At the beginning, the system is in shutdown state, the power switch 800_SW1 is disconnected, and 800_VDD_POWER provides input power. Since the system is in shutdown state, the voltage of 800_VDD_SYS is 0V, the microcontroller does not work without power, 800_IO_OFF is in high impedance state, and the transistor 800_Q1 is not conducting, so the collector of 800_Q1 is in high impedance state. At the same time, there is no current at both ends of the diode 800_D1 / 800_D2, then the gate voltage of MOS tube 800_Q2 is 800_VDD_POWER, which is equal to the voltage of the source of MOS tube 800_Q2. There is no voltage drop between the two, so MOS tube 800_Q2 is not conducting, and there is no voltage at 800_VDD_SYS1.

[0131] S2: When the switch 800_SW1 is pressed, the cathode of the diode 800_D2 is connected to the ground terminal, and the gate of the MOS tube 800_Q2 is equivalent to being connected to the ground terminal, with a potential of 0V. Then a voltage drop is generated between the source and gate of the MOS tube 800_Q2, and the MOS tube 800_Q2 is turned on, generating a voltage at the 800_VDD_SYS1 terminal that is about 0.7V lower than the input power supply 800_VDD_POWER.

[0132] S3: At this time, the system starts to work with power supply, and the microcontroller starts the preset program. Through the program, 800_IO_OFF is controlled to be high level, so that the transistor 800_Q1 is turned on, and the collector of the transistor 800_Q1 is equivalent to being connected to the ground terminal. When the system starts to work, the user releases the power switch 800_SW1. At this time, since the transistor 800_Q1 is always in the on state, the MOS tube 800_Q2 is also kept on. The system working power supply 800_VDD_SYS1 is always powered, and the system remains in the working state.

[0133] S4: Pin 800_IO_SW of the switch circuit is connected to the GPIO input port of the peripheral microcontroller. The GPIO will continuously detect the state of the 800_IO_SW pin when the system is in working state, so as to know whether the switch 800_SW1 is pressed by the user. When the 800_SW1 switch is not pressed, the pin 800_IO_SW is at a high level, and the program recognizes that the switch 800_SW1 is not pressed; when the 800_SW1 switch is pressed, the pin 800_IO_SW can be regarded as connected to the ground terminal, and the voltage is 0V. When the program detects a low level, an interrupt is triggered, and the duration of the low level is started to be counted, that is, the duration of the key being pressed. When the detected duration is greater than the preset duration, it is considered to be a long press duration, triggering the shutdown task. At this time, the program controls the pin 800_IO_OFF to be at a low level or input high impedance, and the transistor 800_Q1 will become non-conductive.

[0134] S5: When the button is released again and the switch 800_SW1 is disconnected, since the transistor 800_Q1 is not conducting, no current flows through the resistor 800_R3, and there is no voltage drop across its two ends. At this time, the MOS tube 800_Q2 is cut off, so the system working power supply 800_VDD_SYS1 has no voltage. At this time, the system is completely powered off and enters the shutdown state.

[0135] For example, in one case, the preset long press duration that can be determined as a shutdown action is 3s. At the beginning, the device is in the shutdown state. When the button (or the power switch) is pressed and released for the first time, if the entire pressing process is less than 3s, the system will complete the startup process. If the first press duration exceeds 3s, the system may experience a situation where the power is turned on and then turned off. This is because after the system is powered on, it will continue to detect the state of the switch button. So if the boot process takes 1s, then if the switch button is pressed for more than 4s in the shutdown state, the system will experience a situation where the power is turned on and then turned off. How long the switch button is pressed to trigger this process depends on the duration of the boot process, that is, the duration of the boot process plus 3s. Under normal circumstances, when the power is turned on, the switch button is briefly pressed or lightly touched, and the system can automatically complete a series of initialization processes such as booting. After completing the work task, if the user wants to shut down, he only needs to lightly touch or press the switch button for 3s, and the system can complete the shutdown process.

[0136] The present application also provides a handheld burning device, which is powered by a battery and includes the switch circuit described above.

[0137] The present application also provides a handheld burning device, which is used to solidify the circuit module provided in any embodiment of the present application.

[0138] The above description is only a preferred embodiment of the utility model, and is not intended to limit the utility model. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the scope of protection of the utility model. A person skilled in the art will know that each functional unit or functional module in the utility model can be partially implemented by a computer program or by a related hardware circuit, and there is no limitation on this.

Claims

1. A power output circuit for a burning device, characterized in that: The power output circuit includes an analog voltage output module, a switch control module and a sampling module; The output end of the analog voltage output module is electrically connected to the input end of the switch control module, the input end of the sampling module is electrically connected to the output end of the switch control module, and the output end of the sampling module is electrically connected to the input end of the analog voltage output module.

2. The power output circuit according to claim 1, characterized in that: Also included is a main control module; The analog voltage output module is generated by the DAC output terminal of the main control module; or, The analog voltage output module further includes a secondary RC circuit, one end of which is electrically connected to the PWM output end of the main control module, and the other end of which is electrically connected to the input end of the switch control module.

3. The power output circuit according to claim 1, characterized in that: An operational amplifier module is also provided between the analog voltage output module and the switch control module. The output end of the analog voltage output module is electrically connected to the input end of the operational amplifier module, and the input end of the switch control module is electrically connected to the output end of the operational amplifier module.

4. The power output circuit according to claim 2, characterized in that: It also includes an output interface module, which is used to output the required voltage of the chip to be burned, and is electrically connected to the output end of the switch control module and the input end of the sampling module.

5. The power output circuit according to claim 4, characterized in that: The switch control module includes a triode, a MOS tube and a voltage dividing resistor; The base of the transistor is electrically connected to the digital power supply of the main control module, the emitter of the transistor is electrically grounded, the collector of the transistor is electrically connected to the gate of the MOS tube, the voltage dividing resistor is connected in parallel to the gate and source of the MOS tube, the source of the MOS tube is electrically connected to the output end of the analog voltage output module, and the drain of the MOS tube is electrically connected to the output interface module.

6. The power output circuit according to claim 3, characterized in that: The negative feedback input terminal of the operational amplifier module is electrically connected to the resistance switch selection module, and the positive feedback input terminal of the operational amplifier module is electrically connected to the output terminal of the analog voltage output module.

7. The power output circuit according to claim 4, characterized in that: It also includes a probe contact identification module, which is electrically connected to the output interface module. The probe contact identification module includes a current detection module arranged at the power output end, and the current detection module is used to identify whether the current mutation identification chip at the power output end is normally connected.

8. The power output circuit according to claim 2, characterized in that: It also includes a test head identification module, which is electrically connected to the main control module. The test head identification module includes a first contact module and a second contact module. The first contact module is arranged at the host end, and the second contact module is arranged at the test head end. The first contact module is used to contact with the second contact module to achieve electrical connection. At least one contact of the first contact module is provided with a pull-up resistor and at least one contact of the second contact module correspondingly connected thereto is electrically connected to the ground.

9. The power output circuit according to claim 4, characterized in that: It also includes a drive control module, which is electrically connected to the main control module. The drive control module includes a comparison module and a drive module. The input end of the comparison module is electrically connected to the output interface module, the output end of the comparison module is electrically connected to the input end of the drive module, and the output end of the drive module is electrically connected to the main control module.

10. A burning device, comprising the power output circuit according to any one of claims 1 to 9.