CN209298935U - The charging control circuit structure of intelligent movable power supplies lease - Google Patents
The charging control circuit structure of intelligent movable power supplies lease Download PDFInfo
- Publication number
- CN209298935U CN209298935U CN201920012478.4U CN201920012478U CN209298935U CN 209298935 U CN209298935 U CN 209298935U CN 201920012478 U CN201920012478 U CN 201920012478U CN 209298935 U CN209298935 U CN 209298935U
- Authority
- CN
- China
- Prior art keywords
- slot position
- microcontroller
- power source
- mobile power
- control circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000011664 signaling Effects 0.000 claims abstract description 36
- 238000004891 communication Methods 0.000 claims abstract description 18
- 230000007246 mechanism Effects 0.000 claims abstract description 10
- 230000005611 electricity Effects 0.000 claims description 5
- 230000005856 abnormality Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
It include a microcontroller, an I2C bus, at least two I2C signaling switch chips, a communication module, at least two for connecting the slot position charging circuit, at least two driving circuits and at least two locked mechanisms of mobile power source the utility model relates to a kind of charging control circuit structure of intelligent movable power supplies lease;Communication module and driving circuit are separately connected microcontroller, and microcontroller is communicated by I2C bus with slot position charging circuit, and I2C bus connects slot position charging circuit by I2C signaling switch chip, and I2C bus is consistent from address;Microcontroller controls the closure of I2C signaling switch chip, realizes the information for only obtaining mobile power source on a slot position charging circuit every time;Whereby, an I2C signaling switch chip is configured with by each slot position charging circuit, allows microcontroller dynamically to plug the identical mobile power source from address of access, obtains mobile power source information.
Description
Technical field
The utility model relates to mobile power source leasing techniques fields, refer in particular to a kind of charging of intelligent movable power supplies lease
Controling circuit structure.
Background technique
Existing mobile power source lease generally comprises microcontroller and slot position charging circuit, and the microcontroller generally passes through
I2C bus is communicated with mobile power source (from device).The slave device of same group of I2C bus carry, must assure that not from address
It is identical normally to be communicated with main device when being addressed;If two or more microcontrollers while initialization data
Transmission, can prevent data corruption by collision detection and arbitration.
In general, mobile power source leased equipment is provided with a microcontroller and multiple charging slot positions (are lifted with 10 slot positions
Example), since the I2C of mobile power source is just the same from address of devices, then microcontroller needs 10 groups of I2C buses, every group of I2C bus
For a plug-in mobile power source from device, one for being just able to satisfy every group of I2C bus is corresponding uniquely from device from address, it is ensured that micro-
Controller addresses every time can success and data interaction.It is identical from ground that the above I2C communication modes are not able to satisfy dynamic plug access
The mobile power source of location, especially, multiple groups I2C bus will lead to wire structures complexity, at high cost.
In addition, existing mobile power source leased equipment when giving back mobile power source, need to distinguish physical contact point both forward and reverse directions,
Cause to give back inconvenience, affect user experience;Meanwhile existing data interaction speed when leasing or give back mobile power source
Slowly.
Utility model content
The utility model is to provide a kind of intelligent movable power supplies for deficiency present in the above-mentioned prior art, main purpose
The charging control circuit structure of lease is configured with an I2C signaling switch chip by each slot position charging circuit, so that micro-control
Device processed can dynamically plug the identical mobile power source from address of access, obtain mobile power source information.
To realize above-mentioned purpose, the utility model adopts the following technical scheme:
A kind of charging control circuit structure of intelligent movable power supplies lease includes a microcontroller, an I2C bus, extremely
Few two I2C signaling switch chips, a communication module, at least two are for connecting slot position charging circuit, at least two drives of mobile power source
Move circuit and for the mobile power source that locks at least two locked mechanisms in slot position;
The communication module and driving circuit are separately connected microcontroller, and the microcontroller passes through I2C bus and slot position
Charging circuit is communicated, and the I2C bus connects slot position charging circuit by I2C signaling switch chip, the I2C bus
It is consistent from address;
The closure of the microcontroller control I2C signaling switch chip is realized and is only obtained on a slot position charging circuit every time
The information of mobile power source;After obtaining the information of mobile power source, the disconnection of the microcontroller control I2C signaling switch chip;
Every one drive circuit is drivingly connected a corresponding locked mechanism to lock or unlock mobile power source.
As a preferred embodiment, the slot position charging circuit is that slot position charging is electric in the communication interface that I2C bus connects
The SDA interface and SCL interface on road, the I2C signaling switch chip have the first output end and second output terminal, and described first is defeated
Outlet connects SDA interface, and second output terminal connects SCL interface;
When microcontroller cannot repeatedly obtain the information of mobile power source on slot position charging circuit, then microcontroller controls I2C
Signaling switch chip operation, so that the first output end exports SCL signal to SCL interface, second output terminal exports SDA signal extremely
SDA interface.
It as a preferred embodiment, further include having slot position travel switch, the slot position travel switch is connected to microcontroller,
Whether it is docked in slot position with to detect mobile power source and is charged.
It as a preferred embodiment, further include having slot position LED light, microcontroller receives the signal of slot position travel switch
Afterwards, the work of slot position LED light is controlled.
As a preferred embodiment, the driving circuit is control circuit for electromagnet, and the locked mechanism includes electromagnet,
The control circuit for electromagnet is drivingly connected electromagnet.
As a preferred embodiment, the communication module is 4G module.
As a preferred embodiment, the 4G module is connected with SIM card, and successively two-way signaling is electrically connected with the 4G module
RF radio-frequency module, antenna.
It as a preferred embodiment, further include the voltage regulator circuit having for DC5V voltage to be switched to 3.8V voltage, it is described micro-
Controller is also connected with voltage regulator circuit, and the output end of voltage regulator circuit connects 4G module, and the microcontroller controls pressure stabilizing by I/O port
Circuit output 3.8V voltage is to 4G module, to carry out power reset 4G module when communication abnormality occurs in 4G module.
As a preferred embodiment, the 4G module is connect by electrical level transferring chip with microcontroller, to realize the two
Data exchange.
As a preferred embodiment, the microcontroller is connected with display screen, is shown with the mobile power source information that will acquire
Out.
The utility model has clear advantage and beneficial effect compared with prior art, specifically: it is mainly logical
Each slot position charging circuit is crossed configured with an I2C signaling switch chip, allow microcontroller dynamically plug access it is identical from
The mobile power source of address obtains mobile power source information;
Followed by, microcontroller switches the port SDA of microcontroller and mobile power source I2C by I2C signaling switch chip
Connected with SCL ports physical, do not needed when so that giving back mobile power source distinguish physical contact point a both forward and reverse directions, give back it is more convenient,
It improves the user experience;
And by 4G module, be conducive to improve data interaction efficiency.
Detailed description of the invention
Fig. 1 is the whole control circuit structural representation of the utility model.
Fig. 2 is the I2C signaling switch chip structure schematic diagram of the utility model.
Drawing reference numeral explanation:
10, microcontroller 11, voltage regulator circuit
20, I2C bus 30, I2C signaling switch chip
40,4G module 41, electrical level transferring chip
42, RF radio-frequency module 43, antenna
44, SIM card 50, mobile power source
60, slot position charging circuit 71, control circuit for electromagnet
72, electromagnet 81, slot position travel switch
82, slot position LED light.
Specific embodiment
The utility model is further described with specific embodiment with reference to the accompanying drawing.
As shown in Figure 1 to Figure 2, the utility model is a kind of charging control circuit structure that intelligent movable power supplies 50 are leased,
It include that a microcontroller 10, an I2C bus 20, at least two I2C signaling switch chips 30, a communication module, at least two are used for
Connect the slot position charging circuit 60 of mobile power source 50, at least two driving circuits and for the mobile power source 50 that locks in slot position
At least two locked mechanisms, in which:
In the present embodiment, microcontroller 10 is single using the STM32F103XX series based on 32bit ARM Cortex-M3
Piece machine, microcontroller 10 has power supply LDO chip, reset circuit, 8MHz crystal, the corresponding firmware of burning, so that microcontroller
10 normal operations;When microcontroller 10 receives remote upgrade firmware command, the firmware that backstage is sent is written to microcontroller
The SPI Flash of device 10 realizes remote upgrade firmware.
Slot position is provided with ten, and correspondingly, slot position charging circuit 60 is also equipped with ten.The communication module and driving electricity
Road is separately connected microcontroller 10.Preferably, the communication module is 4G module 40.The controller is externally connected to 4G mould
Block 40, the 4G module 40 are responsible for establishing wireless network as the data relay station between microcontroller 10 and cloud server
TCP/IP realizes data penetration transmission function.The 4G module 40 is connected with SIM card 44, and successively two-way signaling is electrically connected the 4G module 40
It is connected to RF radio-frequency module 42, antenna 43.
The 4G module 40 is connect by electrical level transferring chip 41 with microcontroller 10, to realize the two data exchange;Institute
1.8V can be switched to 3.3V level by stating electrical level transferring chip 41, and 4G module 40 is by data by two-wire system TXD/RXD by electricity
The RXD/TXD of flat conversion chip 41 and microcontroller 10 carries out data exchange, serial port baud rate 38400.
It further include the voltage regulator circuit 11 having for DC5V voltage to be switched to 3.8V voltage, the microcontroller 10 is also connected with surely
Volt circuit 11, the output end of voltage regulator circuit 11 connect 4G module 40, and the microcontroller 10 controls voltage regulator circuit 11 by I/O port
3.8V voltage is exported to 4G module 40, to carry out power reset 4G module 40 when communication abnormality occurs in 4G module 40.
The microcontroller 10 is communicated by I2C bus 20 with slot position charging circuit 60, and microcontroller 10 passes through
The states such as charging, locking 5V, unlock 5V, the contact protection of each slot position mobile power source 50 of the protocol integrated test system of agreement.The I2C is total
Line 20 connects slot position charging circuit 60 by I2C signaling switch chip 30, and the I2C bus 20 is consistent from address;It is excellent
Selection of land, the model TS5A623157DGSR of I2C signaling switch chip 30.The microcontroller 10 is connected with display screen, will
50 information of mobile power source of acquisition is shown.
The microcontroller 10 controls the closure of I2C signaling switch chip 30, realizes and only obtains slot position charging electricity every time
The information of mobile power source 50 on road 60;After obtaining the information of mobile power source 50, the microcontroller 10 controls I2C signaling switch
The disconnection of chip 30.In the present embodiment, mobile power source 50 is I2C from device, and the I2C of mobile power source 50 is complete from address of devices
It is complete the same, because the utility model only takes one group of I2C bus 20, by increase by one on each slot position charging circuit 60
I2C signaling switch chip 30 realizes that the mobile power source 50I2C of only one slot position when microcontroller 10 addresses every time is hung from device
It is loaded in I2C bus 20.Slot position I2C has been obtained after 50 information of mobile power source of device, has controlled the I2C signaling switch of the slot position
Chip 30, so that I2C is from device failure in I2C bus 20.
Every one drive circuit is drivingly connected a corresponding locked mechanism to lock or unlock mobile power source 50, it is preferable that institute
Stating driving circuit is 72 control circuit 71 of electromagnet, and the locked mechanism includes electromagnet 72,72 control circuit of electromagnet
71 are drivingly connected electromagnet 72.
Substantially it is as follows to lend principle for mobile power source 50: 1, microcontroller 10, which judges whether there is, meets remaining capacity not less than setting
The mobile power source 50 of definite value (such as 60% or 75% or other numerical value);2, it determines after having the mobile power source 50 of the condition of satisfaction, micro-control
The control of device 10 72 control circuit 71 of electromagnet processed is carried out drive electromagnet 72 and is stretched out forward, and then releases the lock to mobile power source 50
It is fixed;3, it waits the mobile power source 50 to pop up, limits high latency;4, after mobile power source 50 pops up, microcontroller 10 is controlled
72 control circuit 71 of electromagnet processed carrys out the reset of drive electromagnet 72, meanwhile, microcontroller 10 controls following slot position LED lights 82
Flashing is closed after 2 seconds.
One group of I2C bus 20 generally comprises SDA data line and SCL clock line, and the slot position charging circuit 60 is in I2C bus
The communication interface of 20 connections is the SDA interface and SCL interface of slot position charging circuit 60, and the I2C signaling switch chip 30 has
First output end and second output terminal, first output end connect SDA interface, and second output terminal connects SCL interface;
Mobile power source 50 have two charging interfaces, two charging interfaces of the mobile power source 50 respectively with slot position charging circuit
60 SDA interface and SCL interface electrical connection, cannot obtain mobile power source 50 on slot position charging circuit 60 when microcontroller more than 10 times
Information, then microcontroller 10 controls I2C signaling switch chip 30 and works, so that the first output end exports SCL signal and connects to SCL
Mouthful, second output terminal exports SDA signal to SDA interface, therefore, it can be achieved that between mobile power source 50 and slot position physical contact regardless of
Direction connection.As shown in Fig. 2, being the circuit diagram of I2C signaling switch chip 30, the I2C signaling switch chip 30 has
Switch pin 1 to switch pin 10, switch pin 2 and switch pin 7 connects, and switch pin 4 and switch pin 9 connect, switch
Pin 10 is aforementioned second output terminal, and switch pin 6 is aforementioned first output end.
It further include having slot position travel switch 81 and slot position LED light 82, the slot position travel switch 81 is connected to micro-control
Whether device 10 processed is docked in slot position with to detect mobile power source 50 and is charged, and microcontroller 10 is opened by detecting each slot position stroke
Whether effectively 81 are closed, to determine whether mobile power source 50 is inserted into.After microcontroller 10 receives the signal of slot position travel switch 81, control
The work of slot position LED light 82 processed is herein the shifting positioned at slot position being inserted into for control love by the agreement reading of agreement
The related data of dynamic power supply 50, determines the state of the slot position LED light 82.
The step of obtaining 50 information of slot position mobile power source under following general description:
1, microcontroller 10 is by slot position travel switch 81 to determine whether there is mobile power source 50 to be inserted in corresponding slot position;
2, when determining slot position there are when mobile power source 50, microcontroller 10 passes through the closure of I2C signaling switch chip 30, real
Existing microcontroller 10 successfully addresses the signal carry of the mobile power source 50 of the slot position in I2C bus 20, if addressing successfully, obtains
Take the information of the slot position mobile power source 50;If address three times it is unsuccessful, microcontroller 10 control I2C signaling switch chip 30 cut
After changing SDA, SCL physical connection of microcontroller 10 and the slot position mobile power source 50, addresses successfully then access mobile power source again
50 relevant informations.
The utility model designing points are: it is mainly opened by each slot position charging circuit configured with an I2C signal
Chip is closed, allows microcontroller dynamically to plug the identical mobile power source from address of access, obtains mobile power source information;
Followed by, microcontroller switches the port SDA of microcontroller and mobile power source I2C by I2C signaling switch chip
Connected with SCL ports physical, do not needed when so that giving back mobile power source distinguish physical contact point a both forward and reverse directions, give back it is more convenient,
It improves the user experience;
And by 4G module, be conducive to improve data interaction efficiency.
The above is only the utility model preferred embodiment, not appoints to the technical scope of the utility model
What is limited, therefore any trickle amendment made by the above technical examples according to the technical essence of the present invention, equivalent variations
With modification, it is still within the scope of the technical solutions of the present invention.
Claims (10)
1. a kind of charging control circuit structure of intelligent movable power supplies lease, it is characterised in that: include a microcontroller, one
I2C bus, at least two I2C signaling switch chips, a communication module, at least two are for connecting the slot position charging electricity of mobile power source
Road, at least two driving circuits and for the mobile power source that locks at least two locked mechanisms in slot position;
The communication module and driving circuit are separately connected microcontroller, and the microcontroller is charged by I2C bus and slot position
Circuit is communicated, and the I2C bus connects slot position charging circuit, the slave ground of the I2C bus by I2C signaling switch chip
Location is consistent;
The closure of the microcontroller control I2C signaling switch chip, realizes only to obtain every time and move on a slot position charging circuit
The information of power supply;After obtaining the information of mobile power source, the disconnection of the microcontroller control I2C signaling switch chip;It is each
Driving circuit is drivingly connected a corresponding locked mechanism to lock or unlock mobile power source.
2. the charging control circuit structure of intelligent movable power supplies lease according to claim 1, it is characterised in that: the slot position
Charging circuit is opened in SDA interface and SCL interface that the communication interface that I2C bus connects is slot position charging circuit, the I2C signal
Closing chip has the first output end and second output terminal, and first output end connects SDA interface, and second output terminal connects SCL
Interface;
When microcontroller cannot repeatedly obtain the information of mobile power source on slot position charging circuit, then microcontroller controls I2C signal
Switch chip work, so that the first output end exports SCL signal to SCL interface, second output terminal output SDA signal to SDA is connect
Mouthful.
3. the charging control circuit structure of intelligent movable power supplies lease according to claim 1, it is characterised in that: further include having
Whether slot position travel switch, the slot position travel switch are connected to microcontroller, filled with detecting mobile power source and being docked in slot position
Electricity.
4. the charging control circuit structure of intelligent movable power supplies lease according to claim 3, it is characterised in that: further include having
Slot position LED light after microcontroller receives the signal of slot position travel switch, controls the work of slot position LED light.
5. the charging control circuit structure of intelligent movable power supplies lease according to claim 1, it is characterised in that: the driving
Circuit is control circuit for electromagnet, and the locked mechanism includes electromagnet, and the control circuit for electromagnet is drivingly connected electromagnet.
6. the charging control circuit structure of intelligent movable power supplies lease according to claim 1, it is characterised in that: the communication
Module is 4G module.
7. the charging control circuit structure of intelligent movable power supplies lease according to claim 6, it is characterised in that: the 4G mould
Block is connected with SIM card, and successively two-way signaling is electrically connected with RF radio-frequency module, antenna to the 4G module.
8. the charging control circuit structure of intelligent movable power supplies lease according to claim 6, it is characterised in that: further include having
For DC5V voltage to switch to the voltage regulator circuit of 3.8V voltage, the microcontroller is also connected with voltage regulator circuit, voltage regulator circuit it is defeated
Outlet connects 4G module, and the microcontroller controls voltage regulator circuit by I/O port and exports 3.8V voltage to 4G module, in 4G mould
Block occurs carrying out power reset 4G module in the case of communication abnormality.
9. the charging control circuit structure of intelligent movable power supplies lease according to claim 6, it is characterised in that: the 4G mould
Block is connect by electrical level transferring chip with microcontroller, to realize the two data exchange.
10. the charging control circuit structure of intelligent movable power supplies lease according to claim 1, it is characterised in that: described micro-
Controller is connected with display screen, is shown with the mobile power source information that will acquire.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920012478.4U CN209298935U (en) | 2019-01-04 | 2019-01-04 | The charging control circuit structure of intelligent movable power supplies lease |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920012478.4U CN209298935U (en) | 2019-01-04 | 2019-01-04 | The charging control circuit structure of intelligent movable power supplies lease |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209298935U true CN209298935U (en) | 2019-08-23 |
Family
ID=67641755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920012478.4U Active CN209298935U (en) | 2019-01-04 | 2019-01-04 | The charging control circuit structure of intelligent movable power supplies lease |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209298935U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599695A (en) * | 2019-08-30 | 2019-12-20 | 深圳市云充吧科技有限公司 | Leasing method of mobile power supply |
CN113342726A (en) * | 2021-06-22 | 2021-09-03 | 上海料聚微电子有限公司 | I2C bus system, chip with applied voltage working mode and method |
-
2019
- 2019-01-04 CN CN201920012478.4U patent/CN209298935U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599695A (en) * | 2019-08-30 | 2019-12-20 | 深圳市云充吧科技有限公司 | Leasing method of mobile power supply |
CN113342726A (en) * | 2021-06-22 | 2021-09-03 | 上海料聚微电子有限公司 | I2C bus system, chip with applied voltage working mode and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101751368B (en) | Single-board communication method, device and system | |
CN208126373U (en) | IIC fault detection response circuit and IIC bus system | |
US20090006709A1 (en) | Pci express interface | |
CN108616610A (en) | Address distribution method, host, slave and bus system | |
CN209298935U (en) | The charging control circuit structure of intelligent movable power supplies lease | |
CN107453428B (en) | A kind of method of automatic identification apple and Android device | |
CN202795350U (en) | Management device for USB ports | |
CN203858627U (en) | Portable RFID (radio frequency identification) equipment | |
CN107645310B (en) | The data transmission device and data transmission method of breaker controller | |
CN203933666U (en) | A kind of CAN bus repeater | |
CN113220614A (en) | Method, system and medium for adaptively managing I2C and I3C devices | |
CN216310645U (en) | Data acquisition unit | |
CN106502911B (en) | Multi-terminal access device | |
CN203279199U (en) | Wireless communication terminal based on remote broadband electric power lines | |
CN208739136U (en) | Communication module | |
CN204480237U (en) | A kind of connector, universal serial bus device and intelligent terminal | |
CN103311766A (en) | Mobile equipment switching device and working mode switching method thereof | |
CN110188060A (en) | Mode switching system and the mode switching method for applying it | |
CN205942587U (en) | Server | |
CN107070547A (en) | A kind of CPCI type gigabit Ethernet devices with failure monitoring ability | |
CN206650898U (en) | A kind of remote control type lamp controller | |
CN105180383B (en) | Communication mode control method and system and air conditioner debugging device | |
CN205584242U (en) | Communication switching interface and communication equipment | |
CN114661646A (en) | Serial port switching control circuit | |
CN203552657U (en) | LED display screen module group with bidirectional communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210616 Granted publication date: 20190823 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240616 Granted publication date: 20190823 |