Circuit structure, circuit board assembly and electronic equipment
By introducing switch components into the circuit structure of electronic devices, controlling the power supply status of the power chip, the problem of wasted resistance energy consumption is solved, and the multiplexing of low power consumption and IO interfaces is achieved, and the overall energy consumption of the system is reduced.
Patent Information
- Application Number
- CN202322942723.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2033-10-31
AI Technical Summary
In electronic devices, identification resistors are used to identify circuit board versions, but there is a large waste of energy consumption, affecting the power consumption efficiency of the device.
A circuit structure is designed, including a power supply terminal, a first terminal, a hardware version identification resistor and a switch assembly. The switch assembly is used to turn on or off the power supply terminal and the power chip, and the control chip reads the resistance value of the hardware version identification resistor. , the switch assembly conducts the power supply terminal and the power supply chip, thereby disconnecting the power supply when not required to reduce energy consumption.
Through the control of the switch components, energy consumption management of the hardware version identification resistor is realized, power consumption of the circuit structure is reduced, overall energy consumption of the system is reduced, and IO interface is reused, reducing cost and resource utilization.
Smart Images

Figure CN222030116U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic equipment, and more specifically to a circuit structure, a circuit board assembly and an electronic equipment. Background Art
[0002] In electronic devices such as but not limited to mobile terminals and vehicle-mounted terminals, there are a large number of circuit boards and control chips, and the control chips are arranged on the circuit boards. In the related art, there is a method of setting identification resistors of different resistance values on the circuit boards as a version identification method for identifying the version of the circuit boards, but during the operation of the electronic device system, the identification resistors have a large energy consumption waste. Utility Model Content
[0003] The present utility model is proposed to solve at least one of the above problems. According to the first aspect of the present application, a circuit structure is provided, which includes: a power terminal, a first terminal, a hardware version identification resistor and a switch component. The power terminal is used to electrically connect a power bus; the first terminal is used to electrically connect to a first interface of a control chip; the hardware version identification resistor is electrically connected to the first terminal and a reference voltage terminal in a power chip; the switch component is electrically connected to the power terminal, the first terminal and the power chip; the switch component is used to turn on or off the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch component is used to turn on the power terminal and the power chip.
[0004] In one embodiment of the present application, when the control chip configures the first interface as a push-pull output port and outputs a first level signal, the switch component is used to connect the power terminal and the power chip; when the control chip configures the first interface as the push-pull output port and outputs a second level signal, the switch component is used to disconnect the power terminal and the power chip.
[0005] In one embodiment of the present application, the hardware version identification resistor includes: a first resistor and a second resistor; wherein the first resistor is electrically connected between the first terminal and the reference voltage terminal, and the second resistor is electrically connected between the first terminal and the ground terminal.
[0006] In one embodiment of the present application, the resistance value of the first resistor corresponds to the hardware version.
[0007] In one embodiment of the present application, the resistance value of the second resistor is greater than the resistance value of the first resistor.
[0008] In one embodiment of the present application, a ratio of the resistance value of the second resistor to the resistance value of the first resistor is in a range of 2-4.
[0009] In one embodiment of the present application, the switch assembly includes: a first switch and a key switch. The first switch has two first current-passing ends and a first control end, wherein the two first current-passing ends are electrically connected to the power terminal and the power chip respectively; the key switch is electrically connected to the first control end and the power terminal, and is used to control the conduction or disconnection of the two first current-passing ends; and the first control end is also electrically connected to the first terminal, and when the control chip inputs the first level signal through the first terminal, the two first current-passing ends are controlled to be turned on.
[0010] In one embodiment of the present application, the circuit structure further includes: a second terminal, the second terminal is electrically connected to the key switch and is also electrically connected to a second interface in the control chip; the second interface is used to identify the state of the key switch.
[0011] In one embodiment of the present application, a first diode is arranged between the power terminal and the push switch, the anode of the first diode is electrically connected to the power terminal, and the cathode of the first diode is electrically connected to the push switch; a second diode is arranged between the second terminal and the push switch, the anode of the second diode is electrically connected to the second terminal, and the cathode of the second diode is electrically connected to the push switch.
[0012] In one embodiment of the present application, the switch component also includes: a second switch, the second switch is electrically connected between the first terminal and the first control terminal; when the control chip inputs the first level signal through the first terminal, the second switch is used to control the two first current-passing terminals to be turned on.
[0013] In one embodiment of the present application, the first switch is a P-type MOS tube or an NPN-type transistor, and the second switch is an N-type MOS tube or a PNP-type transistor.
[0014] In one embodiment of the present application, the switch component also includes: a third resistor, a first end of the third resistor is electrically connected to the power terminal, and a second end of the third resistor is electrically connected to the first control end; the second switch has two second current-passing ends and one second control end; wherein, one of the two second current-passing ends is electrically connected to the first control end and the second end of the third resistor, and the other is electrically connected to the ground end; the second control end is electrically connected to the first terminal; the push switch has two third current-passing ends, one of which is electrically connected to the first control end and the second end of the third resistor, and the other is electrically connected to the ground end.
[0015] In one embodiment of the present application, the first level signal is a high level signal.
[0016] According to the second aspect of the present application, a circuit board assembly is also provided, which includes: a circuit board, on which a power bus, a power chip and a control chip are arranged, and any one of the above-mentioned circuit structures is also arranged.
[0017] According to a third aspect of the present application, an electronic device is also provided, and the electronic device includes: any one of the above-mentioned circuit board assemblies.
[0018] According to the circuit structure, circuit board assembly and electronic device provided by the embodiment of the present application, a switch assembly is provided, and the switch assembly is electrically connected to the power terminal, the first terminal and the power chip; the switch assembly is used to turn on or off the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch assembly is used to turn on the power terminal and the power chip. During the application process, the power terminal and the power chip can also be disconnected by the switch assembly, so that the power chip stops supplying power to the hardware version identification resistor, reducing the energy waste of the hardware version identification resistor. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A schematic diagram of a circuit structure provided in one embodiment of the utility model;
[0021] Figure 2 A schematic diagram of a circuit structure provided in another embodiment of the utility model. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the utility model more obvious, the exemplary embodiments according to the utility model will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments of the utility model, and it should be understood that the utility model is not limited to the exemplary embodiments described here. Based on the embodiments of the utility model described in the utility model, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the utility model.
[0023] In the following description, a large number of specific details are given to provide a more thorough understanding of the utility model. However, it is obvious to those skilled in the art that the utility model can be implemented without one or more of these details. In other examples, in order to avoid confusion with the utility model, some technical features known in the art are not described.
[0024] It should be understood that the utility model can be implemented in different forms and should not be interpreted as being limited to the embodiments proposed herein. On the contrary, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the utility model to those skilled in the art.
[0025] In order to thoroughly understand the present invention, a detailed structure will be presented in the following description to illustrate the technical solution proposed by the present invention. The optional embodiments of the present invention are described in detail below, but in addition to these detailed descriptions, the present invention may also have other implementations.
[0026] In conjunction with the accompanying drawings, some embodiments of the present invention are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0027] The present application embodiment provides a circuit structure, referring to Figure 1 The circuit structure includes: a power terminal, a first terminal, a hardware version identification resistor and a switch component. The power terminal is used to electrically connect to the power bus; the first terminal is used to electrically connect to the first interface of the control chip; the hardware version identification resistor is electrically connected to the first terminal and the reference voltage terminal in the power chip; the switch component is electrically connected to the power terminal, the first terminal and the power chip; the switch component is used to turn on or off the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch component is used to turn on the power terminal and the power chip.
[0028] In the above scheme, a switch component is provided and electrically connected to the power terminal, the first terminal and the power chip; the switch component is used to turn on or off the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch component is used to turn on the power terminal and the power chip. During the application process, the power terminal and the power chip can also be disconnected by the switch component, so that the power chip stops supplying power to the hardware version identification resistor, reducing the energy waste of the hardware version identification resistor. The above structures are described in detail below in conjunction with the accompanying drawings.
[0029] refer to Figure 1 , the power terminal is used to electrically connect the power bus, Figure 1VBUS in the figure indicates a power bus. The power bus may be a power supply line provided on a circuit board and electrically connected to an external power interface. Figure 1 The power chip is a reference voltage converter of various types arranged on the circuit board, which is used to convert the fixed range of AC or DC input from the power bus into reference voltages of different voltage values and output them through the corresponding reference voltage terminals. Figure 2 , the power chip can output a reference voltage of 3.3V ( Figure 1 3V3 in the figure represents 3.3V). For example, a reference voltage terminal outputting 3.3V may be provided in the power chip, and the corresponding reference voltage may be outputted through the reference voltage terminal. The control chip is various types of MCUs, which integrate functions such as logic operation and storage.
[0030] like Figure 1 and Figure 2 As shown, the first terminal serves as an interface electrically connected to the control chip (not shown in the figure), and is used to be electrically connected to the first interface of the control chip. And the hardware version identification resistor is electrically connected to the first terminal and the reference voltage terminal. Exemplarily, after the control chip configures the first interface as an ADC input port and supplies power to the hardware version identification resistor with the reference voltage terminal, the control chip can read the resistance value of the hardware version identification resistor and convert the resistance value into a binary digital signal, thereby identifying the corresponding version of hardware such as but not limited to a circuit board. That is, the hardware version identification resistor corresponds to different version numbers of the hardware through its different resistance values.
[0031] refer to Figure 1 , the switch component is electrically connected between the power terminal, the first terminal and the power chip, and the switch component is used to turn on or off the power terminal and the power chip. That is, the switch component can turn on the power terminal and the power chip, so that the power chip works and outputs various types of reference voltages. And the switch component can also turn on the power between the port power terminal and the power chip, so that the power bus cannot supply power to the power chip, and thus does not output various types of reference voltages. In some embodiments, the present application can control the conduction or disconnection between the power terminal and the power chip through the switch component, so as to achieve low power consumption or even no power consumption of the circuit structure, which is convenient for reducing power consumption. In the application process, after the control chip completes the reading of the resistance value of the hardware version identification resistor, the power terminal and the power chip can also be disconnected through the switch component, so that the power chip stops supplying power to the hardware version identification resistor, reducing the energy waste of the hardware version identification resistor.
[0032] refer to Figure 1 and Figure 2In addition to configuring the first interface as an ADC input port, the control chip can also configure the first interface as a push-pull output port after reading the hardware version identification resistor. Exemplarily, when the control chip configures the first interface as a push-pull output port and outputs a first level signal, the switch component is used to conduct the power terminal and the power chip. That is, when the control chip configures the first interface as a push-pull output port and outputs a first level signal, the switch component can ensure the conduction between the power terminal and the power chip, thereby supplying power to the control chip, the hardware version identification resistor and other devices. Compared with the method in the related art that the control chip needs to monopolize an ADC interface to collect the resistance value of the identification resistor, in the embodiment of the present application, by adding a switch component between the power terminal and the power chip, when the control chip configures the first interface as an ADC input port or a push-pull output port and outputs a first level signal, the switch component can connect the power terminal and the power chip, so that the control chip is configured as an ADC input port during initialization to read the resistance value of the hardware version identification resistor; thereafter, the interface can be configured as a push-pull interface, thereby realizing the reuse of the IO interface of the hardware version identification resistor, realizing the reuse of a unified IO interface, and reducing costs.
[0033] In some embodiments, when the control chip configures the first interface as a push-pull output port and outputs a second level signal, the switch component is used to disconnect the power terminal and the power chip. That is, after the control chip obtains the resistance value of the hardware version identification resistor, in the process of configuring the first interface as a push-pull output port, the switch component can conduct the power terminal and the power chip by outputting the first level signal, thereby realizing power-on operations such as but not limited to the control chip, the hardware version identification resistor, etc. Moreover, the second level signal can also be output through the first interface, so that the switch component disconnects the conduction between the power terminal and the power chip, thereby realizing the endpoint shutdown operation of the control chip itself. Exemplarily, the first level signal can be a high level signal, and the second level signal can be a low level signal. Of course, the opposite method can also be adopted, and only the corresponding switch component needs to be adjusted. Exemplarily, the high level signal can be equal to or almost equal to the reference voltage output by the reference voltage terminal.
[0034] There are many ways to set the hardware version identification resistor. The following are some examples of how to set it. Figure 2 , the hardware version identification resistor may include: a first resistor ( Figure 1 R1 in) and the second resistor ( Figure 1R2 in the figure). The first resistor is electrically connected between the first terminal and the reference voltage terminal, and the second resistor is electrically connected between the first terminal and the ground terminal. The voltage output by the reference voltage terminal is a fixed reference voltage, and when the resistance value of at least one of the first resistor and the second resistor is different, the control chip can read the current of the hardware version identification resistor when the first interface is configured as an ADC input port, thereby obtaining the resistance values of the first resistor and the second resistor, so as to identify the hardware version corresponding to the hardware version identification resistor.
[0035] When determining whether to use the first resistor or the second resistor as the resistor corresponding to the hardware version, a variety of methods can be used. In some embodiments, the second resistor can be used as the resistor corresponding to the hardware version. In other embodiments, the resistance value of the first resistor can be made to correspond to the hardware version. Of course, in other embodiments, both the first resistor and the second resistor can be used as identification resistors corresponding to the hardware version.
[0036] When determining the resistance relationship between the first resistor and the second resistor, a variety of methods can be used. The following is an exemplary method. For example, the resistance of the second resistor can be made greater than the resistance of the first resistor, so that the voltage division of the second resistor is greater than the voltage division of the first resistor. When the control chip configures the first interface as a push-pull interface and outputs a high-level signal through the first terminal, and the high-level signal is equal to or almost equal to the reference voltage output by the reference voltage terminal, the voltage difference across the first resistor is almost zero, so that the first resistor has almost no power loss. The resistance of the second resistor is larger, which can reduce the power consumption of the second resistor (U 2 / R2), so that when the control chip configures the first interface as a common push-pull output port and outputs a high-level signal, the power consumption of the hardware version identification resistor is reduced as much as possible, which is convenient for reducing the power consumption of the circuit structure. Exemplarily, the ratio of the resistance value of the second resistor to the resistance value of the first resistor is in the range of 2 to 4. Exemplarily, the ratio of the resistance value of the second resistor to the resistance value of the first resistor can be 2, 2.5, 3, 3.5, 4, etc., any value between 2 and 4, so as to reduce the power consumption of the hardware version identification resistor as much as possible.
[0037] When setting the switch component, a variety of setting methods can be used. That is, as long as the switch circuit can achieve the above functions, it is within the protection scope of the embodiment of the present application. The following is an exemplary introduction to several setting methods of the switch component.
[0038] Exemplary, reference Figure 2, the switch assembly may include: a first switch and a key switch. The first switch has two first current-passing ends and a first control end, and the two first current-passing ends are electrically connected to the power terminal and the power chip respectively. The key switch is electrically connected to the first control end and the power terminal, and is used to control the conduction or disconnection of the two first current-passing ends. The first control end is also electrically connected to the first terminal, and when the control chip inputs a first level signal through the first terminal, the two first current-passing ends are controlled to be turned on.
[0039] The above-mentioned key switch can be any type of switch with a pressing function. Specifically, a switch such as but not limited to a micro switch can be used as a key switch. The key switch usually has two states: pressed and popped up. When the push switch is in one of the two states, the first control end in the first switch can be controlled to make the two first current-passing ends conductive, thereby making the power terminal and the power chip conductive, so as to realize power-on and initialization of the control chip. During the initialization process of the control chip, the first interface can be configured as an ADC input port to read the resistance value of the hardware version identification resistor, so as to obtain the corresponding hardware version. When the control chip configures the first interface as a push-pull output port and outputs a first level signal, the first control end can continue to be controlled to make the two first current-passing ends conductive, thereby freeing the key switch as a key switch to realize other functions, thereby realizing the functional multiplexing of the key switch.
[0040] In some embodiments, reference Figure 2 , the circuit structure may further include: a second terminal, the second terminal is electrically connected to the key switch, and is also electrically connected to the second interface in the control chip. The second interface is used to identify the state of the key switch, so that the control chip can monitor the state of the key switch in real time through the second interface, which is convenient for applying the key switch to a signal input switch for realizing other functions. For example, in some embodiments, various types of control instructions can be input to the control chip by pressing the key switch for a certain period of time. That is, the key switch at this time can be used as a hardware input switch for a signal input of the control chip, which is convenient for inputting various types of operation instructions to the control chip.
[0041] Exemplary, reference Figure 2 A first diode ( Figure 1 The positive electrode of the first diode is electrically connected to the power supply terminal, and the negative electrode of the first diode is electrically connected to the key switch. A second diode ( Figure 1D2 in the figure), the anode of the second diode is electrically connected to the second terminal, and the cathode of the second diode is electrically connected to the key switch. By providing the first diode and the second diode, it is prevented that the power supply terminal inputs a high voltage signal to the control chip to damage the control chip; at the same time, it is also prevented that the control chip can be input to the power supply terminal through the second interface. Various types of electrical signals input to the control chip can be prevented from being input to the power supply terminal, causing interference or even device damage.
[0042] Exemplary, reference Figure 2 The switch assembly may further include: a second switch, the second switch being electrically connected between the first terminal and the first control terminal. When the control chip inputs a first level signal through the first terminal, the second switch is used to control the two first flow terminals to be turned on. That is, the second switch is electrically connected between the first control terminal and the first terminal, and is used to control the first control terminal according to the first level signal input through the first terminal of the control chip, so that the two first flow terminals are turned on, thereby ensuring normal power supply to the control chip while releasing the key switch.
[0043] When setting the first switch and the second switch, a variety of methods can be used. Several methods are introduced as examples below. Among them, the first switch can be a P-type MOS tube or an NPN-type transistor, and the second switch can be an N-type MOS tube or a PNP-type transistor. Specifically, the first switch can be a P-type MOS tube, and the second switch can be an N-type MOS tube. The first switch can be an NPN-type transistor, and the second switch can be a PNP-type transistor. Of course, in other methods, the first switch can be a P-type MOS tube, and the second switch can be a PNP-type transistor. Alternatively, the first switch can be an NPN-type transistor, and the second switch can be an N-type MOS tube.
[0044] When the above-mentioned switch devices are selected as the first switch and the second switch respectively, the first control end can control the two first flow-through ends to be turned on when receiving a voltage signal lower than the first preset threshold; the first control end can control the two first flow-through ends to be turned off when receiving a voltage signal not lower than the first preset threshold. The second control end can control the two second flow-through ends to be turned off when receiving a voltage signal lower than the second preset threshold. The second control end can control the two second flow-through ends to be turned on when receiving a voltage signal not lower than the second preset threshold.
[0045] Exemplary, reference Figure 2 The switch component may further include: a third resistor ( Figure 1R3 in the figure), the first end of the third resistor is electrically connected to the power terminal, and the second end of the third resistor is electrically connected to the first control terminal. The second switch has two second flow terminals and one second control terminal; wherein one of the two second flow terminals is electrically connected to the first control terminal and the second end of the third resistor, and the other is electrically connected to the ground terminal. The second control terminal is electrically connected to the first terminal. The key switch has two third flow terminals, wherein one of the third flow terminals is electrically connected to the first control terminal and the second end of the third resistor, and the other third flow terminal is electrically connected to the ground terminal.
[0046] In some embodiments, reference Figure 2 A fourth resistor ( Figure 1 R4) in the figure is used as a current limiting resistor to limit the current of the level signal output by the first interface to prevent damage to the device.
[0047] In the above manner, after the key switch is pressed, the gate voltage of the P-type MOS tube Q1 (the first control terminal of the first switch) is pulled down, so that V GS <V GS(th) (first preset threshold) and turned on, the power terminal and the power chip are turned on, the control chip and the reference voltage terminal are powered on to start working, and the control chip starts to initialize at this time. The control chip initialization process configures the first interface as the ADC_IO interface, that is, the first interface is initialized as an analog input interface to collect the voltage division of R1 and R2. When R2 is a fixed resistance value, the resistance value of R1 can be calculated by the voltage division. The resistance value corresponds to the hardware version information of the hardware such as but not limited to the main control board. Within the allowable error range, the first resistor and the second resistor can use the standard series to optimize the cost.
[0048] During the startup process of the control chip, after identifying the hardware version, the control chip can configure the first interface from the ADC input port to a common push-pull output port, and output a high-level signal to reliably turn on the N-type MOS tube Q2 (the second switch). After that, even after the key switch is released, Q1 (the first switch) can be turned on, and the system is successfully started. After that, the key switch becomes an ordinary key, and the second interface on the control chip can detect the state of the key switch through the second terminal KEY_WKUP to determine the operation instructions of functions such as but not limited to interrupts input through the key switch.
[0049] In some embodiments, if an operation instruction to trigger the control chip to shut down is input through a key switch, the control chip outputs a low-level signal through the first interface, and the second switch is turned off, thereby the first switch is also turned off, and the power terminal and the power chip are disconnected, so that the control chip loses power and shuts down. After shutdown, since the first switch on the power supply circuit is turned off, the hardware version identification resistor is not energized, and the system does not generate power consumption, achieving zero power consumption during shutdown.
[0050] Compared with the related art, since the voltage divider resistor used is always connected to the power supply, a fixed power consumption will be generated, and it is difficult to eliminate the power consumption generated by the version identification circuit when making ultra-low power products. This application reuses the first interface for version identification, reducing the IO port resource occupation; eliminating the power consumption of the hardware version identification circuit, reducing system power consumption; achieving material sharing, reducing materials and costs; and also expanding the circuit function, achieving the effect of key switch detection and shutdown zero power consumption, and can realize key startup, key shutdown, shutdown zero power consumption, key monitoring, hardware version identification and other functions.
[0051] In the various embodiments shown above, a switch component is provided and electrically connected to the power terminal, the first terminal and the power chip; the switch component is used to turn on or off the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch component is used to turn on the power terminal and the power chip. During application, the switch component can also be used to disconnect the power terminal and the power chip, so that the power chip stops supplying power to the hardware version identification resistor, thereby reducing the energy waste of the hardware version identification resistor.
[0052] In addition, the present application also provides a circuit board assembly, referring to Figure 1 and Figure 2 , the circuit board assembly includes: a circuit board, on which a power bus, a power chip and a control chip are arranged, and any one of the above-mentioned circuit structures is also arranged. Among them, the circuit board can be a printed circuit board, and specifically, it can be a mainboard in electronic devices such as but not limited to mobile terminals, vehicle-mounted terminals, servers, etc. The power bus can be a power supply line arranged on the circuit board, which is electrically connected to an external power interface. The power chip is various types of reference voltage converters arranged on the circuit board, which are used to convert the fixed range of alternating current or direct current input by the power bus into reference voltages of different voltage values. The control chip is various types of MCU, which integrates functions such as logical operations and storage. The circuit board assembly can be applied to electronic devices such as but not limited to vehicle-mounted terminals, mobile terminals, etc.
[0053] Furthermore, an embodiment of the present application further provides an electronic device, the electronic device comprising: any one of the above-mentioned circuit board assemblies. The electronic device may be a device such as but not limited to a mobile terminal, a vehicle-mounted terminal, a server, etc.
[0054] The utility model has been described through the above embodiments, but it should be understood that the above embodiments are only for the purpose of example and description, and are not intended to limit the utility model to the scope of the described embodiments. In addition, it can be understood by those skilled in the art that the utility model is not limited to the above embodiments, and more variations and modifications can be made according to the teachings of the utility model, and these variations and modifications all fall within the scope of protection claimed by the utility model. The protection scope of the utility model is defined by the attached claims and their equivalents.
Claims
1. A circuit structure, characterized in that: include: A power terminal, used for electrically connecting to a power bus; A first terminal, used to be electrically connected to a first interface of a control chip; A hardware version identification resistor electrically connected to the first terminal and a reference voltage terminal in the power chip; a switch assembly, electrically connecting the power terminal, the first terminal and the power chip; The switch component is used to connect or disconnect the power terminal and the power chip; when the control chip reads the resistance value of the hardware version identification resistor, the switch component is used to connect the power terminal and the power chip.
2. The circuit structure according to claim 1, characterized in that: When the control chip configures the first interface as a push-pull output port and outputs a first level signal, the switch component is used to conduct the power terminal and the power chip; When the control chip configures the first interface as the push-pull output port and outputs a second level signal, the switch component is used to disconnect the power terminal and the power chip.
3. The circuit structure according to claim 1, characterized in that: The hardware version identification resistor includes: a first resistor and a second resistor; wherein the first resistor is electrically connected between the first terminal and the reference voltage terminal, and the second resistor is electrically connected between the first terminal and the ground terminal.
4. The circuit structure according to claim 3, characterized in that: The resistance value of the first resistor corresponds to the hardware version.
5. The circuit structure according to claim 3, characterized in that: The resistance value of the second resistor is greater than the resistance value of the first resistor.
6. The circuit structure according to claim 5, characterized in that: The ratio of the resistance value of the second resistor to the resistance value of the first resistor is in the range of 2-4.
7. The circuit structure according to claim 2, characterized in that: The switch assembly comprises: A first switch having two first current-passing ends and a first control end, wherein the two first current-passing ends are electrically connected to the power terminal and the power chip respectively; A key switch, electrically connected to the first control terminal and the power terminal, and used to control the conduction or disconnection of the two first current-passing terminals; The first control end is also electrically connected to the first terminal. When the control chip inputs the first level signal through the first terminal, the first control end controls the two first current-passing ends to be turned on.
8. The circuit structure according to claim 7, characterized in that: Also includes: A second terminal is electrically connected to the key switch and to a second interface in the control chip; The second interface is used to identify the state of the key switch.
9. The circuit structure according to claim 8, characterized in that: A first diode is provided between the power terminal and the key switch, an anode of the first diode is electrically connected to the power terminal, and a cathode of the first diode is electrically connected to the key switch; A second diode is provided between the second terminal and the key switch, an anode of the second diode is electrically connected to the second terminal, and a cathode of the second diode is electrically connected to the key switch.
10. The circuit structure according to claim 7, characterized in that: The switch assembly further comprises: The second switch is electrically connected between the first terminal and the first control terminal; when the control chip inputs the first level signal through the first terminal, the second switch is used to control the two first current-passing terminals to be turned on.
11. The circuit structure according to claim 10, characterized in that: The first switch is a P-type MOS tube or an NPN-type transistor, and the second switch is an N-type MOS tube or a PNP-type transistor.
12. The circuit structure according to claim 11, characterized in that: The switch component further includes: a third resistor, a first end of the third resistor being electrically connected to the power terminal, and a second end of the third resistor being electrically connected to the first control terminal; The second switch has two second current-passing terminals and a second control terminal; wherein one of the two second current-passing terminals is electrically connected to the first control terminal and the second end of the third resistor, and the other is electrically connected to the ground terminal; the second control terminal is electrically connected to the first terminal; The key switch has two third current-passing ends, one of which is electrically connected to the first control end and the second end of the third resistor, and the other of which is electrically connected to the ground end.
13. The circuit structure according to claim 11, characterized in that: The first level signal is a high level signal.
14. A circuit board assembly, characterized in that: include: A circuit board, wherein a power bus, a power chip and a control chip are arranged on the circuit board, and a circuit structure as claimed in any one of claims 1 to 13 is also arranged on the circuit board.
15. An electronic device, characterized in that: include: The circuit board assembly of claim 14.
