WO2022222003A1 - Connecting apparatus, movable platform, control method, and storage medium - Google Patents

Connecting apparatus, movable platform, control method, and storage medium Download PDF

Info

Publication number
WO2022222003A1
WO2022222003A1 PCT/CN2021/088198 CN2021088198W WO2022222003A1 WO 2022222003 A1 WO2022222003 A1 WO 2022222003A1 CN 2021088198 W CN2021088198 W CN 2021088198W WO 2022222003 A1 WO2022222003 A1 WO 2022222003A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
voltage
resistance
resistor
feedback
Prior art date
Application number
PCT/CN2021/088198
Other languages
French (fr)
Chinese (zh)
Inventor
王浩正
靖俊
孙仲健
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2021/088198 priority Critical patent/WO2022222003A1/en
Publication of WO2022222003A1 publication Critical patent/WO2022222003A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Definitions

  • the present application relates to the technical field of electronic products, and in particular, to a connection device, a movable platform, a control method and a storage medium.
  • the driving current of the screen backlight is determined by the maximum current of the backlight driving module and the pulse width modulation (PWM, Pulse width modulation) signal generated by the controller.
  • PWM pulse width modulation
  • the maximum current of the backlight driver module is generally consistent with the screen model.
  • the maximum current of the backlight driving module is limited by the feedback resistance, and its value is the reference voltage generated inside the backlight driving module divided by the feedback resistance.
  • the controller uses software to limit the maximum duty cycle of the PWM to achieve screen adaptation.
  • the first solution increases the cost of hardware R&D and material management, and also increases the cost and difficulty of production mixing and after-sales maintenance; the second solution cannot effectively limit the PWM duty cycle if the software logic is wrong or the program is stuck. , there will be a safety risk of overcurrent of the output current of the backlight driver module.
  • connection device a connection device, a movable platform, a control method and a storage medium.
  • connection device including a drive module, and the connection device further includes:
  • the resistor sequence includes a plurality of first resistors. By adjusting the first resistors of the resistor sequence, a plurality of feedback resistors with different resistance values can be obtained, and the plurality of feedback resistors with different resistance values can respectively define a plurality of different the maximum current;
  • a switch array including a plurality of switches, the switches can be turned on or off to adjust the first resistance of the resistance array to obtain a corresponding feedback resistance;
  • control module can control the switch to open or close according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal.
  • the present application provides a method for controlling a connection device, the method comprising:
  • the switch of the switch array is controlled to be turned on or off according to the device signal, so as to adjust the first resistance of the resistance sequence so that the maximum current of the driving module defined by the adjusted feedback resistance corresponds to the device signal
  • the connection device includes the The drive module, the resistor sequence and the switch array
  • the resistor sequence includes a plurality of the first resistors
  • a plurality of the feedback resistors with different resistance values can be obtained by adjusting the first resistors of the resistor sequence.
  • the feedback resistors with different resistance values can respectively define a plurality of different maximum currents of the driving module
  • the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the first resistance of the resistor array Get the corresponding feedback resistor.
  • the present application provides a movable platform, the movable platform has a plurality of different screens, and the movable platform includes the connection device as described above.
  • the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the control of the connection device as described above. method.
  • connection device includes a drive module, a resistor sequence, a switch array, and a first control module.
  • the resistor sequence includes a plurality of first resistors.
  • the first resistor of the resistor sequence can obtain a plurality of feedback resistors with different resistance values, and the plurality of feedback resistors with different resistance values can respectively limit a plurality of different maximum currents of the driving module;
  • the switch array includes a plurality of switches, so the The switch can be turned on or off to adjust the first resistance of the resistance array to obtain the corresponding feedback resistance;
  • the first control module can control the switch to turn on or off according to the received device signal, so that the adjusted feedback resistance can limit the maximum value.
  • the current corresponds to the device signal.
  • the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens).
  • FIG. 1 is a schematic structural diagram of an embodiment of a connecting device of the present application.
  • FIG. 2 is a schematic structural diagram of another embodiment of the connecting device of the present application.
  • FIG. 3 is a schematic structural diagram of another embodiment of the connecting device of the present application.
  • FIG. 4 is a schematic structural diagram of another embodiment of the connecting device of the present application.
  • FIG. 5 is a schematic structural diagram of another embodiment of the connecting device of the present application.
  • FIG. 6 is a schematic structural diagram of another embodiment of the connecting device of the present application.
  • FIG. 7 is a schematic flowchart of an embodiment of a control method for a connection device of the present application.
  • R F0 zero resistor
  • R F1 -R Fn non-zero resistor
  • SW1-SWn n-MOS
  • U CMP1 -U CMP2 comparator.
  • the first solution is to develop multiple hardware versions to adapt to different screens; the second solution The solution is to develop a piece of hardware, identify the model of the screen, and realize screen adaptation by limiting the maximum duty cycle of PWM through software.
  • the first solution increases the cost and difficulty of research and development, material management, production mixing and after-sales maintenance; the second solution has the safety risk of overcurrent of the output current of the backlight drive module.
  • connection device includes a drive module, a resistor sequence, a switch array, and a first control module.
  • the resistor sequence includes a plurality of first resistors.
  • the first resistor of the resistor sequence can obtain a plurality of feedback resistors with different resistance values, and the plurality of feedback resistors with different resistance values can respectively limit a plurality of different maximum currents of the driving module;
  • the switch array includes a plurality of switches, so the The switch can be turned on or off to adjust the first resistance of the resistance array to obtain the corresponding feedback resistance;
  • the first control module can control the switch to turn on or off according to the received device signal, so that the adjusted feedback resistance can limit the maximum value.
  • the current corresponds to the device signal.
  • the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens).
  • FIG. 1 is a schematic structural diagram of an embodiment of a connection device of the present application.
  • the connection device 1 includes a driving module 10 , a resistor sequence 20 , a switch array 30 and a first control module 40 .
  • the driving module 10 in the embodiment of the present application may refer to a circuit composed of a driving integrated circuit (IC, Integrated Circuit) and a small number of peripheral components, or may be any power supply circuit with an external feedback resistance, such as a boost switching power supply, Low dropout linear regulator (LDO) with low voltage switching power supply or external feedback resistor.
  • IC driving integrated circuit
  • LDO Low dropout linear regulator
  • the resistor sequence 20 includes a plurality of first resistors 21 .
  • a plurality of feedback resistors with different resistance values can be obtained, and the plurality of feedback resistors with different resistance values can respectively define the driving module 10 a plurality of different maximum currents
  • the switch array 30 includes a plurality of switches 31, the switches 31 can be turned on or off to adjust the first resistance 21 of the resistance array 20 to obtain a corresponding feedback resistance
  • the first control module 40 can The received device signal controls the switch 31 to be turned on or off, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal.
  • the maximum current of the driving module 10 is determined by the total resistance (ie, the feedback resistance) actually output by the resistance sequence 20 .
  • the resistor sequence 20 includes a plurality of first resistors 21 .
  • a plurality of feedback resistors with different resistance values can be obtained, so that the plurality of feedback resistors with different resistance values can respectively define the driving module.
  • Multiple different maximum currents of 10 that is, the drive module 10 can output multiple different maximum currents according to multiple different feedback resistors, which enables the drive module to drive different types of equipment, and different types of equipment can share a connection device, This can reduce the cost of research and development, materials, management, and after-sales.
  • the switch array 30 includes a plurality of switches 31 , and the adjustment of the first resistance 21 of the resistance sequence is realized by opening and closing the switches 31 of the switch array 30 .
  • the maximum current limited by the feedback resistance obtained by adjustment corresponds to the device signal.
  • the correspondence between a plurality of different preset maximum currents and a plurality of different preset device signals can be preset according to the received device signals.
  • the maximum current corresponding to the device signal can be obtained by the signal and the corresponding relationship; or the corresponding relationship between multiple different preset device signals and multiple preset device currents can be preset, and multiple different preset device currents are associated with multiple preset device currents.
  • the maximum current corresponding to the current corresponding to the device signal can be obtained (in practical applications, the current corresponding to the device signal is usually consistent with the corresponding maximum current, That is, what is the current corresponding to the device signal, and what is the maximum current).
  • the device signal may refer to a signal sent by a device that needs to be driven by the driving module 10 and capable of identifying the model of the device, or a signal sent by the device that matches or corresponds to the device.
  • the device sends a device signal, and the first control module 40 can receive the device signal, and control the switch 31 of the switch array 30 to open or close according to the received device signal, so that the resistance can be adjusted
  • the first resistor 21 of the sequence 20 makes the adjusted maximum current limited by the feedback resistor to correspond to the device signal. In this way, the maximum current of the driving module 10 can be matched or corresponded to the device.
  • connection device includes a drive module, a resistance sequence, a switch array, and a first control module
  • the resistance sequence includes a plurality of first resistances, and can be obtained by adjusting the first resistances of the resistance sequence
  • a plurality of feedback resistors with different resistance values which can respectively limit a plurality of different maximum currents of the driving module
  • the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the The first resistance of the resistance array obtains a corresponding feedback resistance
  • the first control module can control the switch to open or close according to the received device signal, so that the maximum current limited by the adjusted feedback resistance corresponds to the device signal.
  • the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens).
  • the number of feedback resistors can be equal to the number of first resistors, that is, the number of feedback resistors is m, and the number of first resistors is m , m is greater than 1.
  • the m feedback resistors can respectively limit m different maximum currents of the driving module, and the m different maximum currents can respectively correspond to m different device signals, that is, m different types of devices can be adapted.
  • the m first resistors 21 include a zero-numbered resistor (denoted as R F0 ) and n non-zero-numbered resistors (denoted as R F1 , R F2 , ..., R Fn ), the resistance of the zero-numbered resistor is the resistance value of the first feedback resistor, and the zero-numbered resistor and p-1 non-zero-numbered resistors are connected in parallel to obtain the pth feedback resistor , the resistance of the p-th feedback resistor is greater than the resistance of the p+1-th feedback resistor and less than the resistance of the p-1-th feedback resistor, p is greater than or equal to 2, and n is greater than or equal to 1.
  • the m first resistors 21 include a zero-numbered resistor R F0 and n non-zero- numbered resistors R F1 , R F2 , . 1.
  • the resistance value of the zero-numbered resistor R F0 is the resistance value of the first feedback resistor R f1 , and the resistance value of the first feedback resistor R f1 is the largest among the m feedback resistors.
  • the zero-numbered resistor R F0 is connected in parallel with a first resistor to obtain a second feedback resistor R f2 , and the resistance value of the second feedback resistor R f2 is smaller than the resistance value of the first feedback resistor R f1 .
  • the zero-numbered resistor R F0 is connected in parallel with the two first resistors to obtain a third feedback resistor R f3 , and the resistance value of the third feedback resistor R f3 is smaller than the resistance value of the second feedback resistor R f2 .
  • a fourth feedback resistor R f4 can be obtained by connecting the zero-numbered resistor R F0 with the three first resistors in parallel.
  • the resistance value of the fourth feedback resistor R f4 is smaller than the resistance value of the third feedback resistor R f3 .
  • the zero-numbered resistor R F0 is connected in parallel with the n first resistors to obtain the n+1th (ie m) feedback resistor R fm , and the resistance of the n+1th feedback resistor R fm is smaller than the nth feedback resistor R fn .
  • the resistance value of the n+1th feedback resistor R fm is the smallest. That is, R f1 >R f2 >R f3 >R f4 >... >R fn >R fn+1 .
  • each switch 31 is connected to each non-zero resistor, and the other end is connected to the first control module 40 . That is, the zero-numbered resistor is always connected to the circuit, and the first control module 40 can control each switch connected to each non-zero-numbered resistor to be turned on or off.
  • the switch 31 includes a commonly used N-type Metal Oxide Semiconductor (NMOS, n-type Metal Oxide Semiconductor), as shown in FIG. 3 , where the N-type metal oxide semiconductor is denoted as SW.
  • NMOS N-type Metal Oxide Semiconductor
  • SW N-type Metal Oxide Semiconductor
  • the switch can also be any other type of device with switching function, such as an analog switch chip, a relay, a triode, an insulated gate bipolar transistor (IGBT, Insulated Gate Bipolar Transistor), and the like.
  • the device signal includes a device voltage signal
  • the first control module 40 includes: a voltage threshold providing circuit 41 and a comparison circuit 42 .
  • the voltage threshold providing circuit 41 is used for providing n different voltage thresholds, the qth voltage threshold is greater than the voltage value of the qth device voltage signal, and is smaller than the voltage value of the q+1th device voltage signal, and q is greater than or equal to 1 , and less than or equal to n.
  • the voltage threshold providing circuit 41 in this embodiment can be any device or circuit with the function of outputting an analog voltage, such as a voltage dividing resistor, a voltage reference source, a switching voltage source, a digital-to-analog converter (DAC, Digital to Analog Converter), a micro-controller Unit (MCU, Microcontroller Unit), System on Chip (SOC, System on Chip), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), etc.
  • DAC Digital to Analog Converter
  • MCU Microcontroller Unit
  • SOC System on Chip
  • FPGA Field Programmable Gate Array
  • the comparison circuit 42 is used to compare the voltage value of the received device voltage signal with the voltage threshold value. If the received voltage value is less than the first voltage threshold value, it controls the first switch to the nth switch to close, so that the adjusted The feedback resistor is the first feedback resistor; if the received voltage value is less than the qth voltage threshold and greater than the q-1th voltage threshold, and q is greater than 1 and less than or equal to n, control the first switch to The q-1th switch is turned on, and the qth switch to the nth switch are turned off, so that the adjusted feedback resistance is the qth feedback resistance; if the received voltage value is greater than the nth voltage threshold, the first switch is controlled The switch to the nth switch is turned on, so that the adjusted feedback resistance is the n+1th feedback resistance.
  • the n+1 different device voltage signals V ID that may be received are sorted according to the size of the voltage value, and the corresponding n different voltage thresholds VP are also sorted according to the size, which satisfies the following relationship:
  • V ID1 ⁇ V ID2 ⁇ V ID3 ⁇ ... V IDn ⁇ V IDn+1 ;
  • V p1 &lt V p2 < V p3 <... V pn-1 < V pn ;
  • V ID1 &lt V p1 < V ID2 < V p2 < V ID3 < V p3 <... < V pn-1 < V IDn < V pn < V IDm .
  • the adjusted feedback resistance is the first feedback resistance
  • the first feedback resistance is the resistance value of the zero-numbered resistor, excluding non-zero-numbered resistors, so control the first switch to the nth switch to close, so that the adjusted feedback resistance is the first feedback resistance.
  • the adjusted feedback resistor is the qth feedback resistor
  • the resistance of the qth feedback resistor is the resistance value of the zero resistor and the q-1 non-zero resistor in parallel , so control the 1st switch to the q-1th switch to open, and the qth switch to the nth switch to close, so that the adjusted feedback resistance is the qth feedback resistance.
  • the adjusted feedback resistance is the n+1th feedback resistance, and the th The resistance value of n+1 feedback resistors in parallel with zero resistors and n non-zero resistors, so control the 1st switch to the nth switch to open, so that the adjusted feedback resistor is the n+1th feedback resistor .
  • the comparison circuit 42 includes: n comparison units 421 .
  • the output end of each comparison unit 421 is connected to a switch, and the input end of each comparison unit 421 is used to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit 41 , if the device voltage received by the comparison unit 421 If the voltage value of the signal is greater than the voltage threshold, the switch 31 connected to the output end of the comparison unit 421 is turned on, and if the voltage value received by the comparison unit 421 is less than the voltage threshold, the comparison unit 421 is turned on The output of the connected switch 31 is closed.
  • n non-zero resistors are respectively connected to n switches, so n comparison units are provided, and the output end of each comparison unit is connected to a switch, and each comparison unit receives a device voltage signal and also receives a threshold voltage A voltage threshold provided by the circuit 41 (that is, the n different voltage thresholds of the threshold voltage circuit 41 are respectively provided to n comparison units, and one comparison unit provides a voltage threshold), and each comparison unit compares the voltage of the received device voltage signal value and a voltage threshold provided by the threshold voltage circuit 41, if the voltage value of the device voltage signal received by the comparison unit 421 is greater than the voltage threshold, the switch 31 connected to the output end of the comparison unit 421 is turned on, if the If the voltage value received by the comparison unit 421 is smaller than the voltage threshold, the switch 31 connected to the output end is turned off.
  • the comparison unit 421 includes a commonly used comparator, and can also be any device or circuit with an analog voltage input function, such as an operational amplifier, a microcontroller unit MCU, a system-on-chip SOC, a field programmable gate array FPGA, an analog/ Digital Converter (ADC, Analog-to-Digital Converter), etc.
  • an operational amplifier such as an operational amplifier, a microcontroller unit MCU, a system-on-chip SOC, a field programmable gate array FPGA, an analog/ Digital Converter (ADC, Analog-to-Digital Converter), etc.
  • ADC Analog-to-Digital Converter
  • the voltage threshold providing circuit 41 includes m second resistors (marked as R1, R2, R3, . . . , Rm).
  • the m second resistors are connected in series to form two ends, one end is grounded, and the other end is connected to the working voltage VDD, and the m second resistors form n different voltage thresholds.
  • the driving module 10 includes a positive output terminal 11 and a negative output terminal 12 , one end of each of the first resistors 21 is connected to the negative output terminal 12 of the driving module 10 , and the other One end is grounded.
  • the driving module 10 is a screen driving module
  • the device signal is a screen voltage signal for identifying a screen model
  • the maximum current limited by the feedback resistor is consistent with the current corresponding to the screen model.
  • the apparatus further includes: a second control module 50 .
  • the second control module 50 is configured to determine the duty cycle PWM of the pulse width modulation signal of the driving module 10 according to the received device signal.
  • the second control module 50 may be any device or circuit with a control function, such as MCU, SOC, FPGA, complex programmable logic device (CPLD, Complex Programming Logic Device), and so on.
  • the device is used as a screen, and the drive module can be adapted to three different types of screens as an example to describe the connection device of the embodiment of the present application in detail.
  • the three different types of screens are sorted according to the current size.
  • the three types of screen 1, screen 2, and screen 3 require the driving current (ie, the maximum current of the driving module) to be ILIM1 , ILIM2 , and ILIM3 , which satisfy the relationship I LIM1 ⁇ I LIM2 ⁇ I LIM3 .
  • the voltage of the screen voltage signal is generated by the voltage divider in the internal circuit of the screen module. It can be customized when the screen is customized and matched. Let the voltage values V ID of the screen voltage signals of three different screens be V ID1 , V ID2 , V ID3 respectively. . In order to realize the self-adaptive drive function, it is required that the magnitude relationship of V ID is consistent with the magnitude relationship of the maximum current of the drive module, that is, V ID1 ⁇ V ID2 ⁇ V ID3 .
  • connection device is an adaptive drive circuit that can adapt to three different types of screens.
  • the circuit also includes resistors composed of first resistors R F0 , R F1 and R F2 Array, a switch array composed of switches SW1 and SW2, the comparison circuit includes two comparators U CMP1 and U CMP2 , and the voltage threshold providing circuit is composed of three voltage dividing resistors (ie, second resistors), which can generate two voltage thresholds V P1 and VP2 .
  • I LIM1 V REF /R F0 ;
  • I LIM2 V REF /(R F0 //R F1 );
  • I LIM3 V REF /(R F0 //R F1 //R F2 );
  • the "//" symbol indicates that the resistors are connected in parallel. Due to the parallel relationship of the resistors, R F0 >(R F0 //R F1 )>(R F0 //R F1 //R F2 ), so I LIM1 ⁇ I LIM2 ⁇ I LIM3 is established.
  • both U CMP1 and U CMP2 output low level, and the switches SW1 and SW2 are both in the off state (ie off, non-conductive), at this time
  • the actual feedback resistor ie, the first feedback resistor
  • the first resistors R F1 and R F2 are open-circuited
  • the maximum current of the driving module is I LIM1 .
  • both U CMP1 and U CMP2 output a high level, and the switches SW1 and SW2 are both in an open state (that is, conducting), and the actual feedback resistance (that is, the first The three feedback resistors) are (R F0 //R F1 //R F2 ), and the maximum current of the drive module is I LIM3 .
  • the adaptive function of the connection device is realized.
  • the same principle can be extended to adapt to any kind of adaptive screen driving circuit.
  • the software does not need to judge the screen model, nor does it need to limit the maximum PWM duty cycle, and the maximum current driven by the screen backlight can be automatically set by hardware. Since basic components such as resistors, MOS tubes, and comparators are used to form the circuit, it has the characteristics of high reliability, not easy to damage, and low cost.
  • FIG. 7 is a schematic flowchart of an embodiment of a control method for a connection device of the present application. It should be noted that the above-mentioned connection device can execute the control method of this embodiment. For a detailed description of the relevant content, please refer to the above-mentioned connection device section , will not be repeated here.
  • the method includes: step S101 and step S102.
  • Step S101 Receive a device signal.
  • Step S102 Control the switch of the switch array to turn on or off according to the device signal, so as to adjust the first resistance of the resistance sequence so that the maximum current of the driving module defined by the adjusted feedback resistance corresponds to the device signal, wherein the connection device It includes the driving module, the resistor sequence and the switch array, the resistor sequence includes a plurality of the first resistors, and the feedback of multiple different resistance values can be obtained by adjusting the first resistors of the resistor sequence
  • a plurality of the feedback resistors with different resistance values can respectively define a plurality of different maximum currents of the driving module
  • the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the resistance of the resistor array.
  • the first resistance obtains the corresponding feedback resistance.
  • the device signal includes a device voltage signal
  • controlling the switch of the switch array to turn on or off according to the device signal includes: comparing the voltage value of the device voltage signal with the voltage threshold provided by the voltage threshold providing circuit, if receiving If the received voltage value is less than the first voltage threshold, control the first switch to the nth switch to turn off, so that the adjusted feedback resistance is the first feedback resistance.
  • the received voltage value is less than the qth voltage threshold, And greater than the q-1th voltage threshold, and q is greater than 1 and less than n or equal to n, then control the first switch to the q-1th switch to open, and the qth switch to the nth switch to close, so that the adjusted The feedback resistor is the qth feedback resistor; if the received voltage value is greater than the nth voltage threshold, control the first switch to the nth switch to open, so that the adjusted feedback resistor is the n+1th feedback resistor ; wherein, the voltage threshold providing circuit is used to provide n different voltage thresholds, and the qth voltage threshold is greater than the voltage value of the qth device voltage signal, and is smaller than the voltage value of the q+1th device voltage signal, q greater than or equal to 1, and less than or equal to n; the number of the feedback resistors and the number of the first resistors are both m, and m is greater than 1, and the m first resistors include a zero resist
  • the receiving the device signal includes: controlling each of the n comparison units to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit, and the connection device includes the n comparison units The output end of each comparison unit is connected to a switch; the controlling the switch of the switch array to turn on or off according to the device signal includes: controlling each comparison unit to compare the voltage value of the received device voltage signal with the received voltage value of the device voltage signal. the voltage threshold value; if the voltage value received by the comparison unit is greater than the voltage threshold value, the switch connected to the output end of the comparison unit is turned on, and if the voltage value received by the comparison unit is less than the voltage threshold value, Then the switch connected to the output end of the comparison unit is turned off.
  • the method further includes: determining the duty cycle of the pulse width modulation signal of the driving module according to the device signal.
  • the present application also provides a movable platform, the movable platform has a plurality of different screens, and the movable platform includes the connection device according to any one of the above.
  • the connection device section please refer to the connection device section, which will not be repeated here.
  • the movable platform includes, but is not limited to, a remote control device.
  • the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor enables the processor to control the connection device according to any one of the above method.
  • a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor enables the processor to control the connection device according to any one of the above method.
  • the computer-readable storage medium may be the above-mentioned connecting device or an internal storage unit of the movable platform, such as a hard disk or a memory.
  • the computer-readable storage medium may also be an external storage device, such as an equipped plug-in hard disk, smart memory card, secure digital card, flash memory card, and the like.

Abstract

A connecting apparatus, a movable platform, a control method, and a storage medium. The connecting apparatus (1) comprises a driving module (10), and further comprises: a resistor sequence (20) comprising a plurality of first resistors (21), wherein a plurality of feedback resistors having different resistance values can be obtained by adjusting the first resistors (21) of the resistor sequence (20), and the feedback resistors having different resistance values can respectively define a plurality of different maximum currents of the driving module (10); a switch sequence (30) comprising a plurality of switches (31), wherein the switches (31) can be turned on or off to adjust the first resistors (21) of the resistor sequence (20) to obtain corresponding feedback resistors; and a first control module (40) capable of controlling, according to received device signals, the switches (31) to be turned on or off, so that the maximum currents defined by the feedback resistors obtained by the adjustment correspond to the device signals.

Description

连接装置、可移动平台、控制方法及存储介质Connection device, movable platform, control method and storage medium 技术领域technical field
本申请涉及电子产品技术领域,尤其涉及一种连接装置、可移动平台、控制方法及存储介质。The present application relates to the technical field of electronic products, and in particular, to a connection device, a movable platform, a control method and a storage medium.
背景技术Background technique
在带有屏幕的电子产品的一个典型应用中,屏幕背光的驱动电流通过背光驱动模块的最大电流与控制器产生脉冲宽度调制(PWM,Pulse width modulation)信号共同决定。背光驱动模块的最大电流一般与屏幕的型号一致。背光驱动模块的最大电流通过反馈电阻来限定,其值为背光驱动模块内部产生的参考电压除以反馈电阻。In a typical application of an electronic product with a screen, the driving current of the screen backlight is determined by the maximum current of the backlight driving module and the pulse width modulation (PWM, Pulse width modulation) signal generated by the controller. The maximum current of the backlight driver module is generally consistent with the screen model. The maximum current of the backlight driving module is limited by the feedback resistance, and its value is the reference voltage generated inside the backlight driving module divided by the feedback resistance.
带有屏幕的电子产品引入多个型号的屏幕时,需要根据屏幕的型号对其进行适配,主要有两种方案:第一种方案是开发多个不同的硬件版本分别适配不同屏幕;第二种方案是只开发一款硬件,通过识别屏幕的型号,在控制器中通过软件限制PWM最大占空比来实现屏幕适配。When an electronic product with a screen introduces multiple models of screens, it needs to be adapted according to the model of the screen. There are two main solutions: the first solution is to develop multiple different hardware versions to adapt to different screens; The second solution is to develop only one piece of hardware. By identifying the model of the screen, the controller uses software to limit the maximum duty cycle of the PWM to achieve screen adaptation.
但是,第一种方案使得硬件研发和物料管理成本上升,也会导致生产混料和售后维修的成本、难度上升;第二种方案如果软件逻辑错误或程序卡死,无法有效限制PWM占空比,会存在背光驱动模块的输出电流过流的安全风险。However, the first solution increases the cost of hardware R&D and material management, and also increases the cost and difficulty of production mixing and after-sales maintenance; the second solution cannot effectively limit the PWM duty cycle if the software logic is wrong or the program is stuck. , there will be a safety risk of overcurrent of the output current of the backlight driver module.
发明内容SUMMARY OF THE INVENTION
基于此,本申请提供一种连接装置、可移动平台、控制方法及存储介质。Based on this, the present application provides a connection device, a movable platform, a control method and a storage medium.
第一方面,本申请提供一种连接装置,包括驱动模块,所述连接装置还包括:In a first aspect, the present application provides a connection device, including a drive module, and the connection device further includes:
电阻序列,包括多个第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动 模块的多个不同的最大电流;The resistor sequence includes a plurality of first resistors. By adjusting the first resistors of the resistor sequence, a plurality of feedback resistors with different resistance values can be obtained, and the plurality of feedback resistors with different resistance values can respectively define a plurality of different the maximum current;
开关阵列,包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻;a switch array, including a plurality of switches, the switches can be turned on or off to adjust the first resistance of the resistance array to obtain a corresponding feedback resistance;
第一控制模块,所述控制模块能够根据接收到的设备信号控制所述开关打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。A first control module, the control module can control the switch to open or close according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal.
第二方面,本申请提供一种连接装置的控制方法,所述方法包括:In a second aspect, the present application provides a method for controlling a connection device, the method comprising:
接收设备信号;receive equipment signals;
根据所述设备信号控制开关阵列的开关打开或关闭,以调整电阻序列的第一电阻使调整得到的反馈电阻限定的驱动模块的最大电流与所述设备信号对应,其中所述连接装置包括所述驱动模块、所述电阻序列和所述开关阵列,所述电阻序列包括多个所述第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的所述反馈电阻,多个不同阻值的所述反馈电阻能够分别限定所述驱动模块的多个不同的最大电流,所述开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻。The switch of the switch array is controlled to be turned on or off according to the device signal, so as to adjust the first resistance of the resistance sequence so that the maximum current of the driving module defined by the adjusted feedback resistance corresponds to the device signal, wherein the connection device includes the The drive module, the resistor sequence and the switch array, the resistor sequence includes a plurality of the first resistors, and a plurality of the feedback resistors with different resistance values can be obtained by adjusting the first resistors of the resistor sequence. The feedback resistors with different resistance values can respectively define a plurality of different maximum currents of the driving module, the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the first resistance of the resistor array Get the corresponding feedback resistor.
第三方面,本申请提供一种可移动平台,所述可移动平台具有多个不同的屏幕,所述可移动平台包括如上所述的连接装置。In a third aspect, the present application provides a movable platform, the movable platform has a plurality of different screens, and the movable platform includes the connection device as described above.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的连接装置的控制方法。In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the control of the connection device as described above. method.
本申请实施例提供了一种连接装置、可移动平台、控制方法及存储介质,该连接装置包括驱动模块、电阻序列、开关阵列以及第一控制模块,电阻序列包括多个第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动模块的多个不同的最大电流;开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻;第一控制模块能够根据接收到的设备信号控制所述开关打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。由于电阻序列包括多个第一电阻,开关阵列包括多个开关,第一控制模块能够根据接收到的设备信号控制开关打开或关闭使调整得到的反 馈电阻限定的最大电流与设备信号对应,设备信号不同,调整电阻序列的第一电阻得到的反馈电阻不同,不同的反馈电阻能够分别限定驱动模块的不同的最大电流,如此只需要一个连接装置即可满足与多个设备(例如屏幕)适配的要求,从而能够降低硬件研发和物料管理成本,便于生成和售后物料管理,降低售后维修成本;由于通过调整电阻序列的第一电阻得到多个不同阻值的反馈电阻,以此分别限定驱动模块的多个不同的最大电流,并不是通过软件逻辑实现,如此能够避免软件逻辑实现可能导致的输出电流过流的安全风险。Embodiments of the present application provide a connection device, a movable platform, a control method, and a storage medium. The connection device includes a drive module, a resistor sequence, a switch array, and a first control module. The resistor sequence includes a plurality of first resistors. By adjusting The first resistor of the resistor sequence can obtain a plurality of feedback resistors with different resistance values, and the plurality of feedback resistors with different resistance values can respectively limit a plurality of different maximum currents of the driving module; the switch array includes a plurality of switches, so the The switch can be turned on or off to adjust the first resistance of the resistance array to obtain the corresponding feedback resistance; the first control module can control the switch to turn on or off according to the received device signal, so that the adjusted feedback resistance can limit the maximum value. The current corresponds to the device signal. Since the resistor sequence includes a plurality of first resistors, and the switch array includes a plurality of switches, the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens). Therefore, it is possible to reduce the cost of hardware research and development and material management, facilitate the generation and after-sales material management, and reduce the after-sales maintenance cost; because multiple feedback resistors with different resistance values are obtained by adjusting the first resistance of the resistance sequence, which respectively limit the driving module Multiple different maximum currents are not implemented by software logic, which can avoid the safety risk of output current overcurrent that may be caused by software logic implementation.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请连接装置一实施例的结构示意图;1 is a schematic structural diagram of an embodiment of a connecting device of the present application;
图2是本申请连接装置另一实施例的结构示意图;2 is a schematic structural diagram of another embodiment of the connecting device of the present application;
图3是本申请连接装置又一实施例的结构示意图;3 is a schematic structural diagram of another embodiment of the connecting device of the present application;
图4是本申请连接装置又一实施例的结构示意图;4 is a schematic structural diagram of another embodiment of the connecting device of the present application;
图5是本申请连接装置又一实施例的结构示意图;5 is a schematic structural diagram of another embodiment of the connecting device of the present application;
图6是本申请连接装置又一实施例的结构示意图;6 is a schematic structural diagram of another embodiment of the connecting device of the present application;
图7是本申请连接装置的控制方法一实施例的流程示意图。FIG. 7 is a schematic flowchart of an embodiment of a control method for a connection device of the present application.
主要元件及符号说明:Description of main components and symbols:
1、连接装置;1. Connecting device;
10、驱动模块;11、正极输出端;12、负极输出端;20、电阻序列;21、第一电阻;30、开关序列;31、开关;40、第一控制模块;41、电压阈值提供电路;42、比较电路;421、比较单元;50、第二控制模块;10. Drive module; 11. Positive output terminal; 12. Negative output terminal; 20. Resistor sequence; 21. First resistor; 30. Switch sequence; 31. Switch; 40. First control module; 41. Voltage threshold providing circuit ; 42, a comparison circuit; 421, a comparison unit; 50, a second control module;
R F0、零号电阻;R F1-R Fn、非零号电阻;SW1-SWn、n-MOS;R1-R3、第 二电阻;U CMP1-U CMP2、比较器。 R F0 , zero resistor; R F1 -R Fn , non-zero resistor; SW1-SWn, n-MOS; R1-R3, second resistor; U CMP1 -U CMP2 , comparator.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
带有屏幕的电子产品引入多个型号的屏幕时,需要根据屏幕的型号对其进行适配,主要有两种方案:第一种方案是开发多个硬件版本分别适配不同屏幕;第二种方案是开发一款硬件,识别屏幕的型号,通过软件限制PWM最大占空比来实现屏幕适配。但是,第一种方案使得研发、物料管理、生产混料和售后维修的成本、难度上升;第二种方案存在背光驱动模块的输出电流过流的安全风险。When an electronic product with a screen introduces multiple models of screens, it needs to be adapted according to the model of the screen. There are two main solutions: the first solution is to develop multiple hardware versions to adapt to different screens; the second solution The solution is to develop a piece of hardware, identify the model of the screen, and realize screen adaptation by limiting the maximum duty cycle of PWM through software. However, the first solution increases the cost and difficulty of research and development, material management, production mixing and after-sales maintenance; the second solution has the safety risk of overcurrent of the output current of the backlight drive module.
本申请实施例提供了一种连接装置、可移动平台、控制方法及存储介质,该连接装置包括驱动模块、电阻序列、开关阵列以及第一控制模块,电阻序列包括多个第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动模块的多个不同的最大电流;开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻;第一控制模块能够根据接收到的设备信号控制所述开关打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。由于电阻序列包括多个第一电阻,开关阵列包括多个开关,第一控制模块能够根据接收到的设备信号控制开关打开或关闭使调整得到的反馈电阻限定的最大电流与设备信号对应,设备信号不同,调整电阻序列的第一电阻得到的反馈电阻不同,不同的反馈电阻能够分别限定驱动模块的不同的最大电流,如此只需要一个连接装置即可满足与多个设备(例如屏幕)适配的要求,从而能够降低硬件研发和物料管理成本,便于生成和售后物料管理,降低 售后维修成本;由于通过调整电阻序列的第一电阻得到多个不同阻值的反馈电阻,以此分别限定驱动模块的多个不同的最大电流,并不是通过软件逻辑实现,如此能够避免软件逻辑实现可能导致的输出电流过流的安全风险。Embodiments of the present application provide a connection device, a movable platform, a control method, and a storage medium. The connection device includes a drive module, a resistor sequence, a switch array, and a first control module. The resistor sequence includes a plurality of first resistors. By adjusting The first resistor of the resistor sequence can obtain a plurality of feedback resistors with different resistance values, and the plurality of feedback resistors with different resistance values can respectively limit a plurality of different maximum currents of the driving module; the switch array includes a plurality of switches, so the The switch can be turned on or off to adjust the first resistance of the resistance array to obtain the corresponding feedback resistance; the first control module can control the switch to turn on or off according to the received device signal, so that the adjusted feedback resistance can limit the maximum value. The current corresponds to the device signal. Since the resistor sequence includes a plurality of first resistors, and the switch array includes a plurality of switches, the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens). Therefore, it is possible to reduce the cost of hardware research and development and material management, facilitate the generation and after-sales material management, and reduce the after-sales maintenance cost; because multiple feedback resistors with different resistance values are obtained by adjusting the first resistance of the resistance sequence, which respectively limit the driving module Multiple different maximum currents are not implemented by software logic, which can avoid the safety risk of output current overcurrent that may be caused by software logic implementation.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
参见图1,图1是本申请连接装置一实施例的结构示意图,该连接装置1包括驱动模块10、电阻序列20、开关阵列30以及第一控制模块40。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of an embodiment of a connection device of the present application. The connection device 1 includes a driving module 10 , a resistor sequence 20 , a switch array 30 and a first control module 40 .
本申请实施例中的驱动模块10可以是指驱动集成电路(IC,Integrated Circuit)和少量外围元器件构成的电路,也可以是任意具有外置反馈电阻的电源电路,如升压开关电源、降压开关电源或外置反馈电阻的低压差线性稳压器(LDO,Low Dropout regulator)。The driving module 10 in the embodiment of the present application may refer to a circuit composed of a driving integrated circuit (IC, Integrated Circuit) and a small number of peripheral components, or may be any power supply circuit with an external feedback resistance, such as a boost switching power supply, Low dropout linear regulator (LDO) with low voltage switching power supply or external feedback resistor.
电阻序列20包括多个第一电阻21,通过调整所述电阻序列20的第一电阻21能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动模块10的多个不同的最大电流;开关阵列30包括多个开关31,所述开关31能够打开或关闭以调整所述电阻阵列20的第一电阻21得到对应的反馈电阻;第一控制模块40能够根据接收到的设备信号控制所述开关31打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。The resistor sequence 20 includes a plurality of first resistors 21 . By adjusting the first resistors 21 of the resistor sequence 20 , a plurality of feedback resistors with different resistance values can be obtained, and the plurality of feedback resistors with different resistance values can respectively define the driving module 10 a plurality of different maximum currents; the switch array 30 includes a plurality of switches 31, the switches 31 can be turned on or off to adjust the first resistance 21 of the resistance array 20 to obtain a corresponding feedback resistance; the first control module 40 can The received device signal controls the switch 31 to be turned on or off, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal.
本实施例中,驱动模块10的最大电流是通过电阻序列20实际输出的总电阻(即反馈电阻)决定的。电阻序列20包括多个第一电阻21,通过调整所述电阻序列20的第一电阻21能够得到多个不同阻值的反馈电阻,如此多个不同阻值的反馈电阻能够分别限定所述驱动模块10的多个不同的最大电流,即驱动模块10能够根据多个不同的反馈电阻输出多个不同的最大电流,这使得驱动模块能够驱动不同型号的设备,不同型号的设备能够共用一个连接装置,从而能够减少研发、物料、管理、售后等成本。In this embodiment, the maximum current of the driving module 10 is determined by the total resistance (ie, the feedback resistance) actually output by the resistance sequence 20 . The resistor sequence 20 includes a plurality of first resistors 21 . By adjusting the first resistors 21 of the resistor sequence 20 , a plurality of feedback resistors with different resistance values can be obtained, so that the plurality of feedback resistors with different resistance values can respectively define the driving module. Multiple different maximum currents of 10, that is, the drive module 10 can output multiple different maximum currents according to multiple different feedback resistors, which enables the drive module to drive different types of equipment, and different types of equipment can share a connection device, This can reduce the cost of research and development, materials, management, and after-sales.
开关阵列30包括多个开关31,电阻序列的第一电阻21的调整是通过开关阵列30的开关31的打开和关闭实现的。The switch array 30 includes a plurality of switches 31 , and the adjustment of the first resistance 21 of the resistance sequence is realized by opening and closing the switches 31 of the switch array 30 .
调整得到的反馈电阻限定的最大电流与所述设备信号对应,具体实现时可预先设置多个不同的预设最大电流与多个不同的预设设备信号之间的对应关系,根据接收到的设备信号和对应关系即可得到设备信号对应的最大电流;或 者预先设置多个不同的预设设备信号与多个预设设备电流之间的对应关系,多个不同的预设设备电流与多个预设最大电流之间的对应关系,根据接收到的设备信号和两种对应关系即可得到设备信号对应的电流对应的最大电流(实际应用时,通常设备信号对应的电流与对应的最大电流一致,即设备信号对应的电流是多少,最大电流就是多少)。The maximum current limited by the feedback resistance obtained by adjustment corresponds to the device signal. In the specific implementation, the correspondence between a plurality of different preset maximum currents and a plurality of different preset device signals can be preset according to the received device signals. The maximum current corresponding to the device signal can be obtained by the signal and the corresponding relationship; or the corresponding relationship between multiple different preset device signals and multiple preset device currents can be preset, and multiple different preset device currents are associated with multiple preset device currents. Set the corresponding relationship between the maximum currents, according to the received device signal and the two correspondences, the maximum current corresponding to the current corresponding to the device signal can be obtained (in practical applications, the current corresponding to the device signal is usually consistent with the corresponding maximum current, That is, what is the current corresponding to the device signal, and what is the maximum current).
设备信号可以是指需要驱动模块10进行驱动的设备发出的能够识别出设备型号的信号或者是设备发出的、与所述设备匹配或对应的信号。连接装置1与设备连接上后,设备发出设备信号,第一控制模块40能够接收设备信号,并根据接收到的设备信号控制所述开关阵列30的开关31打开或关闭,从而能够调整所述电阻序列20的第一电阻21,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。如此,驱动模块10的最大电流能够与设备匹配或对应。The device signal may refer to a signal sent by a device that needs to be driven by the driving module 10 and capable of identifying the model of the device, or a signal sent by the device that matches or corresponds to the device. After the connection device 1 is connected to the device, the device sends a device signal, and the first control module 40 can receive the device signal, and control the switch 31 of the switch array 30 to open or close according to the received device signal, so that the resistance can be adjusted The first resistor 21 of the sequence 20 makes the adjusted maximum current limited by the feedback resistor to correspond to the device signal. In this way, the maximum current of the driving module 10 can be matched or corresponded to the device.
本申请实施例提供了一种连接装置,该连接装置包括驱动模块、电阻序列、开关阵列以及第一控制模块,电阻序列包括多个第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动模块的多个不同的最大电流;开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻;第一控制模块能够根据接收到的设备信号控制所述开关打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。由于电阻序列包括多个第一电阻,开关阵列包括多个开关,第一控制模块能够根据接收到的设备信号控制开关打开或关闭使调整得到的反馈电阻限定的最大电流与设备信号对应,设备信号不同,调整电阻序列的第一电阻得到的反馈电阻不同,不同的反馈电阻能够分别限定驱动模块的不同的最大电流,如此只需要一个连接装置即可满足与多个设备(例如屏幕)适配的要求,从而能够降低硬件研发和物料管理成本,便于生成和售后物料管理,降低售后维修成本;由于通过调整电阻序列的第一电阻得到多个不同阻值的反馈电阻,以此分别限定驱动模块的多个不同的最大电流,并不是通过软件逻辑实现,如此能够避免软件逻辑实现可能导致的输出电流过流的安全风险。An embodiment of the present application provides a connection device, the connection device includes a drive module, a resistance sequence, a switch array, and a first control module, the resistance sequence includes a plurality of first resistances, and can be obtained by adjusting the first resistances of the resistance sequence A plurality of feedback resistors with different resistance values, which can respectively limit a plurality of different maximum currents of the driving module; the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the The first resistance of the resistance array obtains a corresponding feedback resistance; the first control module can control the switch to open or close according to the received device signal, so that the maximum current limited by the adjusted feedback resistance corresponds to the device signal. Since the resistor sequence includes a plurality of first resistors, and the switch array includes a plurality of switches, the first control module can control the switches to be turned on or off according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal, and the device signal Different, the feedback resistance obtained by adjusting the first resistance of the resistance sequence is different, and different feedback resistances can respectively limit different maximum currents of the drive module, so that only one connection device is needed to meet the requirements of multiple devices (such as screens). Therefore, it is possible to reduce the cost of hardware research and development and material management, facilitate the generation and after-sales material management, and reduce the after-sales maintenance cost; because multiple feedback resistors with different resistance values are obtained by adjusting the first resistance of the resistance sequence, which respectively limit the driving module Multiple different maximum currents are not implemented by software logic, which can avoid the safety risk of output current overcurrent that may be caused by software logic implementation.
通常如果反馈电阻的个数大于第一电阻的个数,也就是数量少的第一电阻 要调整出数量比第一电阻的个数要多的反馈电阻,那么此时电路控制较为复杂。为了简化电路控制,也为了合理控制硬件成本,可以使反馈电阻的个数等于第一电阻的个数,即所述反馈电阻的个数为m个,所述第一电阻的个数为m个,m大于1。m个反馈电阻能够分别限定所述驱动模块的m个不同的最大电流,m个不同的最大电流能够分别对应m个不同的设备信号,即可以适配m个不同型号的设备。Generally, if the number of feedback resistors is greater than the number of first resistors, that is, if the number of first resistors is small, the number of feedback resistors needs to be adjusted to be larger than the number of first resistors, then the circuit control is complicated. In order to simplify circuit control and reasonably control hardware costs, the number of feedback resistors can be equal to the number of first resistors, that is, the number of feedback resistors is m, and the number of first resistors is m , m is greater than 1. The m feedback resistors can respectively limit m different maximum currents of the driving module, and the m different maximum currents can respectively correspond to m different device signals, that is, m different types of devices can be adapted.
为了实现通过m个第一电阻调整出m个反馈电阻,可以有多种实现方式。较为常见的有两种方式:一种方式是复用第一电阻(即并不完全是一个第一电阻的阻值对应一个反馈电阻的阻值,大多数情况下,可以通过多个不同数量的第一电阻得到一个反馈电阻),另一种方式是不复用第一电阻,一个第一电阻的阻值对应一个反馈电阻的阻值,m个第一电阻的阻值分别为m个反馈电阻的阻值。这两种方式相对来说,复用第一电阻的方式电路控制更容易实现,也更为简单一些,下面详细说明复用第一电阻的细节内容。In order to realize the adjustment of m feedback resistors through m first resistors, there may be various implementation manners. There are two more common ways: one way is to reuse the first resistor (that is, the resistance value of a first resistor is not completely corresponding to the resistance value of a feedback resistor. The first resistor obtains a feedback resistor), another way is to not reuse the first resistor, the resistance of one first resistor corresponds to the resistance of one feedback resistor, and the resistances of m first resistors are respectively m feedback resistors resistance value. Relatively speaking, the circuit control in the method of multiplexing the first resistor is easier to implement and simpler, and the details of the multiplexing of the first resistor are described in detail below.
参见图2,在一实施例中,所述m个第一电阻21包括一个零号电阻(记为R F0)和n个除所述零号电阻外的非零号电阻(记为R F1、R F2、……、R Fn),所述零号电阻的阻值为第一个反馈电阻的阻值,所述零号电阻和p-1个非零号电阻通过并联得到第p个反馈电阻,所述第p个反馈电阻的阻值大于第p+1个反馈电阻的阻值,且小于第p-1个反馈电阻的阻值,p大于或等于2,n大于或等于1。 Referring to FIG. 2 , in one embodiment, the m first resistors 21 include a zero-numbered resistor (denoted as R F0 ) and n non-zero-numbered resistors (denoted as R F1 , R F2 , ..., R Fn ), the resistance of the zero-numbered resistor is the resistance value of the first feedback resistor, and the zero-numbered resistor and p-1 non-zero-numbered resistors are connected in parallel to obtain the pth feedback resistor , the resistance of the p-th feedback resistor is greater than the resistance of the p+1-th feedback resistor and less than the resistance of the p-1-th feedback resistor, p is greater than or equal to 2, and n is greater than or equal to 1.
本实施例中,m个第一电阻21包括一个零号电阻R F0和n个除所述零号电阻外的非零号电阻R F1、R F2、……、R Fn,即m=n+1。 In this embodiment, the m first resistors 21 include a zero-numbered resistor R F0 and n non-zero- numbered resistors R F1 , R F2 , . 1.
零号电阻R F0的阻值为第一个反馈电阻R f1的阻值,第一个反馈电阻R f1的阻值在m个反馈电阻中的阻值最大。零号电阻R F0和一个第一电阻并联可以得到第二个反馈电阻R f2,第二个反馈电阻R f2的阻值小于第一个反馈电阻R f1的阻值。零号电阻R F0和二个第一电阻并联可以得到第三个反馈电阻R f3,第三个反馈电阻R f3的阻值小于第二个反馈电阻R f2的阻值。零号电阻R F0和三个第一电阻并联可以得到第四个反馈电阻R f4,第四个反馈电阻R f4的阻值小于第三个反馈电阻R f3的阻值。……。零号电阻R F0和n个第一电阻并联可以得到第n+1(即m个)个反馈电阻R fm,第n+1个反馈电阻R fm的阻值小于第n个 反馈电阻R fn的阻值,第n+1个反馈电阻R fm的阻值最小。即R f1>R f2>R f3>R f4>……>R fn>R fn+1The resistance value of the zero-numbered resistor R F0 is the resistance value of the first feedback resistor R f1 , and the resistance value of the first feedback resistor R f1 is the largest among the m feedback resistors. The zero-numbered resistor R F0 is connected in parallel with a first resistor to obtain a second feedback resistor R f2 , and the resistance value of the second feedback resistor R f2 is smaller than the resistance value of the first feedback resistor R f1 . The zero-numbered resistor R F0 is connected in parallel with the two first resistors to obtain a third feedback resistor R f3 , and the resistance value of the third feedback resistor R f3 is smaller than the resistance value of the second feedback resistor R f2 . A fourth feedback resistor R f4 can be obtained by connecting the zero-numbered resistor R F0 with the three first resistors in parallel. The resistance value of the fourth feedback resistor R f4 is smaller than the resistance value of the third feedback resistor R f3 . … The zero-numbered resistor R F0 is connected in parallel with the n first resistors to obtain the n+1th (ie m) feedback resistor R fm , and the resistance of the n+1th feedback resistor R fm is smaller than the nth feedback resistor R fn . The resistance value of the n+1th feedback resistor R fm is the smallest. That is, R f1 >R f2 >R f3 >R f4 >... >R fn >R fn+1 .
进一步参见图2,每个开关31的一端与每个非零号电阻连接,另一端与所述第一控制模块40连接。即零号电阻始终接入电路,第一控制模块40能够控制与每个非零号电阻连接的每个开关打开或关闭。Further referring to FIG. 2 , one end of each switch 31 is connected to each non-zero resistor, and the other end is connected to the first control module 40 . That is, the zero-numbered resistor is always connected to the circuit, and the first control module 40 can control each switch connected to each non-zero-numbered resistor to be turned on or off.
其中,所述开关31包括较为常用的N型金属氧化物半导体(NMOS,n-type Metal Oxide Semiconductor),如图3所示,图中N型金属氧化物半导体记为SW。所述开关也可以是其他任意类型具有开关功能的器件,如模拟开关芯片、继电器、三极管、绝缘栅双极型晶体管(IGBT,Insulated Gate Bipolar Transistor),等等。The switch 31 includes a commonly used N-type Metal Oxide Semiconductor (NMOS, n-type Metal Oxide Semiconductor), as shown in FIG. 3 , where the N-type metal oxide semiconductor is denoted as SW. The switch can also be any other type of device with switching function, such as an analog switch chip, a relay, a triode, an insulated gate bipolar transistor (IGBT, Insulated Gate Bipolar Transistor), and the like.
参见图3,在一实施例中,所述设备信号包括设备电压信号,所述第一控制模块40包括:电压阈值提供电路41和比较电路42。Referring to FIG. 3 , in an embodiment, the device signal includes a device voltage signal, and the first control module 40 includes: a voltage threshold providing circuit 41 and a comparison circuit 42 .
电压阈值提供电路41用于提供n个不同的电压阈值,第q个电压阈值大于第q个设备电压信号的电压值,且小于第q+1个设备电压信号的电压值,q大于或等于1,且小于或等于n。The voltage threshold providing circuit 41 is used for providing n different voltage thresholds, the qth voltage threshold is greater than the voltage value of the qth device voltage signal, and is smaller than the voltage value of the q+1th device voltage signal, and q is greater than or equal to 1 , and less than or equal to n.
本实施例的电压阈值提供电路41可以是任意具有输出模拟电压功能的器件或电路,如分压电阻、电压基准源、开关电压源、数模转换器(DAC,Digital to Analog Converter)、微控制单元(MCU,Microcontroller Unit)、系统级芯片(SOC,System on Chip)、现场可编程门阵列(FPGA,Field-Programmable Gate Array),等等。The voltage threshold providing circuit 41 in this embodiment can be any device or circuit with the function of outputting an analog voltage, such as a voltage dividing resistor, a voltage reference source, a switching voltage source, a digital-to-analog converter (DAC, Digital to Analog Converter), a micro-controller Unit (MCU, Microcontroller Unit), System on Chip (SOC, System on Chip), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), etc.
比较电路42用于比较接收到的设备电压信号的电压值与所述电压阈值,若接收到的电压值小于第一个电压阈值,则控制第1个开关至第n个开关关闭,使调整后的反馈电阻为第一个反馈电阻;若接收到的电压值小于第q个电压阈值且大于第q-1个电压阈值,且q大于1且小于n或等于n,则控制第1个开关至第q-1个开关打开,第q个开关至第n个开关关闭,使调整后的反馈电阻为第q个反馈电阻;若接收到的电压值大于第n个电压阈值,则控制第1个开关至第n个开关打开,使调整后的反馈电阻为第n+1个反馈电阻。The comparison circuit 42 is used to compare the voltage value of the received device voltage signal with the voltage threshold value. If the received voltage value is less than the first voltage threshold value, it controls the first switch to the nth switch to close, so that the adjusted The feedback resistor is the first feedback resistor; if the received voltage value is less than the qth voltage threshold and greater than the q-1th voltage threshold, and q is greater than 1 and less than or equal to n, control the first switch to The q-1th switch is turned on, and the qth switch to the nth switch are turned off, so that the adjusted feedback resistance is the qth feedback resistance; if the received voltage value is greater than the nth voltage threshold, the first switch is controlled The switch to the nth switch is turned on, so that the adjusted feedback resistance is the n+1th feedback resistance.
本实施例中,将可能接收的n+1个不同的设备电压信号V ID按照电压值的大小进行排序,对应的n个不同的电压阈值V P也按照大小进行排序,满足如 下关系: In this embodiment, the n+1 different device voltage signals V ID that may be received are sorted according to the size of the voltage value, and the corresponding n different voltage thresholds VP are also sorted according to the size, which satisfies the following relationship:
(1)V ID1<V ID2<V ID3<……V IDn<V IDn+1(1) V ID1 < V ID2 < V ID3 <... V IDn < V IDn+1 ;
(2)V p1<V p2<V p3<……V pn-1<V pn(2) V p1 &lt; V p2 &lt; V p3 &lt;... V pn-1 &lt; V pn ;
(3)V ID1<V p1<V ID2<V p2<V ID3<V p3<……<V pn-1<V IDn<V pn<V IDm(3) V ID1 &lt; V p1 &lt; V ID2 &lt; V p2 &lt; V ID3 &lt; V p3 &lt;... &lt; V pn-1 &lt; V IDn &lt; V pn &lt; V IDm .
其中,根据(3)式可知,每个电压阈值的大小在前后相邻的两个设备电压信号的电压值之间,而设备电压信号可能位于(3)式三个不同的位置:头部(即V ID<V p1,q=1)、中间(即V pq-1<V ID<V pq,1<q≤n)和尾部(即V ID>V pn,q=n)。 Among them, according to formula (3), the magnitude of each voltage threshold is between the voltage values of the two adjacent device voltage signals, and the device voltage signals may be located in three different positions in formula (3): the head ( ie V ID < V p1 , q=1), middle (ie V pq-1 < V ID < V pq , 1 < q≤n) and tail (ie V ID >V pn , q=n).
当收到的电压值位于头部,即收到的电压值小于第一个电压阈值,即V ID<V p1,此时调整后的反馈电阻为第一个反馈电阻,第一个反馈电阻的阻值为零号电阻的阻值,不包括非零号电阻,因此控制第1个开关至第n个开关关闭,使调整后的反馈电阻为第一个反馈电阻。 When the received voltage value is at the head, that is, the received voltage value is less than the first voltage threshold, that is, V ID <V p1 , the adjusted feedback resistance is the first feedback resistance, and the first feedback resistance The resistance value is the resistance value of the zero-numbered resistor, excluding non-zero-numbered resistors, so control the first switch to the nth switch to close, so that the adjusted feedback resistance is the first feedback resistance.
当收到的电压值位于中间,即收到的电压值小于第q个电压阈值且大于第q-1个电压阈值,且q大于1且小于n或等于n,即V pq-1<V ID<V pq,1<q≤n,此时调整后的反馈电阻为第q个反馈电阻,第q个反馈电阻的阻值为零号电阻和q-1个非零号电阻并联后的阻值,因此控制第1个开关至第q-1个开关打开,第q个开关至第n个开关关闭,使调整后的反馈电阻为第q个反馈电阻。 When the received voltage value is in the middle, that is, the received voltage value is less than the qth voltage threshold and greater than the q-1th voltage threshold, and q is greater than 1 and less than or equal to n, that is, V pq-1 <V ID <V pq , 1<q≤n, the adjusted feedback resistor is the qth feedback resistor, and the resistance of the qth feedback resistor is the resistance value of the zero resistor and the q-1 non-zero resistor in parallel , so control the 1st switch to the q-1th switch to open, and the qth switch to the nth switch to close, so that the adjusted feedback resistance is the qth feedback resistance.
当收到的电压值位于尾部,即收到的电压值大于第n个电压阈值,即V ID>V pn,q=n,此时调整后的反馈电阻为第n+1个反馈电阻,第n+1个反馈电阻为零号电阻和n个非零号电阻并联后的阻值,因此控制第1个开关至第n个开关打开,使调整后的反馈电阻为第n+1个反馈电阻。 When the received voltage value is at the tail, that is, the received voltage value is greater than the nth voltage threshold, that is, V ID >V pn , q=n, then the adjusted feedback resistance is the n+1th feedback resistance, and the th The resistance value of n+1 feedback resistors in parallel with zero resistors and n non-zero resistors, so control the 1st switch to the nth switch to open, so that the adjusted feedback resistor is the n+1th feedback resistor .
参见图4,在一实施例中,所述比较电路42包括:n个比较单元421。每个比较单元421的输出端连接一个开关,每个比较单元421的输入端用于接收设备电压信号和所述阈值电压电路41提供的一个电压阈值,若所述比较单元421接收到的设备电压信号的电压值大于所述电压阈值,则使所述比较单元421的输出端连接的开关31打开,若所述比较单元421接收到的电压值小于所述电压阈值,则使所述比较单元421的输出端连接的开关31关闭。Referring to FIG. 4 , in an embodiment, the comparison circuit 42 includes: n comparison units 421 . The output end of each comparison unit 421 is connected to a switch, and the input end of each comparison unit 421 is used to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit 41 , if the device voltage received by the comparison unit 421 If the voltage value of the signal is greater than the voltage threshold, the switch 31 connected to the output end of the comparison unit 421 is turned on, and if the voltage value received by the comparison unit 421 is less than the voltage threshold, the comparison unit 421 is turned on The output of the connected switch 31 is closed.
本实施例中,n个非零号电阻分别连接着n个开关,因此提供n个比较单 元,每个比较单元的输出端连接一个开关,每个比较单元均接收设备电压信号,还接收阈值电压电路41提供的一个电压阈值(即阈值电压电路41的n个不同的电压阈值分别向n个比较单元提供,一个比较单元提供一个电压阈值),每个比较单元比较接收到的设备电压信号的电压值和阈值电压电路41提供的一个电压阈值,如果该比较单元421接收到的设备电压信号的电压值大于该电压阈值,则使所述比较单元421的输出端连接的开关31打开,若所述比较单元421接收到的电压值小于所述电压阈值,则使所述输出端连接的开关31关闭。In this embodiment, n non-zero resistors are respectively connected to n switches, so n comparison units are provided, and the output end of each comparison unit is connected to a switch, and each comparison unit receives a device voltage signal and also receives a threshold voltage A voltage threshold provided by the circuit 41 (that is, the n different voltage thresholds of the threshold voltage circuit 41 are respectively provided to n comparison units, and one comparison unit provides a voltage threshold), and each comparison unit compares the voltage of the received device voltage signal value and a voltage threshold provided by the threshold voltage circuit 41, if the voltage value of the device voltage signal received by the comparison unit 421 is greater than the voltage threshold, the switch 31 connected to the output end of the comparison unit 421 is turned on, if the If the voltage value received by the comparison unit 421 is smaller than the voltage threshold, the switch 31 connected to the output end is turned off.
其中,所述比较单元421包括常用的比较器,还可以是任意具有模拟电压输入功能的器件或电路,如运算放大器、微控制单元MCU、系统级芯片SOC、现场可编程门阵列FPGA、模/数转换器(ADC,Analog-to-Digital Converter),等等。The comparison unit 421 includes a commonly used comparator, and can also be any device or circuit with an analog voltage input function, such as an operational amplifier, a microcontroller unit MCU, a system-on-chip SOC, a field programmable gate array FPGA, an analog/ Digital Converter (ADC, Analog-to-Digital Converter), etc.
在一实施例中,所述电压阈值提供电路41包括:m个第二电阻(标记为R1、R2、R3、……、Rm)。所述m个第二电阻串联形成两端,一端接地,另一端接工作电压VDD,所述m个第二电阻形成n个不同的电压阈值。In one embodiment, the voltage threshold providing circuit 41 includes m second resistors (marked as R1, R2, R3, . . . , Rm). The m second resistors are connected in series to form two ends, one end is grounded, and the other end is connected to the working voltage VDD, and the m second resistors form n different voltage thresholds.
参见图5,在一实施例中,所述驱动模块10包括正极输出端11和负极输出端12,每个所述第一电阻21的一端与所述驱动模块10的负极输出端12连接,另一端接地。Referring to FIG. 5 , in an embodiment, the driving module 10 includes a positive output terminal 11 and a negative output terminal 12 , one end of each of the first resistors 21 is connected to the negative output terminal 12 of the driving module 10 , and the other One end is grounded.
在一实施例中,所述驱动模块10为屏幕驱动模块,所述设备信号为用于识别屏幕型号的屏幕电压信号,所述反馈电阻限定的最大电流与所述屏幕型号对应的电流一致。In one embodiment, the driving module 10 is a screen driving module, the device signal is a screen voltage signal for identifying a screen model, and the maximum current limited by the feedback resistor is consistent with the current corresponding to the screen model.
参见图5,在一实施例中,所述装置还包括:第二控制模块50。第二控制模块50用于根据接收到的设备信号确定所述驱动模块10的脉冲宽度调制信号的占空比PWM。第二控制模块50可以是任意具有控制功能的器件或电路,如MCU、SOC、FPGA、复杂可编程逻辑器件(CPLD,Complex Programming Logic Device),等等。Referring to FIG. 5 , in an embodiment, the apparatus further includes: a second control module 50 . The second control module 50 is configured to determine the duty cycle PWM of the pulse width modulation signal of the driving module 10 according to the received device signal. The second control module 50 may be any device or circuit with a control function, such as MCU, SOC, FPGA, complex programmable logic device (CPLD, Complex Programming Logic Device), and so on.
下面以设备为屏幕,以驱动模块可适配3种不同型号的屏幕为例,详细说明本申请实施例的连接装置。In the following, the device is used as a screen, and the drive module can be adapted to three different types of screens as an example to describe the connection device of the embodiment of the present application in detail.
首先假设3种不同型号的屏幕按照电流大小进行排序,3种型号的屏幕1、屏幕2、屏幕3要求驱动电流(即驱动模块的最大电流)为I LIM1、I LIM2、I LIM3, 其满足关系I LIM1<I LIM2<I LIM3First, it is assumed that the three different types of screens are sorted according to the current size. The three types of screen 1, screen 2, and screen 3 require the driving current (ie, the maximum current of the driving module) to be ILIM1 , ILIM2 , and ILIM3 , which satisfy the relationship I LIM1 < I LIM2 < I LIM3 .
屏幕电压信号的电压在屏幕模组内部电路中由分压产生,在屏幕定制打合可进行定制,设3种不同屏幕的屏幕电压信号的电压值V ID分别为V ID1、V ID2、V ID3。为了实现自适应驱动功能,需要求V ID的大小关系与驱动模块的最大电流大小关系一致,即满足V ID1<V ID2<V ID3The voltage of the screen voltage signal is generated by the voltage divider in the internal circuit of the screen module. It can be customized when the screen is customized and matched. Let the voltage values V ID of the screen voltage signals of three different screens be V ID1 , V ID2 , V ID3 respectively. . In order to realize the self-adaptive drive function, it is required that the magnitude relationship of V ID is consistent with the magnitude relationship of the maximum current of the drive module, that is, V ID1 <V ID2 <V ID3 .
如图6所示,该连接装置为可适配3种不同型号的屏幕的自适应驱动电路,电路中除基本的适配电路,还包含第一电阻R F0、R F1、R F2构成的电阻阵列,开关SW1、SW2构成的开关阵列,比较电路包括U CMP1、U CMP2两个比较器,电压阈值提供电路由3个分压电阻(即第二电阻)构成,能够产生两个电压阈值V P1和V P2As shown in Figure 6, the connection device is an adaptive drive circuit that can adapt to three different types of screens. In addition to the basic adaptation circuit, the circuit also includes resistors composed of first resistors R F0 , R F1 and R F2 Array, a switch array composed of switches SW1 and SW2, the comparison circuit includes two comparators U CMP1 and U CMP2 , and the voltage threshold providing circuit is composed of three voltage dividing resistors (ie, second resistors), which can generate two voltage thresholds V P1 and VP2 .
调整3个第二电阻R1、R2、R3的阻值,使其满足V ID1<V P1,V P1<V ID2<V P2,V P2<V ID3Adjust the resistance values of the three second resistors R1, R2, and R3 to satisfy V ID1 <V P1 , V P1 <V ID2 <V P2 , and V P2 <V ID3 .
调整电阻序列的第一电阻R F0、R F1、R F2的阻值,使其满足: Adjust the resistance values of the first resistors R F0 , R F1 , and R F2 of the resistor sequence to satisfy:
I LIM1=V REF/R F0I LIM1 =V REF /R F0 ;
I LIM2=V REF/(R F0//R F1); I LIM2 = V REF /(R F0 //R F1 );
I LIM3=V REF/(R F0//R F1//R F2); I LIM3 =V REF /(R F0 //R F1 //R F2 );
式中,“//”符号表示电阻并联。由于电阻并联关系,必然导致R F0>(R F0//R F1)>(R F0//R F1//R F2),因此I LIM1<I LIM2<I LIM3成立。 In the formula, the "//" symbol indicates that the resistors are connected in parallel. Due to the parallel relationship of the resistors, R F0 >(R F0 //R F1 )>(R F0 //R F1 //R F2 ), so I LIM1 <I LIM2 <I LIM3 is established.
当连接装置连接屏幕1时,此时由于V ID1<V P1<V P2,U CMP1、U CMP2均输出低电平,开关SW1、SW2均处于关闭状态(即截止、不导通),此时实际反馈电阻(即第一个反馈电阻)为R F0,第一电阻R F1、R F2开路,驱动模块的最大电流为I LIM1When the connection device is connected to the screen 1, at this time, since V ID1 <V P1 <V P2 , both U CMP1 and U CMP2 output low level, and the switches SW1 and SW2 are both in the off state (ie off, non-conductive), at this time The actual feedback resistor (ie, the first feedback resistor) is R F0 , the first resistors R F1 and R F2 are open-circuited, and the maximum current of the driving module is I LIM1 .
当连接装置连接屏幕2时,此时由于V P1<V ID2<V P2,U CMP1输出高电平,U CMP2输出低电平,开关SW1处于打开状态(即导通),开关SW2处于关闭状态,此时实际反馈电阻(即第二个反馈电阻)为(R F0//R F1),第一电阻R F2开路,驱动模块的最大电流为I LIM2When the connecting device is connected to the screen 2, at this time, since V P1 < V ID2 < V P2 , U CMP1 outputs a high level, U CMP2 outputs a low level, the switch SW1 is in an open state (ie, turned on), and the switch SW2 is in an off state , at this time the actual feedback resistance (ie the second feedback resistance) is (R F0 //R F1 ), the first resistance R F2 is open, and the maximum current of the drive module is I LIM2 .
当连接装置连接屏幕3时,此时由于V P2<V ID3,U CMP1、U CMP2均输出高电平,开关SW1、SW2均处于打开状态(即导通),此时实际反馈电阻(即第三个反馈电阻)为(R F0//R F1//R F2),驱动模块的最大电流为I LIM3When the connection device is connected to the screen 3, at this time, since V P2 < V ID3 , both U CMP1 and U CMP2 output a high level, and the switches SW1 and SW2 are both in an open state (that is, conducting), and the actual feedback resistance (that is, the first The three feedback resistors) are (R F0 //R F1 //R F2 ), and the maximum current of the drive module is I LIM3 .
如此,连接装置的自适应功能得以实现。采用相同原理可推广到适配任意多种类的自适应屏幕驱动电路中。在此电路中,软件无需对屏幕型号进行判断,也无需对最大PWM占空比进行限制,而屏幕背光驱动的最大电流可以通过硬件自动设置。由于采用电阻、MOS管、比较器等基础原件构成电路,因此其具有可靠性高、不易损坏,且成本低廉的特点。In this way, the adaptive function of the connection device is realized. The same principle can be extended to adapt to any kind of adaptive screen driving circuit. In this circuit, the software does not need to judge the screen model, nor does it need to limit the maximum PWM duty cycle, and the maximum current driven by the screen backlight can be automatically set by hardware. Since basic components such as resistors, MOS tubes, and comparators are used to form the circuit, it has the characteristics of high reliability, not easy to damage, and low cost.
参见图7,图7是本申请连接装置的控制方法一实施例的流程示意图,需要说明的是,上述的连接装置能够执行本实施例的控制方法,相关内容的详细说明请参见上述连接装置部分,在此不再赘叙。Referring to FIG. 7, FIG. 7 is a schematic flowchart of an embodiment of a control method for a connection device of the present application. It should be noted that the above-mentioned connection device can execute the control method of this embodiment. For a detailed description of the relevant content, please refer to the above-mentioned connection device section , will not be repeated here.
所述方法包括:步骤S101和步骤S102。The method includes: step S101 and step S102.
步骤S101:接收设备信号。Step S101: Receive a device signal.
步骤S102:根据所述设备信号控制开关阵列的开关打开或关闭,以调整电阻序列的第一电阻使调整得到的反馈电阻限定的驱动模块的最大电流与所述设备信号对应,其中所述连接装置包括所述驱动模块、所述电阻序列和所述开关阵列,所述电阻序列包括多个所述第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的所述反馈电阻,多个不同阻值的所述反馈电阻能够分别限定所述驱动模块的多个不同的最大电流,所述开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻。Step S102: Control the switch of the switch array to turn on or off according to the device signal, so as to adjust the first resistance of the resistance sequence so that the maximum current of the driving module defined by the adjusted feedback resistance corresponds to the device signal, wherein the connection device It includes the driving module, the resistor sequence and the switch array, the resistor sequence includes a plurality of the first resistors, and the feedback of multiple different resistance values can be obtained by adjusting the first resistors of the resistor sequence A plurality of the feedback resistors with different resistance values can respectively define a plurality of different maximum currents of the driving module, and the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the resistance of the resistor array. The first resistance obtains the corresponding feedback resistance.
其中,所述设备信号包括设备电压信号,所述根据所述设备信号控制开关阵列的开关打开或关闭,包括:比较所述设备电压信号的电压值与电压阈值提供电路提供的电压阈值,若接收到的电压值小于第一个电压阈值,则控制第一个开关至第n个开关关闭,使调整后的反馈电阻为第一个反馈电阻,若接收到的电压值小于第q个电压阈值,且大于第q-1个电压阈值,且q大于1且小于n或等于n,则控制第一个开关至第q-1个开关打开,第q个开关至第n个开关关闭,使调整后的反馈电阻为第q个反馈电阻;若接收到的电压值大于第n个电压阈值,则控制第一个开关至第n个开关打开,使调整后的反馈电阻为第n+1个反馈电阻;其中,所述电压阈值提供电路用于提供n个不同的电压阈值,第q个电压阈值大于第q个设备电压信号的电压值,且小于第q+1个设备电压信号的电压值,q大于或等于1,且小于或等于n;所述反馈电阻的个数和所 述第一电阻的个数均为m个,m大于1,所述m个第一电阻包括一个零号电阻和n个除所述零号电阻外的非零号电阻,所述零号电阻的阻值为第一个反馈电阻的阻值,所述零号电阻和p-1个非零号电阻通过并联得到第p个反馈电阻,所述第p个反馈电阻的阻值大于第p+1个反馈电阻的阻值,且小于第p-1个反馈电阻的阻值,p大于或等于2,n大于或等于1,每个开关的一端与每个非零号电阻连接。Wherein, the device signal includes a device voltage signal, and controlling the switch of the switch array to turn on or off according to the device signal includes: comparing the voltage value of the device voltage signal with the voltage threshold provided by the voltage threshold providing circuit, if receiving If the received voltage value is less than the first voltage threshold, control the first switch to the nth switch to turn off, so that the adjusted feedback resistance is the first feedback resistance. If the received voltage value is less than the qth voltage threshold, And greater than the q-1th voltage threshold, and q is greater than 1 and less than n or equal to n, then control the first switch to the q-1th switch to open, and the qth switch to the nth switch to close, so that the adjusted The feedback resistor is the qth feedback resistor; if the received voltage value is greater than the nth voltage threshold, control the first switch to the nth switch to open, so that the adjusted feedback resistor is the n+1th feedback resistor ; wherein, the voltage threshold providing circuit is used to provide n different voltage thresholds, and the qth voltage threshold is greater than the voltage value of the qth device voltage signal, and is smaller than the voltage value of the q+1th device voltage signal, q greater than or equal to 1, and less than or equal to n; the number of the feedback resistors and the number of the first resistors are both m, and m is greater than 1, and the m first resistors include a zero resistor and n A non-zero resistor except the zero resistor, the resistance of the zero resistor is the resistance value of the first feedback resistor, and the zero resistor and p-1 non-zero resistors are connected in parallel to obtain the first p feedback resistors, the resistance value of the pth feedback resistor is greater than the resistance value of the p+1th feedback resistor and less than the resistance value of the p-1th feedback resistor, p is greater than or equal to 2, and n is greater than or equal to 1. One end of each switch is connected to each non-zero resistor.
其中,所述接收设备信号,包括:控制n个比较单元的每个所述比较单元接收所述设备电压信号和所述阈值电压电路提供的一个电压阈值,所述连接装置包括所述n个比较单元,每个比较单元的输出端连接一个开关;所述根据所述设备信号控制开关阵列的开关打开或关闭,包括:控制每个比较单元比较所述接收到的设备电压信号的电压值和所述电压阈值;若所述比较单元接收到的电压值大于所述电压阈值,则使所述比较单元的输出端连接的开关打开,若所述比较单元接收到的电压值小于所述电压阈值,则使所述比较单元的输出端连接的开关关闭。Wherein, the receiving the device signal includes: controlling each of the n comparison units to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit, and the connection device includes the n comparison units The output end of each comparison unit is connected to a switch; the controlling the switch of the switch array to turn on or off according to the device signal includes: controlling each comparison unit to compare the voltage value of the received device voltage signal with the received voltage value of the device voltage signal. the voltage threshold value; if the voltage value received by the comparison unit is greater than the voltage threshold value, the switch connected to the output end of the comparison unit is turned on, and if the voltage value received by the comparison unit is less than the voltage threshold value, Then the switch connected to the output end of the comparison unit is turned off.
其中,所述方法还包括:根据所述设备信号确定所述驱动模块的脉冲宽度调制信号的占空比。Wherein, the method further includes: determining the duty cycle of the pulse width modulation signal of the driving module according to the device signal.
本申请还提供一种可移动平台,所述可移动平台具有多个不同的屏幕,所述可移动平台包括如上任一项所述的连接装置。相关内容的详细说明请参见连接装置部分,在此不再赘叙。所述可移动平台包括但不限于遥控装置。The present application also provides a movable platform, the movable platform has a plurality of different screens, and the movable platform includes the connection device according to any one of the above. For the detailed description of the related content, please refer to the connection device section, which will not be repeated here. The movable platform includes, but is not limited to, a remote control device.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上任一项所述的连接装置的控制方法。相关内容的详细说明请参见上述相关内容部分,在此不再赘叙。The present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor enables the processor to control the connection device according to any one of the above method. For a detailed description of the relevant content, please refer to the above-mentioned relevant content section, which will not be repeated here.
其中,该计算机可读存储介质可以是上述连接装置或可移动平台的内部存储单元,例如硬盘或内存。该计算机可读存储介质也可以是外部存储设备,例如配备的插接式硬盘、智能存储卡、安全数字卡、闪存卡,等等。Wherein, the computer-readable storage medium may be the above-mentioned connecting device or an internal storage unit of the movable platform, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device, such as an equipped plug-in hard disk, smart memory card, secure digital card, flash memory card, and the like.
应当理解,在本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。It should be understood that the terms used in the specification of the present application are only for the purpose of describing particular embodiments and are not intended to limit the present application.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或” 是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
以上所述,仅为本申请的具体实施例,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

  1. 一种连接装置,包括驱动模块,其特征在于,所述连接装置还包括:A connection device, comprising a drive module, characterized in that the connection device further comprises:
    电阻序列,包括多个第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的反馈电阻,多个不同阻值的反馈电阻能够分别限定所述驱动模块的多个不同的最大电流;The resistor sequence includes a plurality of first resistors. By adjusting the first resistors of the resistor sequence, a plurality of feedback resistors with different resistance values can be obtained, and the plurality of feedback resistors with different resistance values can respectively define a plurality of different the maximum current;
    开关阵列,包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻;a switch array, including a plurality of switches, the switches can be turned on or off to adjust the first resistance of the resistance array to obtain a corresponding feedback resistance;
    第一控制模块,所述控制模块能够根据接收到的设备信号控制所述开关打开或关闭,使调整得到的反馈电阻限定的最大电流与所述设备信号对应。A first control module, the control module can control the switch to open or close according to the received device signal, so that the maximum current limited by the adjusted feedback resistor corresponds to the device signal.
  2. 根据权利要求1所述的装置,其特征在于,所述反馈电阻的个数为m个,所述第一电阻的个数为m个,m大于1。The device according to claim 1, wherein the number of the feedback resistors is m, the number of the first resistors is m, and m is greater than 1.
  3. 根据权利要求2所述的装置,其特征在于,所述m个第一电阻包括一个零号电阻和n个除所述零号电阻外的非零号电阻,所述零号电阻的阻值为第一个反馈电阻的阻值,所述零号电阻和p-1个非零号电阻通过并联得到第p个反馈电阻,所述第p个反馈电阻的阻值大于第p+1个反馈电阻的阻值,且小于第p-1个反馈电阻的阻值,p大于或等于2,n大于或等于1。The device according to claim 2, wherein the m first resistors comprise a zero-numbered resistor and n non-zero-numbered resistors except the zero-numbered resistor, and the resistance of the zero-numbered resistor is The resistance of the first feedback resistor, the zero-numbered resistor and the p-1 non-zero-numbered resistors are connected in parallel to obtain the pth feedback resistor, and the resistance of the pth feedback resistor is greater than the p+1th feedback resistor The resistance value of , and is less than the resistance value of the p-1th feedback resistor, p is greater than or equal to 2, and n is greater than or equal to 1.
  4. 根据权利要求3所述的装置,其特征在于,每个开关的一端与每个非零号电阻连接,另一端与所述第一控制模块连接。The device according to claim 3, wherein one end of each switch is connected to each non-zero resistor, and the other end is connected to the first control module.
  5. 根据权利要求4所述的装置,其特征在于,所述设备信号包括设备电压信号,所述第一控制模块包括:The device according to claim 4, wherein the device signal comprises a device voltage signal, and the first control module comprises:
    电压阈值提供电路,用于提供n个不同的电压阈值,第q个电压阈值大于第q个设备电压信号的电压值,且小于第q+1个设备电压信号的电压值,q大于或等于1,且小于或等于n;A voltage threshold providing circuit is used to provide n different voltage thresholds, the qth voltage threshold is greater than the voltage value of the qth device voltage signal and less than the voltage value of the q+1th device voltage signal, and q is greater than or equal to 1 , and less than or equal to n;
    比较电路,用于比较接收到的设备电压信号的电压值与所述电压阈值,若接收到的电压值小于第一个电压阈值,则控制第一个开关至第n个开关关闭,使调整后的反馈电阻为第一个反馈电阻,若接收到的电压值小于第q个电压阈值,且大于第q-1个电压阈值,且q大于1且小于n或等于n,则控制第一个开关至第q-1个开关打开,第q个开关至第n个开关关闭,使调整后的反馈电 阻为第q个反馈电阻;若接收到的电压值大于第n个电压阈值,则控制第一个开关至第n个开关打开,使调整后的反馈电阻为第n+1个反馈电阻。The comparison circuit is used to compare the voltage value of the received device voltage signal with the voltage threshold, and if the received voltage value is less than the first voltage threshold, control the first switch to the nth switch to close, so that the adjusted The feedback resistor is the first feedback resistor. If the received voltage value is less than the qth voltage threshold and greater than the q-1th voltage threshold, and q is greater than 1 and less than or equal to n, the first switch is controlled Turn on the q-1th switch, and turn off the qth switch to the nth switch, so that the adjusted feedback resistance is the qth feedback resistance; if the received voltage value is greater than the nth voltage threshold, control the first Switches to the nth switch are turned on, so that the adjusted feedback resistance is the n+1th feedback resistance.
  6. 根据权利要求5所述的装置,其特征在于,所述比较电路包括:The apparatus according to claim 5, wherein the comparison circuit comprises:
    n个比较单元,每个比较单元的输出端连接一个开关,每个比较单元的输入端用于接收设备电压信号和所述阈值电压电路提供的一个电压阈值,若所述比较单元接收到的设备电压信号的电压值大于所述电压阈值,则使所述比较单元的输出端连接的开关打开,若所述比较单元接收到的电压值小于所述电压阈值,则使所述比较单元的输出端连接的开关关闭。There are n comparison units, the output end of each comparison unit is connected to a switch, and the input end of each comparison unit is used to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit, if the device received by the comparison unit If the voltage value of the voltage signal is greater than the voltage threshold, the switch connected to the output end of the comparison unit is turned on, and if the voltage value received by the comparison unit is less than the voltage threshold, the output end of the comparison unit is turned on The connected switch is closed.
  7. 根据权利要求6所述的装置,其特征在于,所述比较单元包括比较器。6. The apparatus of claim 6, wherein the comparison unit comprises a comparator.
  8. 根据权利要求5所述的装置,其特征在于,所述电压阈值提供电路包括:The device according to claim 5, wherein the voltage threshold providing circuit comprises:
    m个第二电阻,所述m个第二电阻串联形成两端,一端接地,另一端接工作电压,所述m个第二电阻形成n个不同的电压阈值。m second resistors, the m second resistors are connected in series to form two ends, one end is grounded, and the other end is connected to the working voltage, and the m second resistors form n different voltage thresholds.
  9. 根据权利要求4所述的装置,其特征在于,所述开关包括N型金属氧化物半导体。5. The apparatus of claim 4, wherein the switch comprises an N-type metal oxide semiconductor.
  10. 根据权利要求2所述的装置,其特征在于,所述m个第一电阻的阻值分别为所述m个反馈电阻的阻值。The device according to claim 2, wherein the resistance values of the m first resistors are respectively the resistance values of the m feedback resistors.
  11. 根据权利要求1所述的装置,其特征在于,所述驱动模块包括正极输出端和负极输出端,每个所述第一电阻的一端与所述驱动模块的负极输出端连接,另一端接地。The device according to claim 1, wherein the driving module comprises a positive output terminal and a negative output terminal, one end of each of the first resistors is connected to the negative output terminal of the driving module, and the other end is grounded.
  12. 根据权利要求1所述的装置,其特征在于,所述驱动模块为屏幕驱动模块,所述设备信号为用于识别屏幕型号的屏幕电压信号,所述反馈电阻限定的最大电流与所述屏幕型号对应的电流一致。The device according to claim 1, wherein the drive module is a screen drive module, the device signal is a screen voltage signal used to identify a screen model, and the maximum current defined by the feedback resistor is the same as the screen model. The corresponding currents are the same.
  13. 根据权利要求1所述的装置,其特征在于,所述装置还包括:The device according to claim 1, wherein the device further comprises:
    第二控制模块,用于根据接收到的设备信号确定所述驱动模块的脉冲宽度调制信号的占空比。The second control module is configured to determine the duty cycle of the pulse width modulation signal of the driving module according to the received device signal.
  14. 一种连接装置的控制方法,其特征在于,所述方法包括:A control method of a connection device, characterized in that the method comprises:
    接收设备信号;receive equipment signals;
    根据所述设备信号控制开关阵列的开关打开或关闭,以调整电阻序列的第 一电阻使调整得到的反馈电阻限定的驱动模块的最大电流与所述设备信号对应,其中所述连接装置包括所述驱动模块、所述电阻序列和所述开关阵列,所述电阻序列包括多个所述第一电阻,通过调整所述电阻序列的第一电阻能够得到多个不同阻值的所述反馈电阻,多个不同阻值的所述反馈电阻能够分别限定所述驱动模块的多个不同的最大电流,所述开关阵列包括多个开关,所述开关能够打开或关闭以调整所述电阻阵列的第一电阻得到对应的反馈电阻。The switch of the switch array is controlled to be turned on or off according to the device signal, so as to adjust the first resistance of the resistance sequence so that the maximum current of the driving module defined by the adjusted feedback resistance corresponds to the device signal, wherein the connection device includes the The drive module, the resistor sequence and the switch array, the resistor sequence includes a plurality of the first resistors, and a plurality of the feedback resistors with different resistance values can be obtained by adjusting the first resistors of the resistor sequence. The feedback resistors with different resistance values can respectively define a plurality of different maximum currents of the driving module, the switch array includes a plurality of switches, and the switches can be turned on or off to adjust the first resistance of the resistor array Get the corresponding feedback resistor.
  15. 根据权利要求14所述的方法,其特征在于,所述设备信号包括设备电压信号,所述根据所述设备信号控制开关阵列的开关打开或关闭,包括:The method according to claim 14, wherein the device signal comprises a device voltage signal, and the controlling the switch of the switch array to turn on or off according to the device signal comprises:
    比较所述设备电压信号的电压值与电压阈值提供电路提供的电压阈值,若接收到的电压值小于第一个电压阈值,则控制第一个开关至第n个开关关闭,使调整后的反馈电阻为第一个反馈电阻,若接收到的电压值小于第q个电压阈值,且大于第q-1个电压阈值,且q大于1且小于n或等于n,则控制第一个开关至第q-1个开关打开,第q个开关至第n个开关关闭,使调整后的反馈电阻为第q个反馈电阻;若接收到的电压值大于第n个电压阈值,则控制第一个开关至第n个开关打开,使调整后的反馈电阻为第n+1个反馈电阻;Compare the voltage value of the device voltage signal with the voltage threshold provided by the voltage threshold providing circuit, and if the received voltage value is less than the first voltage threshold, control the first switch to the nth switch to close, so that the adjusted feedback The resistor is the first feedback resistor. If the received voltage value is less than the qth voltage threshold and greater than the q-1th voltage threshold, and q is greater than 1 and less than n or equal to n, then control the first switch to the th q-1 switches are turned on, and the qth switch to the nth switch are turned off, so that the adjusted feedback resistance is the qth feedback resistance; if the received voltage value is greater than the nth voltage threshold, the first switch is controlled When the nth switch is turned on, the adjusted feedback resistance is the n+1th feedback resistance;
    其中,所述电压阈值提供电路用于提供n个不同的电压阈值,第q个电压阈值大于第q个设备电压信号的电压值,且小于第q+1个设备电压信号的电压值,q大于或等于1,且小于或等于n;所述反馈电阻的个数和所述第一电阻的个数均为m个,m大于1,所述m个第一电阻包括一个零号电阻和n个除所述零号电阻外的非零号电阻,所述零号电阻的阻值为第一个反馈电阻的阻值,所述零号电阻和p-1个非零号电阻通过并联得到第p个反馈电阻,所述第p个反馈电阻的阻值大于第p+1个反馈电阻的阻值,且小于第p-1个反馈电阻的阻值,p大于或等于2,n大于或等于1,每个开关的一端与每个非零号电阻连接。Wherein, the voltage threshold providing circuit is used to provide n different voltage thresholds, the qth voltage threshold is greater than the voltage value of the qth device voltage signal, and is smaller than the voltage value of the q+1th device voltage signal, and q is greater than the voltage value of the qth device voltage signal. or equal to 1, and less than or equal to n; the number of the feedback resistors and the number of the first resistors are both m, and m is greater than 1, and the m first resistors include a zero resistor and n Except for the zero-numbered resistors, the resistance of the zero-numbered resistor is the resistance value of the first feedback resistor, and the zero-numbered resistor and p-1 non-zero-numbered resistors are connected in parallel to obtain the pth feedback resistors, the resistance of the p-th feedback resistor is greater than the resistance of the p+1-th feedback resistor and less than the resistance of the p-1-th feedback resistor, p is greater than or equal to 2, and n is greater than or equal to 1 , one end of each switch is connected to each non-zero resistor.
  16. 根据权利要求15所述的方法,其特征在于,所述接收设备信号,包括:The method according to claim 15, wherein the receiving device signal comprises:
    控制n个比较单元的每个所述比较单元接收所述设备电压信号和所述阈值电压电路提供的一个电压阈值,所述连接装置包括所述n个比较单元,每个比较单元的输出端连接一个开关;Control each of the n comparison units to receive the device voltage signal and a voltage threshold provided by the threshold voltage circuit, the connection device includes the n comparison units, and the output end of each comparison unit is connected to a switch;
    所述根据所述设备信号控制开关阵列的开关打开或关闭,包括:The control of switching on or off the switch of the switch array according to the device signal includes:
    控制每个比较单元比较所述接收到的设备电压信号的电压值和所述电压阈值;controlling each comparison unit to compare the voltage value of the received device voltage signal with the voltage threshold;
    若所述比较单元接收到的电压值大于所述电压阈值,则使所述比较单元的输出端连接的开关打开,若所述比较单元接收到的电压值小于所述电压阈值,则使所述比较单元的输出端连接的开关关闭。If the voltage value received by the comparison unit is greater than the voltage threshold, the switch connected to the output end of the comparison unit is turned on, and if the voltage value received by the comparison unit is less than the voltage threshold, the switch is turned on The switch connected to the output of the comparison unit is closed.
  17. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, wherein the method further comprises:
    根据所述设备信号确定所述驱动模块的脉冲宽度调制信号的占空比。The duty cycle of the pulse width modulation signal of the driving module is determined according to the device signal.
  18. 一种可移动平台,所述可移动平台具有多个不同的屏幕,其特征在于,所述可移动平台包括如权利要求1-13任一项所述的连接装置。A movable platform having a plurality of different screens, characterized in that the movable platform comprises the connecting device according to any one of claims 1-13.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求14-17任一项所述的连接装置的控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the process according to any one of claims 14-17 The control method of the connecting device.
PCT/CN2021/088198 2021-04-19 2021-04-19 Connecting apparatus, movable platform, control method, and storage medium WO2022222003A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/088198 WO2022222003A1 (en) 2021-04-19 2021-04-19 Connecting apparatus, movable platform, control method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/088198 WO2022222003A1 (en) 2021-04-19 2021-04-19 Connecting apparatus, movable platform, control method, and storage medium

Publications (1)

Publication Number Publication Date
WO2022222003A1 true WO2022222003A1 (en) 2022-10-27

Family

ID=83723660

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/088198 WO2022222003A1 (en) 2021-04-19 2021-04-19 Connecting apparatus, movable platform, control method, and storage medium

Country Status (1)

Country Link
WO (1) WO2022222003A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743138A (en) * 2023-06-13 2023-09-12 重庆大学 Control device and control method for multi-operation-mode circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5602925A (en) * 1995-01-31 1997-02-11 Etymotic Research, Inc. Hearing aid with programmable resistor
CN103347341A (en) * 2013-07-12 2013-10-09 惠州伟志电子有限公司 Novel high-power fishing lamp wireless control system
CN103926853A (en) * 2014-04-21 2014-07-16 株洲南车时代电气股份有限公司 Programmable resistance output device and method
CN207424716U (en) * 2017-12-01 2018-05-29 石家庄开发区新方向科技有限公司 The laser level control instrument adaptive adjustment circuit of multi gear light signal strength
CN108896796A (en) * 2018-04-11 2018-11-27 常州普莱德新能源电池科技有限公司 Resistance simulation device and its implementation, insulation testing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5602925A (en) * 1995-01-31 1997-02-11 Etymotic Research, Inc. Hearing aid with programmable resistor
CN103347341A (en) * 2013-07-12 2013-10-09 惠州伟志电子有限公司 Novel high-power fishing lamp wireless control system
CN103926853A (en) * 2014-04-21 2014-07-16 株洲南车时代电气股份有限公司 Programmable resistance output device and method
CN207424716U (en) * 2017-12-01 2018-05-29 石家庄开发区新方向科技有限公司 The laser level control instrument adaptive adjustment circuit of multi gear light signal strength
CN108896796A (en) * 2018-04-11 2018-11-27 常州普莱德新能源电池科技有限公司 Resistance simulation device and its implementation, insulation testing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743138A (en) * 2023-06-13 2023-09-12 重庆大学 Control device and control method for multi-operation-mode circuit
CN116743138B (en) * 2023-06-13 2024-04-02 重庆大学 Control device and control method for multi-operation-mode circuit

Similar Documents

Publication Publication Date Title
CN107977037B (en) Low dropout regulator and control method thereof
US7397227B2 (en) Fast-disabled voltage regulator circuit with low-noise feedback loop and operating method thereof
US9568927B2 (en) Current modulation circuit
US9413231B2 (en) Charge pump circuit for providing voltages to multiple switch circuits
US8502602B2 (en) Class-D amplifier circuit
US10181801B2 (en) Power converters with adaptive output voltages
WO2018057112A1 (en) Device and method to stabilize a supply voltage
WO2022222003A1 (en) Connecting apparatus, movable platform, control method, and storage medium
US8188674B2 (en) LED light emitting device and driving method thereof
CN106357256B (en) The driving device of gate drivers
EP2654377B1 (en) Semiconductor light source lighting circuit
US10551862B2 (en) System on chip with different current setting modes
KR20150105809A (en) control circuit including load switch, electronic apparatus including the load switch and controlling method thereof
US20130271104A1 (en) Soft-start time control circuit
US9779608B2 (en) Alarm output circuit
US20220308614A1 (en) Shunt regulator
JPH06216776A (en) Pulse duration modulation device
CN112019014B (en) Current limiting circuit with soft start and method thereof
CN113454562B (en) Compensation for binary weighted voltage divider
SE516083C2 (en) Device for controlling voltage-charge controlled power semiconductor elements
TWI742257B (en) Pulse-width modulation controller and tri-state voltage generation method
US20070075675A1 (en) Control circuit of rotational speed of a fan
US9755628B2 (en) Driving circuit, converter and driving method
WO2019173296A1 (en) Ride through mode in led backlight driver
CN218570214U (en) Power switch circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21937254

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21937254

Country of ref document: EP

Kind code of ref document: A1