CN113672067A - Lightning docking station interface configuration method and device and lightning docking station - Google Patents

Lightning docking station interface configuration method and device and lightning docking station Download PDF

Info

Publication number
CN113672067A
CN113672067A CN202110904700.3A CN202110904700A CN113672067A CN 113672067 A CN113672067 A CN 113672067A CN 202110904700 A CN202110904700 A CN 202110904700A CN 113672067 A CN113672067 A CN 113672067A
Authority
CN
China
Prior art keywords
interface
current value
lightning
docking station
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110904700.3A
Other languages
Chinese (zh)
Other versions
CN113672067B (en
Inventor
董明钢
刘洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Haineng Electronics Co ltd
Original Assignee
Dongguan Haineng Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Haineng Electronics Co ltd filed Critical Dongguan Haineng Electronics Co ltd
Priority to CN202110904700.3A priority Critical patent/CN113672067B/en
Publication of CN113672067A publication Critical patent/CN113672067A/en
Application granted granted Critical
Publication of CN113672067B publication Critical patent/CN113672067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to the field of docking stations, in particular to a lightning docking station interface configuration method, a configuration device and a lightning docking station, wherein the configuration method comprises the steps of obtaining a fixed current value of a power consumption component in the lightning docking station, a using output current value of a lightning docking station using interface and a maximum output current value of a standby interface; obtaining a residual available current value of the lightning docking station according to the fixed current value, the use output current value of the use interface and a preset limited current value of the lightning docking station; and when the residual available current value is less than or equal to the maximum output current value of the standby interface, reducing the used output current value of the standby interface. The current consumption current value of the lightning docking station is smaller than the limited current value by reducing the using output current value of the standby interface, so that the number of the interfaces of the lightning docking station is increased conveniently. The method and the device have the effects of large number of interfaces, high flexibility, good applicability and high user experience.

Description

Lightning docking station interface configuration method and device and lightning docking station
Technical Field
The invention relates to the field of docking stations, in particular to a lightning docking station interface configuration method and device and a lightning docking station.
Background
The docking station is an external device special for the notebook computer, and is used for expanding a port of the notebook computer so that the notebook computer can be conveniently connected with a plurality of accessories or external devices. The docking station can increase the number of usable ports of the notebook computer and the types of the usable ports, so that the use flexibility of the notebook computer is greatly improved.
The thunder and lightning technology is a technology which is released by Intel and integrates two communication protocols of PCI Express and DisplayPort, and is applied to the field of interfaces and notes. The lightning interface is an interface applying lightning technology, can simultaneously transmit data and video signals, and each channel provides bidirectional at least 10Gbps bandwidth. The thunder and lightning computer is a computer which applies a thunder and lightning technology and is provided with a thunder and lightning interface.
The lightning docking station in the related art generally adopts bus power supply, namely after being connected with a lightning computer, an input port is connected with the bus of the lightning computer, and the lightning computer supplies power to a docking station port and external equipment connected with the docking station port. However, in order to ensure the normal use of the lightning computer, the bus-powered docking station is required to consume no more than 3A at the lowest voltage of 4.75V. Therefore, the interface of the lightning docking station powered by the bus can only be small, otherwise, the current of the product can exceed 3A, and the factory requirements cannot be met. But the number of interfaces of the lightning docking station is reduced, and the flexibility, the applicability and the user experience of the lightning docking station are easily influenced.
Disclosure of Invention
In order to increase the number of interfaces of the lightning docking station, the invention provides a lightning docking station interface configuration method, a configuration device and the lightning docking station.
In a first aspect, the lightning docking station interface configuration method provided by the application adopts the following technical scheme:
a lightning docking station interface configuration method, comprising:
acquiring a fixed current value of a power consumption component inside the lightning docking station, a use output current value of a lightning docking station use interface and a maximum output current value of a standby interface;
obtaining a residual available current value of the lightning docking station according to the fixed current value, the use output current value of the use interface and a preset limited current value of the lightning docking station;
and when the residual available current value is less than or equal to the maximum output current value of the standby interface, reducing the used output current value of the standby interface.
By adopting the technical scheme, the limited current value refers to the total consumed current value which cannot be exceeded by the lightning docking station, such as 3 amperes; the fixed current value refers to a component, such as a chip, which needs to consume current in the lightning docking station, and is characterized in that the current value consumed by the component is not easy to change; the using output current value of the using interface refers to the total current value output by all interfaces in use on the lightning docking station; the remaining usable current value is obtained from a relationship among the fixed current value, the used output current value using the interface, and the defined current value.
And the used output current value of the standby interface is reduced, so that the total current value consumed by the lightning docking station does not exceed the limited current value. On one hand, the normal use of the lightning computer is not easily influenced by the lightning docking station, and the delivery requirement of the lightning docking station is met; on the other hand is convenient for increase lightning docking station's interface quantity to be convenient for improve lightning docking station's use flexibility and user experience degree.
Optionally, the step of obtaining the remaining available current value of the lightning docking station includes:
extracting a maximum output current value preset in a storage unit by a standby interface of the lightning docking station;
extracting a limited current value of a lightning docking station preset in the storage unit;
summing the fixed current value and the using output current value of the using interface to obtain the current consumption current value of the lightning docking station;
subtracting the current consumption current value from the defined current value to obtain a remaining available current value of the lightning docking station.
By adopting the technical scheme, the sum of the used output current value and the fixed current value of the interface represents the current value consumed by the current lightning docking station, namely the current consumed current value; and defining the value obtained by the difference between the current value and the current consumption current value as the maximum current value which can be output by the standby interface, namely the residual available current value. The maximum output current value and the limited current value of the standby interface are stored in the storage unit in a preset mode, and can be directly called when the residual available current value is calculated, so that the flow steps of acquiring data are reduced, and the mode only relates to simple addition and subtraction calculation, so that the calculation efficiency can be improved.
Optionally, the step of reducing the used output current value of the standby interface includes:
and reducing the used output current value of the standby interface based on the preset configuration model, so that the residual available current value is larger than the used output current value of the standby interface.
By adopting the technical scheme, based on the preset configuration model, when the used output current value of the standby interface needs to be reduced, the reduction is regularly carried out. On one hand, the lightning docking station with the increased number of interfaces can meet the factory requirements due to the fact that the configuration model is preset; on the other hand, the use output current value of interface on the regular change thunder and lightning docking station, the thunder and lightning docking station user of being convenient for masters the rule of falling the current of thunder and lightning docking station to more reasonable use thunder and lightning docking station helps improving user experience.
Optionally, the step of reducing the used output current value of the standby interface based on the preset configuration model includes:
reducing the used output current value of at least one standby USB interface in the standby interfaces, and ending the process when the residual available current value is larger than the used output current value of the standby interface;
otherwise, reducing the used output current values of all the standby USB interfaces and at least one standby functional interface in the standby interfaces, and ending the process when the residual available current value is larger than the used output current value of the standby interface;
otherwise, the used output current value of all the interfaces in the standby interface is reduced.
Through adopting above-mentioned technical scheme, the preferential use output current value that reduces for use USB interface is convenient for guarantee that each for use interface homoenergetic can use. After the use output current value of all USB interfaces for use has been reduced, reduce the use output current value of functional interface for use, make thunder and lightning docking station's use interface be difficult for receiving the influence, configuration model scientific and reasonable helps improving thunder and lightning docking station's use flexibility and use comfort.
Optionally, the step of reducing the used output current value of at least one standby USB interface of the standby interfaces includes:
reducing the used output current value of at least one standby USB interface in the standby interfaces from the maximum output current value to a secondary output current value;
the step of reducing the used output current value of all the standby USB interfaces and at least one standby function interface in the standby interfaces comprises the following steps:
reducing the used output current value of all the standby USB interfaces in the standby interfaces from the maximum output current value to a secondary output current value, and reducing the used output current value of at least one standby function interface to zero;
the step of reducing the used output current value of all the interfaces to be used comprises the following steps:
and reducing the used output current value of all the interfaces to be used to zero.
Through adopting above-mentioned technical scheme, when reducing the USB interface for use, will be earlier with the use output current value of USB interface for use to fall to secondary output current value, help guaranteeing each interface homoenergetic of thunder and lightning docking station and use. And after the using output current value of the standby USB interface is reduced, reducing the using output current value of the standby functional interface to zero when the residual available current value is still larger than the using output current value of the standby interface. Although the number of standby interfaces which can be used in the lightning docking station is reduced, standby USB interfaces are convenient to keep, and the use flexibility of the lightning docking station is improved. And finally, the using output current values of all the interfaces in the standby interfaces are all reduced to zero, so that the normal use of the interfaces is ensured, and the user experience degree of the lightning docking station is improved conveniently.
Optionally, the lightning docking station is provided with two USB interfaces;
the step of reducing the used output current value of the standby interface comprises the following steps:
and reducing the using output current value of the standby USB interface.
By adopting the technical scheme, a preset configuration model is not needed, and two USB interfaces are arranged on the lightning docking station. It is easy to understand that under the prerequisite that satisfies thunder and lightning docking station factory requirement, still can set up the interface of a plurality of other types on the thunder and lightning docking station. At this moment, the use output current value of the USB interface preferentially used by the user is the maximum output current value of the USB interface, so that the data transmission speed of the USB interface is conveniently ensured, and the user experience is improved. And reducing the use output current value of the other USB interface to enable the total current value consumed by the lightning docking station to be smaller than the limit current value. Therefore, the number of other types of interfaces on the lightning docking station can be increased reasonably, the use of the other types of interfaces is not easily influenced, and only the use output current value of one USB interface is controlled.
Optionally, the step of determining whether the remaining available current value is less than or equal to the maximum output current value of the standby interface includes:
obtaining the remaining usable current value based on C = L- (X + Y); wherein C is the remaining usable current value; l is a defined current value; x is the value of the using output current of the using interface; y is a fixed current value;
comparing the residual available current value C with the maximum output current value of the standby interface;
when the residual available current value C is less than or equal to the maximum output current value of the standby interface, outputting yes; and when the residual available current value C is larger than the maximum output current value of the standby interface, outputting no.
Through adopting above-mentioned technical scheme, carry out the comparison with the biggest output current value of surplus available current value C and for use interface, rather than the minimum output current value comparison with for use interface, be convenient for ensure thunder and lightning docking station in the use, be difficult for causing the influence to the thunder and lightning computer of connecting, make thunder and lightning docking station accord with the requirement of leaving the factory.
Optionally, the step of obtaining the fixed current value of the power consumption component inside the lightning docking station includes:
reading a fixed current value prestored in a storage unit;
or the like, or, alternatively,
acquiring the working current value of each power consumption component;
and summing the working current values of all the power consumption components, and taking the summation result as a fixed current value.
By adopting the technical scheme, the fixed current value preset in the storage unit can be conveniently and quickly read, and the response speed of the lightning docking station for reducing the standby interface can be conveniently improved. The working current values of all power consumption components are obtained, and then the accuracy of the fixed current value is improved conveniently in summation.
Optionally, the step of obtaining the working current value of each power consumption component includes:
acquiring current value data acquired by sensors for detecting the working current values of the corresponding power consumption components;
using the current value data transmitted by each sensor as the working current value of each power consumption component;
or the like, or, alternatively,
calling the rated working current value of each power consumption component preset in the storage unit;
and taking the rated working current value of each power consumption component as the working current value of each power consumption component.
By adopting the technical scheme, the working current value of each power consumption component is obtained by using the sensor, so that the accuracy of the obtained working current value of each power consumption component is improved conveniently. The method has the advantages that the rated working current value of each power consumption component preset in the storage unit is obtained, namely, a sensor is omitted, the cost of the lightning docking station is reduced, and the sensor is also a power consumption component, so that the number of the power consumption components is reduced conveniently. The advantage that the fixed current value that utilizes the rated working current value of each power consumption components and parts to calculate to obtain compares in directly obtaining preset fixed current value lies in, is convenient for when quantity or model change appear in power consumption components and parts, and the staff changes the rated working current value that corresponds more conveniently and simply, is difficult for makeing mistakes to be convenient for improve the degree of accuracy of fixed current value.
In a second aspect, the lightning docking station interface configuration apparatus provided in the present application adopts the following technical solutions:
a lightning docking station interface configuration device comprises a memory and a processor, wherein the memory stores a lightning docking station interface configuration program; the processor is adapted to perform the steps of the above method when running a lightning docking station interface configuration program.
Through adopting above-mentioned technical scheme, the mode of using output current value that utilizes to reduce interface for use makes thunder and lightning docking station under the prerequisite that has increased interface quantity, still can accord with the requirement of leaving the factory, is convenient for increase thunder and lightning docking station's interface quantity to be convenient for improve thunder and lightning docking station's use flexibility and user experience degree.
In a third aspect, the lightning docking station provided by the application adopts the following technical scheme:
the lightning protection device comprises a bus interface and at least two downlink interfaces, wherein the at least two downlink interfaces comprise at least one USB interface which is a USB3.1 interface or a USB3.0 interface, and further comprises a lightning signal processor, a USB concentrator, a total power supply circuit, a downlink interface power supply circuit and the configuration device;
the bus interface is connected with the lightning signal processor, the total power supply circuit and the configuration device; the bus interface is used for being connected with a bus of a thunder computer and transmitting input current and input data to the thunder docking station;
the lightning signal processor is connected with the USB concentrator and is used for transmitting input data to the USB concentrator; the lightning signal processor is further used for transmitting input data to other downlink interfaces when the number of the USB interfaces is less than the total number of the downlink interfaces;
the configuration device is connected with the USB hub and used for transmitting a down-flow instruction to the USB hub;
the USB hub is connected with the USB interfaces and is used for reducing the using output current value of the corresponding USB interface when a current reduction instruction is received;
a first current end of the main power supply circuit is connected with a bus interface, and a second current end of the main power supply circuit is connected with a current input end of the downlink interface power supply circuit and is used for transmitting current to the downlink interface power supply circuit; and the current output end of the downlink interface power supply circuit is connected with the downlink interface and used for providing output current for the downlink interface.
By adopting the technical scheme, after the bus interface is connected with the bus of the thunder and lightning computer, the input current and the input data in the bus of the thunder and lightning computer can be transmitted simultaneously. The downlink interface comprises at least one USB interface, the USB interface adopts a USB3.1 interface or a USB3.0 interface, and when the total consumption current of the lightning docking station needs to be controlled, the USB interface is reduced to a USB2.0 configuration, so that the use output current value of the USB interface is reduced, and on one hand, the total consumption current of the lightning docking station is convenient to be smaller than a limited current value; on the other hand, each downlink interface of the lightning docking station can be used conveniently, and the number, flexibility and user experience of the interfaces which can be used by the lightning docking station are improved.
Optionally, the downlink interface power supply circuit includes a plurality of sub power supply circuits; the plurality of sub power supply circuits are arranged in parallel, the current input ends of the sub power supply circuits are connected with the current input ends of the downlink interface power supply circuits, and the current output ends of the sub power supply circuits are connected with the plurality of downlink interfaces; the plurality of downlink interfaces connected with the current output end of the same sub-power supply circuit are connected in parallel;
each sub-power supply circuit comprises a transformer and a current limiter which are connected in series; a plurality of current limiters are connected with the USB concentrator, and each current limiter is used for controlling the on-off of the corresponding sub-power supply circuit; and the USB hub is used for controlling the correspondingly connected current limiter to be disconnected when the total using output current value of the downlink interface exceeds a preset using output current threshold value.
By adopting the technical scheme, the transformer is convenient for adjusting the output voltage value of the downlink interface, so that the output voltage value of the downlink interface meets the use requirement of the corresponding downlink interface. The current limiters are convenient to control the total consumption current value of the lightning docking station, when the output current value of a certain downlink interface exceeds a preset value, the corresponding current limiters disconnect the corresponding sub power supply circuits, so that the output current value of the downlink interface is zero, and the total consumption current value of the lightning docking station is not easy to exceed a limited current value.
Optionally, the docking station further includes a power supply interface and a power supply circuit;
the power supply interface is used for being connected with an external power supply and transmitting input current to the lightning docking station; the current input end of the power supply circuit is connected with the power supply interface, and the current output end of the power supply circuit is connected with the current input end of the downlink interface power supply circuit;
the main power supply circuit comprises a first switch, a first contact end of the first switch is connected with a first current end of the main power supply circuit, and a second contact end of the first switch is connected with a second current end of the main power supply circuit;
the power supply circuit comprises a second switch, a first contact end of the second switch is connected with a current input end of the power supply circuit, and a second contact end of the second switch is connected with a current output end of the power supply circuit;
the configuration device is connected with the control ends of the first switch and the second switch, and is used for controlling the first contact end and the second contact end of the first switch to be disconnected and controlling the first contact end and the second contact end of the second switch to be closed when the power supply interface is connected with an external power supply; when the bus interface is connected with a bus of a thunder and lightning computer and the power supply interface is not connected with an external power supply, the first contact end and the second contact end of the first switch are controlled to be closed, and the first contact end and the second contact end of the second switch are controlled to be disconnected.
Through adopting above-mentioned technical scheme, power supply interface is convenient for be connected with external power supply, realizes thunder and lightning docking station's self-power supply function. When the external power supply supplies power, the limitation of the current value is not limited, so that the using output current value of the downlink interface is the corresponding maximum output current value, the data transmission speed of the downlink interface is improved, and the user experience is improved. In addition, the lightning docking station has a self-powered function, so that the number of downlink interfaces of the lightning docking station is increased conveniently. Even if all downlink interfaces cannot be used simultaneously in the bus power supply mode, the lightning docking station can be used under the self-powered module, and the use flexibility of the lightning docking station is improved.
Optionally, the power supply interface is connected to a charging circuit, and the charging circuit includes a voltage regulator and a third switch connected in series with the voltage regulator;
the current input end of the charging circuit is connected with the current input end of the power supply interface, and the current output end of the charging circuit is connected with the first current end of the main power supply circuit; the current input end of the voltage regulator is connected with the current input end of the charging circuit, the current output end of the voltage regulator is connected with the first contact end of the third switch, and the second contact end of the third switch is connected with the current output end of the charging circuit;
the configuration device is connected with both the control end of the third switch and the control end of the voltage regulator;
the configuration device is used for controlling the first contact end and the second contact end of the first switch to be disconnected, the first contact end and the second contact end of the second switch to be closed, the first contact end and the second contact end of the third switch to be closed and the voltage regulator to output corresponding voltage values when the bus interface is connected with a bus of a thunder and lightning computer and the power supply interface is connected with an external power supply; when the bus interface is connected with a bus of a thunder and lightning computer and the power supply interface is not connected with an external power supply, the first contact end and the second contact end of the first switch are controlled to be closed, the first contact end and the second contact end of the second switch are controlled to be disconnected, and the first contact end and the second contact end of the third switch are controlled to be disconnected.
By adopting the technical scheme, the configuration device controls the third switch to charge the thunder and lightning computer in a self-powered mode.
Optionally, the bus interface and the power supply interface are both Type-C interfaces.
Through adopting above-mentioned technical scheme, Type-C interface uses extensively, is convenient for improve thunder and lightning docking station's use flexibility and portability.
Optionally, the downlink interface includes two USB interfaces and two DP interfaces; the downlink interface power supply circuit comprises a USB power supply circuit and a DP power supply circuit which is connected with the USB power supply circuit in parallel;
the USB power supply circuit comprises a first transformer and a first current limiter which are arranged in series, the current output end of the USB power supply circuit is connected with both the two USB interfaces, and the two USB interfaces are connected in parallel;
the DP power supply circuit comprises a second transformer and a second current limiter which are arranged in series, the current output end of the DP power supply circuit is connected with both the two DP interfaces, and the two DP interfaces are connected in parallel;
and the USB hub is used for reducing the using output current value of the last standby USB interface when receiving the current reduction instruction.
By adopting the technical scheme, the used output current value of the USB interface used firstly is set as the maximum output current value in the bus power supply mode, so that the data transmission speed is improved conveniently; the use output current value of the USB interface used after the lightning docking station is reduced, so that the lightning docking station meets the factory requirements. Meanwhile, the two DP interfaces are not interfered by factory requirements, namely the output current value is not changed, and on the premise of increasing the number of the interfaces of the lightning docking station, 4 downlink interfaces can be used simultaneously.
Optionally, the downlink interface includes at least one of a USB3.0 interface, a USB3.1 interface, an HDMI interface, a VGA interface, and a PD interface.
Through adopting above-mentioned technical scheme, thunder and lightning docking station's down interface type is abundant, is convenient for improve thunder and lightning docking station's use flexibility and user experience degree.
In summary, the following steps:
1. through reducing the use output current value of the interface for use, make the consumption total current value of thunder and lightning docking station be less than and prescribe a limit to the current value, be convenient for increase thunder and lightning docking station's interface quantity to be convenient for improve thunder and lightning docking station's use flexibility and user experience degree.
2. When reducing the use output current value of interface, preferentially reduce the use output current value of interface for use, and preferentially reduce the use output current value of USB interface for use, be difficult for influencing user's use and experience, help making all interfaces of thunder and lightning docking station can use simultaneously.
3. The thunder and lightning docking station is provided with a bus interface and a power supply interface, can supply power through the bus of a thunder and lightning computer, can also be self-powered through an external power supply, and is high in use flexibility and portability.
Drawings
Fig. 1 is a block diagram of an overall structure of a lightning docking station according to an embodiment of the present application.
Fig. 2 is a specific block diagram of a lightning docking station according to an embodiment of the present application.
Fig. 3 is a block diagram of an overall structure of a lightning docking station according to an embodiment of the present application.
Fig. 4 is a block diagram of the overall structure of a lightning docking station according to another embodiment of the present application.
Fig. 5 is a block diagram of a dispensing apparatus according to an embodiment of the present application.
Fig. 6 is an overall flowchart of a lightning docking station interface configuration method according to an embodiment of the present application.
Fig. 7 is a flowchart of obtaining a fixed current value in a lightning docking station interface configuration method according to an embodiment of the present application.
Fig. 8 is a flowchart for obtaining a working current value of a power consuming component in a lightning docking station interface configuration method according to an embodiment of the present application.
Fig. 9 is another flowchart for obtaining the operating current value of the power consuming component in the lightning docking station interface configuration method according to the embodiment of the present application.
Fig. 10 is a flowchart of obtaining a remaining usable current value in a lightning docking station interface configuration method according to an embodiment of the present application.
Fig. 11 is a flowchart illustrating a method for configuring a lightning docking station interface according to an embodiment of the present application, in which the remaining available current value and the maximum output current value of the standby interface are determined.
Fig. 12 is a flowchart illustrating a specific step of step S310 in a lightning docking station interface configuration method according to an embodiment of the present application.
Description of reference numerals:
1. a bus interface; 2. a downlink interface; 3. a lightning signal processor; 4. a USB hub; 5. a total power supply circuit; 6. a downlink interface power supply circuit; 61. a sub power supply circuit; 7. a configuration device; 71. a memory; 72. a processor; 8. a power supply interface; 9. a power supply circuit; 10. a charging circuit.
Detailed Description
The embodiment of the application discloses thunder and lightning docking station, refer to fig. 1, including bus interface 1, a plurality of down interfaces 2, thunder and lightning signal processor 3, USB concentrator 4, total supply circuit 5, down interface supply circuit 6, configuration device 7, power supply interface 8, power supply circuit 9 and charging circuit 10. The bus interface 1 is used for being connected with a bus of a thunder computer and transmitting input current and input data to the thunder docking station. The input current is used for providing the working current for the power consuming components in the lightning docking station and for providing the output current for a number of down-going interfaces 2 in the lightning docking station. The lightning docking station consumes the electric quantity of the lightning computer under the condition of bus power supply. Therefore, the total current consumption of the lightning docking station needs to be limited, that is, the total current consumption of the lightning docking station cannot exceed the preset limited current value, so as to ensure the normal use of the lightning computer.
In order to increase the number of the lightning docking station downlink interfaces 2 while meeting the condition that the consumption current value is smaller than the limited current value, the configuration device 7 is used for adjusting the use output current values of the downlink interfaces 2, so that the total consumption current value of the lightning docking station is smaller than the limited current value. Both guaranteed the operation requirement of thunder and lightning docking station, guaranteed the quantity of downlink interface 2 again, help improving thunder and lightning docking station's use flexibility and user experience degree.
The bus is generally a common communication trunk line for transmitting information between various functional units of a computer, and is a transmission line bundle composed of wires, and the bus may be divided into a data bus, an address bus, and a control bus according to the type of information transmitted by the computer. But in this embodiment the term bus refers to bus technology or a bus to which bus technology is applied. The bus technology refers to a technology capable of performing communication and power supply at the same time, and it is understood that a bus to which the bus technology is applied is a bus capable of performing communication, i.e., data exchange, and power supply at the same time. Therefore, after the bus interface 1 is connected with the bus of the thunder and lightning computer, the input current and the input data can be acquired simultaneously. In addition, the bus interface 1 is not limited to be connected with the bus of a thunder computer, and can also be connected with the bus of other intelligent terminals applying thunder technology; other intelligent terminals such as smart phones and pads.
Referring to fig. 1, a bus interface 1 is connected to a lightning signal processor 3, a configuration device 7 and a general power supply circuit 5. The input data are transmitted to the thunder and lightning signal processor 3 through the bus interface 1, and the thunder and lightning signal processor 3 is used for performing operations such as interpretation, transcoding and distribution on the input data, so that the input data can be transmitted to the downlink equipment which is correspondingly connected through each downlink interface 2. The downlink device is, for example, a usb disk, a hard disk, a projector, a sound device, and a display screen connected to the downlink interface 2.
The number of the downlink interfaces 2 is at least two, and the at least two downlink interfaces 2 include at least one USB interface. For example, when two downlink interfaces 2 are provided, there may be one USB interface and one interface of a type different from that of the USB interface, such as a DP interface; for another example, when two downlink interfaces 2 are provided, both the two downlink interfaces 2 may be set as USB interfaces; for another example, when four downlink interfaces 2 are provided, two USB interfaces and two DP interfaces may be provided. It should be noted that the USB interface is a USB3.1 interface or a USB3.0 interface, and both the USB3.1 interface and the USB3.0 interface are compatible with USB2.0 and USB 1.0.
The thunder and lightning signal processor 3 is connected with a USB concentrator 4, and the USB concentrator 4 can be an MCU or a singlechip and is used for receiving input data transmitted by the thunder and lightning signal processor 3. The USB hub 4 is connected to all USB interfaces, and is configured to distribute the input data transmitted by the lightning signal processor 3 to each USB interface. Furthermore, referring to fig. 2, when the number of USB interfaces in the lightning docking station is less than the total number of downlink interfaces 2, the lightning signal processor 3 is connected with other downlink interfaces 2 for distributing input data to the other downlink interfaces 2. The other downstream interface 2 is referred to as a downstream interface 2 of a different type from the USB interface, for example, a DP interface.
Referring to fig. 1, the configuration means 7 is arranged for communication with a lightning computer via the bus interface 1. For example, when the bus interface 1 is connected to the bus of a thunder computer, the thunder docking station is powered on and is in a working state. The configuration device 7 is started, uploads a first connection request to the bus interface 1, and after receiving a first connection response sent by the thunder computer, judges that the thunder docking station is successfully connected with the thunder computer. The configuration means 7 are connected to the USB hub 4 for transmitting a down-flow command to the USB hub 4 when the difference between the defined current value and the current total current value consumed by the lightning docking station is less than or equal to the maximum output current value of the inactive interface. The USB hub 4 is configured to reduce the used output current value of the corresponding USB interface based on the current reduction command when receiving the current reduction command.
For example, defining the current value to be 3 amperes, the total current value currently consumed by the lightning docking station to be 2.8 amperes, the maximum output current value of the standby interface to be 0.5 amperes, the configuration device transmits a down-flow command to the USB hub 4.
It should be noted that the downlink interface 2 is divided into two states, one is in an active state, and the other is in a standby state. For convenience of description, the downstream interface 2 in the use state is referred to as a use interface; the downstream interface 2 in the dormant state is referred to as the dormant interface. Specifically, the interface is an interface in which the downlink interface 2 is connected to downlink equipment and outputs current to the downlink equipment connected correspondingly; the standby interface refers to an interface which is not connected with downlink equipment and has no output current at the downlink interface 2. Each downlink interface 2 is provided with a maximum output current value and a use output current value, which are determined by the type of the downlink interface 2. For example, the maximum output current value and the used output current value of the DP interface are equal and are both 500 ma; the maximum output current value of the USB3.1 interface is 900 milliamperes, and the using output current value can be 900 milliamperes or 500 milliamperes. The USB3.1 interface is reduced to the USB2.0 performance, namely the using output current value is reduced to 500 milliamperes. The USB3.0 interface is similar to the USB3.1 interface in that the maximum output current value is 900 milliamperes, and the used output current value may be 900 milliamperes or 500 milliamperes.
It is understood that the standby interface is a generic term for all downstream interfaces 2 in the standby state, i.e. the standby interface may comprise one downstream interface 2 or may comprise a plurality of downstream interfaces 2. Correspondingly, when the standby interface comprises a plurality of downlink interfaces 2, the maximum output current value of the standby interface is the sum of the maximum output current values of all the downlink interfaces 2 in the standby state.
Referring to fig. 1, the configuration device 7 is further connected to a power supply interface 8, and the power supply interface 8 is used for connecting to an external power supply to supply power to the lightning docking station. The external power supply can be a charger, a storage battery or a power grid connected through a charger. The configuration device 7 is configured to transmit a second connection request to the power supply interface 8, and determine that the lightning docking station is successfully connected to the external power source after receiving a second connection response transmitted by the external power source.
Specifically, the lightning docking station is provided with two modes, and when the configuration device 7 determines that the connection with the lightning computer is successful but the connection with the external power supply is not successful, the configuration device 7 determines that the bus power supply mode is adopted at the moment. Under the bus power supply mode, the thunder and lightning docking station obtains the input current that the thunder and lightning computer provided through bus interface 1. The total current consumption value of the lightning docking station is thus limited by a defined current value. When the configuration device 7 determines that the connection with the lightning computer is successful and the connection with the external power supply is successful, the configuration device 7 determines that the self-powered mode is performed at this time. In the self-powered mode, the lightning docking station no longer requires the input current of the lightning computer, and therefore there is no limit to the current value. That is, in the self-powered mode, the lightning docking station does not need to reduce the used output current value of the downlink interface 2, and the used output current value of each downlink interface 2 is the maximum output current value of itself.
Referring to fig. 1, a first current end of the main power supply circuit 5 is connected to the bus interface 1, and a second current end is connected to a current input end of the downlink interface power supply circuit 6, and is configured to transmit current to the downlink interface power supply circuit 6. The current output end of the downlink interface power supply circuit 6 is connected with the downlink interface 2 and is used for providing output current for the downlink interface 2. The current input end of the power supply circuit 9 is connected with the power supply interface 8, and the current output end is connected with the current input end of the downlink interface power supply circuit 6. Namely, the power supply circuit 9 and the downlink interface power supply circuit 6 are connected in parallel at the second current end of the total power supply circuit 5. The current input terminal of the charging circuit 10 is connected to the current input terminal of the power supply interface 8, and the current output terminal is connected to the first current terminal of the main power supply circuit 5, so as to provide the charging current to the main power supply circuit 5 when the lightning docking station is in the self-powered mode. The charging current is used for charging the correspondingly connected thunder and lightning computer after passing through the bus interface 1.
Specifically, referring to fig. 2, the total power supply circuit 5 includes a first switch S1, a first contact terminal of the first switch S1 is connected to a first current terminal of the total power supply circuit 5, and a second contact terminal is connected to a second current terminal of the total power supply circuit 5. It should be noted that the first switch S1 includes a fixed contact and a movable contact, and the first contact end of the first switch S1 referred to in this embodiment may be the fixed contact of the first switch S1 or the movable contact of the first switch S1; the second contact terminal of the first switch S1 is referred to as the other contact of the first switch S1. When the first contact end and the second contact end of the first switch S1 are closed, the stationary contact of the first switch S1 is connected with the movable contact, and is in a conducting state; when the first contact end and the second contact end of the first switch S1 are disconnected, the stationary contact and the movable contact of the first switch S1 are disconnected, and an open circuit state is assumed.
The power supply circuit 9 includes a second switch S2, a first contact terminal of the second switch S2 is connected to a current input terminal of the power supply circuit 9, and a second contact terminal is connected to a current output terminal of the power supply circuit 9.
The charging circuit 10 comprises a voltage regulator and a third switch S3 connected in series with the voltage regulator, wherein a current input end of the voltage regulator is connected with a current input end of the charging circuit 10, a current output end of the voltage regulator is connected with a first contact end of the third switch S3, and a second contact end of the third switch S3 is connected with a current output end of the charging circuit 10; namely, the charging circuit 10 is connected in parallel with the power supply circuit 9 and arranged at the current input end of the power supply interface 8.
The downlink interface power supply circuit 6 includes a plurality of sub power supply circuits 61; a plurality of sub power supply circuits 61 are arranged in parallel, the current input ends of the sub power supply circuits 61 are all connected with the current input end of the downlink interface power supply circuit 6, and the current output ends are connected with the respective downlink interfaces 2. It is understood that the current output terminal of each sub-supply circuit 61 may be connected to two downstream interfaces 2, to three downstream interfaces 2, or to one downstream interface 2. Furthermore, several downstream interfaces 2 connected to the current output of the same sub-supply circuit 61 are connected in parallel.
Each sub-supply circuit 61 comprises a transformer and a current limiter in series, the transformer being either a buck-boost converter or a buck converter; specifically, the current input end of the transformer is connected with the current input end of the corresponding sub-power supply circuit 61, and the current output end of the transformer is connected with the current input end of the corresponding series current limiter; the current output of the current limiter is connected to the current output of the corresponding sub-supply circuit 61. The control ends of a plurality of current limiters are connected with the USB hub 4, and each current limiter is used for controlling the on-off of the corresponding sub-power supply circuit 61. Specifically, when the total used output current value of the downlink interface 2 exceeds a preset used output current threshold value, the USB hub 4 controls the correspondingly connected current limiter to be disconnected, so as to ensure that the consumed total current value of the lightning docking station is not easily greater than a limited current value.
It will be appreciated that the USB hub 4 may be connected to all of the current limiters in the downstream interface supply circuit 6, or to one or both of the current limiters. In order to control the on/off of which sub power supply circuit 61, for example, to control the on/off of the sub power supply circuit 61 connected to the USB interface, the USB hub 4 is connected to the current limiter in the sub power supply circuit 61 corresponding to the USB interface.
Referring to fig. 2, the configuration device 7 is connected to the first switch S1, the second switch S2, the third switch S3, and the control end of the voltage regulator, and is configured to switch to the self-powered mode when the bus interface 1 is connected to the bus of the lightning computer and the power supply interface 8 is connected to the external power supply. In the self-powered mode, the configuration means 7 control the first contact terminal of the first switch S1 to be open from the second contact terminal, the first contact terminal of the second switch S2 to be closed from the second contact terminal, the first contact terminal and the second contact terminal of the third switch S3 to be closed and the voltage regulator to output a corresponding voltage value. It should be noted that the corresponding voltage value refers to a charging voltage value of the lightning computer connected to the bus interface 1. Specifically, the inquiry request is uploaded to the correspondingly connected thunder and lightning computer through the configuration device 7, then the charging voltage value issued by the correspondingly connected thunder and lightning computer is received, and then the voltage regulator is controlled to output the voltage value which is the same as the charging voltage value. The voltage regulator adopts a buck-boost converter, and the output voltage values comprise 5V, 9V, 15V and 20V.
The configuration device 7 is also used for switching the bus power supply mode when the bus interface 1 is connected with a bus of a thunder and lightning computer and the power supply interface 8 is disconnected with an external power supply. In the bus power mode, the configuration device 7 controls the first contact terminal of the first switch S1 to close with the second contact terminal, the first contact terminal of the second switch S2 to open with the second contact terminal, and the first contact terminal of the third switch S3 to open with the second contact terminal.
For a clearer description of a lightning docking station, two specific lightning docking stations are listed below.
Referring to fig. 3, in an embodiment, four downlink interfaces 2 are provided, and the four downlink interfaces 2 are two USB interfaces and two DP interfaces respectively. The downlink interface power supply circuit 6 comprises two sub power supply circuits 61, and the two sub power supply circuits 61 are a USB power supply circuit and a DP power supply circuit respectively; the USB power supply circuit comprises a first transformer and a first current limiter which are arranged in series, and the first current limiter is connected with the USB hub 4; the DP supply circuit comprises a second transformer and a second current limiter arranged in series. The current output end of the USB power supply circuit is connected with both the two USB interfaces, and the two USB interfaces are connected in parallel; the current output end of the DP power supply circuit is connected with the two DP interfaces which are connected in parallel.
It should be noted that, the two USB interfaces are both USB3.1 interfaces, the maximum output current value is 900 ma, and when the performance is reduced to USB2.0, the output current value used is 500 ma, so the output current value used by the USB interface may be 900 ma or 500 ma. The maximum output current value of the DP interface is equal to the using output current value, and is 500 milliamperes. The current value is limited to 3 amperes, so when all four downstream interfaces 2 work with the maximum output current value, the consumption current value of the downstream interface 2 in the lightning docking station is 2800 milliamperes. And in addition, the fixed current value consumed by the power consumption units such as the lightning signal processor 3, the configuration device 7, the USB hub 4 and the like is 300 milliamperes, the total consumed current value of the lightning docking station is greater than the limited current value, the factory requirements are not met, and the lightning docking station cannot be used.
In order not to reduce the number of lightning docking station downstream interfaces 2, the configuration means 7 transmit a down-flow instruction to the USB hub 4, the USB hub 4 being configured to reduce the value of the used output current of the last inactive USB interface upon reception of the down-flow instruction. It is understood that the two USB interfaces have a sequential use order, and when one of the USB interfaces is connected with a downlink device, the use output current value of the USB interface is the maximum output current value, i.e., 900 milliamperes. The using output current value of the USB interface which is not connected with the downlink equipment is reduced to 500 milliamperes, namely the standby USB interface is reduced to 2.0 performance. At this time, even if four downlink interfaces 2 are used simultaneously, the current consumption value of the downlink interfaces 2 is 2400 milliamperes, the fixed current value consumed by the power consumption unit is 300 milliamperes, the total current consumption value of the lightning docking station is 2700 milliamperes, and is smaller than the limited current value, so that the factory requirements are met.
In addition, in order to improve the portability of the lightning docking station, the bus interface 1 and the power supply interface 8 are both Type-C interfaces.
As a modification of the above embodiment, referring to fig. 4, the downlink interfaces 2 are provided with five, and the five downlink interfaces 2 are three USB interfaces and two DP interfaces, respectively. When the bus power supply mode is used, the configuration device 7 transmits a current reduction instruction to the USB hub 4, and when the USB hub 4 receives the current reduction instruction, the three USB interfaces are reduced to the USB2.0 performance, so that the using output current values of the three USB interfaces are all 500 milliamperes, the factory requirement of the lightning docking station is met, and the increase of the number of the downlink interfaces 2 of the lightning docking station is facilitated.
Referring to fig. 5, the configuration means 7 comprises a memory 71 and a processor 72, the memory 71 having a lightning docking station interface configuration program stored therein; processor 72 is configured to execute the lightning dock interface configuration method when running the lightning dock interface configuration program.
The implementation of the lightning docking station interface configuration method is described in detail below in connection with the lightning docking station described above.
The embodiment of the application discloses a lightning docking station interface configuration method. Referring to fig. 6, the method includes:
s100, obtaining a fixed current value of a power consumption component inside the lightning docking station, a using output current value of a using interface of the lightning docking station and a maximum output current value of a standby interface.
The fixed current value refers to the current value consumed by other power consumption components except the output current value of the downlink interface 2 in the lightning docking station; namely the sum of the current consumption values of all the power consumption components in the lightning docking station in the working state. It is understood that the consumed current value is not increased with the increase of time, unlike the consumed electric energy. For example, if a chip is rated at 2 watts and rated at 5 volts, the chip consumes 400 ma when it is in operation. And power consuming components inside the lightning docking station, such as a lightning signal processor 3 and a USB hub 4.
In an embodiment, the specific step of obtaining the fixed current value of the power consumption component inside the lightning docking station includes:
and S110, reading a fixed current value prestored in the storage unit.
The number of the power consumption components in the lightning docking station and the types of the power consumption components are determined, so that the sum of the consumed current values of the power consumption components in the working state, namely the fixed current value, can be obtained. The fixed current value is pre-stored in the storage unit, and when the fixed current value needs to be obtained, the configuration device 7 reads the fixed current value from the storage unit.
In another embodiment, referring to fig. 7, the specific step of obtaining the fixed current value of the power consumption component inside the lightning docking station includes:
and S120, obtaining the working current value of each power consumption component.
It is understood that the operating current value of the power consuming component is the current value consumed by the power consuming component in the operating state.
And S130, summing the working current values of all power consumption components, and taking the sum result as a fixed current value.
Referring to fig. 8, the step S120 of obtaining the operating current value of each power consumption component includes:
and S121, acquiring current value data acquired by sensors for detecting the working current values of the corresponding power consumption components.
The sensor may be a current sensor or a voltage sensor.
And S122, using the current value data transmitted by each sensor as the working current value of each power consumption component.
I.e. the current value data is measured by the sensor, which contributes to an improved accuracy of the fixed current value compared to a value pre-stored in the memory unit.
Referring to fig. 9, as another real-time method of step S120, step S120 specifically includes:
and S123, calling the rated working current value of each power consumption component preset in the storage unit.
And S124, setting the rated operating current value of each power consumption component as the operating current value of each power consumption component.
Compared with a mode of using a sensor, the method for obtaining the rated working current value of each power consumption component preset in the storage unit is convenient for reducing the cost and the volume of the lightning docking station. Compared with the mode that the configuration device 7 directly obtains the preset fixed current value from the storage unit, the method for obtaining the rated working current value of each power consumption component preset in the storage unit is convenient to directly change the corresponding rated working current value when the rated working current value of the power consumption component changes, and errors are not easy to occur.
Referring to fig. 6, the manner of obtaining the used output current value of the lightning docking station using the interface may be measured by a current sensor or may be read from a memory unit by the configuration means 7. For the latter obtaining mode, specifically, when a certain downlink interface 2 is connected to the downlink device, the configuration apparatus 7 transmits a verification request to the downlink device. When the configuration device 7 receives the verification response information transmitted by the downlink device based on the verification request, the configuration device 7 regards that the downlink interface 2 is successfully connected with the downlink device, and at this time, the downlink interface 2 is in a use state, so that the downlink interface 2 is a use interface. The configuration means 7 then read the value of the used output current of the downstream interface 2 into a memory unit.
Referring to fig. 6, the lightning docking station interface configuration method further includes:
and S200, obtaining the residual available current value of the lightning docking station according to the fixed current value, the use output current value of the use interface and the preset limited current value of the lightning docking station.
And S300, when the residual available current value is less than or equal to the maximum output current value of the standby interface, reducing the used output current value of the standby interface.
Referring to fig. 10, the specific steps of obtaining the remaining available current value of the lightning docking station include:
s210, extracting the maximum output current value preset in the storage unit by the lightning docking station standby interface.
And S220, extracting a limited current value of the lightning docking station preset in the storage unit.
And S230, summing the fixed current value and the using output current value of the using interface to obtain the current consumption current value of the lightning docking station.
And S240, subtracting the current consumption current value from the limited current value to obtain the residual available current value of the lightning docking station.
It should be noted that steps S210 and S220 have no sequential requirement, and may be executed simultaneously or sequentially in any order. The limited current value is set according to the factory requirement or the use requirement of the lightning docking station and can be 3 amperes or 5 amperes. When the lightning docking station is connected with an intelligent terminal such as a lightning computer or a mobile phone or a Pad, the intelligent terminal is not easily and quickly consumed, and the use of the intelligent terminal is not influenced.
It will be understood that since there is no requirement for the order of acquisition of the fixed current value, the used output current value of the used interface, the maximum output current value of the standby interface, and the defined current value, they may be acquired sequentially in any order.
Referring to fig. 11, the step of determining whether the remaining available current value is less than or equal to the maximum output current value of the standby interface includes:
and S310, obtaining a residual available current value based on C = L- (X + Y).
Wherein C is the remaining available current value; l is a defined current value; x is the value of the using output current of the using interface; y is a fixed current value.
And S320, comparing the residual available current value C with the maximum output current value of the standby interface.
S330, outputting yes when the residual available current value C is less than or equal to the maximum output current value of the standby interface; and when the residual available current value C is larger than the maximum output current value of the standby interface, outputting no.
If the output is yes, the used output current of the standby interface is reduced; and if the output is not the same, the used output current value of the standby interface is not reduced.
In one embodiment, the step of reducing the used output current value of the standby interface comprises:
and S340, reducing the used output current value of the standby interface based on the preset configuration model, so that the residual available current value is larger than the used output current value of the standby interface.
Specifically, referring to fig. 12, the specific steps of reducing the used output current value of the standby interface based on the preset configuration model include:
s341, reducing the using output current value of at least one standby USB interface in the standby interfaces, and ending the process when the remaining available current value is larger than the using output current value of the standby interfaces.
It is understood that, in step S341, a USB interface is provided in the downlink interface 2 based on the lightning docking station, and there is a USB interface to be used in the USB interface. If no USB interface is set in the lightning docking station, or all USB interfaces in the lightning docking station are in use, step S342 is executed. Further, the used output current value of the standby interface means an output current value transmitted to the downstream device by the standby interface when in use. When the lightning docking station is not limited by the limited current value, all downlink interfaces 2 of the lightning docking station take respective maximum output current values as the use output current values, so that the data transmission speed is increased, and the user experience is improved.
And S342, otherwise, reducing the used output current values of all the standby USB interfaces and at least one standby function interface in the standby interfaces, and ending the process when the residual available current value is larger than the used output current value of the standby interface.
Otherwise, the step S342 includes various situations, such as when no USB interface is set in the downlink interface 2 of the lightning docking station, when no USB interface is present in the standby interface of the lightning docking station, or when the used output current value of the standby USB interface is reduced, the remaining available current value C cannot be made larger than the used output current of the standby interface.
And S343, otherwise, reducing the used output current value of all the interfaces in the standby interface.
Otherwise in step S343 means that the remaining available current value C is still less than or equal to the used output current value of the standby interface after step S342 is performed. It should be understood that, since some types of downlink interfaces 2 cannot freely control their used output current values, it may also be understood that there are only two types of used output current values for some types of downlink interfaces 2, one is the maximum output current value, and the other is 0. For example, the maximum output current value of the DP interface is 500 ma, and if the use output current value of the DP interface is to be reduced, the use output current value of the DP interface can only be zero, that is, the sub power supply circuit 61 connected to the DP interface is disconnected, and the output current value of the DP interface is zero.
Therefore, the reduction of the use output current value in this embodiment includes two cases, one is, for example, a USB3.1 interface or a USB3.0 interface, and the use output current value may be reduced from 900 milliamperes to 500 milliamperes, and of course, may also be reduced to 0 milliampere; the other is, for example, a DP interface, and the decrease of the output current value indicates that the output current value of the DP interface is zero.
For ease of understanding, when the used output current value of the standby interface is reduced based on a preset configuration model, the following steps are performed:
reducing the used output current value of at least one standby USB interface in the standby interfaces from the maximum output current value to a secondary output current value, and ending the process when the residual available current value is greater than the used output current value of the standby interfaces;
otherwise, reducing the used output current values of all the standby USB interfaces in the standby interfaces from the maximum output current value to a secondary output current value, reducing the used output current value of at least one standby functional interface to zero, and ending the process when the residual available current value is greater than the used output current value of the standby interface;
otherwise, the used output current value of all the interfaces in the standby interface is reduced to zero.
It should be noted that, after the used output current values of all the interfaces in the standby interface are reduced to zero, the used output current value of the standby interface at this time is zero, and the remaining available current value is not less than the used output current value of the standby interface.
Furthermore, unlike the preset configuration model described above, in another embodiment the lightning docking station is provided with two USB interfaces. The step of reducing the value of the used output current of the standby interface comprises:
and S350, reducing the using output current value of the standby USB interface.
It is understood that the difference between the present embodiment and the previous embodiment is that two USB interfaces are provided on the lightning docking station, and the two USB interfaces may be one of a USB3.1 interface or a USB3.0 interface. When the remaining available current value C is less than or equal to the maximum output current value of the standby interface, the configuration device 7 only needs to reduce the used output current value of the standby USB interface to make the total consumed current value of the lightning docking station less than the limit current value.
The implementation principle of the lightning docking station interface configuration method in the embodiment of the application is as follows: and when the residual available current value C is less than or equal to the maximum output current value of the standby interface, reducing the used output current value of the standby interface. The lightning docking station can be provided with a large number of downlink interfaces 2, the configuration device 7 continuously judges the size relationship between the residual available current value C and the maximum output current value of the standby interface along with the increase of the use number of the downlink interfaces 2, and once the residual available current value C is less than or equal to the maximum output current value of the standby interface, the configuration device reduces the use output current value of the standby interface, so that the lightning docking station can meet the factory requirements when in a bus mode; and the number of the lightning docking station downlink interfaces 2 is not easily limited, which is beneficial to increasing the number of the lightning docking station downlink interfaces 2.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (17)

1. A lightning docking station interface configuration method, comprising:
acquiring a fixed current value of a power consumption component inside the lightning docking station, a use output current value of a lightning docking station use interface and a maximum output current value of a standby interface;
obtaining a residual available current value of the lightning docking station according to the fixed current value, the use output current value of the use interface and a preset limited current value of the lightning docking station;
and when the residual available current value is less than or equal to the maximum output current value of the standby interface, reducing the used output current value of the standby interface.
2. The lightning docking station interface configuration method of claim 1, wherein the step of obtaining the remaining available current value of the lightning docking station comprises:
extracting a maximum output current value preset in a storage unit by a standby interface of the lightning docking station;
extracting a limited current value of a lightning docking station preset in the storage unit;
summing the fixed current value and the using output current value of the using interface to obtain the current consumption current value of the lightning docking station;
subtracting the current consumption current value from the defined current value to obtain a remaining available current value of the lightning docking station.
3. The lightning docking station interface configuration method of claim 1, wherein the step of reducing the value of the used output current of the standby interface comprises:
and reducing the used output current value of the standby interface based on the preset configuration model, so that the residual available current value is larger than the used output current value of the standby interface.
4. The lightning docking station interface configuration method of claim 3, wherein the step of reducing the value of the used output current of the standby interface based on the preset configuration model comprises:
reducing the used output current value of at least one standby USB interface in the standby interfaces, and ending the process when the residual available current value is larger than the used output current value of the standby interface;
otherwise, reducing the used output current values of all the standby USB interfaces and at least one standby functional interface in the standby interfaces, and ending the process when the residual available current value is larger than the used output current value of the standby interface;
otherwise, the used output current value of all the interfaces in the standby interface is reduced.
5. The lightning docking station interface configuration method of claim 4, wherein the step of reducing the value of the used output current of at least one standby USB interface of the standby interfaces comprises:
reducing the used output current value of at least one standby USB interface in the standby interfaces from the maximum output current value to a secondary output current value;
the step of reducing the used output current value of all the standby USB interfaces and at least one standby function interface in the standby interfaces comprises the following steps:
reducing the used output current value of all the standby USB interfaces in the standby interfaces from the maximum output current value to a secondary output current value, and reducing the used output current value of at least one standby function interface to zero;
the step of reducing the used output current value of all the interfaces to be used comprises the following steps:
and reducing the used output current value of all the interfaces to be used to zero.
6. The method of claim 1, wherein the lightning docking station is provided with two USB interfaces;
the step of reducing the used output current value of the standby interface comprises the following steps:
and reducing the using output current value of the standby USB interface.
7. The lightning docking station interface configuration method of claim 1, wherein the step of determining whether the remaining available current value is less than or equal to the maximum output current value of the standby interface comprises:
obtaining the remaining usable current value based on C = L- (X + Y); wherein C is the remaining usable current value; l is a defined current value; x is the value of the using output current of the using interface; y is a fixed current value;
comparing the residual available current value C with the maximum output current value of the standby interface;
when the residual available current value C is less than or equal to the maximum output current value of the standby interface, outputting yes; and when the residual available current value C is larger than the maximum output current value of the standby interface, outputting no.
8. The lightning docking station interface configuration method according to claim 1, wherein the step of obtaining the fixed current value of the power consumption components inside the lightning docking station comprises:
reading a fixed current value prestored in a storage unit;
or the like, or, alternatively,
acquiring the working current value of each power consumption component;
and summing the working current values of all the power consumption components, and taking the summation result as a fixed current value.
9. The lightning docking station interface configuration method of claim 8, wherein the step of obtaining the operating current value of each power consuming component comprises:
acquiring current value data acquired by sensors for detecting the working current values of the corresponding power consumption components;
using the current value data transmitted by each sensor as the working current value of each power consumption component;
or the like, or, alternatively,
calling the rated working current value of each power consumption component preset in the storage unit;
and taking the rated working current value of each power consumption component as the working current value of each power consumption component.
10. A lightning docking station interface configuration apparatus comprising a memory (71) and a processor (72), characterized in that: the memory (71) stores a lightning docking station interface configuration program; the processor (72) is configured to perform the steps of the method of any of claims 1-9 when running the lightning docking station interface configuration program.
11. The lightning docking station comprises a bus interface (1) and at least two downlink interfaces (2), wherein at least two downlink interfaces (2) comprise at least one USB interface, and the USB interface is a USB3.1 interface or a USB3.0 interface, and is characterized in that: further comprising a lightning signal processor (3), a USB hub (4), a general supply circuit (5), a downstream interface supply circuit (6) and a configuration means (7) as claimed in claim 10;
the bus interface (1) is connected with the lightning signal processor (3), the total power supply circuit (5) and the configuration device (7); the bus interface (1) is used for being connected with a bus of a thunder computer and transmitting input current and input data to the thunder docking station;
the lightning signal processor (3) is connected with the USB hub (4) and is used for transmitting input data to the USB hub (4); the lightning signal processor (3) is further used for transmitting input data to other downlink interfaces (2) when the number of the USB interfaces is less than the total number of the downlink interfaces (2);
the configuration device (7) is connected with the USB hub (4) and is used for transmitting a down-flow instruction to the USB hub (4);
the USB hub (4) is connected with the USB interfaces and is used for reducing the using output current value of the corresponding USB interface when a current reduction instruction is received;
a first current end of the main power supply circuit (5) is connected with the bus interface (1), and a second current end is connected with a current input end of the downlink interface power supply circuit (6) and used for transmitting current to the downlink interface power supply circuit (6); and the current output end of the downlink interface power supply circuit (6) is connected with the downlink interface (2) and is used for providing output current for the downlink interface (2).
12. The lightning docking station of claim 11, wherein: the downlink interface power supply circuit (6) comprises a plurality of sub power supply circuits (61); the plurality of sub power supply circuits (61) are arranged in parallel, the current input ends of the sub power supply circuits (61) are connected with the current input ends of the downlink interface power supply circuits (6), and the current output ends are connected with the plurality of downlink interfaces (2); the plurality of downlink interfaces (2) connected with the current output end of the same sub-power supply circuit (61) are connected in parallel;
each of the sub-supply circuits (61) comprises a transformer and a current limiter connected in series; a plurality of current limiters are connected with the USB hub (4), and each current limiter is used for controlling the on-off of the corresponding sub-power supply circuit (61); the USB hub (4) is used for controlling the current limiter which is correspondingly connected to be disconnected when the total using output current value of the downlink interface (2) exceeds a preset using output current threshold value.
13. The lightning docking station of claim 11, wherein: the lightning docking station also comprises a power supply interface (8) and a power supply circuit (9);
the power supply interface (8) is used for being connected with an external power supply and transmitting input current to the lightning docking station; the current input end of the power supply circuit (9) is connected with the power supply interface (8), and the current output end of the power supply circuit (9) is connected with the current input end of the downlink interface power supply circuit (6);
the main power supply circuit (5) comprises a first switch, a first contact end of the first switch is connected with a first current end of the main power supply circuit (5), and a second contact end of the first switch is connected with a second current end of the main power supply circuit (5);
the power supply circuit (9) comprises a second switch, a first contact end of the second switch is connected with a current input end of the power supply circuit (9), and a second contact end of the second switch is connected with a current output end of the power supply circuit (9);
the configuration device (7) is connected with the control ends of the first switch and the second switch, and is used for controlling the first contact end and the second contact end of the first switch to be disconnected and controlling the first contact end and the second contact end of the second switch to be closed when the power supply interface (8) is connected with an external power supply; when the bus interface (1) is connected with a bus of a thunder and lightning computer and the power supply interface (8) is not connected with an external power supply, the first contact end and the second contact end of the first switch are controlled to be closed, and the first contact end and the second contact end of the second switch are controlled to be disconnected.
14. The lightning docking station of claim 13, wherein: the power supply interface (8) is connected with a charging circuit (10), and the charging circuit (10) comprises a voltage regulator and a third switch connected with the voltage regulator in series;
the current input end of the charging circuit (10) is connected with the current input end of the power supply interface (8), and the current output end of the charging circuit is connected with the first current end of the main power supply circuit (5); the current input end of the voltage regulator is connected with the current input end of the charging circuit (10), the current output end of the voltage regulator is connected with the first contact end of the third switch, and the second contact end of the third switch is connected with the current output end of the charging circuit (10);
the configuration device (7) is connected with both the control end of the third switch and the control end of the voltage regulator;
the configuration device (7) is used for controlling the first contact end and the second contact end of the first switch to be disconnected, the first contact end and the second contact end of the second switch to be closed, the first contact end and the second contact end of the third switch to be closed and the voltage regulator to output corresponding voltage values when the bus interface (1) is connected with a bus of a thunder and lightning computer and the power supply interface (8) is connected with an external power supply; when the bus interface (1) is connected with a bus of a thunder computer and the power supply interface (8) is not connected with an external power supply, the first contact end and the second contact end of the first switch are controlled to be closed, the first contact end and the second contact end of the second switch are controlled to be disconnected, and the first contact end and the second contact end of the third switch are controlled to be disconnected.
15. The lightning docking station of claim 13, wherein: the bus interface (1) and the power supply interface (8) are both Type-C interfaces.
16. A lightning docking station according to any of claims 11-15, characterised in that: the downlink interface (2) comprises two USB interfaces and two DP interfaces; the downlink interface power supply circuit (6) comprises a USB power supply circuit and a DP power supply circuit which is connected with the USB power supply circuit in parallel;
the USB power supply circuit comprises a first transformer and a first current limiter which are arranged in series, the current output end of the USB power supply circuit is connected with both the two USB interfaces, and the two USB interfaces are connected in parallel;
the DP power supply circuit comprises a second transformer and a second current limiter which are arranged in series, the current output end of the DP power supply circuit is connected with both the two DP interfaces, and the two DP interfaces are connected in parallel;
the USB hub (4) is used for reducing the using output current value of the last standby USB interface when a current reduction instruction is received.
17. A lightning docking station according to any of claims 11-15, characterised in that: the downlink interface (2) comprises at least one of a USB3.0 interface, a USB3.1 interface, an HDMI interface, a VGA interface and a PD interface.
CN202110904700.3A 2021-08-07 2021-08-07 Lightning docking station and configuration device Active CN113672067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110904700.3A CN113672067B (en) 2021-08-07 2021-08-07 Lightning docking station and configuration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110904700.3A CN113672067B (en) 2021-08-07 2021-08-07 Lightning docking station and configuration device

Publications (2)

Publication Number Publication Date
CN113672067A true CN113672067A (en) 2021-11-19
CN113672067B CN113672067B (en) 2022-06-10

Family

ID=78542095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110904700.3A Active CN113672067B (en) 2021-08-07 2021-08-07 Lightning docking station and configuration device

Country Status (1)

Country Link
CN (1) CN113672067B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115296099A (en) * 2022-10-08 2022-11-04 深圳市联发讯电子科技有限公司 Docking station connection method and device, docking station and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202404522U (en) * 2011-12-13 2012-08-29 青岛海信电器股份有限公司 USB (universal serial bus) interface power circuit, docking station and tablet computer
CN104158257A (en) * 2014-08-28 2014-11-19 天津市中环通讯技术有限公司 Induction type current and USB dual-mode charging control circuit and implementing method
US20160173678A1 (en) * 2014-12-15 2016-06-16 Targus Group International, Inc. Power and data adapter
CN105706072A (en) * 2013-12-11 2016-06-22 密克罗奇普技术公司 Automatic load share architecture for usb port power
CN105896679A (en) * 2016-05-31 2016-08-24 合肥联宝信息技术有限公司 Charging control method and electronic equipment employing same
CN107194290A (en) * 2017-05-23 2017-09-22 济南浪潮高新科技投资发展有限公司 A kind of protection system for docking station USB
CN108170256A (en) * 2018-02-07 2018-06-15 安福县海能实业股份有限公司 A kind of USB-C dynamically distributes power system and its power detecting method
CN210864498U (en) * 2020-01-13 2020-06-26 深圳市普洛威电子有限公司 Combined detachable docking HUB
CN210924560U (en) * 2020-01-15 2020-07-03 东莞宸帏电子有限公司 USB docking station with charging function
CN212229529U (en) * 2020-07-22 2020-12-25 深圳市明和诚电子有限公司 Multifunctional docking station integrating sound card function

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202404522U (en) * 2011-12-13 2012-08-29 青岛海信电器股份有限公司 USB (universal serial bus) interface power circuit, docking station and tablet computer
CN105706072A (en) * 2013-12-11 2016-06-22 密克罗奇普技术公司 Automatic load share architecture for usb port power
CN104158257A (en) * 2014-08-28 2014-11-19 天津市中环通讯技术有限公司 Induction type current and USB dual-mode charging control circuit and implementing method
US20160173678A1 (en) * 2014-12-15 2016-06-16 Targus Group International, Inc. Power and data adapter
CN105896679A (en) * 2016-05-31 2016-08-24 合肥联宝信息技术有限公司 Charging control method and electronic equipment employing same
CN107194290A (en) * 2017-05-23 2017-09-22 济南浪潮高新科技投资发展有限公司 A kind of protection system for docking station USB
CN108170256A (en) * 2018-02-07 2018-06-15 安福县海能实业股份有限公司 A kind of USB-C dynamically distributes power system and its power detecting method
CN210864498U (en) * 2020-01-13 2020-06-26 深圳市普洛威电子有限公司 Combined detachable docking HUB
CN210924560U (en) * 2020-01-15 2020-07-03 东莞宸帏电子有限公司 USB docking station with charging function
CN212229529U (en) * 2020-07-22 2020-12-25 深圳市明和诚电子有限公司 Multifunctional docking station integrating sound card function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115296099A (en) * 2022-10-08 2022-11-04 深圳市联发讯电子科技有限公司 Docking station connection method and device, docking station and computer readable storage medium

Also Published As

Publication number Publication date
CN113672067B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN112202222B (en) Charger, charging control method and device
CN201570873U (en) Device and integrated circuit for achieving intelligent power management of USB port
EP2180573B1 (en) System and method for controlling charging of battery of portable terminal
US8898492B2 (en) System, method and mobile terminal for sharing battery between mobile terminals
CN108170256B (en) USB-C dynamic power distribution system and power detection method thereof
CN102810880B (en) Power supply control method, power supply control device and electronic device
CN107834628B (en) Circuit and method for realizing multiple fast charging protocols based on TYPE-C interface
EP4145669A1 (en) Charging/discharging circuit and electronic device
KR20100072857A (en) Controlling method of interrupt and potable device using the same
CN106464163B (en) System for implementing modular mobile electronic devices
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
KR20200010177A (en) Reverse charging device, method and device for adjusting reverse charging current
CN112671084A (en) USB device and operation method thereof
CN113672067B (en) Lightning docking station and configuration device
JP2003032910A (en) Terminal unit
KR20160142875A (en) Systems and methods for power management of a modular mobile electronic device
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN111464673A (en) Electronic equipment and charging method thereof
KR20170098467A (en) Apparatus and method for providing usb interface between potable device and external device
CN112910038A (en) Power conversion device and method and electronic equipment
CN116169758A (en) Output power adjusting method and charger
CN105281395A (en) Charging detection circuit, mobile terminal and charging detection system
CN204858641U (en) Charger data line and charger
CN113162131A (en) Reverse charging system, reverse charging method and terminal equipment
US20220261055A1 (en) Electronic device and method for controlling the electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant