Power supply device and power supply method for bicycle and electronic equipment
By designing power supply devices in shared bicycles, and using bypass circuits and boost circuits to automatically adjust the power supply method according to the battery output voltage, the problem of low power and inability to operate by bicycles caused by the reduction of battery output voltage is solved, and the battery utilization rate and vehicle operation time are improved , reducing operating costs.
Patent Information
- Application Number
- CN202310613222.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
The application of long-connected dual-band RTK high-precision positioning mode in shared bicycles increases vehicle operation power consumption, resulting in an increase in battery discharge capacity demand, and the power cannot be supplied normally when the battery output voltage is reduced, resulting in low power and inability to operate the bicycle, and low utilization rate. And frequent low power failures.
A power supply device is designed, including a battery, a bypass circuit and a boost circuit. The main control module automatically selects the bypass circuit or boost circuit to supply power to the networked module according to the relationship between the battery output voltage and the boost threshold to ensure that the battery is in At low power, it automatically boosts the minimum operating voltage of the networked module, extending the working time of the networked module.
It significantly improves the utilization rate of shared bicycle batteries and vehicle operation time, reduces the low power rate, improves operational efficiency and cost, and avoids the problem of unusable dischargeable power in the low voltage range of the battery.
Smart Images

Figure CN119030064A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the technical field of bicycle power supply, and more specifically, to a power supply device, a power supply method and an electronic device for a bicycle. Background Art
[0002] In recent years, with the rapid development of urban Internet rental bicycles or electric bicycles (hereinafter referred to as shared bicycles or vehicles), they have played a positive role in better meeting the public's travel needs, effectively solving the "last mile" problem of urban transportation, alleviating urban traffic congestion, and building a green travel system, thus promoting the development of the sharing economy.
[0003] The long connection and dual-frequency real-time dynamic carrier phase differential technology (abbreviated as real-time dynamic technology, RTK) high-precision positioning mode brings higher positioning accuracy to the bicycle, thereby optimizing the service experience. With the development and promotion of long connection and dual-frequency RTK high-precision positioning mode, the vehicle operation power consumption of high-precision positioning shared bicycles is also increasing, and the demand for battery discharge capacity is also increasing. Summary of the invention
[0004] According to the first aspect of the present disclosure, a power supply device for a bicycle is provided. The power supply device includes: a battery, used to power at least a networking module of the bicycle; a bypass circuit, coupled between the battery and the networking module, and configured to power the networking module with the output voltage of the battery; a boost circuit, coupled between the battery and the networking module, and configured to boost the output voltage of the battery to a first voltage and then power the networking module; and a main control module, coupled to the bypass circuit and the boost circuit, and configured to obtain the output voltage of the battery and control the state of the bypass circuit and the boost circuit according to the relationship between the output voltage and the boost threshold of the battery, so as to allow the battery to power the networking module via one of the bypass circuit and the boost circuit.
[0005] In some embodiments, the power supply device also includes: a combining circuit, including: an input end coupled to a bypass circuit and a boost circuit; and a first output end coupled to the networking module, and the combining circuit is configured to power the networking module with the larger of the voltages output by the bypass circuit and the boost circuit.
[0006] In some embodiments, the combining circuit also includes a second output end, and the power supply device also includes: a step-down circuit, coupled between the second output end of the combining circuit and the main control module, and configured to step down the larger of the voltages output by the bypass circuit and the boost circuit to a second voltage to subsequently power the main control module.
[0007] In some embodiments, the main control module is coupled to the networking module, and the main control module is configured to obtain the voltage boost threshold of the battery from a remote device via the networking module.
[0008] In some embodiments, the main control module is further configured to: compare the output voltage with a boost threshold; and in response to the output voltage being less than the boost threshold, determine that the battery supplies power to the networking module via the boost circuit.
[0009] In some embodiments, the main control module is further configured to: obtain a protection threshold of the battery from a remote device via the networking module; compare the output voltage and the protection threshold; and in response to the output voltage being less than the protection threshold, stop using the battery to power the main control module and the networking module.
[0010] In some embodiments, the bypass circuit includes a metal oxide semiconductor field effect transistor.
[0011] In some embodiments, the boost circuit includes a DC boost circuit.
[0012] According to a second aspect of the present disclosure, a method for powering a bicycle is provided. The method includes: obtaining a boost threshold of a battery of the bicycle; obtaining an output voltage of the battery; comparing the output voltage and the boost threshold to determine the relationship between the output voltage and the boost threshold; and controlling the state of a bypass circuit and a boost circuit according to the relationship between the output voltage and the boost threshold to allow the battery to power a networking module via one of the bypass circuit and the boost circuit, wherein the bypass circuit is configured to power the networking module with the output voltage of the battery, and the boost circuit is configured to boost the output voltage of the battery to a first voltage to power the networking module.
[0013] In some embodiments, the method further includes: acquiring a voltage boost threshold of the battery from a remote device via the networking module.
[0014] In some embodiments, controlling the states of the bypass circuit and the boost circuit according to the relationship between the output voltage and the boost threshold includes: comparing the output voltage and the boost threshold; and in response to the output voltage being less than the boost threshold, determining that the battery is powering the networking module via the boost circuit.
[0015] In some embodiments, the method further includes: obtaining a protection threshold of the battery from a remote device via the networking module; comparing the output voltage and the protection threshold; and in response to the output voltage being less than the protection threshold, stopping using the battery to power the main control module and the networking module.
[0016] According to a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: at least one processing unit; and at least one memory, which is coupled to the at least one processing unit and stores machine executable instructions, and when the instructions are executed by the at least one processing unit, the device performs actions, including: obtaining a boost threshold of a battery of a bicycle; obtaining an output voltage of the battery; comparing the output voltage and the boost threshold to determine the relationship between the output voltage and the boost threshold; and controlling the state of a bypass circuit and a boost circuit according to the relationship between the output voltage and the boost threshold to allow the battery to power a networking module via one of the bypass circuit and the boost circuit, wherein the bypass circuit is configured to power the networking module with the output voltage of the battery, and the boost circuit is configured to boost the output voltage of the battery to a first voltage and then power the networking module.
[0017] According to a fourth aspect of the present disclosure, a computer storage medium is provided. The computer storage medium stores the computer program product, which includes machine executable instructions, which, when executed, enable a machine to perform the steps of the method in the second aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.
[0019] Figure 1 A simplified circuit diagram of a power supply device for a bicycle according to an embodiment of the present disclosure is shown;
[0020] Figure 2 A simplified flowchart of a method for powering a bicycle according to an embodiment of the present disclosure is shown;
[0021] Figure 3 A flow chart showing a method for powering a bicycle according to an embodiment of the present disclosure; and
[0022] Figure 4 A schematic block diagram of an electronic device suitable for implementing an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0024] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0025] The principles of the present disclosure will be described below with reference to several example embodiments shown in the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way.
[0026] In addition, the term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of executing a subsequent action executed in response to the event or condition is not necessarily strongly related to the time when the event occurs or the condition is satisfied. For example, in some cases, the subsequent action may be executed immediately when the event occurs or the condition is satisfied; while in other cases, the subsequent action may be executed after a period of time after the event occurs or the condition is satisfied.
[0027] As mentioned above, the application of long connection and dual-frequency RTK high-precision positioning mode in bicycles improves the user experience, but also brings higher and higher vehicle operating power consumption, and puts higher and higher requirements on the discharge capacity of the battery of the bicycle. It should be understood that the bicycle according to the embodiment of the present disclosure may include any vehicle with two wheels, three wheels and at least partially powered by humans. "At least partially powered by humans" means that the bicycle can be driven completely by people, such as shared bicycles such as bicycles, and also means that the bicycle can also be partially driven by electric drive or other forms of drive. This article will mainly take shared bicycles such as bicycles as examples to describe the concept of the present disclosure. It is similar for other appropriate situations, and will not be repeated separately below.
[0028] The networking module is the core functional module of the shared bicycle hardware. It can be used to communicate with the server to perform various operations on shared bicycle orders. If the networking module fails to work, the bicycle may not be able to communicate with the server, which in turn causes the bicycle to fail to operate normally. Shared bicycles generally use lithium-ion batteries to power the networking module and the main control module of the bicycle. The characteristic of the battery is that as the power gradually decreases, its output voltage will also gradually decrease. Therefore, the output voltage of the battery currently used in the bicycle is generally in the range of 2.8V to 5V or higher depending on the power. The minimum operating voltage of the networking module is much higher than the minimum output voltage of the lithium battery. For example, the minimum operating voltage of the networking module is generally 3.4V, and when the battery power drops to a certain level, its output voltage will be lower than 3.4V. This results in the battery being unable to power the networking module at this time. The inability to use the networking module causes the bicycle to fail to operate normally, causing the battery to enter a low-power state when there is still power left in the battery, which results in the battery's low-voltage range of dischargeable power not being fully utilized, and the battery utilization rate is low. At present, low-power battery failure is the most common failure in high-precision positioning models.
[0029] The embodiments of the present disclosure provide a power supply device for a bicycle to solve or at least partially solve the above-mentioned problems or other potential problems in the above-mentioned traditional solutions. According to the power supply solution for a bicycle according to the embodiments of the present disclosure, after the voltage output by the battery 101 of the bicycle drops to the minimum operating voltage of the networking module 201, it can automatically boost to the minimum operating voltage of the networking module 201, thereby maintaining the networking module 201 to continue working. In this way, the dischargeable amount of the battery 101 can be fully tapped while ensuring the safety of the battery 101, and the working time of the networking module 201 can be extended to the maximum extent, thereby significantly improving the utilization rate of the battery 101 of the shared bicycle and the vehicle operation time. This is of great significance for reducing the low power rate of shared bicycles, improving vehicle operating efficiency, and reducing operating costs.
[0030] The concept according to the embodiments of the present disclosure will be described below with reference to the accompanying drawings. Figure 1 FIG. 2 shows a simplified circuit diagram of a power supply device according to an embodiment of the present disclosure. Figure 1As shown, in general, the power supply device for a bicycle according to an embodiment of the present disclosure includes a battery 101, a bypass circuit 102, a boost circuit 103 and a main control module 104. The battery 101 is an energy unit used to power at least the networking module 201 of the vehicle. Of course, in some embodiments, the battery 101 here may also be an energy unit for powering the main control system of the entire bicycle. In some alternative embodiments, the battery 101 may also only power the networking module 201, and other modules in the main control system of the bicycle are powered by other batteries 101. This article mainly takes the example of the battery 101 powering the entire main control system including the networking module 201 of the bicycle to describe the concept according to the present disclosure. It should be understood that other situations are similar and will not be described separately in the following.
[0031] The main control module 104 here can be a control processing unit in the main control system of a single vehicle. In addition to being used for circuit management of the power supply device, it can also be used to communicate with a server (hereinafter referred to as a remote device 202) to process orders and obtain various data, etc. Of course, in some alternative embodiments, the main control module 104 of the power supply device can also be just a processing unit for circuit management of the power supply device, and the main control system of the single vehicle can also include other main processing units for communicating with the remote device 202 to process orders, etc. That is to say, the main control module 104 for the power supply device and the main processing unit for the main control system of the vehicle can be two separate processing units, and the two processing units can be communicatively coupled to facilitate data processing. The following will mainly describe the concept according to the present disclosure by taking the example that the main control module 104 for the power supply device is integrated in the main processing unit of the main control system for the vehicle or is a part of the main processing unit. It should be understood that it is similar for other situations and will not be described separately in the following.
[0032] As mentioned above, the networking module 201 is a component in the bicycle used to communicate with the remote device 202 in an appropriate communication mode. The networking module 201 may include a module for communicating with the third generation communication technology (3G), the fourth generation communication technology (4G) or the fifth generation communication technology (5G) or Wi-Fi. The communication module can be connected to the main control module 104 so that the main control module 104 can communicate with the remote device 202 via the communication module.
[0033] The bypass circuit 102 and the boost circuit 103 are coupled between the battery 101 and the networking module 201, respectively. The battery 101 supplies power to the networking module 201 via one of the bypass circuit 102 and the boost circuit 103. When the networking module 201 is supplied with power via the bypass circuit 102, the bypass circuit 102 directly outputs the output voltage of the battery 101 without processing it. In other words, the bypass circuit 102 can directly supply power to the networking module 201 with the output voltage of the battery 101. This situation can be applicable to the situation where the battery 101 has sufficient power and the output voltage is greater than or equal to the minimum operating voltage (hereinafter referred to as the first voltage) of the networking module 201.
[0034] For example, in some embodiments, the bypass circuit 102 may include a metal oxide semiconductor field effect transistor (MOSFET). The MOSFET may be controlled to be turned on or off to thereby enable or disable the bypass circuit 102. Of course, it should be understood that the embodiment using a MOSFET as a switch tube of the bypass circuit 102 is only illustrative and is not intended to limit the scope of protection of the present disclosure. It is also possible for the bypass circuit 102 to include any other appropriate device. For example, in some embodiments, the bypass circuit 102 may also include a bipolar transistor (BJT), a junction field effect transistor (JFET) or other types of controllable semiconductor devices.
[0035] When the networking module 201 is powered by the boost circuit 103, the boost circuit 103 can boost the output voltage of the battery 101 to the first voltage and then output it. That is to say, the boost circuit 103 can boost the output voltage of the battery 101 to the minimum operating voltage of the networking module 201 (i.e., the first voltage) and then power the networking module 201. This situation is applicable to the situation where the battery 101 has a low power level but can still output safely, and the voltage value of the output voltage is less than the minimum operating voltage of the networking module 201. In this way, the operation of the networking module 201 can be maintained when the battery 101 is at a low power level but does not affect the normal operation of the battery 101, thereby maximizing the working time of the networking module 201, thereby significantly improving the utilization rate of the battery 101 of the shared bicycle and the vehicle operation time.
[0036] In some embodiments, the boost circuit 103 may include a direct current (DC-DC) boost circuit 103. For example, the boost circuit 103 may include an inductor, a capacitor, a diode, and a switch component. The inductor is used to store and release energy. The capacitor is used to store charge. The diode is used for unidirectional conduction. The inductor, the capacitor, and the diode are connected in series, and the output end of the boost circuit 103 is connected in parallel with the capacitor. In this way, the lower voltage output by the battery 101 can be boosted to the first voltage to power the networking module 201. The switch component is used to be controlled to enable or disable the boost circuit 103.
[0037] The main control module 104 can obtain the real-time output voltage (hereinafter referred to as output voltage) of the battery 101 in an appropriate manner. For example, the main control module 104 may include an analog-to-digital conversion (ADC) interface. The ADC interface can be used to detect the output voltage of the battery 101. This method can reliably obtain the output voltage of the battery 101 with a simple circuit, thereby improving the control accuracy. Of course, it should be understood that the method of using the ADC interface to detect the output voltage of the battery 101 is only schematic and is not intended to be within the scope of protection of the present disclosure. As long as the output voltage of the battery 101 can be obtained, any appropriate method is possible. For example, in some embodiments, a dedicated battery voltage detection circuit can be set to obtain the voltage value of the output voltage of the battery 101.
[0038] After obtaining the output voltage of the battery 101, the main control module 104 will compare the output voltage with the boost threshold to determine the relationship between the output voltage and the boost threshold. The boost threshold represents the minimum value at which the output voltage of the battery 101 needs to be boosted to maintain the normal operation of the networking module 201. For example, in some embodiments, the boost threshold may be equal to the minimum operating voltage (hereinafter referred to as the first voltage) of the networking module 201. That is, when the main control module 104 determines that the output voltage of the battery 101 is lower than the minimum operating voltage of the networking module 201, the boost circuit 103 will be enabled to boost the output voltage of the battery 101 to the first voltage and then power the networking module 201. Correspondingly, if the main control module 104 determines that the output voltage of the battery 101 is greater than or equal to the minimum operating voltage of the networking module 201 (i.e., the power of the battery 101 is still relatively high), the bypass circuit 102 will be enabled and the boost circuit 103 will be disabled, so that the networking module 201 is directly powered by the output voltage of the battery 101.
[0039] In some embodiments, the voltage boost threshold may be stored in a memory of the main control module 104. For example, the main control module 104 may obtain the voltage boost threshold from the memory and compare it with the output voltage of the battery 101. If the voltage boost threshold is not obtained in the memory, the main control module 104 may also obtain the voltage boost threshold from the remote device 202 through the networking module 201, and store the obtained voltage boost threshold in the memory for subsequent use.
[0040] In order to prevent the battery 101 from being used after the battery 101 is low to a threshold value, thereby protecting the battery 101, a protection threshold for the output voltage of the battery 101 is also set. The protection threshold represents the lowest value of the output voltage of the battery 101 (for example, 2.8V mentioned above). If the battery 101 continues to work after the output voltage is lower than the protection threshold, it will have an adverse effect on the health of the battery 101 and the electronic module powered by it. Therefore, the main control module 104 according to the embodiment of the present disclosure can also compare the output voltage of the battery 101 with the protection threshold of the battery 101, and stop using the battery 101 to power the main control module 104 and the networking module 201 when the output voltage is less than the protection threshold, thereby protecting the battery 101 and improving the service life of the battery 101. In this case, a backup battery 101 can be set to power the main control module 104 and the networking module 201 or wait for the battery 101 to be charged to an output voltage higher than the protection threshold before continuing to power the main control module 104 and the networking module 201.
[0041] Figure 2 A schematic diagram of a process of the power supply device according to an embodiment of the present disclosure supplying power to the networking module 201 is shown. After the power supply device is started for the first time, it will obtain the protection threshold and boost threshold about the battery 101 from the remote device 202 through the networking module 201. Obtaining the protection threshold and boost threshold from the remote device 202 through the networking module 201 can facilitate the user to remotely adjust the protection threshold and boost threshold, thereby facilitating the control of the power supply device. Of course, as mentioned above, the protection threshold and boost threshold can be stored in the memory after being obtained for subsequent call. In some alternative embodiments, the protection threshold and boost threshold can also be pre-stored in the memory to prevent the power supply device from working normally when the networking module 201 fails to work normally.
[0042] The main control module 104 monitors the output voltage of the battery 101 in real time by an appropriate method (for example, via an ADC interface), and compares the output voltage with the protection threshold and the boost threshold. If the output voltage is greater than or equal to the boost threshold, it means that the battery 101 has sufficient power, so that the battery 101 directly supplies power to the networking module 201 via the bypass circuit 102. If the output voltage is less than the boost threshold but greater than or equal to the protection threshold, it means that the battery 101 has a low power level, but can still continue to supply power to the networking module 201. At this time, the main control module 104 enables the boost circuit 103, so that the output voltage of the battery 101 is boosted to the first voltage and then continues to supply power to the networking module 201. In this way, the operation of the networking module 201 can be maintained when the battery 101 is at a low power level but does not affect the normal operation of the battery 101, thereby maximizing the working time of the networking module 201, thereby significantly improving the utilization rate of the battery 101 of the shared bicycle and the vehicle operation time. If the output voltage is less than the protection threshold, it means that the power of the battery 101 is low enough, and it is necessary to stop using the battery 101 to power the networking module 201 and the main control module 104 to protect the battery 101 and ensure the normal operation of each module. At this time, the main control module 104 can stop using the battery 101 to power the networking module 201 and the main control module 104, and the main control system of the bicycle enters a low power mode.
[0043] Back to Figure 1 As shown, in some embodiments, in order to further ensure the reliability of the output voltage of the power supply circuit, the power supply device can also protect the combining circuit 105. The combining circuit 105 receives two or more inputs and outputs the inputs after integration. For example, the combining circuit 105 can output the larger voltage of the two inputs. Specifically, the combining circuit 105 includes an input end and two output ends. The input end can be coupled to the output ends of the bypass circuit 102 and the boost circuit 103 respectively. One of the two output ends (hereinafter referred to as the first output end) is coupled to the networking module 201. The combining circuit 105 can compare the voltages output by the bypass circuit 102 and the boost circuit 103, and output the larger value of the output voltage of the two circuits from the output end to power the module at the output end. In this way, no matter which circuit of the bypass circuit 102 and the boost circuit 103 is enabled, the combining circuit 105 can ensure that a voltage above the first voltage is output from the first output end to power the networking module 201, thereby ensuring reliability. In some embodiments, the combiner circuit 105 may include components such as a diode.
[0044] In some embodiments, another output end (hereinafter referred to as the second output end) of the combiner circuit 105 is also coupled to the main control module 104 to supply power to the main control module 104. The voltage output by the second output end is the same as the voltage output by the first output end. In some embodiments, in order to ensure that the voltage output to the main control module 104 matches the input power supply of the main control module 104, a step-down circuit 106 may be provided between the second output end and the main control module 104. The step-down circuit 106 may step down the voltage output by the second output module to the second voltage required by the main control module 104 to supply power to the main control module 104.
[0045] Figure 3 A flow chart of a method for powering a bicycle according to an embodiment of the present disclosure is shown. In some embodiments, the method can be implemented by the main control module 104 mentioned above. For ease of understanding, the specific examples, numbers or values mentioned in the following description are merely exemplary and are not intended to limit the scope of protection of the present disclosure.
[0046] like Figure 3 As shown, in box 310, the main control module 104 obtains the boost threshold of the battery 101 of the bicycle. In some embodiments, the boost threshold can be obtained from the remote device 202 through the communication module. In some alternative embodiments, the boost threshold can be obtained by the main control module 104 from a memory associated with it. At 320, the main control module 104 obtains the output voltage of the battery 101. At 330, the main control module 104 compares the output voltage and the boost threshold to determine the relationship between the two.
[0047] At 340, the main control module 104 controls the states of the bypass circuit 102 and the boost circuit 103 according to the relationship between the output voltage and the boost threshold. For example, if the output voltage is greater than or equal to the boost threshold, the bypass circuit 102 is enabled and the boost circuit 103 is disabled, so that the output voltage of the battery 101 directly acts on the networking module 201 to power the networking module 201. If the output voltage is less than the boost threshold, the boost circuit 103 is enabled and the bypass circuit 102 is disabled to boost the output voltage to the first voltage and then power the networking module 201.
[0048] In some embodiments, the main control module 104 may also obtain a voltage protection threshold, and control whether to use the battery 101 to power the networking module 201 and the main control module 104 according to the relationship between the protection threshold and the output voltage. For example, if it is detected that the output voltage is less than the protection threshold, the battery 101 is stopped from being used to power the networking module 201 and the main control module 104, thereby benefiting the health of the battery 101 and the stability of the circuit.
[0049] Figure 4A schematic block diagram of an electronic device 400 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 400 may be the master control module 104 mentioned above, etc. As shown, the device 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 402 or computer program instructions loaded from a storage unit into a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the device 400 may also be stored. CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0050] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a touch screen, buttons, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0051] The various processes and processing described above, such as the processes mentioned above, can be performed by the processing unit 401. For example, in some embodiments, the processes 310, 320, 330 and 340 can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the CPU 401, one or more actions of the processes 310, 320, 330 and 340 described above can be performed.
[0052] Embodiments of the present disclosure relate to methods, electronic devices, and / or computer program products. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.
[0053] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, (but not limited to) an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.
[0054] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0055] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0056] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0057] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0058] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0059] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0060] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A power supply device for a bicycle, include: A battery (101), used to supply power to at least the networking module (201) of the bicycle; A bypass circuit (102) coupled between the battery (101) and the networking module (201), and configured to supply power to the networking module (201) using the output voltage of the battery (101); A boost circuit (103) coupled between the battery (101) and the networking module (201), and configured to boost the output voltage of the battery (101) to a first voltage to supply power to the networking module (201); as well as A main control module (104) is coupled to the bypass circuit (102) and the boost circuit (103), and is configured to obtain the output voltage of the battery (101) and control the states of the bypass circuit (102) and the boost circuit (103) according to the relationship between the output voltage and the boost threshold of the battery (101), so as to allow the battery (101) to power the networking module (201) via one of the bypass circuit (102) and the boost circuit (103).
2. The power supply device according to claim 1, further comprising: include: A combining circuit (105) comprises: An input terminal coupled to the bypass circuit (102) and the boost circuit (103); and The first output terminal is coupled to the networking module (201), and the combining circuit (105) is configured to power the networking module (201) with the larger voltage output by the bypass circuit (102) and the boost circuit (103).
3. The power supply device according to claim 2, wherein the combining circuit (105) further comprises a second output terminal, and wherein the power supply device further comprises include: A step-down circuit (106) is coupled between the second output end of the combining circuit (105) and the main control module (104), and is configured to step down the larger voltage output by the bypass circuit (102) and the boost circuit (103) to a second voltage to supply power to the main control module (104).
4. The power supply device according to any one of claims 1 to 3, wherein the main control module (104) is coupled to the networking module (201), and the main control module (104) is configured as: The voltage boost threshold of the battery (101) is obtained from a remote device (202) via the networking module (201).
5. The power supply device according to claim 4, wherein the main control module (104) is further configured to: comparing the output voltage to the boost threshold; and In response to the output voltage being less than the boost threshold, it is determined that the battery (101) supplies power to the networking module (201) via the boost circuit (103).
6. The power supply device according to any one of claims 1 to 3 and 5, wherein the main control module (104) is further configured as: Obtaining a protection threshold of the battery (101) from a remote device (202) via the networking module (201); comparing the output voltage with the protection threshold; and In response to the output voltage being less than the protection threshold, stopping using the battery (101) to supply power to the main control module (104) and the networking module (201).
7. The power supply device according to any one of claims 1 to 3 and 5, wherein the bypass circuit (102) comprises a metal oxide semiconductor field effect transistor (MOSFET).
8. The power supply device according to any one of claims 1 to 3 and 5, wherein the boost circuit (103) comprises a direct current (DC-DC) boost circuit (103).
9. A method for supplying power to a bicycle, include: Obtaining a voltage boost threshold of a battery (101) of the bicycle; Obtaining the output voltage of the battery (101); comparing the output voltage and the boost threshold to determine a relationship between the output voltage and the boost threshold; as well as The states of the bypass circuit (102) and the boost circuit (103) are controlled according to the relationship between the output voltage and the boost threshold to allow the battery (101) to power the networking module (201) via one of the bypass circuit (102) and the boost circuit (103), wherein the bypass circuit (102) is configured to power the networking module (201) with the output voltage of the battery (101), and the boost circuit (103) is configured to boost the output voltage of the battery (101) to a first voltage and then power the networking module (201).
10. The method according to claim 9, further comprising: include: The voltage boost threshold of the battery (101) is obtained from a remote device (202) via the networking module (201).
11. The method according to claim 9 or 10, wherein the states of the bypass circuit (102) and the boost circuit (103) are controlled according to the relationship between the output voltage and the boost threshold include: comparing the output voltage with the boost threshold; as well as In response to the output voltage being less than the boost threshold, it is determined that the battery (101) supplies power to the networking module (201) via the boost circuit (103).
12. The method according to claim 9 or 10, further comprising: include: Obtaining a protection threshold of the battery (101) from a remote device (202) via the networking module (201); comparing the output voltage with the protection threshold; and In response to the output voltage being less than the protection threshold, stopping using the battery (101) to supply power to the main control module (104) and the networking module (201).
13. An electronic device, include: at least one processing unit; as well as at least one memory coupled to the at least one processing unit and storing machine-executable instructions, which, when executed by the at least one processing unit, cause the device to perform actions, the actions comprising: Obtaining a voltage boost threshold of a battery (101) of the bicycle; Obtaining an output voltage of an output voltage of the battery (101); comparing the output voltage to the boost threshold to determine a relationship between the output voltage and the boost threshold; and The states of the bypass circuit (102) and the boost circuit (103) are controlled according to the relationship between the output voltage and the boost threshold, so as to allow the battery (101) to power the networking module (201) via one of the bypass circuit (102) and the boost circuit (103).
14. The electronic device according to claim 13, wherein the action further include: The voltage boost threshold of the battery (101) is obtained from a remote device (202) via the networking module (201).
15. The electronic device according to claim 13 or 14, wherein the states of the bypass circuit (102) and the boost circuit (103) are controlled according to the relationship between the output voltage and the boost threshold include: comparing the output voltage with the boost threshold; as well as In response to the output voltage being less than the boost threshold, it is determined that the battery (101) supplies power to the networking module (201) via the boost circuit (103).
16. The electronic device according to claim 13 or 14, wherein the action further include: Obtaining a protection threshold of the battery (101) from a remote device (202) via the networking module (201); comparing the output voltage with the protection threshold; and In response to the output voltage being less than the protection threshold, stopping using the battery (101) to supply power to the main control module (104) and the networking module (201).
17. A computer storage medium comprising a computer program product stored thereon comprising machine executable instructions which, when executed, cause a machine to perform the steps of the method according to any one of claims 9 to 12.
