CN108521854A - Communication control method, communication master device and communication system - Google Patents

Communication control method, communication master device and communication system Download PDF

Info

Publication number
CN108521854A
CN108521854A CN201780005406.0A CN201780005406A CN108521854A CN 108521854 A CN108521854 A CN 108521854A CN 201780005406 A CN201780005406 A CN 201780005406A CN 108521854 A CN108521854 A CN 108521854A
Authority
CN
China
Prior art keywords
communication
level
master device
battery component
communication master
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.)
Pending
Application number
CN201780005406.0A
Other languages
Chinese (zh)
Inventor
张国富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Shenzhen Dajiang Innovations Technology Co Ltd
Original Assignee
Shenzhen Dajiang Innovations Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dajiang Innovations Technology Co Ltd filed Critical Shenzhen Dajiang Innovations Technology Co Ltd
Publication of CN108521854A publication Critical patent/CN108521854A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention discloses a kind of communication control methods, are communicated with battery component (200) for controlling communication master device (100).Battery component (200) is communicated to connect by the first communication line (300) and at least two communication master devices (100).The level of first communication line (300) changes when battery component (200) is communicated with any communication master device (100).Communication control method includes:Open control data process;Whether the level for detecting the first communication line (300) in predetermined period is maintained predetermined level;In the level of the first communication line (300) control data process is interrupted when predetermined period is not predetermined level;Communication master device (100) is controlled when predetermined period is maintained predetermined level in the level of the first communication line (300) to communicate with battery component (200).The invention also discloses a kind of communication master devices (100) and communication system (1000).

Description

Communication control method, communication master device and communication system
Technical field
The present invention relates to battery component field of communication technology, more particularly to a kind of communication control method, communication master device and Communication system.
Background technology
For cost-effective and reduction power consumption, current battery is general, and only there are one serial line interfaces.However, in certain occasions Under, such as unmanned plane charges in the case of booting, battery needs also have charger communication with unmanned plane simultaneously, and battery is as logical Believer in a certain religion's equipment, and unmanned plane and charger are as communication master device.But battery be difficult to by single serial line interface simultaneously with nothing Man-machine and charger communication, easily causes logical miss.
Invention content
A kind of communication control method of the embodiment of the present invention offer, communication master device and communication system.
The communication control method of embodiment of the present invention is communicated for controlling communication master device with battery component.The battery Component is communicated to connect by the first communication line and at least two communication master devices, and the level of first communication line exists The battery component changes when being communicated with communication master device described in any one.The communication control method includes following step Suddenly:
Open control data process;
Whether the level for detecting first communication line in predetermined period is maintained predetermined level;
In the level of first communication line control is interrupted when the predetermined period is not the predetermined level Request signal;With
It is controlled in the level of first communication line when the predetermined period is maintained the predetermined level described logical Letter main equipment is communicated with the battery component.
The communication master device of embodiment of the present invention with battery component for communicating.The battery component passes through the first communication Circuit is connect at least two communication master devices, and the level of first communication line is in the battery component and any institute It changes when stating communication master device communication.The communication master device includes controller, and the controller is used for:
Open control data process;
Whether the level for detecting first communication line in predetermined period is maintained predetermined level;
In the level of first communication line control is interrupted when the predetermined period is not the predetermined level Request signal;With
It is controlled in the level of first communication line when the predetermined period is maintained the predetermined level described logical Letter main equipment is communicated with the battery component.
The communication system of embodiment of the present invention includes battery component and above-mentioned communication master device, and told battery component is logical It crosses the first communication line and at least two communication master devices communicates to connect.
Communication control method, communication master device and the communication system of embodiment of the present invention by detect communication master device with The level of first communication line of battery component communication connection judges battery pack whether predetermined period is maintained predetermined level Whether part is in idle condition, and is just communicated with battery component when battery component is in idle condition, so, it is ensured that Communications are stablized between multiple communication master devices and battery component, without leading to communication failure because interfering with each other Problem.
The additional aspect and advantage of embodiments of the present invention will be set forth in part in the description, partly will be from following Description in become apparent, or the practice of embodiment through the invention is recognized.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, wherein:
Fig. 1 is the flow diagram of the control method of certain embodiments of the present invention.
Fig. 2 is the module diagram of the communication system of certain embodiments of the present invention.
Fig. 3 is the flow diagram of the control method of certain embodiments of the present invention.
Fig. 4 is the status diagram of the control method of certain embodiments of the present invention.
Fig. 5 is the clock signal line of I2C and the sequence diagram of data-signal circuit.
Fig. 6 is the principle schematic of the control method of certain embodiments of the present invention.
Specific implementation mode
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.
Also referring to Fig. 1 to 2, the communication control method of embodiment of the present invention for control communication master device 100 with Battery component 200 communicates, and battery component 200 passes through 100 communication link of the first communication line 300 and at least two communication master devices It connects.The level of first communication line 300 changes when battery component 200 is communicated with any communication master device 100.Communication control Method processed includes the following steps:
S11:Open control data process;
S12:Whether the level for detecting the first communication line 300 in predetermined period is maintained predetermined level;
S13:In the level of the first communication line 300 control data process is interrupted when predetermined period is not predetermined level; With
S14:Communication master device is controlled when predetermined period is maintained predetermined level in the level of the first communication line 300 100 communicate with battery component 200.
The communication control method of embodiment of the present invention can be applied to the communication master device 100 of embodiment of the present invention. The communication master device 100 of embodiment of the present invention with battery component 200 for communicating.Battery component 200 passes through the first communication line Road 300 is connect at least two communication master devices 100.Communication master device 100 includes controller 10.Step S11, step S12, step Rapid S13 and step S14 can be realized by controller 10.
In other words, controller 10 can be used for:
Open control data process;
Whether the level for detecting the first communication line 300 in predetermined period is maintained predetermined level;
In the level of the first communication line 300 control data process is interrupted when predetermined period is not predetermined level;With
The level of the first communication line 300 controlled when predetermined period is maintained predetermined level communication master device 100 with Battery component 200 communicates.
The communication master device 100 of embodiment of the present invention can be applied to the communication system 1000 of embodiment of the present invention. In other words, the communication system 1000 of embodiment of the present invention includes the communication master device 100 of embodiment of the present invention.The present invention The communication system 1000 of embodiment further includes battery component 200 and is led to battery component 200 by the first communication line 300 Believe at least two communication master devices 100 of connection.
In some embodiments, communication master device 100 includes unmanned plane or charger.For example, in certain embodiments In, communication system 1000 includes two communication master devices 100:Unmanned plane and charger, communication system 100 further include battery component 200。
It is appreciated that limitation of the battery component 200 due to factors such as cost and power consumptions, usually only there is single communication to connect Mouthful, therefore battery component 200 tends not to communicate simultaneously with multiple communication master devices 100 simultaneously.However, in certain occasions again It needs to communicate with multiple communication master devices 100 simultaneously.For example, in certain embodiments, in the case where unmanned plane is switched on to electricity Pond component 200 charges, and unmanned plane needs the state of moment understanding battery component 200, such as electricity at this time, and charger is also required to Understand the information of battery component 200, such as the temperature of battery component 200.In this way, only having the battery component of single communication interface 200 can not be communicated with unmanned plane and charger simultaneously.
Battery component 200 is connected to more by the communication control method of embodiment of the present invention by the first communication line 300 A communication master device 100.Wherein, battery component works in slave mode, and communication master device 100 works in host mode, by leading to Believe 100 active of main equipment to 200 transmission data of battery component.When communication master device 100 will be communicated with battery component 200, communication Main equipment 100 starts control data process and whether the level of the first communication line 300 of detection is maintained predetermined in predetermined period Level judges whether battery component 200 is in idle condition.If battery component 200 is in idle condition, communication master device 100 can be communicated with battery component 200.If battery component 200 is in busy state, the control of communication master device 100 is asked Process is asked to be interrupted.It is communicated to connect in this way, battery component 200 can be realized with multiple communication master devices 100, multiple communication masters set Standby 100 can be realized communication evacuation by detecting the state of the first communication line 300, avoid the occurrence of because of multiple communication master devices The problem of 100 transmission data interferes with each other and leads to communication failure.
It is appreciated that communication control method can independently execute in any one communication master device 100, for detecting simultaneously Obtain communication control power.
For executing the current communication master device 100 of communication control method, controller 10 can be according to I/O peripheral components Request or timing mechanism start control data process, for example, when communication master device 100 is unmanned plane, I/O peripheral components It can be input part (such as remote controler) and trigger the inquiry of the electricity of a reading battery component 200 during charging Order, controller 10 start control data process after receiving querying command.
It is appreciated that control data process is controller 10, carry out one detects and obtains and communicated with battery component 200 The process of control is happened at before communication master device 10 and the realization communication handshake of battery component 200.
Also referring to Fig. 2 to Fig. 3, in some embodiments, communication master device 100 includes timer 20, step S12 Whether the level for detecting the first communication line 300 is maintained predetermined level in predetermined period and includes the following steps:
S121:Judge whether the level of the first communication line 300 is predetermined level when starting control data process;
S122:Start 0 timing of timer 2 when the level of the first communication line 300 is predetermined level;
S123:0 timing of timer 2 is reset when the level change of the first communication line 300 is predetermined level;With
S124:Determine the level of the first communication line 300 predetermined when 0 timing of timer 2 is more than or equal to predetermined period Period is maintained predetermined level.
In some embodiments, step S121, step S122, step S123 and step S124 can be by controller realities It is existing.
In other words, controller 10 can be further used for:
Judge whether the level of the first communication line 300 is predetermined level when starting control data process;
Start 0 timing of timer 2 when the level of the first communication line 300 is predetermined level;
0 timing of timer 2 is reset when the level change of the first communication line 300 is predetermined level;With
Determine that the level of the first communication line 300 is tieed up in predetermined period when 0 timing of timer 2 is more than or equal to predetermined period It holds as predetermined level.
Referring to Fig. 4, in some embodiments, communication master device 100 uses I2C communication protocols with battery component 200 It is communicated, at this point, the first communication line 300 is clock signal line SCL.In addition, communication master device 100 is also logical by second Letter circuit 400 is communicatively coupled with battery component 200, and the second communication line 400 is data-signal circuit SDA at this time.
In certain embodiments, using the GPIO of a support external interrupt, that is, " GPIO (EXTI) " in illustrating, connection On the clock signal line (SCL) of I2C buses, for monitoring the low and high level situation on clock signal line (SCL).Example Such as, the triggering mode of the external interrupt of GPIO can be set as rising edge and/or failing edge triggering, in this way, in communication process, With the fluctuation of SCL signal, this external interrupt can constantly be triggered.Furthermore it is possible to record this using timer 20 Interval time between the external interrupt adjacent twice of GPIO, so as to current on monitoring clock signal line (SCL) Level state and duration.
Also referring to 4 and Fig. 5, I2C communication protocols are the communication protocol for having twin wire universal serial bus, same using clock The communication mode of step carries out data transmission.Wherein I2C buses include clock signal line SCL and data-signal circuit SDA, clock For signal line SCL for ensureing that clock synchronizes, data-signal circuit SDA is used for transmission data.Sequence diagram as shown in Figure 5 can be with Find out, the initial signal that communication master device 100 carries out data transmission with battery component 200 is kept in clock signal line SCL Between high period, the level on data-signal circuit SDA is pulled low the level on i.e. data-signal circuit SDA by high level to low It is to indicate the beginning of data transmission that level, which carries out saltus step,;Stop signal be between clock signal line SCL keeps high period, Level on data-signal circuit SDA indicates the end of data transmission from low level to high level saltus step.And it is passed in data Defeated period, each data transmitted in I2C buses are all corresponding with a clock pulses to synchronize control, due to logical Letter main equipment 100 works in host mode i.e. I2C clock signal lines SCL and is controlled by communication master device 100, therefore, communication master Equipment 100 can control the lasting variation of the level progress low and high level of clock signal line SCL.If communication master device 100 and electricity The data transfer ends of pond component 200, then the level of clock signal line SCL can remain high level.Communication master device 100 is wanted It is communicated with battery component 200, you can whether the level by detecting clock signal line SCL is in the state of low and high level variation To judge whether battery component 200 is in idle condition.
Referring to Fig. 6, specifically, with communication master device 100 be unmanned plane and charger and current time unmanned plane is just sent out It send and illustrates for data 0x55 to battery component 200.Wherein, predetermined level is high level.In unmanned plane transmission data 0x55 i.e. 01010101 to battery component 200 data transmission during, all corresponding one of each bit of transmission is complete The clock pulses in period, therefore the level of unmanned aerial vehicle (UAV) control clock signal line SCL is from high level to low level or from low level Persistently change to high level.At this point, charger to be communicated with battery component 400, then charger 400 starts control first Request process, whether the level that clock signal line SCL is detected while control data process initiation is high level.If detection Level to clock signal line SCL is the beginning timing of timer 20 that high level then triggers charger simultaneously.In data transmission Period, since the level of clock signal line SCL persistently changes, the timing time of timer 20 is always less than predetermined period.Wherein, During 0 timing of timer 2 is less than predetermined period, since the level of clock signal line SCL changes, and one is undergone The clock pulses of a complete cycle changes so that the level of clock signal line SCL is back to high level, thus timer 20 again It being reset, the time of timing resets, meanwhile, the control data process of charger is interrupted.After the data transfer ends, clock letter The level of number circuit SCL is maintained high level, timer 20 be not reset so that 0 timing of timer 2 be more than or equal to it is predetermined Period then can determine that battery component 200 is in idle condition at this time.In this way, the control data process of charger will continue to execute, To obtain communication control power to realize the communication connection between charger and battery component 200.
In addition, if a certain moment battery component 200 is in idle condition, at this time if charger will be the same as battery component 200 Communication connection, then similarly, charger start control data process first, and start while control data process initiation and determine When 20 timing of device.Since battery component 200 is in idle condition, the level of clock signal line SCL is maintained high always Level, therefore, timer 20 will not be reset, and 0 timing of timer 2 can be more than or equal to predetermined period.In this way, in battery component In the state that 200 is idle, the communication control method that embodiment of the present invention can also be used in communication master device 100 is detected and is obtained logical Believe control.
It should be noted that the level due to clock signal line SCL may be due in low level or high level state The factors such as pulse is unstable and there is a little fluctuation, therefore, what the level of clock signal line SCL remained high level expression is The level that the level of clock signal line SCL is interpreted as the roads clock cable SCL more than or equal to a certain preset value is persistently kept For high level state.For example, value of the high level of clock signal line SCL there is no fluctuation is 5V, then can incite somebody to action Preset value is set as 4.5V.Therefore, as long as communication master device 100 detects that the level value of clock signal line SCL is more than or equal to 4.5V thinks that the level of clock signal line SCL is in high level state.In this way, even if the height electricity of clock signal line SCL In the case of flat presence -0.5V~0.5V fluctuating errors, can also accurate judgement be carried out to the working condition of battery component 200.
In some embodiments, predetermined period is 1~3ms.In other words, the value of predetermined period can be 1ms, 1.5ms, 2ms, 2.3ms, 3ms are equivalent.If the value of predetermined period is too small, such as less than 1ms, then clock cable possibly is present at When the level of road SCL is in variable condition, the case where duration of a certain high level is more than 1ms, battery pack can be led at this time The erroneous judgement of the working condition of part 200.If the value of predetermined period is excessive, such as larger than 3ms, then 100 He of communication master device can be influenced The speed of realization communication connection between battery component 200.The value range of predetermined period is arranged in 1~3ms, on the one hand It can ensure the accurate judgement of the working condition of battery component 200, on the other hand not interfere with communication master device 100 and battery pack The speed of communication connection between part 200.
In some embodiments, communication master device 100 is assisted with battery component 200 using the transmission of UART asynchronous serial datas View is communicated, at this point, the first communication line 300 is to send signal line.In addition, communication master device 100 is also logical by second Letter circuit 400 is communicatively coupled with battery component 200, and the second communication line 400 is to receive signal line at this time.
UART asynchronous serial data transport protocols are carried out data transmission using asynchronous communication means.UART asynchronous serial datas The bus of transmission mode includes transmission signal line and receives signal line, and transmission signal line and reception signal line use each From clock control respectively data transmission or receive process, it can be achieved that full-duplex communication.Similarly, with communication master device 100 To be illustrated for unmanned plane and charger and the positive transmission data 0x55 to battery component 200 of current time unmanned plane.Wherein, Predetermined level is high level.During the data transmission of unmanned plane transmission data 0x55 i.e. 01010101 to battery component 200, Send the clock pulses that each bit sent on signal line all corresponds to a complete cycle, therefore unmanned aerial vehicle (UAV) control When send signal line level persistently change from high level to low level or from low level to high level.If at this point, charger It to be communicated with battery component 400, then charger 400 starts control data process first, in control data process initiation Whether the level of detection of transmitted signals circuit is high level simultaneously.If detecting, the level for sending signal line is same if being high level When triggering charger timer 20 start timing.During data transmission, the level due to sending signal line persistently changes, The timing time of timer 20 is always less than predetermined period.Wherein, during 0 timing of timer 2 is less than predetermined period, due to hair The clock pulses sent the level of signal line to change, and undergo a complete cycle changes so that sending signal line Level is back to high level again, thus timer 20 is reset, and time of timing resets, meanwhile, the control data of charger into Journey is interrupted.After the data transfer ends, the level point for sending signal line is maintained high level, timer 20 be not reset from And so that 0 timing of timer 2 is more than or equal to predetermined period, then can determine that battery component 200 is in idle condition at this time.In this way, The control data process of charger will continue to execute, to obtain communication control power with realize charger and battery component 200 it Between communication connection.
In addition, if a certain moment battery component 200 is in idle condition, if charger is logical with battery component 200 at this time Believe online, then charger starts control data process first, and starts timer 20 while control data process initiation and count When.Since battery component 200 is in idle condition, the level for sending signal line is maintained high level always, therefore fixed When device 20 will not be reset, 0 timing of timer 2 can be more than or equal to predetermined period.In this way, the state left unused in battery component 200 Under, communication master device 100 can also be used above-mentioned same system control method and detect and obtain communication control power.
Similarly, since the level for sending signal line may be unstable due to pulse in low level or high level state Etc. factors and there is a little fluctuation, therefore, send signal line level remain high level expression be send signal line Level be more than or equal to a certain preset value be interpreted as send signal line level remain continuously high level state.
In some embodiments, communication master device 100 is assisted with battery component 200 using the transmission of UART asynchronous serial datas View is communicated, other communication master devices 100 in addition to communication master device 100 are used in communication master device 100 and the battery The data that battery component 200 is sent are abandoned when component 200 communicates.
It is appreciated that UART starts the communication master device 100 of control data process true using asynchronous communication means When recognizing battery component 200 and being in idle condition, battery component 200 can be sent out to the communication master device 100 for starting control data process Send response signal.And the response signal that battery component 200 is sent can be activated the communication master device 100 and not of control data process Other communication master devices 100 for starting control data process receive, for example, charger startup control data process, and nobody The not actuated control data process of machine.When charger confirms that battery component 200 is in idle condition, battery component 200 can be to charging The control data process of device replys a response signal.The response signal can simultaneously be received by unmanned plane and charger.If The unmanned plane for not initiating control data signal does not discard response signal, then the problem of causing logical miss.Because not sending out Rise control request signal unmanned plane may be after receiving response signal a certain moment start control data process, at this time may be used The response that the response signal received can be mistakenly considered to battery component 200 for this control data process feedback is believed Number, to which unmanned plane is communicatively coupled with battery component 200.At this point, if the communication connection of charger and battery component 200 is also It is not finished, then the communication between two communication master devices 100 and battery component 200 is carried out at the same time, that is, asking for logical miss occurs Topic.
In addition, communication master device 100 is communicated with battery component 200 using UART asynchronous serial data transport protocols, After communication master device 100 confirms that battery component 200 is in idle condition, also need to wait for just carrying out for a period of time logical with battery Believe the communication connection of main equipment 100 and battery component 200.Because UART is using asynchronous communication means, in battery component 200 need to handle one response signal of ability feedback after the control data when receiving the control data of the transmission of communication master device 100. Therefore, communication master device 100 needs the communication that could be initiated to battery component 200 next time of waiting for a period of time.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation What the description of mode ", " example ", " specific example " or " some examples " etc. meant to describe in conjunction with the embodiment or example Particular features, structures, materials, or characteristics are contained at least one embodiment or example of the present invention.In this specification In, schematic expression of the above terms are not necessarily referring to identical embodiment or example.Moreover, the specific spy of description Sign, structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes Module, segment or the portion of the code of one or more executable instructions for the step of executing specific logical function or process Point, and the range of the preferred embodiment of the present invention includes other execution, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for executing logic function, can specifically execute in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be executed with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware executes.It, and in another embodiment, can be under well known in the art for example, if executed with hardware Any one of row technology or their combination execute:With the logic gates for executing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that execute all or part of step that above-mentioned implementation carries It is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer readable storage medium In, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block executes, and can also be executed in the form of software function module.The integrated module is such as Fruit is executed in the form of software function module and when sold or used as an independent product, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (14)

1. a kind of communication control method is communicated for controlling communication master device with battery component, which is characterized in that the battery pack Part is communicated to connect by the first communication line and at least two communication master devices, and the level of first communication line is in institute It states when battery component is communicated with communication master device described in any one and changes, the communication control method includes following step Suddenly:
Open control data process;
Whether the level for detecting first communication line in predetermined period is maintained predetermined level;
In the level of first communication line control data is interrupted when the predetermined period is not the predetermined level Process;With
The communication master is controlled when the predetermined period is maintained the predetermined level in the level of first communication line Equipment is communicated with the battery component.
2. communication control method according to claim 1, which is characterized in that the communication master device includes unmanned plane or fills Electric appliance.
3. communication control method according to claim 1, which is characterized in that the communication master device and the battery component It is communicated using I2C communication protocols, first communication line is clock signal line.
4. communication control method according to claim 1, which is characterized in that the communication master device and the battery component It is communicated using UART asynchronous serial data transport protocols, first communication line is to send signal line.
5. communication control method according to claim 1, which is characterized in that the communication master device includes timer, institute It states and detects the level of first communication line and whether include the following steps the step of predetermined period is maintained predetermined level:
Judge whether the level of first communication line is the predetermined level when starting the control data process;
Start the timer timing when the level of first communication line is the predetermined level;
The timer timing is reset when the level change of first communication line is the predetermined level;With
Determine the level of first communication line in the pre- timing when the timer timing is more than or equal to predetermined period Section is maintained the predetermined level.
6. communication control method according to claim 1, which is characterized in that the predetermined period is 1~3ms.
7. a kind of communication master device, for being communicated with battery component, which is characterized in that the battery component passes through the first communication line Road is connect at least two communication master devices, and the level of first communication line is in the battery component and any one It changes when the communication master device communication, the communication master device includes controller, and the controller is used for:
Open control data process;
Whether the level for detecting first communication line in predetermined period is maintained predetermined level;
In the level of first communication line control data is interrupted when the predetermined period is not the predetermined level Process;With
The communication master is controlled when the predetermined period is maintained the predetermined level in the level of first communication line Equipment is communicated with the battery component.
8. communication master device according to claim 7, which is characterized in that the communication master device includes unmanned plane or charging Device.
9. communication master device according to claim 7, which is characterized in that the communication master device is adopted with the battery component It is communicated with I2C communication protocols, first communication line is clock signal line.
10. communication master device according to claim 7, which is characterized in that the communication master device and the battery component It is communicated using UART asynchronous serial data transport protocols, first communication line is to send signal line.
11. communication master device according to claim 7, which is characterized in that the communication master device includes timer, described Controller is further used for:
Judge whether the level of first communication line is the predetermined level when starting the control data process;
Start the timer timing when the level of first communication line is the predetermined level;
The timer timing is reset when the level change of first communication line is the predetermined level;With
Determine the level of first communication line in the pre- timing when the timer timing is more than or equal to predetermined period Section is maintained the predetermined level.
12. communication master device according to claim 1, which is characterized in that the predetermined period is 1~3ms.
13. a kind of communication system, which is characterized in that including:
Battery component;With
Communication master device described in claim 7 to 12 any one, the battery component pass through the first communication line and at least two A communication master device communication connection.
14. communication system according to claim 13, which is characterized in that the communication master device is adopted with the battery component It is communicated with UART asynchronous serial data transport protocols, other described communication master devices in addition to the communication master device are used for The data that the battery component is sent are abandoned when the communication master device is communicated with the battery component.
CN201780005406.0A 2017-05-17 2017-05-17 Communication control method, communication master device and communication system Pending CN108521854A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084772 WO2018209615A1 (en) 2017-05-17 2017-05-17 Communication control method, communication master device and communication system

Publications (1)

Publication Number Publication Date
CN108521854A true CN108521854A (en) 2018-09-11

Family

ID=63434408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780005406.0A Pending CN108521854A (en) 2017-05-17 2017-05-17 Communication control method, communication master device and communication system

Country Status (2)

Country Link
CN (1) CN108521854A (en)
WO (1) WO2018209615A1 (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671141A (en) * 2005-02-28 2005-09-21 邹润民 Multi-host communication system
CN101499043A (en) * 2009-03-12 2009-08-05 杭州士兰微电子股份有限公司 Single-wire bus system and communication method
CN101639819A (en) * 2009-08-27 2010-02-03 罗建华 Bus system adopting pulse interval for serial communication and two-core belt power supply
CN202018576U (en) * 2011-04-19 2011-10-26 杭州华光电气有限公司 Communication module for microcontrollers
CN103116561A (en) * 2011-11-17 2013-05-22 凹凸电子(武汉)有限公司 Digital signal receiving and sending device, method and electric vehicle system
CN103116563A (en) * 2012-11-09 2013-05-22 瑞斯康达科技发展股份有限公司 Main-machine communication method, main machine and communication system
CN203180949U (en) * 2013-03-27 2013-09-04 郑军 A bus communication system based on UARTs
CN103617138A (en) * 2013-12-16 2014-03-05 深圳市兴威帆电子技术有限公司 Multi-mainframe arbitration method and multi-mainframe communication system
CN103839388A (en) * 2012-11-26 2014-06-04 富盛科技股份有限公司 Multiple-host RS485 perimeter alarming method
CN105072007A (en) * 2015-07-21 2015-11-18 电子科技大学 Petroleum logging bus data transmission method
CN106453383A (en) * 2016-11-07 2017-02-22 深圳拓邦股份有限公司 UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN106502936A (en) * 2016-10-26 2017-03-15 海信(山东)空调有限公司 A kind of conflict avoiding method and node device of multi-master bus
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer
CN107329919A (en) * 2017-07-05 2017-11-07 福州福大海矽微电子有限公司 Single line communication method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010114802A (en) * 2008-11-10 2010-05-20 Sony Ericsson Mobilecommunications Japan Inc Wireless communication apparatus and power-supply apparatus
JP5754964B2 (en) * 2011-02-07 2015-07-29 キヤノン株式会社 Charger
JP2014107971A (en) * 2012-11-28 2014-06-09 Renesas Electronics Corp Semiconductor integrated circuit and operation method of the same
CN203859558U (en) * 2014-04-25 2014-10-01 Tcl通力电子(惠州)有限公司 Electronic equipment and external charging circuit thereof

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671141A (en) * 2005-02-28 2005-09-21 邹润民 Multi-host communication system
CN101499043A (en) * 2009-03-12 2009-08-05 杭州士兰微电子股份有限公司 Single-wire bus system and communication method
CN101639819A (en) * 2009-08-27 2010-02-03 罗建华 Bus system adopting pulse interval for serial communication and two-core belt power supply
CN202018576U (en) * 2011-04-19 2011-10-26 杭州华光电气有限公司 Communication module for microcontrollers
CN103116561A (en) * 2011-11-17 2013-05-22 凹凸电子(武汉)有限公司 Digital signal receiving and sending device, method and electric vehicle system
CN103116563A (en) * 2012-11-09 2013-05-22 瑞斯康达科技发展股份有限公司 Main-machine communication method, main machine and communication system
CN103839388A (en) * 2012-11-26 2014-06-04 富盛科技股份有限公司 Multiple-host RS485 perimeter alarming method
CN203180949U (en) * 2013-03-27 2013-09-04 郑军 A bus communication system based on UARTs
CN103617138A (en) * 2013-12-16 2014-03-05 深圳市兴威帆电子技术有限公司 Multi-mainframe arbitration method and multi-mainframe communication system
CN105072007A (en) * 2015-07-21 2015-11-18 电子科技大学 Petroleum logging bus data transmission method
CN106502936A (en) * 2016-10-26 2017-03-15 海信(山东)空调有限公司 A kind of conflict avoiding method and node device of multi-master bus
CN106453383A (en) * 2016-11-07 2017-02-22 深圳拓邦股份有限公司 UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer
CN107329919A (en) * 2017-07-05 2017-11-07 福州福大海矽微电子有限公司 Single line communication method and electronic equipment

Also Published As

Publication number Publication date
WO2018209615A1 (en) 2018-11-22

Similar Documents

Publication Publication Date Title
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
EP2221731B1 (en) Low power and low pin count bi-directional dual data rate device interconnect interface
US9785595B2 (en) Multi-channel universal serial bus (USB) to subrate channel systems
RU2571583C2 (en) Apparatus and method of polling addresses of one or more slave devices in communication system
EP2842293B1 (en) Usb 3.0 link layer timer adjustment to extend distance
CN104410510B (en) Pass through the method, apparatus and system of interface card transmission information
EP3138014B1 (en) System and method for disconnect detection on a dual mode port of a usb hub
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
TWI778063B (en) Usb host-to-host auto-switching
JPH0311595B2 (en)
JP4739349B2 (en) Multimedia card interface method, computer program, and apparatus
CN103384863A (en) Virtual computer control device and virtual computer control method
CN103092175A (en) Controlling method and device for serial clock line (SCL) between inter-integrated circuit (I2C) master equipment and slave equipment
JP2008521080A5 (en)
CN101160569A (en) Apparatus to improve bandwidth for circuits having multiple memory controllers
WO2015013428A1 (en) Using usb signaling on a usb host to trigger a usb device to enter a mode of operation
US7124235B2 (en) USB apparatus with switchable host/hub functions and control method thereof
JP2000293485A (en) Communication interface
CN101359311B (en) Method for establishing sequence transmission channel between host and peripheral device
JP2001067156A5 (en) Computer peripherals and their control methods, imaging devices and their control methods, and computer-readable storage media
US9552048B2 (en) Electronic system in which USB device can inform occurrence of event to host device without receiving status request from host device
CN108521854A (en) Communication control method, communication master device and communication system
JP4954023B2 (en) Image forming apparatus and connection notification method
US9824046B2 (en) Using USB signaling to trigger a device to enter a mode of operation
JP4048341B2 (en) Storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180911